This page maps every published package to its supported root API and detailed package documentation. The package's src/index.ts is authoritative; deep src/* or dist/* imports are unsupported.
The generated TypeDoc site covers the supported root exports of all ten public packages. This hand-curated index adds package purpose and entry-point guidance; each package section links directly to its generated module reference.
DFS validation, effective-dated compatibility/custom policies, stat providers, settlement, payout math, provenance, and audit records.
- Primary runtime:
createDfsEngine,defineStatProvider,defineBookPolicy,definePayoutTable,validateBookPolicyDefinition,validateDfsEntryInput, grading/payout helpers, league adapters, and migration adapters. - Primary contracts:
DfsEntryInput,DfsLegInput,DfsSettlementContext,DfsSettlementResult, batch result/cache types, policy/table/source/verification types, and provider interfaces. - README
- Root exports
- Generated TypeDoc
Sportsbook odds, value, bankroll, and history analytics.
- Primary runtime:
americanOddsToImpliedProbability,probabilityToAmericanOdds,calculateNoVigFairLine,combineAmericanOdds,calculateParlayProbability,calculateParlayFairValue,calculateExpectedValue,calculateKellyStake,calculateClosingLineValue,calculateBetRollup,calculateRollupByPeriod,calculateDrawdown,calculateStreaks,normalizeSportsbookSlug, andbetRecordToDfsEntryInput. - README
- Root exports
- Generated TypeDoc
Transparent entertainment scoring, feature extraction/training, model diagnostics, reporting, and personalized recommendations.
- Primary runtime:
resolveBuzzScores,enrichGameRowWithBuzzScores,isMustWatch,predictGame,predictGameWithDiagnostics,trainSGD,validateModel,buildModelRunReport,rankGamesForUser, andexplainRecommendation. - Primary constants/contracts:
MUST_WATCH_THRESHOLD, model version/feature constants, score/model/report types,UserAffinityProfile, and recommendation types. - README
- Root exports
- Generated TypeDoc
Local stdio MCP server exposing 11 tools across the three core engines.
- Server API:
createBuzzrMcpServer,registerBuzzrTool,allTools,SERVER_NAME, andSERVER_VERSION. - Tool groups:
dfsTools,oddsTools,historyTools, andbuzzTools, plus each named tool definition. - Embedding helpers:
defineTool,jsonResult,errorResult, and public tool/result types. - Executables:
mcpandbuzzr-mcp. - README and 11-tool catalog
- Root exports
- Generated TypeDoc
Filesystem wrapper for grading one entry JSON document against a leg-keyed game-log JSON document.
- Runtime:
runGradeandrunGradeFromFiles. - Contracts:
GameLogsByLegId,RunGradeInput, andRunGradeFileInput. - Executable:
dfs-grade. - README
- Root exports
- Generated TypeDoc
Framework-neutral settlement display models; no React runtime dependency.
- Runtime:
getSlipDisplayModel,getStatusTone,formatLegLabel, andformatLegLine. - Contracts:
SlipStatusTone,LegDisplayModel, andSlipDisplayModel. - README
- Root exports
- Generated TypeDoc
Fixture builders and injected mock providers for engine consumers.
- Runtime:
makeDfsEntry,makeDfsLeg,makeGameLogEntry,createMockStatProvider, andmakeInvalidDfsEntry. - README
- Root exports
- Generated TypeDoc
Adapter from a consumer-owned ESPN-shaped game-log loader to StatProvider. It performs no network request itself.
- Runtime:
createEspnStatProvider. - Contracts:
EspnGameLogLoaderInputandEspnStatProviderOptions. - README
- Root exports
- Generated TypeDoc
Adapter from consumer-owned Sportradar-shaped basketball rows to PlayerGameLogEntryShape and StatProvider. It performs no network request itself.
- Runtime:
createSportradarStatProviderandsportradarRowToGameLog. - Contracts:
SportradarBasketballStatLine,SportradarGameLogLoaderInput, andSportradarStatProviderOptions. - README
- Root exports
- Generated TypeDoc
Versioned engine regression fixtures for the matching @buzzr/dfs-engine version. They are not official operator conformance.
- Runtime:
TEST_VECTORS. - Contracts:
TestVector,ExpectedSettlement, andExpectedLegOutcome. - README
- Root exports
- Generated TypeDoc
llms.txtfor a compact package index.AGENTS.mdfor repository invariants.- Buzzr Sports Engine skill for MCP/package routing and operator safety.