Skip to content

Publish one named API endpoint per leaderboard action - #30

Merged
jhewers-pf merged 2 commits into
mainfrom
jhewers-pf-leaderboard-api
Nov 13, 2026
Merged

jhewers-pf merged 2 commits into
mainfrom
jhewers-pf-leaderboard-api

Conversation

@jhewers-pf

@jhewers-pf jhewers-pf commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

The Space's API (gradio info proxima-fusion/coilstellaration-bench) listed 19 endpoints:

  • one per control's change listener: /view to /view_3, /draw_pareto to /draw_pareto_4
  • the submit button's /lambda steps and the first-visit loaders
  • outputs named value_NN

Now:

  • Each action's controls share one gr.on event with an api_name.
  • UI-only events use api_visibility="private".
  • Outputs have labels.
Space Endpoints
Leaderboard /leaderboard, /pareto, /coilset_instances, /coilset, /model_graph, /submit
Evaluator /status

Testing

  • New tests check the endpoint names, parameters and outputs of the leaderboard table and the Explore tab.
  • Launched the app locally. gradio info lists the six endpoints, and gradio predict on /leaderboard and /pareto returns data.

The Space's API listed 19 endpoints: one per control's change listener
(/view to /view_3, /draw_pareto to /draw_pareto_4), the submit button's
lambdas and the first-visit loaders, with outputs named value_NN.

Each action's controls now share one gr.on event with an api_name, the
UI-only events are api_visibility="private", and outputs carry labels.
The leaderboard Space publishes /leaderboard, /pareto, /coilset_instances,
/coilset, /model_graph and /submit; the evaluator publishes /status.
@jhewers-pf
jhewers-pf enabled auto-merge November 13, 2026 12:55
@jhewers-pf
jhewers-pf disabled auto-merge November 13, 2026 12:55
@jhewers-pf
jhewers-pf merged commit 28a36af into main Nov 13, 2026
3 checks passed
@jhewers-pf
jhewers-pf deleted the jhewers-pf-leaderboard-api branch November 13, 2026 12:56
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