Skip to content

Machine-readable run-quality report: per-query stats, wildcard drops and a confidence verdict #70

Closed

Description

@TMHSDigital

Why it matters

"It accounts for every query" is subenum's stated differentiator (README "Why subenum"). Today the breakdown is printed to stderr as text. Making it a first-class artefact turns that claim into something CI pipelines, recon platforms and report writers can consume, and something no competitor offers.

Proposal

  • -stats <file> (or a final {"type":"summary",...} line in JSONL) emitting:
    • Queries sent per type, retries, and outcome counts (resolved, nxdomain, nodata, timeout, refused, servfail, other).
    • Wildcard fingerprints and the number of results dropped.
    • The cap or ceiling hit, the rate actually achieved, and the duration.
    • Resolver(s) used, the seed if simulated, and the tool version.
  • A one-word verdict with a reason, e.g. complete / degraded (14% timeouts) / unreliable, computed from the same thresholds as the abort guard.
  • Document the JSON schema and version it, as part of the 1.0 contract.

Done when

subenum -format jsonl ... ends with a schema-documented summary object, and the README shows how to gate CI on the verdict.

Activity

  1. added
    priority: medium
    area: output
    feature
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: outputfeaturepriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions