Skip to content

[LLM] Add canonicalization/auto-fix stage for model output #7

@Simonsbs

Description

@Simonsbs

Goal

Constrain model output to canonical L0 more aggressively.

Scope

  • Add canonicalization and structural auto-fix pass between model output and verifier.
  • Strip markdown/noise robustly.
  • Normalize section order, ids, and instruction formatting when mechanically safe.
  • Reject non-repairable output with explicit error taxonomy.

Acceptance

  • Canonicalization pass has dedicated tests.
  • Verify success improves measurably without lowering semantic correctness.
  • Failure classes are reported in benchmark output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions