File size: 648 Bytes
1fb78ac
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Server-side data layer for the Video Benchmark Space.

``schema`` holds the canonical UI vocabulary (column metadata, option
lists, leaderboard categories, parameter group narration, About-page
prose) that the Gradio app in ``app.py`` reads directly to build its
controls and tabs. ``compute`` holds the pure-Python row math the app
calls from its event handlers: filtering, composite ranking, leaderboard
aggregation, and the three Compare-tab chart aggregations.

Both modules are framework-agnostic — they only know about ``list[dict]``
rows and the ``COLUMNS`` metadata, so they're trivial to import from a
notebook or a test harness.
"""