Skip to content

feat: P3.7 paper figure auto-generation from solver CSVs#6

Merged
Mola-maker merged 1 commit intomainfrom
feat/paper-figure-templates
Apr 20, 2026
Merged

feat: P3.7 paper figure auto-generation from solver CSVs#6
Mola-maker merged 1 commit intomainfrom
feat/paper-figure-templates

Conversation

@Mola-maker
Copy link
Copy Markdown
Owner

Add PaperFiguresAgent that scans vol/outputs/*.csv and renders publication-ready figures into vol/outputs/figures/ using a deterministic template library (no LLM dependency):

  • line trend (time-series columns)
  • scatter (2+ numeric columns)
  • bar (categorical × numeric)
  • histogram (distribution of first numeric)
  • correlation (3+ numeric → corr heatmap)
  • residual (y_true / y_pred pair → residual + QQ)

Wired as PhaseSpec name="P3.7" between P3.5 and P4 with on_error="skip" — the pipeline continues even if outputs are empty or unparseable.

Manifest written to ctx.modeling.paper_figures so writing_agent can reference figures by filename.

Smoke-tested with synthetic CSVs covering all 6 templates and the empty-input skip path.

Add PaperFiguresAgent that scans vol/outputs/*.csv and renders
publication-ready figures into vol/outputs/figures/ using a
deterministic template library (no LLM dependency):

- line trend  (time-series columns)
- scatter     (2+ numeric columns)
- bar         (categorical × numeric)
- histogram   (distribution of first numeric)
- correlation (3+ numeric → corr heatmap)
- residual    (y_true / y_pred pair → residual + QQ)

Wired as PhaseSpec name="P3.7" between P3.5 and P4 with
on_error="skip" — the pipeline continues even if outputs are
empty or unparseable.

Manifest written to ctx.modeling.paper_figures so writing_agent
can reference figures by filename.

Smoke-tested with synthetic CSVs covering all 6 templates and
the empty-input skip path.
@Mola-maker Mola-maker merged commit 60da441 into main Apr 20, 2026
0 of 3 checks passed
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.

1 participant