Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_web_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def test_failed_shot_switch_reverts_the_select():
def test_fire_and_forget_panels_render_their_errors():
"""JS-07: the /db and /surrogate fetches carry the figures.js one-line .catch."""
replay = _served("replay.js")
assert ".catch(() => { $('tab-compare').innerHTML" in replay
# /db failure: only the catalog-clouds panel blanks — the comparison bar and the search live in the
# same Compare workspace and must survive a /db outage.
assert ".catch(() => { const el = $('rp-clouds'); if (el) el.innerHTML" in replay
assert ".catch(() => { const el = $('rp-sur'); if (el) el.innerHTML" in replay


Expand Down
2 changes: 1 addition & 1 deletion web/lessons.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@

{ "id": "7.1", "ch": 7, "title": "A law is a fit",
"tab": "replay", "shot": 30166, "slice": { "t": 0.27 }, "focus": ["strip-w"],
"body": "The warm curves come from [[scaling laws|scaling-law]]: power-law fits of confinement time across thousands of shots on many machines. They are how ITER was sized. But the machines in that database were conventional, doughnut-shaped tokamaks. MAST is a cored apple, and published studies found it scales differently, with a weaker dependence on current and a much stronger one on field. So on MAST the law is a reference line, not the truth.",
"body": "The warm curves come from [[scaling laws|scaling-law]]: power-law fits of confinement time across thousands of shots on many machines. They are how ITER was sized. But the machines in those fits were conventional, doughnut-shaped tokamaks. MAST is a cored apple, and published studies found it scales differently, with a weaker dependence on current and a much stronger one on field. So on MAST the law is a reference line, not the truth.",
"deeper": "Valovič et al., <i>Nucl. Fusion</i> 49 (2009) 075016 fitted MAST H-modes as W ∝ I<sub>p</sub><sup>0.59</sup> B<sub>T</sub><sup>1.4</sup>, against [[IPB98(y,2)|ipb98]]'s I<sub>p</sub><sup>0.93</sup> B<sub>T</sub><sup>0.15</sup>. The same paper notes the magnitudes broadly agree." },

{ "id": "7.2", "ch": 7, "title": "One shot among thousands",
Expand Down
Loading
Loading