Skip to content

Understanding metric cards

This guide explains what each metric card on the Metrics page (Business Metrics) shows and how it is calculated. Hover the ⓘ icon beside any card label for a one-line summary; this page has the full definitions. All values depend on the errors detected in your sites and the AI fixes applied in the selected period, and respect your filters (date range, site, site type, site language, site framework, error types, severity, language, framework) and your hourly rate (set in Profile → Personal metrics, or the workspace default when you have not set one).


Metric cards

Time saved (h)

What it is: Total hours saved by using AI fixes instead of manual debugging, for the selected period.

How it's calculated: For each successful AI fix, we compare the time the AI took to fix the error to the expected time a human would take for that error type (using configured min/max assumptions per error type). Time saved per fix = expected human time (minutes) − actual AI fix time (minutes), or zero if the AI was slower. Total time saved (hours) = sum of all time saved (in minutes) ÷ 60, rounded to 2 decimals.


Daily time saved avg

What it is: Average hours saved per day in the selected period.

How it’s calculated: Daily time saved avg = Total time saved (hours) ÷ number of days in the period, rounded to 2 decimals.


Money saved

What it is: Estimated money saved by using AI fixes, based on the time saved and your hourly rate.

How it's calculated: Money saved = Total time saved (hours) × Hourly rate. Set your rate in Profile → Personal metrics. If you leave it blank, the workspace default is used. Currency and number format follow your profile preferences.


Successfully applied

What it is: Number of errors successfully fixed by AI apply in the selected period.

How it's calculated: Count of terminal outcome success only (connector apply succeeded and was accepted).


Average time to fix (Patcherly MTTR / Manual MTTR)

Status: Temporarily disabled on Metrics (and omitted from exports) while we refine how approval wait time is counted. Search TODO(metrics-mttr-by-type) in the codebase to restore.

What it measures (for when it returns):

  • Patcherly MTTR: mean wall-clock minutes from the earliest lifecycle metric event to a successful terminal apply (terminal_outcome=success, using latency_to_terminal_seconds). Failed applies and rollbacks are excluded. Apply-dispatch / rescue-ping timings are excluded. This does not include time spent waiting for someone to approve a patch.
  • Manual MTTR: midpoint of Settings → Business metrics error-type min_time / max_time (same figure used for time-saved “expected human” minutes).

Fixed via suggestion

What it is: Errors you marked fixed using the Patcherly suggestion after rejecting the patch or via Mark as manually fixed.

How it's calculated: Count of terminal outcome manual_fixed_suggestion.


Fixed with own code

What it is: Errors you marked fixed with your own code after rejecting the patch or via Mark as manually fixed.

How it's calculated: Count of terminal outcome manual_fixed_own.


Closed as not needed

What it is: Errors closed as not needed after you rejected the AI patch.

How it's calculated: Count of terminal outcome unresolved_after_reject.


Rollbacks

What it is: Number of AI fixes that were rolled back (restored by you or a user).

How it’s calculated: Count of errors with status rolled_back (the AI fix was reverted).


Manual burden

What it is: Percentage of detected errors that needed own-code manual work, were closed as not needed after reject, or were rolled back.

How it’s calculated: Manual burden (%) = 100 × (Fixed with own code + Closed as not needed + Rollbacks) ÷ Total errors detected, rounded to 2 decimals.


Active errors fixed

What it is: Percentage of active detected errors that were fixed by AI apply.

How it’s calculated: Active errors fixed (%) = 100 × (Successfully applied) ÷ (Total errors detected), rounded to 2 decimals. Total errors detected excludes deleted, ignored, and Excluded rows (path rule or memory/OOM) (same denominator as the Successfully applied card).


Total errors

What it is: Total number of unique errors detected in the selected period (within your filters).

How it’s calculated: Total errors detected = unique errors with a terminal or in-flight outcome in the period, excluding pre-analysis Hide rows and Excluded rows (path rule or memory/OOM; pattern-matched ignores at ingest follow the same rule). Includes reject-not-needed, manual fixes, rollbacks, pending in period, etc.

Two paths to Ignored status (metrics differ)

Path Trigger In Total errors? Metric card
Hide Error & Ignore (pre-analysis) Hide before analysis No - (invisible to KPIs)
Hide Error & Ignore (post-apply) Hide after failed/rolled back apply Yes (terminal stays rollback/failure) -
Reject patch → not needed Reject after analysis Yes Closed as not needed

Not patchable

What it is: Analyses that finished without a draft patch (bare status analyzed, no Approve/Reject). Distinct from technical analysis failed.

How it’s calculated: Count of metric outcomes no_patch_found in the period. Survives forever as a Metrics KPI count; these rows are never written to patch-outcome archives.

Ready to Patch (draft awaiting review, status awaiting_approval) is the work queue on Errors and the Overview Error summary widget - not a separate Metrics KPI card. Business Metrics may still list Ready to Patch in exports and as a chart outcome filter (metric outcome analyzed); open Errors to act on those rows.


AI patch confidence

What it is: Average AI confidence for analyses that produced a patch-path outcome in the period (Ready to Patch drafts and apply/reject/rollback terminals). Not patchable (no_patch_found) scores are excluded - they are not a meaningful patch confidence.

How it’s calculated: AI patch confidence = sum of confidence scores ÷ number of scored attempts in that set, shown as a percentage (e.g. 0.85 → 85%), rounded to 2 decimals. Long-range Metrics windows read forever rollups with the same exclusion (no historical backfill required).


Patch success

What it is: Of AI applies that finished (successful apply, failed apply, or rollback), the share that stuck as successful.

How it’s calculated: Patch success (%) = 100 × (Successfully applied) ÷ (Successfully applied + failed apply + rollbacks), rounded to 2 decimals.


Top error source

What it is: The plugin, theme, package, or file name that appeared most often in the selected period (derived from the error path; not a full filesystem path).

How it’s calculated: Among errors in scope, the redacted source key (e.g. a WordPress plugin slug or npm package name) with the highest count. Empty until new errors are recorded with a source key.


Top error type

What it is: The error type that appeared most often in the selected period.

How it’s calculated: The error type with the highest count in your filtered data (e.g. syntax, runtime, logic).


Charts

  • Time & Money Saved Over Time: Time saved (hours) and money saved over each day or period; same formulas as the Time saved and Money saved cards.
  • Errors by Type / by Severity: Counts grouped by error type or by severity.
  • Errors by Language / by Framework: Counts grouped by code language or framework (from error metadata).
  • Error Types Over Time / Severities Over Time: How counts for each type or severity change over the selected period.
  • Confidence & Patch success: Average AI patch confidence and Patch success over time.
  • Resolution Trend: Stacked daily counts of terminal outcomes: Successfully applied, manual (suggestion / own code), closed as not needed, rolled back, and not patchable. Stacked height is not the same as Total errors (unique errors detected).

Filters and settings

  • Date range: All metrics and charts are limited to the period you choose (e.g. current month, past 30 days, custom range, All Time). Windows and day charts use your Profile timezone (default UTC). KPI cards may show a period % vs the prior comparable window (calendar month for month presets; same-length window for rolling/custom; omitted for All Time). Sparklines on each card show the daily trend in the selected period. Longer ranges (including All Time) keep headline numbers after raw history is pruned - see Data export, retention, and deletion.
  • Site: Restricts data to the site(s) you select in your workspace.
  • Site type: Restricts data to one or more connector flavors (WordPress, PHP, Python, Node.js). Stamped on each error at detection so historical filtering keeps working even after the underlying site is deleted.
  • Site language / Site framework: Restricts data to errors that came from sites whose primary language or framework matches your selection (e.g. only show metrics for Python or Django sites). Different from the per-event Language / Framework filter below - those filter individual error rows by the language detected in the offending file. Hidden when your workspace only has one site (or one language/framework across all sites).
  • Error types / Severity: Only errors whose type or severity is in your selected list are included.
  • Language / Framework: Only errors whose code language or framework is in your selected list are included (from error metadata).
  • Include deleted sites: Off by default - only currently active sites contribute to the cards and charts so removed sites do not inflate recent totals. Toggle on to include soft-deleted sites (useful when reviewing history before a site was removed).
  • Hourly rate: Set in Profile → Personal metrics. Used for Money saved only.

For your hourly rate, open Profile → Personal metrics in the dashboard.

Exporting metrics

Export business metrics as CSV, XLSX, or PDF from Metrics. Apply filters (date range, site, and other filters your workspace shows) before you export so the file matches what you see.

  1. Open Metrics.
  2. Optionally set filters.
  3. Click Export and choose CSV, XLSX, or PDF.

CSV uses the field separator from Profile → Date and Data Formatting → CSV delimiter (semicolon by default). XLSX is Excel-friendly; PDF is easy to share.

Export fix outcomes (separate control) downloads a CSV of per-error terminal outcomes for the selected range. Row-level detail is available for roughly the last 90 days; headline KPI cards and aggregate exports for longer periods (including All Time) still come from the permanent aggregated store. Requires Advanced analytics on your plan. For AI tokens and cost, use Usage Analytics. For the per-event activity record, see Audit Logs.