QuantsScenarioBench v1.1.0
Highlights
- Benchmark Core — Portfolio Optimizer Interface (
BaselineStrategy,ForecastOptimizer), a validatedPortfolioWeightstype, three traditional baselines (EqualWeight,GlobalMinimumVariance,CVaROptimization), four performance metrics (Sharpe, Sortino, Maximum Drawdown, Final Wealth Factor), andrun_benchmark()producing a JSON-serializableBenchmarkResult. - EvaluationResult pipeline — a fixed, JSON-native
EvaluationResultschema, plus the pureto_evaluation_result()transform fromBenchmarkResult. - Local evaluation result storage —
write_evaluation_result()writes one timestamped, append-only JSON file per run, organized by Benchmark Dataset and strategy. - Hugging Face evaluation results publishing —
publish_evaluation_results()andgenerate_evaluation_results_card()publish results to a shared, append-only Hugging Face dataset repo with an auto-generated summary card. - Leaderboard aggregation —
aggregate_evaluation_results(),load_evaluation_results(), andload_evaluation_results_from_hub()build a ranked strategy × Benchmark Dataset table from every publishedEvaluationResult.
Notes
- This release provides leaderboard aggregation only — a ranked
list[dict]you can load into pandas, a notebook, or your own app. There is no hosted or public leaderboard page. - The Hugging Face Space (Gradio Leaderboard UI) is planned for v1.2, not included here.
See CHANGELOG.md for full details.