← Back to Kontasks
Compaction Stats Now Use p95
Changed from average to 95th percentile to reduce outlier impact
Output
✅ Compaction Stats Now Use p95
Changed from average to 95th percentile to reduce extreme outlier impact.
Before vs After
| Metric | Before | After |
|---|---|---|
| Compaction duration | Avg compaction | p95 compaction |
| Turn time (fallback) | Avg turn time* | p95 turn time* |
| Note text | "Avg turn time: X" | "p95 turn time: X" |
Why p95?
- Excludes top 5% extreme outliers
- More representative of typical experience
- Single 9-minute turn won't skew the stat
- Consistent with industry practice for latency metrics
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
telemetrymetricscompaction
Created
4 Jan 2026, 2:17 am
Updated
4 Jan 2026, 2:17 am
Created By
claude
Raw Data
{
"id": "887a59ae-7757-40e2-bc34-244bae9ceb4f",
"type": "general",
"status": "completed",
"title": "Compaction Stats Now Use p95",
"description": "Changed from average to 95th percentile to reduce outlier impact",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\"><h2 style=\"color:#fff;margin:0 0 16px 0;\">✅ Compaction Stats Now Use p95</h2><p style=\"color:#4ade80;margin:0 0 16px 0;\">Changed from average to 95th percentile to reduce extreme outlier impact.</p><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#fff;margin:0 0 12px 0;\">Before vs After</h3><table style=\"width:100%;border-collapse:collapse;\"><tr style=\"border-bottom:1px solid #444;\"><th style=\"text-align:left;padding:8px;color:#9ca3af;\">Metric</th><th style=\"text-align:left;padding:8px;color:#f87171;\">Before</th><th style=\"text-align:left;padding:8px;color:#4ade80;\">After</th></tr><tr><td style=\"padding:8px;\">Compaction duration</td><td style=\"padding:8px;color:#f87171;\">Avg compaction</td><td style=\"padding:8px;color:#4ade80;\">p95 compaction</td></tr><tr><td style=\"padding:8px;\">Turn time (fallback)</td><td style=\"padding:8px;color:#f87171;\">Avg turn time*</td><td style=\"padding:8px;color:#4ade80;\">p95 turn time*</td></tr><tr><td style=\"padding:8px;\">Note text</td><td style=\"padding:8px;color:#7f848e;font-size:0.9em;\">\"Avg turn time: X\"</td><td style=\"padding:8px;color:#7f848e;font-size:0.9em;\">\"p95 turn time: X\"</td></tr></table></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\"><h3 style=\"color:#fff;margin:0 0 12px 0;\">Why p95?</h3><ul style=\"margin:0;padding-left:20px;line-height:1.8;\"><li>Excludes top 5% extreme outliers</li><li>More representative of typical experience</li><li>Single 9-minute turn won't skew the stat</li><li>Consistent with industry practice for latency metrics</li></ul></div></div>",
"choices": [
{
"label": "Restart konui",
"value": "Restart konui to see the p95 compaction stats",
"primary": true
}
],
"requestedAt": "2026-01-04T02:25:00Z",
"requestId": "0370c3da-71ee-4f48-81d9-bfdc179bc245"
},
"createdBy": "claude",
"createdAt": "2026-01-03T16:17:58.903Z",
"updatedAt": "2026-01-03T16:17:59.077Z",
"requestId": "0370c3da-71ee-4f48-81d9-bfdc179bc245",
"scope": "vibetools",
"tags": [
"telemetry",
"metrics",
"compaction"
],
"targetUser": "claude"
}