|
Size: 501
Comment:
|
Size: 2072
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| === Files to fix === | === Files to fix (Make all parents conform to the spec) === Useful script to list all parents in a given module: [attachment:list_parents.sage] Nothing to do * catalogue, dsage, databases, ext, games, media, stats, server, plot, logic, tests lfunctions Done * coding, functions, graphs * matrix [http://sage.math.washington.edu/home/robertwb/coerce/coerce-all.hg] * complex, real [http://sage.math.washington.edu/home/robertwb/coerce/coerce-real-complex.hg] * modules [attachment:coerce-free-module.patch] * quotient rings * finite fields (including natural embeddings into each other when Conway polynomials are used) In progress * groups Little to do |
| Line 5: | Line 24: |
| * catalogue | |
| Line 7: | Line 25: |
| * coding | |
| Line 10: | Line 27: |
| * databases * dsage * ext * functions * games |
|
| Line 16: | Line 28: |
| * graphs * groups |
Lots to do |
| Line 20: | Line 33: |
| * lfunctions | |
| Line 22: | Line 34: |
| * logic * matrix * media |
|
| Line 27: | Line 36: |
| * modules | |
| Line 30: | Line 38: |
| * plot | |
| Line 33: | Line 40: |
| * schemes * sets |
|
| Line 34: | Line 44: |
| * schemes * server * sets * stats |
* polynomial * padic * other Base classes |
| Line 39: | Line 50: |
| * tests | |
| Line 41: | Line 51: |
| === Coercion doctesting === Comment from William: {{{ teragon:sage was$ sage -coverage categories/action.pyx structure/element.pyx structure/coerce.pyx |grep SCORE SCORE categories/action.pyx: 0% (0 of 22) SCORE structure/element.pyx: 18% (28 of 153) SCORE structure/coerce.pyx: 2% (1 of 39) I tried to understand and use the coercion model code to trac down the issue with #2079 and was amazed at how nonexistent the doctesting and documentation of functions is there. In order for people to write lots of coercion code all of Sage, it's critical that they can read the coercion model code so they can track down -- for themselves -- what is going wrong when they run into trouble. I would put getting the coverage of the above files (and whatever else is related to coercion) up to 100% as the first step in your coercion model stuff. Seriously. And don't say it can't be doctested, since even though there are a lot of things not easily accessible now from the interpreter, such as the coercion model }}} |
Files to fix (Make all parents conform to the spec)
Useful script to list all parents in a given module: [attachment:list_parents.sage]
Nothing to do
- catalogue, dsage, databases, ext, games, media, stats, server, plot, logic, tests lfunctions
Done
- coding, functions, graphs
matrix [http://sage.math.washington.edu/home/robertwb/coerce/coerce-all.hg]
complex, real [http://sage.math.washington.edu/home/robertwb/coerce/coerce-real-complex.hg]
- modules [attachment:coerce-free-module.patch]
- quotient rings
- finite fields (including natural embeddings into each other when Conway polynomials are used)
In progress
- groups
Little to do
- algebras
- calculus
- categories
- combinat
- crypto
- geometry
Lots to do
- gsl
- interfaces
- libs
- misc
- modular
- monoids
- numerical
- probability
- quadratic_forms
- schemes
- sets
- rings
- polynomial
- padic
- other
Base classes
- structure
Coercion doctesting
Comment from William:
teragon:sage was$ sage -coverage categories/action.pyx structure/element.pyx structure/coerce.pyx |grep SCORE SCORE categories/action.pyx: 0% (0 of 22) SCORE structure/element.pyx: 18% (28 of 153) SCORE structure/coerce.pyx: 2% (1 of 39) I tried to understand and use the coercion model code to trac down the issue with #2079 and was amazed at how nonexistent the doctesting and documentation of functions is there. In order for people to write lots of coercion code all of Sage, it's critical that they can read the coercion model code so they can track down -- for themselves -- what is going wrong when they run into trouble. I would put getting the coverage of the above files (and whatever else is related to coercion) up to 100% as the first step in your coercion model stuff. Seriously. And don't say it can't be doctested, since even though there are a lot of things not easily accessible now from the interpreter, such as the coercion model
