Version 1.0
Understanding scores and flags
Percentages are kept to one decimal place. Cards show whole numbers; tooltips and reports show one decimal.
Coverage for one map
Raw coverage
The raw coverage is the share of the facility length on the reference plate (gas mains and services together, measured along the lines) that the automated check found highlighted. It comes straight from the check, before any human review. Maps reviewed manually only have no raw coverage ("—").
Adjusted coverage
The adjusted coverage corrects raw coverage using reviewer decisions:
adjusted = raw
+ (gap length in automated-check clusters that were Approved or Hidden) ÷ F
− (gap length in reviewer-drawn clusters that were Denied and measured) ÷ F
(kept between 0% and 100%)
F is the total facility length on the reference plate: the length of every gas main and service line that should be highlighted, measured along the lines in reference-plate pixels. A cluster's gap length is the length of un-highlighted line it represents, so coverage is a share of line length.
In plain language:
- Approved (area OK) and Hidden clusters from the automated check are added back: the check was wrong, or the area doesn't matter.
- Denied (real gap) clusters from the check stay uncovered. They are already counted as uncovered in the raw figure.
- Clusters still In Review stay uncovered until someone decides them. That's why coverage shows as provisional until the map is complete.
- Clusters a reviewer drew and denied reduce coverage once the hub has measured them. Until then you see "≈ adjusted (k manual clusters not yet measured)".
- Reviewer-drawn clusters that are approved or hidden have no effect.
- Overlapping clusters can be counted twice by a small amount.
Manual-only maps
When the automated check didn't run or failed:
- adjusted coverage = 100% − (gap length in denied, measured reviewer-drawn clusters ÷ F), when F is known from the reference plate and every denied cluster has been measured;
- otherwise the reviewer enters a reviewer-estimated coverage % when completing the map. It is labeled estimated everywhere it appears.
What counts as a gap
Only clusters a reviewer has Denied count as gaps. Only completed maps' adjusted coverage counts toward scores.
| KY3P term | In the hub |
|---|---|
| Pending | In Review |
| Confirmed | Denied (real gap) |
| Rejected | Approved (area OK) |
Leak Survey score
plate result = adjusted coverage of the current upload, if the map is complete
= 0, otherwise
batch score = average plate result over the batch's plates (removed plates excluded)
Leak Survey score = average, over each distinct plate in at least one non-archived batch,
of that plate's most recently completed result among those batches
(0 if it has none)
- "Non-archived" means the batch is Active or Complete. Archived batches don't count.
- The score is coverage-weighted: a plate completed at 96% adjusted coverage contributes 0.96, not 1.
- A plate in several batches counts once.
- If there are no non-archived batches, the score is "—".
The Leak Survey dashboard also shows plates complete % (a simple count) and the average adjusted coverage of completed plates.
Hub figures
| Figure | How it's calculated |
|---|---|
| Use case score | Provided by the use case (Leak Survey score, above). 0–100%, or "—" if it can't be calculated |
| Use case status | Red if at least one red flag is open; otherwise Amber if at least one amber flag is open; otherwise Green |
| Element score | Average of the scores of use cases mapped to that element (primary and supporting count equally), ignoring "—". No mapped use case → "—" |
| Element status | The worst status among the use cases mapped to it. No mapped use case → N/A |
| Overall compliance % | Average of the use case scores of enabled use cases. Today this equals the Leak Survey score |
| Overall traffic light | The worst status among enabled use cases |
| Elements in good standing | Mapped elements that are Green ÷ all mapped elements |
Trends (sparklines and "vs 30 days ago") come from a snapshot taken daily at 00:05 (your organization's time zone) and each time a batch is completed.
Element health grid
| Symbol | State | Meaning |
|---|---|---|
| ✓ | Healthy | The use case has no open flags |
| ! | Needs attention | The use case's worst open flag is amber |
| ✕ | Action required | The use case has at least one red flag open |
| – | Not applicable | The use case is not mapped to this element |
A cell shows the use case's overall status in every element it maps to. Primary mappings have a solid fill; supporting mappings have a lighter fill.
Leak Survey flags
A flag is a compliance issue the hub calculates. Flags can't be dismissed or snoozed. A flag clears only when the condition behind it clears. Hover a flag for details; select it to go to the issue. Your organization can change the thresholds; the defaults are shown.
| Flag | Severity | Raised when | Example |
|---|---|---|---|
| Batch past due | Red | An active batch is past its due date (23:59:59 on the due date, your organization's time zone) and at least one plate isn't complete | "Batch 2027 Year 1 was due 31 Dec 2027 (12 days ago); 5 of 64 plates incomplete." |
| Batch due soon, at risk | Amber | An active batch is due within 30 days and fewer than 80% of its plates are complete | "Batch 2027 Year 1 is due in 18 days and is 61% complete." |
| Confirmed gaps | Red | A completed current map in an active batch has at least one Denied cluster, or adjusted coverage below 100% minus the gap tolerance (default 0%) | "Plate 73-A (2027 Year 1) was completed with 2 confirmed gaps; adjusted coverage 96.4%." |
| Plate not surveyed in window | Red | An active plate was last completed (in any batch) more than 24 months ago and isn't in any active batch | "Plate 73-A was last completed 14 Jan 2026 (25 months ago) and isn't in any planned survey." |
| No survey on record | Amber, then Red | An active plate has no completed survey in the hub and isn't in any active batch. Amber at once; red once the plate has been in the library for more than 24 months | "Plate 88-C has no survey on record in the Hub and isn't in any planned survey." |
| No active batches | Amber | Leak Survey is enabled and there are no active batches | "No active Leak Survey batches." |
Notes:
- Gaps are flagged only. The hub doesn't create work orders. Confirmed gaps stays open until a newer upload of that plate in the batch is completed at full coverage, the verdicts change (which reopens and re-completes the map), or the batch is archived.
- If an amber flag becomes red, the amber one closes and a red one opens. Both stay in history.
- Archived batches are not included in scores or flags.
How Leak Survey maps to API RP 1173
Leak Survey maps to every element it can reasonably provide evidence for. Primary means direct evidence; supporting means supporting evidence.
| Element | Strength | Rationale |
|---|---|---|
| E1 Leadership and Management Commitment | Supporting | Gives management real-time visibility and accountability for leak survey completion. Due dates and overdue flags show management oversight of an operational commitment. |
| E2 Stakeholder Engagement | Supporting | Batch compliance reports and evidence exports give regulators and auditors (external stakeholders) verifiable survey records. |
| E3 Risk Management | Primary | Confirmed un-surveyed gaps and plates not surveyed within the cycle are unmitigated leak risk. The hub identifies and quantifies them. |
| E4 Operational Controls | Primary | Leak surveys are a core operational control for distribution systems. The hub tracks their execution per plate and batch. |
| E5 Incident Investigation, Evaluation, and Lessons Learned | — | Not mapped. Leak Survey does not record incidents. |
| E6 Safety Assurance | Primary | Independent verification (automated check plus mandatory human review) that surveys were actually performed as planned. |
| E7 Management Review and Continuous Improvement | Supporting | Trend data (coverage, overdue history, engine accuracy) feeds periodic review. Reviewer feedback drives engine improvement. |
| E8 Emergency Preparedness and Response | — | Not mapped. |
| E9 Competence, Awareness, and Training | — | Not mapped. Surveyor identity is optional metadata only, and no competence data is held. |
| E10 Documentation and Record Keeping | Primary | Survey maps, review decisions, attestation and full change history are retained as compliance records. |
E5, E8 and E9 therefore show "—" (not applicable) and are left out of scores.
API RP 1173 is a publication of the American Petroleum Institute. GasPower.ai is not affiliated with or endorsed by API.
The PSMS Hub records and organizes compliance evidence. It does not determine regulatory compliance. Final responsibility rests with the operator.