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

Task 32: Template and Type Quality Fixes

完了 ← タスク一覧

Task 032: Template and Type Quality Fixes

Status: DONE

Goal

Fix type inconsistencies and template rendering gaps identified by quality audit.

Scope

  1. ExplorationScenario.results type: Record<string, number>Record<string, string | number> (EP04/EP05 data uses string values)
  2. TransferAnalysis.parameters.mu: Make optional (13 of 24 transfers don't have mu)
  3. Markdown ordered list support: markdownToHtml doesn't handle 1. ordered lists — EP02 numbered lists render as bare paragraphs
  4. Animation time display: Long-duration diagrams (cross-episode full-route: ~472 days) display in hours, becoming unreadable. Show days when appropriate.

Changes

  1. ts/src/report-types.ts: ExplorationScenario.results now Record<string, number | string>, TransferAnalysis.parameters.mu now optional
  2. ts/src/templates.ts: markdownToHtml supports ordered lists (1. , 2. ), CSS time-display min-width 5rem
  3. ts/src/orbital-animation.js: formatTime shows days for >30d, years+days for >365d
  4. ts/src/templates.test.ts: 10 new tests (ordered lists, string results, optional mu, ordered lists in explanations)

Test Results

Depends on