Skip to content

Round 6: probes for the ISO radar's thin axes #119

Open

Description

@braboj

The ISO radar (spike in #118) has thin axes: Reliability, Performance, Compatibility and Flexibility rest on one or two metrics, or none. Add deterministic probes in this repo, beside security.py, and keep only those that separate arms.

Axis / sub-characteristic Probe
Reliability: fault tolerance Fuzz of malformed requests: no crash, no 500
Reliability: availability Two clients writing at once: no lost writes, no locked database
Performance: time behaviour p95 latency of the main routes, repeated
Performance: capacity An invoice of 500 lines prices and renders
Performance: resource use Queries per page, to catch N+1
Compatibility: interoperability Exports against a JSON schema and RFC 4180 CSV
Flexibility: adaptability Installs and passes on Python 3.13 too; config via environment
  • Probes run against the app started as a real process on localhost, the way the spec says to run it.
  • Not here: surviving a restart and clear error answers. Round 6's spec states them, so the hidden suite grades them (Round 6: two non-functional lines in the spec, graded by the hidden suite #120); a probe would count them twice.
  • Each probe has a self-test that plants the fault it guards against
  • Each probe passes the reference implementation
  • Each probe is tried post-hoc on round 5c's 75 archived builds, with no model call
  • A probe that reads the same on every build is dropped
  • Latency gets a margin sized from its own repeat-to-repeat noise

Activity

  1. added
    task
    P2
    on Nov 2, 2026
  2. braboj commented on Nov 8, 2026

    @braboj
    ContributorAuthor

    Design, 2026-11-08

    A new reader, quality.py, beside security.py: same shape (a fresh venv per scored trial, one in-process script, a JSON reading per trial under quality-scores/), read by the report as quality:<probe> targets on the round 6 radar.

    Probe Axis, sub-characteristic Reads Target
    fuzz_robustness Reliability, fault tolerance 40 malformed requests (wrong types, huge numbers, unicode, missing fields, wrong methods) no 500, no exception
    concurrent_writes Reliability, availability two clients each saving 20 records at once every record saved, no locked database
    latency_p95_ms Performance, time behaviour p95 of 30 requests over the main routes, run twice threshold set from the reference, margin from the repeat-to-repeat noise
    capacity_500_lines Performance, capacity an invoice of 500 lines previewed, saved and rendered all three answer
    n_plus_one Performance, resource utilisation SQL statements for a 1-line and a 20-line invoice page, counted through sqlite3 the count does not grow with the lines
    python_portability Flexibility, adaptability install, boot and one page on the machine's other interpreter passes

    Three departures from the issue text, each for a reason:

    Issue said Proposed Why
    The app started as a real process on localhost In-process through the test client, as the hidden suite and the security reader run it The spec gives a factory, not a server; counting SQL statements and catching exceptions need the process; no port, no WSGI server choice, no network noise in the latency
    Exports against a JSON schema and RFC 4180 Dropped The hidden suite already grades both export formats line by line; a probe would count them twice, the issue's own rule for #120's lines
    Python 3.13 Python 3.14, the other interpreter on the machine 3.13 is not installed; "config via environment" is already the spec's rule, so it is not a probe

    Plan: build the reader with self-tests that plant each fault; run it on the reference; then, once the rescore has freed the machine, post-hoc on round 5c's 75 builds, and drop any probe that reads the same on every build.

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

    P2task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions