On Wed, Jul 1, 2009 at 8:34 PM, Ondrej Certik<ond...@certik.cz> wrote: > > On Sun, Jun 21, 2009 at 6:20 PM, William Stein<wst...@gmail.com> wrote: >> >> On Mon, Jun 22, 2009 at 1:41 AM, Ondrej Certik<ond...@certik.cz> wrote: >>> >>> Hi, >>> >>> one of the rule for getting code into Sage is 100% doctesting --- what >>> does it mean exactly? >>> At least one doctest per function/method? >> >> Yes. >> >>> Is there some tool to check >>> that? >> >> Yes. >> >>> I think I remember there was some script for it, but I can't >>> find it now. >> >> sage -coverage file.py >> >> I wrote the first version of that script during a docday so I could >> figure out what to doctest. It subsequently got traction. > > > I wrote a similar script for sympy here: > > http://github.com/certik/sympy/blob/44725bb2720afdbb2997c4184f8d9919e151af86/bin/coverage_doctest.py > > it's still being reviewed, but I copied lots of parts from > sage-coverage.py. Do you think you would please allow me to use my > script under the BSD license? If that is not possible, I'll rewrite > the parts, so that it's not a derived work.
Yes, I officially give you written permission to license at least anything I wrote in coverage_doctest.py under the BSD license. I'm glad to be contributing to sympy :-). -- William Stein > > Thanks, > Ondrej > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---