Buzzr Sports Engine API
    Preparing search index...

    Buzzr Sports Engine API

    Package API index

    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, and betRecordToDfsEntryInput.
    • 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, and explainRecommendation.
    • 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, and SERVER_VERSION.
    • Tool groups: dfsTools, oddsTools, historyTools, and buzzTools, plus each named tool definition.
    • Embedding helpers: defineTool, jsonResult, errorResult, and public tool/result types.
    • Executables: mcp and buzzr-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.

    Framework-neutral settlement display models; no React runtime dependency.

    • Runtime: getSlipDisplayModel, getStatusTone, formatLegLabel, and formatLegLine.
    • Contracts: SlipStatusTone, LegDisplayModel, and SlipDisplayModel.
    • README
    • Root exports
    • Generated TypeDoc

    Fixture builders and injected mock providers for engine consumers.

    Adapter from a consumer-owned ESPN-shaped game-log loader to StatProvider. It performs no network request itself.

    Adapter from consumer-owned Sportradar-shaped basketball rows to PlayerGameLogEntryShape and StatProvider. It performs no network request itself.

    • Runtime: createSportradarStatProvider and sportradarRowToGameLog.
    • Contracts: SportradarBasketballStatLine, SportradarGameLogLoaderInput, and SportradarStatProviderOptions.
    • README
    • Root exports
    • Generated TypeDoc

    Versioned engine regression fixtures for the matching @buzzr/dfs-engine version. They are not official operator conformance.