Would anybody like...progress bars?

247 views
Skip to first unread message

E. Madison Bray

unread,
May 23, 2019, 12:41:04 PM5/23/19
to sage-devel
Something I've wanted for a long time in the Sage doctest runner is
progress bars, so I hacked up a prototype (see screenshot). It works
even with parallel docbuilds.

I think there are still some bugs and other kinks to work out so it
will take a little more time to get this really polished up, but what
do you think? Would anyone else like to have this? Is it worth
spending any more time on?
2019-05-23.png

Vincent Delecroix

unread,
May 23, 2019, 1:00:36 PM5/23/19
to sage-...@googlegroups.com
Very fancy :-) I would definitely appreciate it if there. Though,
I would not put it on top of my list of most wanted things.

Vincent

Martin R

unread,
May 23, 2019, 2:20:39 PM5/23/19
to sage-devel
One thing I would like very much is the possibility to find out more precisely which doctests within a module take a long time...

Or is this possible already?

Martin

Travis Scrimshaw

unread,
May 23, 2019, 7:05:04 PM5/23/19
to sage-devel
sage -t --verbose   (or -tp of course)

Best,
Travis

John H Palmieri

unread,
May 23, 2019, 7:33:36 PM5/23/19
to sage-devel
There is also the "warn-long" flag:

   sage -t --warn-long 3.2 FILE

should tell you all tests in FILE that take more than 3.2 seconds.

Samuel Lelievre

unread,
May 23, 2019, 10:54:03 PM5/23/19
to sage-devel


Thu 2019-05-23 16:41:04 UTC, E. Madison Bray:
Nice! Is this using tqdm? I would like to have this. 

Martin R

unread,
May 25, 2019, 1:04:45 PM5/25/19
to sage-devel
Great, thank you!

Frédéric Chapoton

unread,
Nov 29, 2019, 9:50:59 AM11/29/19
to sage-devel
Hello Erik,

Would you make a ticket and upload a branch on trac, please ?

Frederic

E. Madison Bray

unread,
Dec 2, 2019, 6:50:44 AM12/2/19
to sage-devel
Thanks, I forgot about this. IIRC it was still a little buggy, but I
can see if I can resurrect what I did have and make a ticket for it.
If I can't get time to polish it up maybe someone else can.
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/2ac5a8d1-29c2-4ed0-bd06-b6a06b590b83%40googlegroups.com.

Frédéric Chapoton

unread,
Dec 1, 2020, 1:15:25 PM12/1/20
to sage-devel
Hello Erik,
So, one year later, can you please put a branch somewhere on trac ?
Frédéric

Samuel Lelievre

unread,
Dec 2, 2020, 8:53:09 AM12/2/20
to sage-devel
Recently opened related ticket:

- Provide quiet mode for make testlong and friends
  https://trac.sagemath.org/ticket/30991

I had forgotten about that progress bar discussion on sage-devel!
It would be nice to have if it can be resurrected!

2020-12-01 18:15:25 UTC, Frédéric Chapoton:

>
> can you please put a branch somewhere on trac?

2019-12-02 11:50:44 UTC, E. Madison Bray:

>
> Thanks, I forgot about this. IIRC it was still a little buggy, but I
> can see if I can resurrect what I did have and make a ticket for it.
> If I can't get time to polish it up maybe someone else can.

2019-11-29 14:51 UTC, Frédéric Chapoton:

>
> Would you make a ticket and upload a branch on trac, please ?

2019-05-23 16:41:04 UTC, E. Madison Bray:
>

E. Madison Bray

unread,
Mar 17, 2021, 12:53:57 PM3/17/21
to sage-devel
On Tue, Dec 1, 2020 at 7:15 PM Frédéric Chapoton <fchap...@gmail.com> wrote:
>
> Hello Erik,
> So, one year later, can you please put a branch somewhere on trac ?
> Frédéric

It took some searching but I finally found my progress bars work,
buried in my git stash. I'll try to resurrect it.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/51945ce3-26b9-4e4a-b65c-a6237c9f240an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages