Wow, that's really bad. The merger script (?) should at least check
for 100% coverage. That file has 0%. Bad. Regarding the
mathematics, that's really bad.
>
> This is fundamentally sound code, providing efficient implementations
> of algorithms which will be extremely useful to have in Sage. My beef
> here is with the reviewer, not the author. I think the Sage reviewing
> process has failed here, and the code has been allowed in when it is
> not polished enough to be included.
I'm glad you spotted it!!!
>
> We cannot ship this code as part of a Sage release. I propose to open
> a new ticket to fix all of the manifold brokenness in the Farey
> symbols code (and to delete, with extreme prejudice, the
> noncongruence_example.py file), and to make it a blocker for 4.7.2.
I agree.
> And I sincerely hope that the reviewer -- you know who you are -- will
> apply a modicum of mathematical and programming sense when reviewing
> patches in future.
I agree, though I would be less mean, since it's all public, and I
really hope that he continues to contribute to Sage, etc.
>
> David Loeffler
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Quick note: It is a policy since 2007 that every single new function
added to the Sage library must have a docstring with doctests
illustrating its usage. This includes "private" _ and __ methods.
It's just something we decided on long ago. Hopefully this
requirement is spelled out in the developer guide.
-- William
> For more options, visit this group at http://groups.google.com/group/sage-devel
Just to confirm this -- The actual code for containment checking for
this "noncongruence" subgroup is a 1-liner that checks some congruence
conditions.
Yes, it is a major pain in the ass, and sometimes developers (like me)
have even refused to submit code to Sage because of it. Psage is
one outlet for such folks: http://code.google.com/p/purplesage/
But for stable production code (like Sage is meant to be!), having
100% doctest coverage is incredibly useful.
-- William