You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Round 6: probes for the ISO radar's thin axes #119
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.
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.
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.
Activity
braboj commentedon Nov 8, 2026
Design, 2026-11-08
A new reader,
quality.py, besidesecurity.py: same shape (a fresh venv per scored trial, one in-process script, a JSON reading per trial underquality-scores/), read by the report asquality:<probe>targets on the round 6 radar.fuzz_robustnessconcurrent_writeslatency_p95_mscapacity_500_linesn_plus_onesqlite3python_portabilityThree departures from the issue text, each for a reason:
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.
fix(efficacy): the quality reader signs in on a 200 and counts every …
fix(efficacy): the 500-line probe reads the export's lines and the total
fix(efficacy): CI runs the quality self-test, and 500 lines cost five…
fix(efficacy): a post carries its own form's token, and a NaN total f…
fix(efficacy): a file URI names its own database, and a zero total fails
fix(efficacy): capacity reads exports only; concurrent writes run last
docs(efficacy): say what the fuzz probe does not read, and why
fix(efficacy): each fuzz case runs on its own instance and reaches it…
feat(efficacy): archive and reuse carry quality readings; a failed ex…
fix(efficacy): a save control's formaction picks its form; every writ…
fix(efficacy): co-existence reads both lists, and a stray write is fi…
fix(efficacy): a dropped tree is not measured, and a read-only databa…
test(efficacy): the slowed stand-in's latency is read against its del…
fix(efficacy): a redirect's location is resolved against its request
test(efficacy): only the hung writer's stand-in waits 5 s for its wri…
test(efficacy): the late stray write's run is killed at 120 s, not 40 s
fix(efficacy): a hidden suite that ran out of time fails every module