Skip to content
Merged
20 changes: 20 additions & 0 deletions docs/architecture/08-crosscutting-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,26 @@ interval of the difference against `none` lies past the axis's margin
each radar, shown and not scored, and the appendix holds one table of
sub-scores per axis. The decision is ADR-023.

Round 6's targets read three sources the pilot's did not (FR-12-21 to
FR-12-23):

- **Hidden-suite modules.** Functional correctness has one target per build
module, met where the module passes whole: no check failed, errored or
skipped. A module missing from a build's report is not measured where
the suite's revision did not hold it, and not met where it did: it failed
to collect. A suite that ran out of time fails every module: the build
held it there. The sub-characteristic is still one share among three on
its axis, however many modules it holds.
- **Quality probes.** Each pass-or-fail probe is one target: fault
tolerance, availability, capacity, resource use, co-existence and
portability. A lost probe fails; a missing one is not measured.
- **Latency.** Its target reads a cutoff calibrated from the reference
build and a planted slowdown, frozen before round 6 registers. Until then
it is not measured.

A pilot round read by the ISO radar keeps the targets it had before round 6,
and reads round 6's only when `--round6-targets` asks for them.

**Each approach in plain words** (FR-12-07):

- What it did better and worse than `none`, by radar axis.
Expand Down
4 changes: 4 additions & 0 deletions docs/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ when:
| FR-12-16 | Self-test | `report.py` "an ISO-read arm's verdict is worse on an axis worse, better on one better with none worse, and no clear gain otherwise"<br>`report.py` "the plain words name the axes behind an ISO-read verdict"<br>`report.py` "the summary's axis table of an ISO-read run is the ISO radar's, marked as the chart is" |
| FR-12-17 | Self-test | `report.py` "the ISO screen drops an arm worse on an axis, ranks the rest by axes better and then by cost, and keeps four"<br>`report.py` "an axis no target measures neither holds nor moves the ISO screen"<br>`report.py` "an axis that lists targets but has no reading yet holds the ISO screen"<br>`report.py` "the ISO screen names the arms round 6 runs and the axis that put one out" |
| FR-12-18 | Self-test | `report.py` "a pilot round read by the ISO radar is only a draft, never in or under docs/reports/, and keeps its aggregate beside the registered one"<br>`report.py` "a pilot round read by the ISO radar says it is post hoc and that its axes decide"<br>`report.py` "a run read by the ISO radar refuses a cross-check, whose withheld rows its markers would still count" |
| FR-12-21 | Self-test | `report.py` "the report loads a trial's quality reading beside its security reading"<br>`report.py` "a lost quality probe reads failed, a missing one not measured"<br>`report.py` "every reading the quality reader files reads as its target: lost fails, missing or a gone tree is not measured"<br>`report.py` "the latency target is not measured until its cutoff is registered, then met within it" |
| FR-12-22 | Self-test | `report.py` "a module passes whole only where no check failed, errored or was skipped"<br>`report.py` "a module absent from a report is not measured only where the suite's revision did not hold it"<br>`report.py` "a suite the build held past its time fails every module, and one never run is not measured" |
| FR-12-23 | Self-test | `report.py` "a pilot round read by the ISO radar keeps the targets it had before round 6, unless round 6's are asked for"<br>`report.py` "round 6's targets are refused where no pilot draft reads them" |

## 13 Records and archive

Expand All @@ -196,6 +199,7 @@ when:
| FR-13-08 | Self-test | `generate_arm.py` "a built file naming a tool is refused" |
| FR-13-09 | Self-test | `report.py` "with no --out-dir it lands in this repository's docs/reports/, needing the stamp but no templates source" |
| FR-13-10 | Self-test | `generate_arm.py` "every committed arm is what the script builds at its recorded ref, byte for byte, the same twice" |
| FR-13-21 | Self-test | `reuse.py` "the readings are filed under the word and name their origin"<br>`reuse.py` "a quality reading comes along with its trial"<br>`reuse.py` "the judgings keep their labels and the map is theirs alone" |

## 14 One run at a time

Expand Down
1 change: 1 addition & 0 deletions docs/decisions/023-the-iso-radar.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ split; `#N` is in this repository; a dash means none.
| ---- | ------ | --- | ----- |
| 2026-11-04 | From round 6 the radar reads ISO/IEC 25010:2023: eight axes, the share of targets met, markers past a margin, cost above | The pilot's radars read the benchmark's rows, not the software's qualities; the spike in #118 settled the chart | #121 |
| 2026-11-14 | Rule 10 and alternative E: from round 6 the verdict in the text reads the radar's markers, as ADR-024 decides | Round 5e read by the radar showed the verdict and the chart disagreeing | #165 |
| 2026-11-15 | Round 6's targets: one per hidden-suite build module for correctness, one per quality probe, latency against a cutoff registered later; a pilot round's draft keeps its own | Round 5e read by the radar showed Functionality, Performance and Flexibility at 100 % for every arm | #155, #119 |
33 changes: 29 additions & 4 deletions docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- **Judge:** `judge.py`, which bundles a build and has a model score it.
- **Report:** `report.py`, which reads a round and writes its report.
- **Archive:** `archive.py`, which carries a round to the private archive.
- **Reuse:** `reuse.py`, which brings an earlier round's trials into a run.
- **Arm generator:** `generate_arm.py`, which writes a generated arm's file.
- **Control builder:** `control/control.py`, which builds the judge's
control trees.
Expand Down Expand Up @@ -191,6 +192,9 @@
| FR-12-16 | From round 6 the benchmark shall give each approach its verdict from the ISO radar's axes: Yes where an axis is better and none worse, Worse where any is worse, No where none moved; and the summary's axis table shall be the ISO radar's. | Report |
| FR-12-17 | The benchmark shall screen round 6's candidates on the ISO radar's axes: out on an axis worse, the rest ranked by axes better and then by mean cost, the top four kept; an axis no target measures shall neither hold nor move it, and an axis that lists targets but has no reading yet shall hold it. | Report |
| FR-12-18 | The benchmark shall read a pilot round by the ISO radar only as a draft that says it is post hoc, never under `docs/reports/`, and keep its aggregate beside the registered one; a run read by the ISO radar shall take no cross-check. | Report |
| FR-12-21 | From round 6 the benchmark shall load each trial's quality reading beside its security reading and read each quality probe as an ISO target: a lost probe fails, a missing one is not measured, and the latency target is not measured until its cutoff is registered. | Report |
| FR-12-22 | From round 6 the benchmark shall read functional correctness as one target per hidden-suite build module, met only where every check in it ran and passed; a module the trial's report lacks is not measured where the suite's revision did not hold it, and not met where it did; a suite that ran out of time fails every module. | Report |
| FR-12-23 | The benchmark shall read a pilot round by the ISO radar with the targets it had before round 6, and by round 6's only where asked, refusing that request where no pilot draft would read it. | Report |

### 13 Records and archive

Expand All @@ -206,6 +210,7 @@
| FR-13-08 | The benchmark shall refuse a built arm file that names a tool. | Arm generator |
| FR-13-09 | The benchmark shall write a round's report, by default, to its own `docs/reports/`, with no templates source named. | Report |
| FR-13-10 | The benchmark shall build every arm a round runs by script, with no model call, and fail its self-test where a committed arm differs from what the script builds at the arm's recorded ref. | Arm generator |
| FR-13-21 | The benchmark shall bring a reused trial's score, security and quality readings and judgings into the later round, each naming the trial it came from. | Reuse |

### 14 One run at a time

Expand Down Expand Up @@ -292,7 +297,7 @@

| Artefact | Contents | Used by |
| -------- | -------- | ------- |
| Hidden suite | 534 build checks across 18 modules and 74 change checks, in the private `braboj/tariff-hidden-suite`. | QG-01-02 |
| Hidden suite | At revision `a8e7935`, 544 build checks across 19 modules, 5 of them browser flows that skip where no browser is installed, and 74 change checks, in the private `braboj/tariff-hidden-suite`. | QG-01-02 |
| Reference implementation | A build written from the spec alone, and the change task made on it from the change prompt alone. Private, beside the hidden suite. | QG-01-02 |
| Mutation control | Fifteen spec violations, each planted alone in the reference implementation. | QG-01-02 |
| Control fixture | The judge's control trees, built by `control/control.py` from two pinned applications; see [validation](validation.md). | QG-01-03, QG-01-04 |
Expand All @@ -311,15 +316,23 @@
is the mean of the judge's three readings on its 1 to 5 scale.
- **Fixed:** before round 6's first trial, for this app; a change is a new
registration.
- **Read from:** the scorer's row, the probe, or the judge's row the target
reads; a build the reading did not reach is not measured, never a fail.
- **Read from:** the scorer's row, the probe, the hidden-suite module, or the
judge's row the target reads; a build the reading did not reach is not
measured, never a fail. A probe the build itself kept from running is lost,
and fails.
- **Pilot drafts:** a pilot round read by the ISO radar keeps the targets it
had before round 6: the hidden suite at 98 % or more for correctness, and
no quality probe. Round 6's are read there only when asked for.
- **Later:** interoperability and the migration targets come with the
changed tree's scoring. The export formats take no target of their own:
the hidden suite's export modules grade them.

### 01 Functional suitability

| ID | Sub-characteristic | Target | Read from |
| -- | ------------------ | ------ | --------- |
| QT-01-01 | Functional completeness | Every name the specification requires is exported. | Specified names missing |
| QT-01-02 | Functional correctness | The hidden suite passes at 98 % or more. | Hidden-suite pass rate |
| QT-01-02 | Functional correctness | Each of the hidden suite's 19 build modules passes whole, one target per module: every check ran and passed, none failed, errored or skipped. A module missing from a build's report is not measured where the suite's revision did not hold it, and not met where it did; a suite that ran out of time fails every module. | Hidden suite, per module |
| QT-01-03 | Functional appropriateness | Nothing nobody asked for is delivered. | Artifacts nobody asked for |

### 02 Performance efficiency
Expand All @@ -328,6 +341,15 @@
| -- | ------------------ | ------ | --------- |
| QT-02-01 | Resource utilisation | The invoice builder answers in 100 KB or less. | Invoice builder response size |
| QT-02-02 | Resource utilisation | The invoice builder makes at most 3 subrequests. | Invoice builder subrequests |
| QT-02-03 | Time behaviour | The 95th-percentile latency, the worse of two repeats, is within the cutoff registered before round 6; not measured until one is. | Quality probe `latency_p95_ms` |
| QT-02-04 | Resource utilisation | A page's SQL statements do not grow with an invoice's lines. | Quality probe `n_plus_one` |
| QT-02-05 | Capacity | An invoice of 500 lines is kept, shown and exported whole. | Quality probe `capacity_500_lines` |

### 03 Compatibility

| ID | Sub-characteristic | Target | Read from |
| -- | ------------------ | ------ | --------- |
| QT-03-01 | Co-existence | Two instances side by side keep their data and files apart. | Quality probe `coexistence` |

### 04 Interaction capability

Expand All @@ -343,6 +365,8 @@
| QT-05-01 | Faultlessness | The build installs and boots. | Installs and boots |
| QT-05-02 | Faultlessness | At most 10 type errors per KLOC under `mypy --strict`. | Type errors per KLOC |
| QT-05-03 | Fault tolerance | A malformed request leaks no stack trace. | Probe `error_leakage` |
| QT-05-04 | Availability | Concurrent writes all land, none refused for a lock. | Quality probe `concurrent_writes` |
| QT-05-05 | Fault tolerance | A malformed request never answers a server error. | Quality probe `fuzz_robustness` |

### 06 Security

Expand Down Expand Up @@ -396,3 +420,4 @@
| ID | Sub-characteristic | Target | Read from |
| -- | ------------------ | ------ | --------- |
| QT-08-01 | Installability | `pip install .` succeeds in a clean environment. | Installs in a clean environment |
| QT-08-02 | Adaptability | The build installs and serves a signed-in page on a second Python. | Quality probe `python_portability` |
Loading
Loading