Skip to content

Count only orbits that left the plasma as prompt losses in the volume classification plot - #827

Merged
krystophny merged 1 commit into
mainfrom
fix/volume-class-prompt
Nov 26, 2026
Merged

krystophny merged 1 commit into
mainfrom
fix/volume-class-prompt

Conversation

@krystophny

Copy link
Copy Markdown
Member

plot_volume_classification colours every trapped marker with J∥ class 0 as a prompt loss (examples/classification/plot_paper_results.py). Class 0 is only the initial value of iclass: a marker keeps it when it leaves the plasma before classification, but also when it stays confined without enough banana tips.

The plot now reads orbit_exit_code.dat and counts a class-0 marker as a prompt loss only for exit code 1 (plasma boundary) or 2 (wall). Other class-0 markers are left out of the bin. Without orbit_exit_code.dat the old behaviour is kept. The file also gets its executable bit, which the shebang check requires.

Evidence: 200,000-marker volume run (startmode = 5, fast_class) of the Landreman–Paul QA at ARIES-CS scale in Boozer coordinates. Near s = 0.2, 792 of 3,913 trapped markers have class 0, and none of them crossed s = 1. Direct tracing of 1,024 alphas from s = 0.2 for 0.5 s also loses none. The old plot showed these bins as half prompt losses. The new one shows them as regular or chaotic.

Risk tier

  • T0: docs, comments, small build metadata

Golden-record impact

  • unchanged

Chris&AI

@krystophny krystophny added tier/T0 docs/build metadata size/XS review size up to 10 changed lines size/S review size up to 100 changed lines and removed size/XS review size up to 10 changed lines labels Nov 26, 2026
@krystophny
krystophny added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit c88ba9e Nov 26, 2026
54 of 56 checks passed
@krystophny
krystophny deleted the fix/volume-class-prompt branch November 26, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S review size up to 100 changed lines tier/T0 docs/build metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant