Skip to content

[Experiment #402] Claude Code vs Codev Round 3 comparison - #406

Merged
waleedkadous merged 2 commits into
mainfrom
builder/task-R9aQ
Feb 17, 2026
Merged

waleedkadous merged 2 commits into
mainfrom
builder/task-R9aQ

Conversation

@waleedkadous

@waleedkadous waleedkadous commented Feb 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Key Findings

  • Testing is SPIR's most consistent advantage: +2.0 in R3, +1.0 in R2, +3.7 in R1
  • SPIR leads on 5/7 dimensions: Tests, Extensibility, NL Interface, Deployment, Maintainability
  • Bug score anomaly: Claude found 14 SPIR bugs (1/10 score) vs Codex's 8/10 — drives the -2.2 bug delta. Consensus bugs (2+ reviewers) still favor SPIR (3 vs 5).
  • Deployment Readiness low for both: Neither codebase has Dockerfile or Railway config (CC 2.7, Codev 3.5)
  • Overall delta narrowed: +0.4 (vs R2's +1.2), driven by missing Gemini review and bug score anomaly. Estimated +0.9 with imputed Gemini scores.

Methodological Notes

  • Gemini SPIR review failed due to MODEL_CAPACITY_EXHAUSTED (429) — the SPIR builder's 15 three-way consultations depleted Gemini quota
  • Report includes imputed Gemini scores based on established optimism patterns
  • Recommendation for future rounds: budget Gemini API capacity across full experiment

Test plan

  • Report follows R2 structure (scorecard, bug sweep, architecture, tests, NL, deployment, agreement, takeaways)
  • Bug scores calculated using R2 methodology (severity-weighted, baseline 10)
  • Cross-round comparison table includes R1, R2, R3
  • Missing Gemini review impact clearly documented

Add R3 results: SPIR leads 6/7 dimensions (+1.0 overall), loses on
Bugs (-1.0) due to Critical hook design flaw. Tests delta +2.5.
Deployment reinstated as scored dimension. Gemini SPIR review failed
(quota exhaustion). 3-round average delta: +1.2.
- 5/6 reviews synthesized (Gemini SPIR failed due to 429 quota exhaustion)
- Bug consensus analysis, architecture comparison, test quality deep dive
- Cross-round (R1/R2/R3) longitudinal comparison
- Reviewer agreement analysis and Gemini imputation methodology
- Key findings: testing remains SPIR's strongest advantage (+2.0),
  bug score anomaly explained by reviewer asymmetry
@waleedkadous

Copy link
Copy Markdown
Contributor Author

Note on R3 methodology issue

The Gemini consultations in this round were inadvertently using gemini-3-flash-preview instead of the intended gemini-3-pro-preview. The consult tool was relying on the Gemini CLI's default model rather than explicitly specifying one. This has been fixed on main (commit 2a873ed).

Flash vs Pro is a significant quality difference — the Gemini reviews in R3 (those that didn't fail from quota exhaustion) used a weaker model than R1 and R2. This should be considered when comparing scores across rounds.

@waleedkadous
waleedkadous merged commit 3ecdbb7 into main Feb 17, 2026
7 checks passed
@waleedkadous
waleedkadous deleted the builder/task-R9aQ branch February 17, 2026 17:53
waleedkadous added a commit that referenced this pull request Feb 17, 2026
findWorkspaceRoot() in config.ts always resolved worktree paths back to the
main repo via getMainRepoFromWorktree(). This caused any codev tooling running
inside a builder worktree to write files to the main tree instead of the
worktree, leading to "untracked files would be overwritten by merge" errors
after merging builder PRs (#404, #406, #370, #383).

Fix: When in a worktree, find the worktree root first (via .git marker), then
check if it has its own codev/ directory. Builder worktrees are full git
checkouts with their own codev/, so we return the worktree root. Only fall
back to the main repo if the worktree lacks codev/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant