Scanner Reachability Ground-Truth Corpus

This document defines the deterministic toy-service corpus used to validate reachability tier classification quality in Scanner tests.

Location

Service Set

Each service contains:

labels.yaml Contract (v1)

Deterministic Validation Harness

Current Scope and Limitations

The current harness validates the corpus oracle and metric arithmetic only. It does not invoke a Scanner analyzer, Worker stage, WebService endpoint, or CLI against the toy source trees. Its metric tests receive predictions supplied by the test, including one perfect-score test that copies the expected labels. Consequently, these tests do not measure current Scanner classification quality.

There is no active corpus regression workflow or threshold gate. The archived benchmark-vs-competitors.yml workflow contains TODO placeholders for Scanner execution and metric calculation. The older .gitea/scripts/metrics/compute-reachability-metrics.sh targets a different, obsolete corpus path and CLI contract and is not a forcing path for this corpus.

Before this corpus can act as an end-to-end quality gate, a supported offline Scanner execution path must derive predictions from every toy, normalize them to the composite case identity, report per-tier and per-language metrics, and fail an active CI job when documented thresholds regress.

Offline Posture