Files
leleka/limits-baseline.json
T
Pavlo RatushnyiandClaude Sonnet 5.5 b686f6ab75 STRA-338: rename the 854 mechanically named modules (impl_*, *_fn, *_<N>) after what they hold; mechanical_names census 854 -> 0
git mv of the files and of the module directories next to them, mod declarations, #[path] attributes and
the paths that name the modules, rewritten by scripts/dev/rename_mechanical.py from a reviewed name table.
Two files lost one to two lines so the 400-line limit holds again (qsa_prompt_index, original_verify_expert_probe).
limits-baseline.json: test fn_lines 0 -> 1 is --allow-increase for crates/deploy builtin_profiles.rs:149 (37 lines,
the speed-vs-strata session's file, not touched here); the prod params census falls 108 -> 1 (w_launch, extern C ABI).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:43:56 +01:00

23 lines
576 B
JSON

{
"_comment": "The legacy census of scripts/check-limits.py: functions over each limit and lines over the width, per scope (prod, test) and crate. A total over all crates may only fall (a function moved between crates keeps it). Do not edit by hand; regenerate with scripts/check-limits.py --update-baseline. Policy: limits.json.",
"limits": {
"fn_lines": 30,
"complexity": 10,
"nesting": 4,
"width": 120,
"params": 5
},
"census": {
"prod": {
"leleka-libc-shim": {
"params": 1
}
},
"test": {
"leleka-deploy": {
"fn_lines": 1
}
}
}
}