Skip to content

Addition of Chow ring ideal and Chow ring classes #15340

Addition of Chow ring ideal and Chow ring classes

Addition of Chow ring ideal and Chow ring classes #15340

Triggered via pull request September 18, 2024 05:23
Status Failure
Total duration 19m 34s
Artifacts 2

build.yml

on: pull_request
Matrix: test-long
Matrix: test-mod
coverage-report
6m 25s
coverage-report
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Failed example:: src/sage/matroids/chow_ring_ideal.py#L26
Failed example:: Exception raised: Traceback (most recent call last): File "sage/structure/category_object.pyx", line 857, in sage.structure.category_object.CategoryObject.getattr_from_category return self._cached_methods[name] KeyError: 'matroid' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal.matroid[1]>", line 1, in <module> ch.matroid() File "sage/structure/category_object.pyx", line 851, in sage.structure.category_object.CategoryObject.__getattr__ return self.getattr_from_category(name) File "sage/structure/category_object.pyx", line 866, in sage.structure.category_object.CategoryObject.getattr_from_category attr = getattr_from_other_class(self, cls, name) File "sage/cpython/getattr.pyx", line 358, in sage.cpython.getattr.getattr_from_other_class raise AttributeError(dummy_error_message) AttributeError: 'ChowRing_with_category' object has no attribute 'matroid'. Did you mean: '_matroid'?
Failed example:: src/sage/matroids/chow_ring_ideal.py#L41
Failed example:: Exception raised: Traceback (most recent call last): File "sage/structure/category_object.pyx", line 857, in sage.structure.category_object.CategoryObject.getattr_from_category return self._cached_methods[name] KeyError: 'flats_generator' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal.flats_generator[1]>", line 1, in <module> ch.flats_generator() File "sage/structure/category_object.pyx", line 851, in sage.structure.category_object.CategoryObject.__getattr__ return self.getattr_from_category(name) File "sage/structure/category_object.pyx", line 866, in sage.structure.category_object.CategoryObject.getattr_from_category attr = getattr_from_other_class(self, cls, name) File "sage/cpython/getattr.pyx", line 358, in sage.cpython.getattr.getattr_from_other_class raise AttributeError(dummy_error_message) AttributeError: 'ChowRing_with_category' object has no attribute 'flats_generator'
Failed example:: src/sage/matroids/chow_ring_ideal.py#L107
Failed example:: Got: Chow ring of U(3, 6): Matroid of rank 3 on 6 elements with circuit-closures {3: {{0, 1, 2, 3, 4, 5}}}
Failed example:: src/sage/matroids/chow_ring_ideal.py#L111
Failed example:: Got: Chow ring of Fano: Binary matroid of rank 3 on 7 elements, type (3, 0)
Failed example:: src/sage/matroids/chow_ring_ideal.py#L122
Failed example:: Got: Failure in _test_cardinality: Traceback (most recent call last): File "/sage/src/sage/misc/sage_unittest.py", line 298, in run test_method(tester=tester) File "/sage/src/sage/categories/sets_cat.py", line 1439, in _test_cardinality cardinality = self.cardinality() File "/sage/src/sage/categories/modules_with_basis.py", line 1059, in cardinality if self.dimension() == Infinity: File "/sage/src/sage/categories/modules_with_basis.py", line 1307, in dimension return self.basis().cardinality() File "/sage/src/sage/matroids/chow_ring.py", line 250, in basis flats.remove(frozenset()) #Non empty proper flats ValueError: list.remove(x): x not in list ------------------------------------------------------------ Failure in _test_monomial_coefficients: Traceback (most recent call last): File "/sage/src/sage/misc/sage_unittest.py", line 298, in run test_method(tester=tester) File "/sage/src/sage/categories/modules_with_basis.py", line 1491, in _test_monomial_coefficients basis = self.parent().basis() File "/sage/src/sage/matroids/chow_ring.py", line 250, in basis flats.remove(frozenset()) #Non empty proper flats ValueError: list.remove(x): x not in list ------------------------------------------------------------ The following tests failed: _test_monomial_coefficients Failure in _test_elements The following tests failed: _test_cardinality, _test_elements
Failed example:: src/sage/matroids/chow_ring_ideal.py#L144
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal_nonaug._gens_constructor[1]>", line 1, in <module> ch.defining_ideal()._gens_constructor(ch.defining_ideal.ring()) AttributeError: 'function' object has no attribute 'ring'
Failed example:: src/sage/matroids/chow_ring_ideal.py#L200
Failed example:: Got: Chow ring of Fano: Binary matroid of rank 3 on 7 elements, type (3, 0)
Failed example:: src/sage/matroids/chow_ring_ideal.py#L214
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1142, in compile_and_execute compiled = compiler(example) File "/sage/src/sage/doctest/forker.py", line 681, in compiler code = compile(example.source, filename, "single", File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal_nonaug.groebner_basis[1]>", line 1 ch = BasisMatroid(groundset='abc', bases=['ab', 'ac'])).chow_ring(QQ, False) ^ SyntaxError: unmatched ')'
Failed example:: src/sage/matroids/chow_ring_ideal.py#L215
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal_nonaug.groebner_basis[2]>", line 1, in <module> ch.groebner_basis() NameError: name 'ch' is not defined
Failed example:: src/sage/matroids/chow_ring_ideal.py#L217
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matroids.chow_ring_ideal.ChowRingIdeal_nonaug.groebner_basis[3]>", line 1, in <module> ch.groebner_basis().is_groebner() NameError: name 'ch' is not defined
coverage-report
buildx failed with: ERROR: failed to solve: process "/bin/sh -c make SAGE_SPKG=\"sage-spkg -y -o\" ${USE_MAKEFLAGS} ${TARGETS}" did not complete successfully: exit code: 2
coverage-report
Process completed with exit code 125.

Artifacts

Produced during runtime
Name Size
sagemath~sage~A2BNGI.dockerbuild
35.5 KB
sagemath~sage~BJJYTK.dockerbuild
124 KB