Skip to content

Automate chart rendering and screenshot update PRs - #29

Draft
MatthewFeroz wants to merge 1 commit into
PatMyron:masterfrom
MatthewFeroz:screenshot-automation-23
Draft

MatthewFeroz wants to merge 1 commit into
PatMyron:masterfrom
MatthewFeroz:screenshot-automation-23

Conversation

@MatthewFeroz

@MatthewFeroz MatthewFeroz commented Sep 9, 2026

Copy link
Copy Markdown

The chart scripts currently open interactive figures, so repository screenshots need manual regeneration. This adds a headless renderer and a manually triggered workflow that opens a screenshot-update PR. It also regenerates the pay detail view and reports corporate-travel fetch failures before publishing any output.

Related to #23. This draft makes the proposed $200 PayPal scope reviewable. Funding and acceptance are not agreed; no payment is claimed or owed on the basis of this submission alone.

Validation on Python 3.12:

  • Four local datasets produced five valid PNGs; the pay detail view was visually inspected.
  • python test_render.py verifies existing screenshots survive a later rendering failure.
  • Python syntax, workflow YAML structure and git diff --check passed.
  • The live corporate-travel source returned HTTP 403; no replacement was written. A successful full-source run remains unverified.
  • Hosted fork validation passed in 29 seconds with corporate_travel=false. It created the expected screenshot-update PR, changing exactly five image files and leaving corporate travel untouched. The workflow defaults to including corporate travel; its successful live-source path remains unverified.

The README documents historical datasets, inferred pay zoom bounds, source-access failures, and the required repository Actions setting. Direct dependencies are pinned to the versions exercised locally. This code draft excludes regenerated images; the linked fork PR demonstrates the separate image review.

Prepared with OpenAI Codex. The checks above describe actual local validation, not a claim of current external-source availability or a successful run that includes corporate travel.

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