Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Client‑side Monte‑Carlo Lineup Simulator with Sleeper API

说明与用途

一个完全在浏览器中运行的 Web 应用,使用 Sleeper API 获取联赛数据,并通过 10,000 次蒙特卡罗模拟(对数正态分布)提供真实的阵容胜率评估,无需后端。

问题

Fantasy platforms use single deterministic point estimates, ignoring the asymmetric, high‑variance nature of player scoring, which hampers optimal lineup decisions.

结果

The app runs entirely in the browser, incurs zero hosting costs, and provides realistic probabilistic lineup evaluations with smooth UI performance.

工作流

  • 1. User enters Sleeper League ID
  • 2. App fetches rosters, users, and league data via Sleeper REST endpoints
  • 3. Static player metadata (~5 MB) is cached in IndexedDB and refreshed daily
  • 4. For each start/sit permutation, a Web Worker runs 10,000 Monte‑Carlo simulations using a log‑normal model
  • 5. Results (win probability, expected points) are displayed in the UI
  • 6. User iterates lineup changes and re‑simulates

证据

Instead of hosting an API server, database, or authentication service, the entire application runs in the user's browser and deploys statically to GitHub Pages.

来源

For every start/sit permutation, the engine simulates 10,000 full matchups

来源

  • 记录日期: 2026-09-05T18:53:08.692Z