← All projects

Celloscope

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

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

Problem

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

Contributions

Results

streamed upload limit
25MiB
swappable AI providers
2
credentials for mock mode
0

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.