242 lines
4.2 KiB
JSON
242 lines
4.2 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-cpu-sys": {
|
|
"width": 3
|
|
},
|
|
"leleka-cpu-worker": {
|
|
"width": 5
|
|
},
|
|
"leleka-cuda-driver": {
|
|
"fn_lines": 586,
|
|
"width": 815,
|
|
"complexity": 574,
|
|
"nesting": 23
|
|
},
|
|
"leleka-deploy": {
|
|
"width": 247
|
|
},
|
|
"leleka-engine-core": {
|
|
"fn_lines": 11,
|
|
"complexity": 8
|
|
},
|
|
"leleka-engine-qwen35-cuda": {
|
|
"fn_lines": 517,
|
|
"width": 567,
|
|
"complexity": 526,
|
|
"nesting": 10
|
|
},
|
|
"leleka-experimental-ref": {
|
|
"width": 4
|
|
},
|
|
"leleka-gateway-domain": {
|
|
"width": 16
|
|
},
|
|
"leleka-gateway-text": {
|
|
"width": 61
|
|
},
|
|
"leleka-gguf": {
|
|
"width": 1
|
|
},
|
|
"leleka-gptoss": {
|
|
"width": 1
|
|
},
|
|
"leleka-gptoss-igpu": {
|
|
"width": 2
|
|
},
|
|
"leleka-gptoss-npu": {
|
|
"width": 2
|
|
},
|
|
"leleka-gpu-npu-worker": {
|
|
"width": 2
|
|
},
|
|
"leleka-igpu": {
|
|
"fn_lines": 1,
|
|
"width": 5
|
|
},
|
|
"leleka-igpu-worker": {
|
|
"width": 1
|
|
},
|
|
"leleka-libc-shim": {
|
|
"width": 35,
|
|
"fn_lines": 2,
|
|
"complexity": 2
|
|
},
|
|
"leleka-native-cpu-expert": {
|
|
"fn_lines": 97,
|
|
"complexity": 84,
|
|
"width": 601,
|
|
"nesting": 24
|
|
},
|
|
"leleka-native-parity-bench": {
|
|
"width": 9
|
|
},
|
|
"leleka-npu-service": {
|
|
"width": 3
|
|
},
|
|
"leleka-npu-worker": {
|
|
"width": 2
|
|
},
|
|
"leleka-openvino": {
|
|
"fn_lines": 1
|
|
},
|
|
"leleka-runtime": {
|
|
"width": 2
|
|
},
|
|
"leleka-runtime-client": {
|
|
"width": 3
|
|
},
|
|
"leleka-serving-policy": {
|
|
"width": 5
|
|
},
|
|
"leleka-tokenizer": {
|
|
"width": 14
|
|
},
|
|
"python": {
|
|
"complexity": 1,
|
|
"width": 2
|
|
},
|
|
"strata-control": {
|
|
"width": 50
|
|
},
|
|
"strata-desktop-core": {
|
|
"fn_lines": 15,
|
|
"complexity": 11,
|
|
"width": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"leleka-backend-api": {
|
|
"fn_lines": 5
|
|
},
|
|
"leleka-context": {
|
|
"fn_lines": 5,
|
|
"complexity": 1
|
|
},
|
|
"leleka-cpu-kernels": {
|
|
"fn_lines": 6,
|
|
"nesting": 3,
|
|
"complexity": 1,
|
|
"width": 1
|
|
},
|
|
"leleka-cpu-sys": {
|
|
"fn_lines": 16,
|
|
"width": 2
|
|
},
|
|
"leleka-cpu-worker": {
|
|
"width": 5
|
|
},
|
|
"leleka-cuda-driver": {
|
|
"fn_lines": 106,
|
|
"complexity": 31,
|
|
"width": 60,
|
|
"nesting": 5
|
|
},
|
|
"leleka-deploy": {
|
|
"fn_lines": 64,
|
|
"width": 60
|
|
},
|
|
"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-experimental-ref": {
|
|
"fn_lines": 9,
|
|
"width": 37,
|
|
"complexity": 1,
|
|
"nesting": 1
|
|
},
|
|
"leleka-gateway-domain": {
|
|
"width": 1
|
|
},
|
|
"leleka-gateway-text": {
|
|
"width": 6
|
|
},
|
|
"leleka-gguf": {
|
|
"width": 1
|
|
},
|
|
"leleka-gptoss": {
|
|
"width": 7,
|
|
"fn_lines": 5
|
|
},
|
|
"leleka-gptoss-igpu": {
|
|
"width": 3,
|
|
"fn_lines": 1
|
|
},
|
|
"leleka-gptoss-npu": {
|
|
"width": 5,
|
|
"fn_lines": 1
|
|
},
|
|
"leleka-gpu-npu-worker": {
|
|
"width": 1
|
|
},
|
|
"leleka-igpu": {
|
|
"fn_lines": 12,
|
|
"complexity": 1
|
|
},
|
|
"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
|
|
},
|
|
"leleka-npu-service": {
|
|
"width": 1
|
|
},
|
|
"leleka-npu-worker": {
|
|
"fn_lines": 2
|
|
},
|
|
"leleka-serving-policy": {
|
|
"width": 1
|
|
},
|
|
"leleka-tokenizer": {
|
|
"width": 2
|
|
},
|
|
"python": {
|
|
"width": 1
|
|
},
|
|
"strata-control": {
|
|
"width": 17
|
|
},
|
|
"strata-desktop-core": {
|
|
"fn_lines": 6
|
|
}
|
|
}
|
|
}
|
|
}
|