Making Sage Cells assignable

9 views
Skip to first unread message

Bradley Miller

unread,
Aug 29, 2025, 5:04:50 PM (9 days ago) Aug 29
to PreTeXt development
From the Runestone Discord:

Thank you, Brad. For example, section 1.1 has an introduction to Sage (section 1.1.10) with an exercise that includes a Sage cell. I can add that exercise to the assignment, but only the short-answer cell is available, and not the Sage cell (I'm using Moodle, but I see the same issue on Runestone). The early sections in the textbook all have Sage-related subsections and exercises at the end, that I'd like to add to my assignments. Another example is section 1.2: there are 25 exercises in section 1.2.9, but "Browse Chapter Exercises" shows 11 only (and some don't match the textbook numbers).

Are sage cells structured anything like exercises? Could they be added to the manifest? Should we get our own sage server working and make some or all act more like activecodes? Proteus (Runestone budget) has some $$ to make this happen if someone wants to take this on.

Brad

Brad Miller
Professor Emeritus, Luther College
Founder, Runestone Academy LTD
Blog: http://reputablejournal.com

Set up a time to meet with me.


Rob Beezer

unread,
Aug 29, 2025, 10:08:57 PM (9 days ago) Aug 29
to prete...@googlegroups.com
It'd be nice to know just which book this is, and maybe if it is the author who
wants to make changes.

A Sage Cell is more like an #interactive. But it is also takes text as an input
and returns text and images, so we are able to do much more with it than the
static representations we supply for #interactive. And we support Sage's
elaborate automated testing infrastructure. So it is a bit more of a
first-class citizen in PreTeXt source.

But it is most definitely not an #exercise. You could put one into an
#exercise, and I have done that with AATA.

You might be able to hook the "Evaluate" button so that "running" a Sage Cell
counted as a reading activity. Wetracked that in an earlier UTMOST study, iirc.

Rob
> Set up a time to meet <https://fantastical.app/bonelake-Gj2i/meet-with-
> brad> with me.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-
> dev/790FF18D-0046-4AF9-9F7C-4E1E62BA6440%40runestone.academy <https://
> groups.google.com/d/msgid/pretext-
> dev/790FF18D-0046-4AF9-9F7C-4E1E62BA6440%40runestone.academy?
> utm_medium=email&utm_source=footer>.

Bradley Miller

unread,
Aug 30, 2025, 6:57:45 PM (8 days ago) Aug 30
to PreTeXt development
Sorry,

It is the odeproject book.

Brad

Brad Miller
Professor Emeritus, Luther College
Founder, Runestone Academy LTD
Blog: http://reputablejournal.com

Set up a time to meet with me.


To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/MTAwMDAzOS5iZWV6ZXI.1756519734%40pnsh.

Reply all
Reply to author
Forward
0 new messages