-
-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new doctest for french book about Sage #9395
Comments
comment:2
I found no way so that the |
comment:3
You don't need to put your doctests inside a function. I think it's much simpler to put your doctests inside a docstring. See the files under tests/ in the Sage library for examples. You should also consider giving your book's directory name a more descriptive name. Something like "number_theory_zimmermann", not just "sagebook". Or do you envision the directory "sagebook" to contain doctests of books that leverage the Sage doctesting framework? In that case, see this script for a proof of concept for automatic extraction of Sage code and doctesting the extracted code. That script has been tested on this Sage book. |
comment:4
Replying to @sagetrac-mvngu: the new patch addresses your remarks. Paul |
Attachment: intro.pdf.gz table of contents of the book |
current version of chapter on number theory |
comment:5
Attachment: numbertheory.pdf.gz The version 1.0 of the book has now appeared, and is available from |
comment:6
Yann, please could you review this? What you have to do (William please correct me if needed):
Paul |
comment:7
Replying to @zimmermann6:
Sounds good to me. I've been advertising your book to all the French people I meet in Paris, e.g., at Euroscipy, and also to Bernandi at Jussieu today (he's one of the original PARI guys). |
comment:8
Replying to @williamstein:
thanks, some people of my lab who were at Euroscipy indeed told me today that they heard of our book there! |
comment:9
Replying to @zimmermann6:
Sorry for the delay. Regarding the
for
(and also I put it to Yann |
Author: Paul Zimmermann |
comment:10
thank you Yann for your comments. I attach a new patch taking them into account. I left the Paul |
Attachment: trac_9395.patch.gz |
apply on top of trac_9395.patch |
Reviewer: Yann Laigle-Chapuy |
comment:11
Attachment: trac_9395_review.patch.gz Everything is still ok for me. I added 'long time' to the longest tests, this reduces the time for normal testing to 12 seconds on my computer compared to 67 for the long version. Paul, if you agree with my reviewer's patch, you can give this ticket a positive review.
|
Changed reviewer from Yann Laigle-Chapuy to Yann Laigle-Chapuy, Paul Zimmermann |
Changed author from Paul Zimmermann to Paul Zimmermann, Yann Laigle-Chapuy |
comment:12
yes I agree. |
comment:13
Could someone please update both patches with more descriptive commit strings (and change the status back to "positive review")? |
comment:14
Replying to @qed777:
done with a combined patch (apply only that one). Is that what you wanted? Paul |
comment:15
I apologize for not being clearer. The first line of the commit string for each patch to be merged should start with the ticket number and contain a short description of what the patch does. This line should be < 80 characters in length. For example: The reason for these policies is so that Of course, extra lines are welcome and may help to explain details to a reviewer or someone who uses Could you update the just first line of the combined patch? |
apply only this patch |
comment:16
Attachment: trac_9395_combined.patch.gz
done. |
Merged: sage-4.6.alpha1 |
Attachment: trac_9395-manifest_and_setup.patch.gz Update |
comment:18
I've added a release manager's patch that ensures the files added here are included in a new Sage source distribution. |
comment:19
Ticket #9951, about a missing |
The attached patch includes a new doctest for a book (in french) some
people are writing about Sage (see the README file for the list of
authors).
This book will be available under a CC-by-sa license.
This patch contains only the doctests for one chapter (about number
theory). Some more doctests will follow, one per chapter, but we
already submit that one to see if some things need to be fixed.
This doctest was tested successfully with Sage 4.4.2 under Fedora 12.
CC: @williamstein @JohnCremona @sagetrac-ylchapuy
Component: doctest coverage
Author: Paul Zimmermann, Yann Laigle-Chapuy
Reviewer: Yann Laigle-Chapuy, Paul Zimmermann
Merged: sage-4.6.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/9395
The text was updated successfully, but these errors were encountered: