TITLE = """ TSFM Realworld Bench Leaderboard """ INTRODUCTION_TEXT = """ **TSFM Realworld Bench** evaluates time series foundation models on **live TS-Bench real-world data** with **zero-shot API inference** via [TSFM.ai](https://tsfm.ai/). Following [GIFT-Eval](https://huggingface.co/spaces/Salesforce/GIFT-Eval), the leaderboard reports **absolute metric values** (not normalized to a baseline model) and **per-dataset ranks**. Use the **Overall** tab for aggregate scores; each subsequent tab is one **dataset (domain)** with its own absolute results. """ LLM_BENCHMARKS_TEXT = """ ## How to participate 1. Clone [TSFM_Bench](https://github.com/zhouziyu02/TSFM_Bench) 2. Implement your model against the streaming data interface (`tsfm_bench.data`) 3. Run evaluation and write `results//all_results.csv` 4. Open a pull request; results sync to this leaderboard ## Metrics - **MASE** — Mean Absolute Scaled Error (absolute) - **CRPS** — Mean Weighted Sum Quantile Loss (probabilistic forecast quality) - **MASE_Rank** / **CRPS_Rank** — per-dataset rank (lower is better) ## Automated evaluation ```bash export TSFM_API_KEY=your_key export HF_TOKEN=your_hf_token python scripts/run_online_daemon.py --once python scripts/run_online_daemon.py # every 5 min by default ``` """ CITATION_BUTTON_LABEL = "Copy citation" CITATION_BUTTON_TEXT = r""" @misc{tsfm_realworld_bench, title={TSFM Realworld Bench: A Benchmark for Time Series Foundation Models}, author={TSFM Realworld Bench Team}, year={2026}, howpublished={\url{https://huggingface.co/spaces/CityMindDev/TSFM-Realworld-Bench}} } """