Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e93362d
Pin application behaviour before the complexity refactors
anth-volk Oct 14, 2026
d825303
Name the magic numbers compared in data, client and v2 validation code
anth-volk Oct 14, 2026
3b05d44
Look up route groups by path and pass explicit database sources as on…
anth-volk Oct 14, 2026
a1c0524
Split Flask migration logging into steps and log one ServedRequest re…
anth-volk Oct 14, 2026
a6e0dba
Split the ASGI shell's request handling into context, telemetry and r…
anth-volk Oct 14, 2026
ff06925
Pass a failed household cell to the calculation failure recorder as o…
anth-volk Oct 14, 2026
a86e557
Split household route error handling into parse, calculate and map steps
anth-volk Oct 14, 2026
f17b770
Share the saved-policy write configuration, mirror and failure steps
anth-volk Oct 14, 2026
7fde968
Validate the simulation identity fields in their own step
anth-volk Oct 14, 2026
7997920
Map v2 household and policy failures through ordered error tables
anth-volk Oct 14, 2026
000e9b6
Move the association create checks out of the v2 router builders
anth-volk Oct 14, 2026
c758786
Pass parameter-value filters as one value through the metadata layers
anth-volk Oct 14, 2026
2699df2
Split the comparison report state validator into lifecycle and compar…
anth-volk Oct 14, 2026
e300a9a
Split v2 household document validation into collection, record and me…
anth-volk Oct 14, 2026
1999a10
Split v1 household translation into collection, group, membership and…
anth-volk Oct 14, 2026
143ef81
Read the legacy household mapping's v1 identity from its snapshot
anth-volk Oct 14, 2026
a0c840b
Describe a requested page of user-household associations as one value
anth-volk Oct 14, 2026
8d8768c
Pass a v1 saved-policy revision and a requested association page as o…
anth-volk Oct 14, 2026
0ffdc8e
Pass a report run's package versions as one value
anth-volk Oct 14, 2026
01a255b
Split catalog extraction into verification, selection and normalizati…
anth-volk Oct 14, 2026
e7a6fc8
Move the catalog staging row generators to module level
anth-volk Oct 14, 2026
c2c16df
Pass a household or policy mirror's outcome to its metric logger as o…
anth-volk Oct 14, 2026
8e92f59
Group saved-policy mirror collaborators and metric record inputs
anth-volk Oct 14, 2026
946801e
Describe a new simulation or report-output run as one value
anth-volk Oct 14, 2026
0adbfba
Pass an economy report's dataset, target and options as one value
anth-volk Oct 14, 2026
4ebe683
Drop an always-set lock flag and an unused policy helper
anth-volk Oct 14, 2026
384959c
Check a saved-policy mirror event's changed fields and type in their …
anth-volk Oct 14, 2026
a602871
Pass the gateway token provider's Auth0 settings as one value
anth-volk Oct 14, 2026
85462b9
Check household entity inputs and safe JSON numbers in their own helpers
anth-volk Oct 14, 2026
89a9987
Register the ASGI exception handlers through FastAPI's decorator
anth-volk Oct 14, 2026
f137549
Pin the named limits, enum normalization and log-context errors
anth-volk Oct 14, 2026
7c4b1ff
Add a changelog fragment for the application complexity refactors
anth-volk Oct 14, 2026
12ea181
Name the region filter value's length limit from #3918
anth-volk Oct 14, 2026
c9f6e64
Name the Auth0 Management status codes #3891 compares (PLR2004)
anth-volk Oct 15, 2026
1ca3856
Pin the user routes' failure mapping before its complexity refactor
anth-volk Oct 15, 2026
0df7bfe
Map user-route failures through an ordered failure table
anth-volk Oct 15, 2026
203fd7f
Move the create and upgrade steps out of the user router builders
anth-volk Oct 15, 2026
272c815
Drop the migration context's unused entity and flow overrides
anth-volk Oct 15, 2026
103c752
Pass the user list filters, row listings and sign-in identity as one …
anth-volk Oct 15, 2026
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
1 change: 1 addition & 0 deletions changelog.d/ruff-complexity-application.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Refactored the rest of the application under ruff's complexity rules (C901, PLR): the ASGI shell, Flask migration logging, household and policy routes, v1 and v2 household translation and validation, saved-policy mirrors, catalog extraction and the metadata layers are split into named steps, related arguments travel as small value objects, and magic numbers are named, with characterization tests pinning the behaviour first; responses, error messages, logs and published schemas are unchanged.
Loading
Loading