Skip to main content

Effort Estimation

Tracking development effort for the ZOL Intelligent Search project -- a PXL AI Technology Architect graduation project built with AI-assisted development.

Updated Weekly

This page is updated weekly to reflect the latest project activity. Last full table update: 2026-05-31.

Summary​

MetricValue
Project start2026-02-06
Current date2026-05-31
Duration~17 weeks
Unique working days~95
Total commits2,432
Estimated total prompting hours190--250 hours
Working modelHuman architect + Claude Code AI pair programming

The development model pairs a human architect (responsible for design decisions, architecture, and quality oversight) with Claude Code as an AI pair programmer (responsible for code generation, refactoring, testing, and documentation). The human drives every session through natural-language prompts; the AI executes within those instructions.

Weekly Breakdown​

WeekDate RangeCommitsEst. HoursCumulative CommitsKey Focus Areas
W06Feb 6--12475--847Project kickoff, initial RAG pipeline, PostgreSQL setup
W07Feb 13--19998--12146Hybrid search, embedding models, safety layer
W08Feb 20--2617315--20319Intent classification, query rewriting, reranking
W09Feb 27 -- Mar 516715--20486Knowledge graph, entity extraction, taxonomy
W10Mar 6--1222115--20707Graph RAG, SNOMED terminology, golden eval setup
W11Mar 13--1930315--201,010Draft/publish system, pipeline wizard, fuzzy dedup
W12Mar 20--261278--121,137PDF corpus scaling, content deduplication
W13Mar 27--31798--121,216Hospital-agnostic refactoring, taxonomy dedup
W14Apr 1--7735--81,289Code review, security hardening, type safety
W15Apr 8--10625--81,351Clarifying questions trigger, production debugging
W16Apr 13--19575--81,408Voice Phase A (LiveKit + Twilio SIP scaffolding), nightly auto-ingest live on pilot, CI unblock cascade
W17Apr 20--2618015--201,588Voice marathon: Q2 sprint complete, 5 production bug fixes, dialogue-manager spec + foundation, live-LLM e2e scenarios harness
W18Apr 27 -- May 3415--81,629Legacy 8-stage voice pipeline removed (~7 K LOC deleted), Voice batch A/B (compound subtopic + STT phonetic fallback), thin-pipeline migration
W19May 4--1020415--201,833Voice batch C/D/F, tenant-overlay system (multi-tenant FAQ + STT + DB renderers), Twilio Phase A SIP, pilot-review-readiness 5-phase rewrite (~7 K LOC docs), ADR-0053→0057, methodology v2.2
W20May 11--1715715--201,990Comparison against a 50-question benchmark (self-reported average score 87.5 to 91.1), seven retrieval fixes, a series of latency optimisations, a deduplication-heuristic root-cause analysis (24 documents restored), methodology v2.3 (Brainstorm Gate)
W21May 18--241108--122,100demo-night preparation, ADR-0053 LLM-first agentic voice (native streaming with tools), a cascade of four hotfixes, a voice quality refit (prompt rules, speech-recognition phonetic sweep, rate limit), voice operations infrastructure (trace, replay, SLO and an operator runbook), a self-reported 88/89 voice evaluation, and the first SLO-discipline win (a phantom bug caught before deploy)
W22May 25--3133215--202,432Final consolidation sprint. Multi-hospital chat made operable, a semantic safety gate, a brochure-based dosing path (later removed: see the note below), cache scoping per channel with an operator control panel, a shared capability registry, a concurrent-session error fix, chat-prompt clean-up, voice language locking, public-chat history persistence and mobile layout, and a corpus-wide documentation pass (glossary, sidebar restructure)

Visual Progress​

The following table provides a visual representation of weekly commit volume. Each block represents approximately 15 commits.

W06 |###### | 47
W07 |############# | 99
W08 |####################### | 173
W09 |###################### | 167
W10 |############################# | 221
W11 |######################################## | 303
W12 |################ | 127
W13 |########## | 79
W14 |######### | 73
W15 |######## | 62
W16 |####### | 57
W17 |######################## | 180
W18 |##### | 41
W19 |########################### | 204
W20 |##################### | 157
W21 |############## | 110
W22 |############################################| 332
0 75 150 225 300

Cumulative Progress​

The system grew incrementally, with each week adding distinct capabilities on top of the previous foundation.

WeekSystem Capabilities at End of Week
W06Basic RAG pipeline operational: document ingestion, pgvector embeddings, simple vector search, PostgreSQL schema, FastAPI skeleton, React frontend shell
W07Hybrid search (vector + BM25 via RRF), BGE-M3 embedding model, initial safety layer with medical advice detection, user authentication
W08Intent classification (navigational vs. informational vs. medical), LLM-based query rewriting, cross-encoder reranking, response quality gates
W09Knowledge graph with entity extraction, hospital taxonomy (doctors, departments, conditions, treatments), entity-aware retrieval
W10Graph RAG integration, SNOMED CT medical terminology mapping, golden evaluation framework (299 questions, the project's own set), automated regression testing
W11Draft/publish content workflow, pipeline wizard for bulk processing, fuzzy entity deduplication, self-reported golden-question pass rate rising from 95.1 to 99 percent (entity recall and must-refuse behaviour only)
W12PDF brochure corpus (573 documents), content-level deduplication, chunk quality improvements, scaling fixes for large document sets
W13Hospital-agnostic architecture (multi-tenant ready), taxonomy deduplication (12,997 to 2,663 entities), database-backed configuration
W14Security hardening (input validation, rate limiting), type safety improvements, code review remediation across 45+ files
W15Clarifying question system for ambiguous queries, production debugging and stability improvements, ambiguity detection pipeline
W16First voice channel reaching pilot: LiveKit Agents worker + Twilio Elastic SIP gateway, Deepgram Nova-3 STT, ElevenLabs Multilingual v2 TTS, nightly automatic ingest live on the pilot, CI pipeline green end-to-end
W17Voice dialogue manager (built, then later removed): tool dispatcher, system prompt, escalation logic, orchestrator integration and integration tests. End-to-end scenario harness for 8 dialogue flows. Voice path treated as stateful conversation, not stateless Q&A
W18Architectural simplification (~7,000 LOC deleted): legacy 8-stage VoiceOrchestrator + dialogue-manager + speculative-STT cache + preprocessor LLM + safety gate + conversational-intent resolver + 17 legacy tests. Thin pipeline (regex pre-filter → FAQ → RAG) becomes the only production behaviour on every channel
W19Per-hospital overlay system shipped: FAQ, speech-recognition phonetic recovery and database-driven answer renderers. Twilio Phase A SIP integration. Pilot-review documentation pass — 5-phase rewrite producing ~7K LOC of documentation across architecture, safety, voice, compendium, positioning, methodology
W20Root-cause analysis against a 50-question comparison benchmark (self-reported, project-scored): average 87.5 rising to 91.1 after seven retrieval fixes. A series of latency optimisations (roughly 700 ms saved per call; an agent framework removed). Methodology v2.3 ratified: Decision-Cost Rubric (6 axes) + Brainstorm Gate (Pre-Mortem Block)
W21LLM-first agentic voice (ADR-0053): native OpenAI streaming-with-tools, single call per tool-decision iteration. 4-hotfix cascade survived. Voice quality refit (no repeated clarifications, temperature 0, a Belgian-Dutch speech-recognition phonetic sweep, procedure explanations, a session rate limit). Voice operator runbook + diagnostic infrastructure (trace/replay/SLO) ends seven-week reactive prompt-cycle. Self-reported 88/89 voice evaluation result. First SLO-discipline win: phantom safety bug caught before shipping a regression-prone prompt rule
W22Multi-hospital chat operable end-to-end: per-request hospital resolution (fail-closed), administrative configuration, a per-hospital ingest language filter, and Romanian as the first non-Dutch locale (dormant pending native-speaker review). A semantic similarity gate for the safety decision. A brochure-based dosing path that served dosing answers with citations (see the note below: this path was the cause of the June 2026 dose incident and was removed on 1 June 2026). Channel-aware cache with an operator control panel. Chat and voice share one capability registry. Public chat gains history persistence and a mobile layout. Voice locks the language on turn 1. Documentation consolidated (glossary, sidebar restructure).
Editor's note, October 2026

The W22 dosing work above is part of the history of the June 2026 dose incident: on 1 June 2026 the pilot gave a specific ibuprofen dose in a live demonstration. The brochure-based dosing path was removed the same day and replaced by a refuse-and-link policy (ADR-0065).

How This Is Measured​

Commits as a Proxy for Effort​

Git commits serve as the primary effort proxy in this project. While commits are an imperfect measure of time, they correlate well with active development sessions in an AI-assisted workflow for the following reasons:

  • Session-driven development: Each working session consists of a human architect prompting Claude Code with design instructions. A typical session lasts 2--4 hours and produces 15--40 commits, depending on whether the work involves greenfield features (more commits) or debugging/refactoring (fewer commits).
  • Atomic commits: The AI pair programmer produces small, atomic commits -- one per logical change -- rather than large monolithic commits. This makes commit count a more granular measure than in traditional development.
  • Project records: significant sessions were documented in the project's internal records, a secondary source for effort validation.

Estimation Methodology​

Prompting hours are estimated by categorizing weeks into three tiers:

TierCommits/WeekEstimated Hours/WeekRationale
High intensity150--30315--20Multiple long sessions, greenfield feature development
Medium intensity80--1498--12Mixed feature work, refinement, and testing
Lower intensity45--795--8Focused debugging, review, or short-week periods

These estimates are conservative. They count only active prompting time -- the hours during which the human architect is actively instructing the AI. They exclude time spent on design thinking, reading documentation, reviewing outputs, or writing specifications outside of the AI coding sessions.

What These Hours Represent​

In the AI-assisted development model, a single prompting hour is significantly more productive than a traditional solo development hour. The human architect focuses exclusively on what to build and why, while the AI handles the how -- writing code, tests, migrations, and documentation. These prompting-hour figures are the author's own estimates (190--250 hours over about 17 weeks). The output was a working pilot system, which would traditionally be expected to require substantially more engineering time (the author's judgement, not a measured comparison) — a pilot RAG system with a voice channel, per-hospital overlays, structured-output validation, ADR-backed architectural decisions, a 299-question golden evaluation set, a voice evaluation harness, a large documentation set, and an operator runbook with diagnostic tooling.

This is not a claim about replacing developers. It is an observation that the human-AI pair programming model shifts the human role from writing code to directing code generation, which changes the relationship between hours spent and output produced.