Skip to content

feat(parameter-extraction): add distill_report_section module#698

Open
neoneye wants to merge 1 commit into
mainfrom
feat/parameter-extraction-distill-section
Open

feat(parameter-extraction): add distill_report_section module#698
neoneye wants to merge 1 commit into
mainfrom
feat/parameter-extraction-distill-section

Conversation

@neoneye
Copy link
Copy Markdown
Member

@neoneye neoneye commented May 12, 2026

Summary

Implements the digest-distillation step from proposal 137 (section filtering for parameter extraction).

  • Compresses verbose report sections — Strategic Decisions, Review Plan, Premortem, Expert Criticism — into a structured digest tailored for downstream parameter extraction.
  • Keeps the Monte-Carlo-relevant signal: numeric anchors, gates/thresholds, model drivers, risks/shocks, missing values, calculation seeds, dependencies.
  • Includes path-based and string-based section-type inference + normalisation, plus unit tests for both helpers.

Adds 4 files, ~714 lines, under worker_plan/worker_plan_internal/parameter_extraction/. No callers wired up yet — this is the standalone primitive.

Test plan

  • python3.11 -m pytest worker_plan_internal/parameter_extraction/tests/ passes locally (3/3)
  • CI green
  • Confirm the module is meant to ship now (rather than wait for a wiring-up PR)

Implements the digest-distillation step from proposal 137 (section filtering for parameter extraction). Compresses verbose report sections — Strategic Decisions, Review Plan, Premortem, Expert Criticism — into a structured digest that keeps the Monte-Carlo-relevant data: numeric anchors, gates and thresholds, model drivers, risks/shocks, missing values, and calculation seeds.

Includes path/string-based section-type inference, normalization, and unit tests covering both helpers.
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