Skip to content

Report build cleanups from PR 13 review #15

Open

Description

@alex-mextner

What

Three non-blocking review notes from PR 13 were not applied: the report header is duplicated in static HTML and in the Report.init payload and kept in sync only by a test; the generated HTML body is a single very long line; outcome counts are hard-coded in two scripts. Reduce this duplication without changing rendered content.

Why (motivation)

Duplicated values drift silently and long single-line output is hard to diff and review.

User impact

Report authors get fewer places to edit and clearer diffs; readers see no change.

Cost of inaction

Header and outcome counts can fall out of sync between copies, and generated output stays hard to review.

Acceptance criteria

  • Header and outcome counts each have a single source of truth
  • Generated HTML body is multi-line, and rendered report content is byte-for-byte equivalent in text

Screenshots

(none)

Deploy

Deployed: no

Links

  • (none)

Skipped gates

  • links: references PR by number only
  • links-url: no external URL relevant
  • screenshots: rendered content must not change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions