feat(exports): add public ranking and details export endpoints
Anton Malykhin
0c651e4
Add stable server-side export URLs for automation and pipeline usage:
- /exports/ranking.csv
- /exports/ranking.json
- /exports/details-matrix.csv
- /exports/details-matrix.json
The endpoints can be fetched with curl without a user token. They keep the private Hugging Face bucket behind the SvelteKit server and reuse the existing server-side bucket access used by the Ranking and Details pages.
Move export assembly into a shared helper that reuses the existing ranking and details matrix builders and CSV formatters. Ranking exports reproduce the default leaderboard export with all benchmarks, all models, and integral descending sort. Details matrix exports reproduce the default matrix export with score metric, all groups, all models, and integral descending sort.
Add JSON variants with snapshot metadata, status, source, row data, and matrix dataset metadata. Return 503 when bucket data is unavailable, while serving stale cached data when available and exposing x-hivetrace-data-status…
fix: stabilize benchmark leaders, model benchmark sorting, and HF bucket reads
Anton Malykhin
644ba85
- Fix benchmark card leader selection on the Details page
- Keep using F1 when a benchmark group has F1 values
- Fall back to FNR, then FPR, when F1 is unavailable
- Treat FNR/FPR as lower-is-better metrics when selecting the leader
- Show the selected leader metric in the card preview label
- Format FNR/FPR leader values as percentages instead of score decimals
- Sort model benchmark cards on the Ranking sheet
- Sort benchmark details by score descending
- Ensure the Benchmarks tab in the model flyout shows highest score first and lowest score last
- Improve Hugging Face bucket read resilience
- Increase default bucket request timeout from 10s to 60s
- Add configurable HF_BUCKET_REQUEST_RETRIES with a default of 2 retries
- Retry timeout/network-level bucket read failures without retrying HTTP errors like 401/403/404
- Load Tools visualization bucket files sequentially instead of issuing all visualization reads in parallel
- Update .env.example and deployment…
feat: optimize bucket data caching and document refresh behavior
Anton Malykhin
a290b8b
- Add private five-minute browser caching for SvelteKit page-data responses:
- Ranking,
- Details,
- Visualizations.
- Set Cache-Control to private, max-age=300.
- Remove the stale-while-revalidate window so expired route data is refreshed before rendering.
- Support cache handling for both localized and non-localized __data.json routes.
- Add gzip compression for page-data responses larger than 1 KB.
- Respect the client Accept-Encoding header and gzip quality value.
- Set Content-Encoding and Vary headers for compressed responses.
- Preserve uncompressed responses for clients without gzip support.
- Reduce transferred payload sizes approximately:
- Ranking from 171 KB to 58 KB,
- Details from 643 KB to 158 KB,
- Visualizations from 709 KB to 122 KB.
- Refresh the small bucket manifest whenever a browser cache miss reaches the server.
- Add refreshManifest snapshot option to separate manifest checks from full payload refreshes.
- Reuse catalog, leaderboard, and adapted d…
feat: stabilize HF deploy, locale routing, and bucket caching
Anton Malykhin
c85bc2e
- Pin pnpm 11.9.0 through Corepack in GitLab CI and Docker builds
- Add workspace pnpm safeguards for engine strictness and dependency verification warnings
- Validate required Hugging Face deploy CI variables before pushing to the Space repository
- Enable Paraglide URL/baseLocale strategy for generated runtime and Vite integration
- Localize main navigation, logo, error page, and fallback links so language-prefixed routes are preserved
- Cache Hugging Face bucket ranking, details, and visualization data by snapshot_id
- Reuse cached adapted datasets when the bucket manifest still points to the same snapshot
- Share the ranking snapshot across details and visualization fetches to avoid duplicate manifest/data requests
- Rewrite README in English with setup, environment, development, and validation instructions
- Split docs into explicit Russian and English versions with _ru and _en suffixes
- Add English translations for backend data contract and Hugging Face Space deployment docs
ci: generate Paraglide before Svelte checks
Anton Malykhin
54bc653
- add explicit paraglide script for generated i18n output
- make pnpm check generate Paraglide before running svelte-check
- make check:watch use the same generated-output preparation
- keep GitLab CI validate step clean: pnpm check + pnpm build
- avoid adding a separate Paraglide generation step to Dockerfile
- document that pnpm check generates Paraglide output internally
- fix CI failure where clean GitLab runners could not resolve $lib/paraglide modules
ci: add Hugging Face Space deployment pipeline
Anton Malykhin
2526f60
Add GitLab CI validation and production deploy flow for the private Hugging Face Docker Space.
- run pnpm check and build in the validate stage
- deploy prod branch commits to the Hugging Face Space repository
- document required Space settings, runtime secrets, CI variables and local Docker smoke test
feat: integrate bucket-backed leaderboard data
Anton Malykhin
c6afb12
Original commit b2bb6261a92895c93392dac18ff716d51625d4b0
feat: serve leaderboard data from a private Hugging Face bucket
- add a server-only Hugging Face bucket client with manifest, schema,
checksum, and payload validation
- cache ranking, details, and manifest responses with stale-data
fallbacks and request deduplication
- adapt bucket catalog and leaderboard payloads to shared UI types
- migrate ranking, details, and tools routes from embedded fixtures
to SvelteKit server load data
- remove the obsolete static leaderboard dataset
- localize bucket labels, dataset availability messages, error pages,
and run dates
- add a global navigation loader with page fade transitions and
reduced-motion support
- add localized 404/500 pages and a static fallback error document
- add favicon, Apple touch icon, PWA icons, and web manifest
- improve select, sheet, and empty-state behavior for dynamic data
- document private bucket configuration and runtime environment variables
- add pro…
feat: add HiveTrace leaderboard frontend
Anton Malykhin
336b102
Add SvelteKit frontend project, Docker setup, localized content, and Hugging Face Space configuration.