Files
leleka/limits-baseline.json
T
Pavlo Ratushnyi f1723b582d STRA-338 size-fn2: allowlist 133 -> 1 entry, baselines tightened, cpu-sys attention test helpers moved to tests/attention/kernel_checks.rs (file back under 400 lines, test ids unchanged), size-fn record of pass 2
Census of these crates: production fn>30 17 -> 2 (igpu gemm WGSL, OpenVino::load FFI table), cx>10 11 -> 0, wide 449 -> 38
(33 USAGE lines of the deploy --help text, 5 WGSL lines); test fn>30 122 -> 0, cx>10 3 -> 0, nesting>4 4 -> 0, wide 150 -> 0.
2026-11-06 21:52:37 +01:00

114 lines
2.1 KiB
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
},
"census": {
"prod": {
"leleka-backend-api": {
"width": 18,
"complexity": 2,
"fn_lines": 3
},
"leleka-cuda-driver": {
"fn_lines": 586,
"width": 815,
"complexity": 574,
"nesting": 23
},
"leleka-deploy": {
"width": 33
},
"leleka-engine-core": {
"fn_lines": 11,
"complexity": 8
},
"leleka-engine-qwen35-cuda": {
"fn_lines": 517,
"width": 567,
"complexity": 526,
"nesting": 10
},
"leleka-igpu": {
"fn_lines": 1,
"width": 5
},
"leleka-libc-shim": {
"width": 35,
"fn_lines": 2,
"complexity": 2
},
"leleka-native-cpu-expert": {
"fn_lines": 97,
"complexity": 84,
"width": 601,
"nesting": 24
},
"leleka-openvino": {
"fn_lines": 1
},
"leleka-runtime": {
"width": 2
},
"python": {
"complexity": 1,
"width": 2
}
},
"test": {
"leleka-backend-api": {
"fn_lines": 5
},
"leleka-context": {
"fn_lines": 5,
"complexity": 1
},
"leleka-cuda-driver": {
"fn_lines": 106,
"complexity": 31,
"width": 60,
"nesting": 5
},
"leleka-engine-core": {
"fn_lines": 11,
"width": 2,
"complexity": 3,
"nesting": 1
},
"leleka-engine-qwen35-cuda": {
"fn_lines": 76,
"width": 77,
"complexity": 12,
"nesting": 6
},
"leleka-libc-shim": {
"width": 2
},
"leleka-memory": {
"fn_lines": 5,
"complexity": 1,
"nesting": 1,
"width": 13
},
"leleka-model-format": {
"fn_lines": 69,
"width": 25,
"complexity": 13,
"nesting": 4
},
"leleka-native-cpu-expert": {
"fn_lines": 37,
"complexity": 22,
"width": 130,
"nesting": 6
},
"python": {
"width": 1
}
}
}
}