Automate chart rendering and screenshot update PRs - #29
Draft
MatthewFeroz wants to merge 1 commit into
Draft
MatthewFeroz wants to merge 1 commit into
MatthewFeroz wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
python test_render.pyverifies existing screenshots survive a later rendering failure.git diff --checkpassed.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.