Skip to content

Misc fixes and tweaks#250

Merged
rocky merged 6 commits intomasterfrom
misc-tweaks
Apr 2, 2026
Merged

Misc fixes and tweaks#250
rocky merged 6 commits intomasterfrom
misc-tweaks

Conversation

@rocky
Copy link
Copy Markdown
Member

@rocky rocky commented Apr 1, 2026

views.py: reset iteration count after each cell evaluation Makefile: "make runserver" should no set LOG_ON_CONSOLE, use make runserver-debug for that
views.py: Detect $Aborted and $Failed sooner
inout.js: Show example where we set PrintPrecision to 6, like in a Notebook

query_log.save()

evaluation = get_session_evaluation(request.session)
evaluation.iteration_count = 0
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmatera We didn't need to do this before. I am sure why it is needed now or whether this is the best way to do.

Your thoughts?

views.py: reset iteration count after each cell evaluation
Makefile: "make runserver" should no set LOG_ON_CONSOLE, use make
runserver-debug for that
views.py: Detect $Aborted sooner
inout.js: Show example where we set PrintPrecision to 6 like in a Notebook
evaluation, expr, format
)
autoload_files(definitions, ROOT_DIR, "autoload")
evaluation.iteration_count = 0
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmatera We didn't need to do this before. I am sure why it is needed now or whether this is the best way to do.

Your thoughts?

Copy link
Copy Markdown
Contributor

@mmatera mmatera Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shouldn't. MathicsSession set this to 0 on each evaluation...
Evaluation.evaluation should set this to 0, but it doesn't.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll put in a separate PR for this.

@rocky rocky requested a review from mmatera April 1, 2026 19:45
@rocky rocky force-pushed the misc-tweaks branch 4 times, most recently from 4f757cd to 997ff6b Compare April 2, 2026 13:56
@rocky rocky merged commit e98ec8c into master Apr 2, 2026
9 checks passed
@rocky rocky deleted the misc-tweaks branch April 2, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants