Michael Rabinovich Cursor commited on
Commit
c040324
·
1 Parent(s): 64a522a

step 3: gradio leaderboard scaffold

Browse files

Replace the static placeholder index with a Gradio app: Leaderboard tab
backed by a hand-crafted results.jsonl, Submit tab (UI-only stub, real
eval wiring lands in step 6), About tab. Org slugs parameterised via
HF_ORG / HF_SUBMISSIONS_REPO / HF_DATA_REPO env vars so the future move
to the science org is a secret change, not a code change.

Files:
- app.py: gradio 6.14 app, three tabs
- requirements.txt: gradio, pandas, huggingface_hub, datasets
- results.jsonl: two dev seed rows
- README.md: sdk: static -> sdk: gradio
- legacy/: archive of the prototype nist comparison HTMLs
- .gitignore: __pycache__, .venv, .gradio

Schema: validity_rate (float [0,1]) instead of valid (bool); notes kept
in the row but hidden from the visible table. All copy uses "AI-driven"
rather than "LLM-driven".

Co-authored-by: Cursor <cursoragent@cursor.com>

9 files changed +210 -48
Files changed (9)
.gitignoreAdded+6
README.md+18-6
app.pyAdded+180
index.htmlDeleted-14
nist_comparison_3d.html → legacy/nist_comparison_3d.htmlRenamed
File without content changes
nist_hf_comparison_3d.html → legacy/nist_hf_comparison_3d.htmlRenamed
File without content changes
requirements.txtAdded+4
results.jsonlAdded+2
style.cssDeleted-28