⚠ ネタバレ注意: 本サイトはSFアニメ「SOLAR LINE」の内容を詳細に分析しています。未視聴の方はご注意ください。
📝 AI生成コンテンツ: 本考証の大部分は AI(Claude Code 等)によって生成されています。内容の正確性については原作および引用元をご確認ください。

Task 133: 各解析ごとの再現コマンド(解析テスト)

完了 ← タスク一覧

Task 133: 各解析ごとの再現コマンド(解析テスト)

Status: DONE

Human Directive

「再現コマンドは、レポートに対してひとつではなく、各解析に対してひとつ作っておく。それをテストのように扱うことで、TDD的に解析を行うことができる。また、自動テストのように、常に解析されている状態を維持する。それによって、前提条件が変わった際にDAGを確認するよりも確実に再度解析を行うことができる。」

Scope

  1. Audit existing analyses (EP01-05 transfers, parameter explorations) for reproduction commands
  2. Design per-analysis reproduction command format (CLI invocation that re-derives specific analysis results)
  3. Implement individual reproduction scripts for each transfer analysis:

- EP01: Mars→Ganymede 72h brachistochrone, mass boundary, Hohmann reference, Jupiter arrival

- EP02: Jupiter escape, ballistic coast, Saturn capture, Enceladus descent

- EP03: Enceladus departure, Saturn→Uranus transfer, Titania approach, navigation accuracy

- EP04: Titania departure, thrust-limited transfer, plasmoid encounter, Earth approach

- EP05: Uranus departure, Jupiter flyby, composite route, LEO insertion, nozzle analysis

  1. Register these as automated tests (npm run test:analyses or similar)
  2. Integrate with CI so analyses are always verified
  3. Update npm run recalculate to use the per-analysis commands

Design Notes

- Run the calculation script/WASM function

- Compare output against expected values (with tolerance)

- Fail clearly when preconditions change (mass, Isp, orbital parameters)

Dependencies