Case study / API v1.0.3 and web v1.0.0 released prototypes

Cricket Intelligence System

A dataset-grounded cricket question system with deterministic routing and honest degraded behavior.

Cricket Intelligence System verified interface

Problem

Generative sports assistants can return plausible but unsupported statistics, especially when retrieval data is missing.

Target user

Cricket viewers exploring player, team, match, comparison, and leaderboard questions.

Solution

A React client and Express API classify questions, normalize entities, compute typed dataset responses, and preserve an explicit unsupported/degraded path.

Personal contribution

Built the routing and response contracts, dataset paths, web integration, regression cases, startup/status checks, and degraded-retrieval fix.

Architecture

Boundaries before buzzwords.

  1. React query client
  2. Express routing and typed responses
  3. Deterministic dataset services
  4. Optional local Chroma helper

Main workflow

State moves with a reason.

  1. 01

    Normalize the question and entities

  2. 02

    Select a deterministic action

  3. 03

    Compute from available data

  4. 04

    Attach typed evidence

  5. 05

    Return unsupported/degraded guidance when necessary

Technical decisions

The trade-offs that define the system.

  • Statistics come from deterministic data paths
  • Optional retrieval cannot silently downgrade typed team responses
  • Unsupported questions remain explicit

Difficult engineering challenge

The regression-prone edge was preserving a frontend-compatible typed response when the optional vector archive was empty or locally broken.

Verification

Evidence and boundaries.

Testing

  • 19 API routing cases
  • 5 API HTTP integration tests
  • 3 web Playwright workflows
  • API and web production checks

Security and privacy

  • No language-model-generated statistic is treated as evidence
  • Public deployment would require request abuse limits

Known limitations

  • Optional Chroma archive is empty in the verified environment
  • Dataset scope bounds available answers

Focused future work

  • Add provenance and golden statistical calculations for common queries

Verified demonstration

Rendered product behavior.

Loading video metadata…

Next systemHeart Analysis