#4470: Merge Jon Hanke's qudratic forms code into Sage
-----------------------------+----------------------------------------------
Reporter: mabshoff | Owner: justin
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: quadratic forms | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Changes (by mabshoff):
* cc: cremona (added)
Comment:
Coverage definitely needs to be improved:
{{{
sage [sage-3.1.2]> ./sage -coverageall devel//sage/sage/quadratic_forms/
binary_qf.py: 100% (16 of 16)
count_local_2.pyx: 0% (0 of 1)
cython_testing.pyx: 0% (0 of 4)
extras.py: 25% (2 of 8)
genera/genus.py: 0% (0 of 34)
mass_testing.py: 0% (0 of 3)
quadratic_form__automorphisms2.py: 60% (3 of 5)
quadratic_form__automorphisms.py: 75% (6 of 8)
quadratic_form__count_local_2.py: 0% (0 of 9)
quadratic_form__equivalence_testing.py: 25% (1 of 4)
quadratic_form__evaluate.pyx: 0% (0 of 2)
quadratic_form__genus.py: 0% (0 of 3)
quadratic_form__local_density_congruence.py: 9% (1 of 11)
quadratic_form__local_density_interfaces.py: 14% (1 of 7)
quadratic_form__local_field_invariants.py: 57% (8 of 14)
quadratic_form__local_normal_form.py: 75% (3 of 4)
quadratic_form__local_representation_conditions.py: 12% (2 of 16)
quadratic_form__mass__Conway_Sloane_masses.py: 26% (4 of 15)
quadratic_form__mass.py: 0% (0 of 3)
quadratic_form__mass__Siegel_densities.py: 20% (1 of 5)
quadratic_form__neighbors.py: 75% (3 of 4)
quadratic_form.py: 43% (14 of 32)
quadratic_form__reduction_theory.py: 40% (2 of 5)
quadratic_form__siegel_product.py: 100% (1 of 1)
quadratic_form__split_local_covering.py: 100% (3 of 3)
quadratic_form__ternary_Tornaria.py: 0% (0 of 17)
quadratic_form__theta.py: 50% (2 of 4)
quadratic_form__variable_substitutions.py: 71% (5 of 7)
random_quadraticform.py: 100% (2 of 2)
special_values.py: 60% (3 of 5)
table_conversion.py: 100% (4 of 4)
table_creation.py: 0% (0 of 2)
table_hanke.py: 12% (4 of 32)
table_hanke.pyx: 12% (4 of 32)
tables.py: 15% (5 of 33)
ternary_table_creation.py: 0% (0 of 7)
ternary_table.pyx: 0% (0 of 15)
Overall weighted coverage score: 26.3%
Total number of functions: 377
}}}
There are a bunch of doctest failures, but a lot of those will be sorted
out hopefully by Sunday night:
{{{
The following tests failed:
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__local_field_invariants.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__local_normal_form.py
sage -t devel/sage/sage/quadratic_forms/table_hanke.py
sage -t devel/sage/sage/quadratic_forms/special_values.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__neighbors.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__reduction_theory.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__automorphisms.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__local_representation_conditions.py
sage -t devel/sage/sage/quadratic_forms/quadratic_form.py
sage -t devel/sage/sage/quadratic_forms/table_hanke.pyx
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__split_local_covering.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__mass__Conway_Sloane_masses.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__local_density_congruence.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__equivalence_testing.py
sage -t devel/sage/sage/quadratic_forms/random_quadraticform.py
sage -t devel/sage/sage/quadratic_forms/table_conversion.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__siegel_product.py
sage -t devel/sage/sage/quadratic_forms/tables.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__local_density_interfaces.py
sage -t
devel/sage/sage/quadratic_forms/quadratic_form__automorphisms2.py
Total time for all tests: 129.5 seconds
}}}
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4470#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---