All projects

Celloscope

A FastAPI service for Bengali/English transcription and structured lab-report extraction with deterministic offline replay.

Status
Live on Azure
Role
Built the service architecture, provider adapters, validation, deterministic fixtures, browser workspace, tests, and deployment.
Celloscope browser workspace showing the transcription and laboratory-report extraction interface

A reviewer needs to exercise AI-backed file workflows without paid credentials, model downloads, invented medical fields, or hidden provider behavior.

  • Separated API, orchestration, domain, and provider adapters; an automated architecture test enforces the boundaries.
  • Validated file signatures instead of trusting extensions and preserved raw evidence for every parsed laboratory value.
  • Returned explicit no-speech, non-lab, unparsed, and unknown-fixture states rather than hallucinating a successful result.

One contract, replaceable providers

The application layer depends on provider-neutral ports. Offline replay adapters make review deterministic; OpenAI transcription and Azure layout OCR are selected only through validated configuration.

Preserve uncertainty

Numeric values stay numeric, while comparators, intervals, raw OCR tokens, raw lines, and unparsed rows remain explicit. Documents without credible lab evidence return `not_lab_report`.

Known limits

The live providers are contract-tested but not benchmarked on a representative private dataset. Synthetic report fixtures test failure modes, not clinical performance.

Next projectPharmaPlus