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
Commit cd2cc1a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ one to open.
83
83
| Validation registry |`dw/validation.py`: `ERROR_CHECKS`, `WARNING_CHECKS`, `run_checks`| A check is one `Check` in a registry, and a check that raises becomes one `internal` finding while the rest still run. |`tests/test_validation.py::TestExceptionPolicy::test_a_raising_check_is_one_internal_error_and_the_rest_still_run`|
84
84
| Step-value checks |`dw/step_value_checks.py`: `fps_errors`, `null_media_errors`, `select_errors`, `chain_prompts_errors`| The only caller of these checks is the error registry. |`dw/validation.py`: `ERROR_CHECKS`|
85
85
| Admission |`dw/server/admission.py`: `admit`| Validate, submit, rerun and enhance load and check a request once, and `JobManager.submit` does not check it again. |`tests/test_admission.py::test_a_submit_expands_once`|
86
-
| Variable constraints |`dw/variable_constraints.py`: `apply_constraints`| A model's rule about a value is declared in the workflow's `variable_constraints`, and it is checked at validation and again before anything loads. |`tests/test_variable_constraints.py::TestTheGrid::test_without_snap_an_off_grid_value_is_refused_not_rounded`, `tests/test_variable_constraints.py::TestTheRunTimePass::test_an_illegal_value_is_refused_before_anything_loads`|
86
+
| Variable constraints |`dw/variable_constraints.py`: `apply_constraints`; the grid arithmetic `aligned` / `aligned_down`| A model's rule about a value is declared in the workflow's `variable_constraints`, and it is checked at validation and again before anything loads. `plan_cuts` (and its static check) rounds render lengths through `aligned` / `aligned_down`, never its own copy, so a planned `num_frames` is one the template's constraint accepts. |`tests/test_variable_constraints.py::TestTheGrid::test_without_snap_an_off_grid_value_is_refused_not_rounded`, `tests/test_variable_constraints.py::TestTheGrid::test_plan_cuts_rounds_through_the_constraint_owner`, `tests/test_variable_constraints.py::TestTheRunTimePass::test_an_illegal_value_is_refused_before_anything_loads`|
87
87
| Bound acknowledgement |`dw/plan.py`: `fingerprint`, `dw/server/admission.py`: `check_bound_acknowledgement`| A bound `acknowledged_cost` is refused with 409 when the plan's fingerprint or its required downloads changed. |`tests/test_server.py::TestBoundRerun::test_a_rerun_bound_to_a_stale_plan_is_refused`, `tests/test_server.py::TestBoundAcknowledgement::test_a_matching_fingerprint_queues`|
88
88
| Per-repo gating |`dw/plan.py`: `build_plan`| Each gated repo, including a `loras` entry's repo, is probed and reported on its own. |`tests/test_plan.py::TestDownloadsRequired::test_a_gated_repo_this_token_lacks_access_to_is_blocked`|
89
89
| Observed cost |`dw/server/observed_cost.py`: `declared_drivers`|`observed` comes only from this box's finished jobs and never writes `cost`. Cold and warm runs are reported separately. |`tests/test_observed_cost.py::TestColdIsNotWarm::test_the_two_are_reported_separately_each_with_its_runs`|
0 commit comments