judge-dashboard: enrich Notion rows with input hero + prompt#30
Merged
Conversation
Goke needs to correlate ratings to inputs after the contest, so the Notion DB now captures, per rated tile: - Hero image (Files) — the input hero re-uploaded to Notion alongside the generated output so both survive Runflow's 24h CDN cache. - Prompt (Rich text) — exact prompt string sent to brand-locked-variant-nux. - Hero source URL (URL) — original static URL of the hero for debugging. Wiring: - Dashboard submitRatings now sends prompt + hero_url per result. Pulls from r.prompt / r.hero_url (preset runs) or r.payload.prompt / r.payload.primary_design_ref (live judge generations). - applyPreset propagates prompt + hero_url from PRESETS into the tile state. - build-presets.py reconstructs prompt + hero_url deterministically for every tile in /tmp/presets-output.json, even ones skipped because the file is already on disk. bake-runs.py forwards them into PRESETS. - submit-ratings.mjs uploads both the rated output and the input hero to Notion in parallel and writes them to the Image + Hero image properties.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Goke needs to analyse what went well or badly per rating. The Notion DB now captures the input hero image and the exact prompt sent to the workflow alongside the rated output.
New Notion columns:
Works for both preset and live judge generations. Skipped tiles in build-presets.py get prompt + hero_url reconstructed deterministically from the preset definition.