Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ None.
- Documents: `docs/TELEMETRY.md`, `docs/CONFIGURATION.md`, `docs/ENV_VARS.md`, `docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with-a-resolver-chain-and-a-rule-goes-before-a-decision-model.md`
- Tests: `tests/roadmap/test_roadmap_decision_table.py`, `tests/config/test_decision_point_settings.py`, `tests/telemetry/test_telemetry_instruments.py`, `tests/roadmap/test_roadmap_decision_step.py`, `tests/roadmap/test_roadmap_decision_point.py`, `tests/support/fakes/jev.py`, `tests/roadmap/test_roadmap_limit_classes.py`

## Weakened checks

- **`tests/roadmap/test_roadmap_decision_table.py::test_on_is_refused_for_a_point_with_no_cuts_file_and_shadow_is_not`**: Stopped: a change that lets a point with no cuts file take the mode `on`, and a change that refuses the mode `shadow` for that point. Safeguard: The mode `shadow` now also needs a cuts file, so task 1.1 replaces the test with `test_shadow_and_on_are_refused_for_a_point_with_no_cuts_file`. It asserts that each of the modes `shadow` and `on` raises a `ValueError` that names the point and the path of the cuts file.
- **`tests/roadmap/test_roadmap_decision_point.py::test_the_registry_refuses_a_catalogue_above_60_series`**: Stopped: a registry that accepts a catalogue above its series bound. Eight points of 8 series give 64 label sets, above the bound of 60. Safeguard: ADR 0020 section 7 allows 92 series, so task 10.1 replaces the test with `test_the_registry_accepts_a_catalogue_at_the_bound_and_refuses_one_above_it`. It reads `CONST_ROADMAP_DECISION_POINT_MAX_SERIES` for both catalogues. It asserts that the registry accepts 92 label sets: eight points of 8 series and two of 14. It also asserts that the registry refuses 94 label sets: ten points of 8 series and one of 14.

## Feasibility

- The probes confirm that the cited file exists: The path `src/devops_cli/roadmap/decision_table.py` is a file of the staging commit.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Kind: other. Reads: `docs/adr/0020-a-decision-point-is-a-unit-of-a-workflow-with
- Group 6: With a model that raises `RuntimeError`, `decide` gives the fallback.
- Group 9: One decision adds one sample to the duration histogram.
- Group 6: A timeout adds one count with `error="timeout"`.
- Group 10: A registry of 92 series loads, and a registry of 93 series raises.
- Group 10: A registry of 92 series loads, and a registry of 94 series raises.
- Group 8: A cuts file of model A with `ai.decision_model` set to model B gives the fallback, and the failed counter holds `model_mismatch`.
- Group 7: A reply that names a dated model puts that dated name in the decision record.
- Group 10: No test holds the number 60 for the bound; each bound test reads the constant.
Expand Down