Skip to content

90% doctest coverage thrust metaticket #12024

@williamstein

Description

@williamstein

After deleting the server directory (#11409) we need to add doctests to about 588 more functions to get coverage to 90%, which is a major goal for sage-5.0, which we've been working on getting to for over a year now. I did an audit and came up with about 350 functions in 18 files for which adding coverage will not be too hard.

Just edit the ticket description and add your name after the * that you will get coverage to 100% on that file. You an also create a ticket with your tests (put #number) in. Then it will be easy to referee all these doctest patches. Try to make different tickets if/when you find bugs, and restrict your ticket to just doctests so it is easy to referee. You can also add another file to the list.

Need Review / Need Work(243 functions to doctest, 25 functions to remove):

Claimed (155 functions to doctest):

Unclaimed (102 functions to doctest, 21 functions to remove):

  • matrix/matrix_window.pyx: 0% (0 of 26), medium, look at some code elsewhere that uses this, and just go through examples -- ?

  • matrix/matrix_window_modn_dense.pyx: 0% (0 of 11), medium -- ?

  • rings/integer.pyx: 90% (124 of 137), medium, since you have to document and test functions related to the integer pool -- ?

  • rings/polynomial/convolution.py: 46% (6 of 13), medium, since all functions are documented but coming up with good tests could be tricky -- ?

  • rings/fast_arith.pyx: 12% (1 of 8), harder, since there are additional cdef functions to document and test and you need to worry about overflow in arithmetic with C ints -- ?

Positive review, awaiting merge (31 functions doctested):

Complete (393 functions doctested, 16 functions removed):

CC: @kcrisman

Component: doctest coverage

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/12024

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions