#18746: Cutwidth of a graph
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  dcoudert               |       Status:  needs_work
           Type:         |    Milestone:  sage-6.8
  enhancement            |   Resolution:
       Priority:  minor  |    Merged in:
      Component:  graph  |    Reviewers:  Nathann Cohen
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:  David  |  b536ed4dbb5e44f705ddd12c429b9473ec24cc58
  Coudert                |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/18746           |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by dcoudert):

 * status:  positive_review => needs_work


Comment:

 Hello,

 Thanks for the review and the commit !
 Unfortunately, I see from the patchbot that we have many errors due to the
 counting of `sig_on`/ sig_off`. So I assume we have no choice but opening
 a specific ticket, right?

 D.

 {{{
 sage -t --long src/sage/doctest/sources.py
 **********************************************************************
 File "src/sage/doctest/sources.py", line 694, in
 sage.doctest.sources.FileDocTestSource._test_enough_doctests
 Failed example:
     for path, dirs, files in itertools.chain(os.walk('sage'),
 os.walk('doc')): # long time
         path = os.path.relpath(path)
         dirs.sort(); files.sort()
         for F in files:
             _, ext = os.path.splitext(F)
             if ext in ('.py', '.pyx', '.pxd', '.pxi', '.sage', '.spyx',
 '.rst'):
                 filename = os.path.join(path, F)
                 FDS = FileDocTestSource(filename,
 DocTestDefaults(long=True,optional=True))
                 FDS._test_enough_doctests(verbose=False)
 Expected:
     There are 7 tests in sage/combinat/dyck_word.py that are not being run
     There are 4 tests in sage/combinat/finite_state_machine.py that are
 not being run
     There are 6 tests in sage/combinat/interval_posets.py that are not
 being run
     There are 18 tests in sage/combinat/partition.py that are not being
 run
     There are 15 tests in sage/combinat/permutation.py that are not being
 run
     There are 14 tests in sage/combinat/skew_partition.py that are not
 being run
     There are 18 tests in sage/combinat/tableau.py that are not being run
     There are 8 tests in sage/combinat/crystals/tensor_product.py that are
 not being run
     There are 11 tests in
 sage/combinat/rigged_configurations/rigged_configurations.py that are not
 being run
     There are 15 tests in sage/combinat/root_system/cartan_type.py that
 are not being run
     There are 8 tests in sage/combinat/root_system/type_A.py that are not
 being run
     There are 8 tests in sage/combinat/root_system/type_G.py that are not
 being run
     There are 3 unexpected tests being run in sage/doctest/parsing.py
     There are 1 unexpected tests being run in sage/doctest/reporting.py
     There are 3 tests in sage/rings/invariant_theory.py that are not being
 run
 Got:
     There are 7 tests in sage/combinat/dyck_word.py that are not being run
     There are 4 tests in sage/combinat/finite_state_machine.py that are
 not being run
     There are 6 tests in sage/combinat/interval_posets.py that are not
 being run
     There are 18 tests in sage/combinat/partition.py that are not being
 run
     There are 15 tests in sage/combinat/permutation.py that are not being
 run
     There are 14 tests in sage/combinat/skew_partition.py that are not
 being run
     There are 18 tests in sage/combinat/tableau.py that are not being run
     There are 8 tests in sage/combinat/crystals/tensor_product.py that are
 not being run
     There are 11 tests in
 sage/combinat/rigged_configurations/rigged_configurations.py that are not
 being run
     There are 15 tests in sage/combinat/root_system/cartan_type.py that
 are not being run
     There are 8 tests in sage/combinat/root_system/type_A.py that are not
 being run
     There are 8 tests in sage/combinat/root_system/type_G.py that are not
 being run
     There are 3 unexpected tests being run in sage/doctest/parsing.py
     There are 1 unexpected tests being run in sage/doctest/reporting.py
     There are 3 tests in sage/rings/invariant_theory.py that are not being
 run
     There are 1 unexpected tests being run in
 doc/en/developer/coding_in_cython.rst
     There are 3 unexpected tests being run in
 doc/en/developer/coding_in_other.rst
     There are 1 unexpected tests being run in
 doc/en/developer/coding_in_python.rst
     There are 1 unexpected tests being run in
 doc/en/thematic_tutorials/coding_theory.rst
 **********************************************************************
 File "src/sage/doctest/sources.py", line 1456, in
 sage.doctest.sources.RestSource.parse_docstring
 Failed example:
     for ex in tests[1].examples:
         print ex.sage_source,
 Expected:
     test1()
     test2()
     sig_on_count()
 Got:
     test1()
     test2()
     sig_on_count() # check sig_on/off pairings
 **********************************************************************
 2 items had failures:
    1 of   9 in
 sage.doctest.sources.FileDocTestSource._test_enough_doctests
    1 of  14 in sage.doctest.sources.RestSource.parse_docstring
     [339 tests, 2 failures, 100.78 s]
 sage -t --long src/sage/doctest/test.py
 **********************************************************************
 File "src/sage/doctest/test.py", line 273, in sage.doctest.test
 Failed example:
     subprocess.call(["sage", "-t",  "--warn-long", "0", "sig_on.rst"],
 **kwds)  # long time
 Expected:
     Running doctests...
     Doctesting 1 file.
     sage -t --warn-long 0.0 sig_on.rst
     **********************************************************************
     File "sig_on.rst", line 5, in sage.doctest.tests.sig_on
     Failed example:
         sig_on_count()
     Expected:
         0
     Got:
         1
     **********************************************************************
     1 item had failures:
        1 of   4 in sage.doctest.tests.sig_on
         [2 tests, 1 failure, ...]
     ----------------------------------------------------------------------
     sage -t --warn-long 0.0 sig_on.rst  # 1 doctest failed
     ----------------------------------------------------------------------
     ...
     1
 Got:
     Running doctests with ID 2015-06-29-23-32-47-2a7e60db.
     Git branch: patchbot/ticket_merged
     Using --optional=ccache,gcc,mpir,python2,sage,scons
     Doctesting 1 file.
     sage -t --warn-long 0.0 sig_on.rst
     **********************************************************************
     File "sig_on.rst", line 5, in sage.doctest.tests.sig_on
     Failed example:
         sig_on_count() # check sig_on/off pairings
     Expected:
         0
     Got:
         1
     **********************************************************************
     1 item had failures:
        1 of   4 in sage.doctest.tests.sig_on
         [2 tests, 1 failure, 1.61 s]
     ----------------------------------------------------------------------
     sage -t --warn-long 0.0 sig_on.rst  # 1 doctest failed
     ----------------------------------------------------------------------
     Total time for all tests: 1.7 seconds
         cpu time: 0.1 seconds
         cumulative wall time: 1.6 seconds
     1
 **********************************************************************
 1 item had failures:
    1 of  45 in sage.doctest.test
     [44 tests, 1 failure, 71.79 s]
 sage -t --long src/sage/doctest/forker.py
 **********************************************************************
 File "src/sage/doctest/forker.py", line 2035, in
 sage.doctest.forker.DocTestTask
 Failed example:
     ntests, results = DTT(options=DD)
 Expected nothing
 Got:
     **********************************************************************
     File "/home/sage/sage-devel/src/sage/doctest/sources.py", line 1456,
 in sage.doctest.sources.RestSource.parse_docstring
     Failed example:
         for ex in tests[1].examples:
             print ex.sage_source,
     Expected:
         test1()
         test2()
         sig_on_count()
     Got:
         test1()
         test2()
         sig_on_count() # check sig_on/off pairings
     **********************************************************************
     1 item had failures:
        1 of  14 in sage.doctest.sources.RestSource.parse_docstring
 **********************************************************************
 1 item had failures:
    1 of  14 in sage.doctest.forker.DocTestTask
     [439 tests, 1 failure, 13.16 s]
 ----------------------------------------------------------------------
 sage -t --long src/sage/doctest/sources.py  # 2 doctests failed
 sage -t --long src/sage/doctest/test.py  # 1 doctest failed
 sage -t --long src/sage/doctest/forker.py  # 1 doctest failed
 ----------------------------------------------------------------------
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18746#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to