Spaces:
Sleeping
Sleeping
Commit History
25 days ago
-
Update app.py
Verified signatureb41db79 -
Update app.py
Verified signature90c6559
-
leaderboard: anonymize Justin1233 references + force English UI
xzhou10Three independent fixes: 1. Drop Justin1233/RobustBench-TC URL and run_eval.py from the header markdown — both leaked the contributor handle and project repo, violating double-blind review. Replaced with a generic 'identifiers withheld during double-blind review' message. 2. gradio's gr.File widget renders the upload placeholder in the visitor's browser locale (zh-CN by default for many users); pin GRADIO_DEFAULT_LANG=en at launch so reviewers always see the English string instead of '将文件拖放到此处或点击上传'. 3. Rename the post-submit Dataframe label from 'leaderboard (refreshed)' to 'Updated leaderboard after this submission' and pre-populate it with the current leaderboard so the table is no longer empty before any submission has been made.b4ffed9
-
leaderboard: drop redundant N column
xzhou10e1b2278
-
feat: replace 'Overall Acc.' with 'Pert. Acc.' (clean-excluded), explain N
xzhou10User feedback on the live leaderboard: 1. 'n' column was opaque — added a column-guide markdown above the table that defines N (eval), Pert. Acc., Clean explicitly. Also renamed the column to 'N (eval)' for clarity. 2. The headline accuracy was a clean+perturbed average, which inflates the number for any model with high clean accuracy. Replace it with a perturbed-only weighted average (sum of correct/n across all 22 perturbation cells, clean excluded). Now Clean − Pert. Acc. is the sim-to-real gap that the benchmark exists to measure. score_submission(), append_entry(), seed_with_18_models.py all updated to compute and store the perturbed-only Pert. Acc.; load_leaderboard() includes a backward-compat rename for old CSVs (n -> N (eval), Overall Acc. -> Pert. Acc.) so existing rows keep working.bc37764 -
fix: monkey-patch gradio_client get_type for bool additionalProperties
xzhou10show_api=False doesn't help because the schema is generated at app import time (during get_blocks().get_api_info()) — before launch(). The crash: File gradio_client/utils.py:863, in get_type if 'const' in schema: TypeError: argument of type 'bool' is not iterable happens when a tool schema has additionalProperties: false (a bool, not a dict). gradio 4.44 + bundled gradio_client 1.3.0 has this bug; it's fixed in gradio_client 1.5.x but gradio 4.44 pins client to 1.3. Workaround: patch get_type and _json_schema_to_python_type to fall back to 'Any' when given a non-dict, before importing gradio. This is a one-process fix that costs us nothing because we don't expose a programmatic client to consumers.bc9ad31 -
fix: explicit launch config to bypass gradio_client schema crash + bind to 0.0.0.0
xzhou10show_api=False: gradio 4.44 + the bundled gradio_client 0.x crashes when generating the API schema for nested data structures with dict-valued additionalProperties ('TypeError: argument of type bool is not iterable'). We don't expose a programmatic client API, so dropping the schema endpoint is harmless. server_name=0.0.0.0 + server_port=7860: HF Spaces require explicit bind to all interfaces and the canonical port; without it gradio defaults to localhost which the Space proxy cannot reach (the 'When localhost is not accessible, a shareable link must be created' error in the Space build log).a5730fa
-
Init RobustBench-TC leaderboard MVP with 18 seeded models
xzhou1037a1a73