Repository navigation
Description
Current state:
Your intuition is completely correct: the data model currently conflates tasks with runs, the Review Quality table is an academic mess, and your dashboard widget is mathematically out of sync with the analytics page.
Here is the critical breakdown of what is broken, why it fails, and the exact metrics you need to add:
1. The Core Flaw: Conflating "Tasks" vs. "Runs" in Models
Look at the MODELS table on the right:
-
Claude Opus 5.5:552 TASKS -
GPT-6 Astra:389 TASKS - The Flaw: These are not tasks; these are Runs (agent executions).
-
The Reality: A single Task (
PR #2720) often requires multiple runs: Run 1 (Opus writes code)$\rightarrow$ Run 2 (GPT-6 reviews)$\rightarrow$ Run 3 (Opus fixes). - Attributing full "Tasks" to models makes the data mathematically invalid:
- Did Opus complete 552 independent PRs, or did it run 552 cycles across 100 PRs?
- If Claude writes the code and GPT-6 reviews it, which model gets credit for the "Task"?
-
The Fix:
- In
MODELS, change the column header fromTASKStoRUNS. - Track two distinct operational dimensions in Analytics:
- Task Volume (The Deliverables): Total PRs/Issues created, merged, failed.
- Run Volume (The Compute): Total agent sessions executed, and the critical ratio: Average Runs per Task (Iteration Multiplier).
- In
2. Why REVIEW QUALITY BY MODEL is Broken
Look closely at this table at the bottom of Image 2:
Claude Opus 5.5 | 4 PRS | 5.8 (6.0) n=4 | 7.3 n=4 | 3.0 n=1 | 100% n=2 | $18.09 n=2
Unknown model | 1 PRS | 8.0 (8.0) n=1 | 6.0 n=1 | — n=0 | — n=0 | — n=0
- Academic
n=XClutter: Printingn=4,n=1,n=2in every single cell looks like an unformatted draft paper from arXiv. It is completely alien to an engineering dashboard. - Cryptic Dual Numbers: What does
5.8 (6.0)mean? Is it mean vs. median? Raw vs. normalized? Without labels, it is unreadable. - Statistically Insignificant Sample Size: The table evaluates a grand total of 5 PRs, while your top header claims 1,221 total tasks. Why is this table sampling 0.4% of your dataset?
- Negative Progression in Row 2: Under
Unknown model, the score dropped from8.0(First) to6.0(Final). The agent literally made the code worse after review. - The Fix — Re-architect as the "Agent Efficacy Matrix":
Clean this table into clean, unambiguous engineering columns:
MODEL EVALUATED PRs INITIAL SCORE FINAL SCORE SCORE DELTA AVG RUNS TO MERGE MERGE RATE
───────────────────────────────────────────────────────────────────────────────────────────────────────────
Claude Opus 5.5 42 5.8 8.4 +2.6 ▲ 2.4 95%
GPT-6 Astra 28 6.2 8.1 +1.9 ▲ 1.8 98%
(No n=X clutter, no cryptic parentheses, and strict focus on the delta: did the model actually improve the code?)
3. Critical Metrics an Engineering Leader Actually Needs
Your analytics page currently tracks generic vanity metrics (total tasks, raw token count, spend). For an autonomous coding platform, these five metrics are missing:
A. First-Time Pass Rate (FTPR / Zero-Shot Merge Rate)
- What it is: The percentage of tasks that were implemented, passed automated review, and merged on Run Epic: Claude-Powered GitHub Issue Processor - Stage 1: Authentication, Logging & Project Setup #1 with zero Ultrafix retries.
- Why it matters: This is the single most important metric of AI code quality. A model that takes 8 loops to pass is significantly more expensive and slower than a model that passes zero-shot.
B. Prompt Cache Hit Ratio
Look at your TOKEN CONSUMPTION card:
Input · prompt: 213.9M tokens (99.3%)Output · completion: 1.6M tokens (0.7%)- The Reality: 99.3% of your token volume is input context. At 214 million prompt tokens, prompt caching is the single biggest financial lever in your infrastructure.
- The Metric: Add
Cache Hit Rate: 84.2% (Saved ~$820)directly into the Token Consumption card.
C. Mean Time to Merge (Wall-Clock Velocity)
- What it is: Average wall-clock minutes from task submission to clean PR merge.
- Why it matters: CTOs adopt AI agents for cycle-time reduction. Showing
Avg Time to Deliverable: 14m 20squantifies developer velocity.
D. Autonomy Score (Human Intervention Rate)
- What it is: Percentage of tasks that completed end-to-end autonomously vs. tasks that escalated into
NEEDS ATTENTIONrequiring human operator triage. - Target: e.g.,
88% Fully Autonomous · 12% Required Operator.
4. Data Desynchronization Bug (Widget vs. Full Page)
Compare Image 1 (HISTORICAL STATS widget) to Image 2 (Analytics page):
Both are set to the exact same 7 days time window, but the numbers contradict each other:
-
Spend: Widget says
$1,341.56$\leftrightarrow$ Analytics says$1,461.67(A $120 discrepancy!) -
Tasks: Widget says
1,175$\leftrightarrow$ Analytics says1,221. -
Wednesday Oct 7 Bar:
- In the widget (Image 1), the curve drops down to near
0on Oct 7. - In Analytics (Image 2), the bar for Wed 7 is sitting at roughly
180 tasks.
- In the widget (Image 1), the curve drops down to near
- The Reality: The dashboard widget query and the analytics page query are pulling from two completely desynchronized data pipelines. Ensure both views query the exact same aggregation endpoint.
Activity
propr-dev commentedon Oct 7, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-52866/claude-opus-5-5-analytics-updates-20261007-1013-idqmainissue-2866-20261007-1013-claude-opus-5-5-idq🔍 Track Task Execution
I've implemented all four parts of #2866. The API, UI and e2e tests f…