Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
This report presents the forensic synthetic code analysis of JustVugg/colibri, a C project with 26,374 GitHub stars. SynthScan v2.0 examined 162,755 lines of code across 516 source files, recording 1101 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1101 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | c/v4_dsml.py | 104 | def tool_calls_from_openai_format(tool_calls): | STRING |
| LOW | c/resource_plan.py | 525 | def _discover_amd_gpus_windows(): | CODE |
| LOW | c/family_registry.py | 504 | def _individual_expert_inventory(pattern): | CODE |
| LOW | c/family_registry.py | 513 | def _inkling_expert_inventory(name, size, config): | CODE |
| LOW | c/tools/datapoint.py | 274 | def _measure_persistent_request(engine, prompt, max_new): | CODE |
| LOW | c/tools/repack_fp8_passthrough.py | 586 | def _canonicalize_metadata_order(path): | CODE |
| LOW | c/tools/repack_fp8_passthrough.py | 668 | def _stamps_from_other_passes(outdir, prog_name): | CODE |
| LOW | c/tools/repack_fp8_passthrough.py | 970 | def _copy_standalone_load_files(indir, outdir): | CODE |
| LOW | c/tools/make_glm53_tiny.py | 154 | def initialize_contract_weights(torch, model, head) -> None: | CODE |
| LOW | c/tools/make_glm53_tiny.py | 519 | def write_sparse_attention_case(torch, model, output: Path) -> None: | CODE |
| LOW | c/tools/make_deepseek_v4_tiny.py | 298 | def initialize_router_coverage(torch, model) -> None: | CODE |
| LOW | c/tools/rans_format.py | 291 | def _py_decode_stream_checked(buf, n, freq, start, slot_to_symbol, scale_bits): | CODE |
| LOW | c/tests/test_segment_conformance_manifest.py | 20 | def test_is_all_registered_families_gate(self): | CODE |
| LOW | c/tests/test_segment_conformance_manifest.py | 29 | def test_every_entry_is_an_honest_contract_fixture(self): | CODE |
| LOW | c/tests/test_segment_conformance_manifest.py | 43 | def test_c_fixture_matrix_matches_manifest(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 89 | def test_roundtrip_stamp_and_determinism(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 166 | def _corrupt_reshard_and_expect(self, expected_code, meta_mutator=None, | CODE |
| LOW | c/tests/test_rans_repack.py | 338 | def test_parity_c_python_refusal_classes(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 401 | def test_verifier_never_crashes(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 448 | def test_partial_output_refusal(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 612 | def test_census_layout_accounting(self): | CODE |
| LOW | c/tests/test_rans_repack.py | 652 | def test_quantize_freq_ties_and_termination(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 47 | def test_cpu_oracle_is_compiled_without_openmp(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 54 | def test_nvcc_does_not_link_an_openmp_runtime_for_the_oracle(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 59 | def test_hipcc_does_not_link_an_openmp_runtime_for_the_oracle(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 65 | def test_allow_unsupported_compiler_is_off_by_default(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 72 | def test_allow_unsupported_compiler_is_reachable(self): | CODE |
| LOW⚡ | c/tests/test_cuda_test_makefile.py | 82 | def test_allow_unsupported_compiler_preserves_the_other_flags(self): | CODE |
| LOW | c/tests/test_cuda_test_makefile.py | 95 | def test_setup_openmp_probe_does_not_require_tmp(self): | CODE |
| LOW | c/tests/test_kimi_usage_cli.py | 33 | def test_help_flags_print_usage_and_succeed(self): | CODE |
| LOW⚡ | c/tests/test_kimi_usage_cli.py | 44 | def test_no_arguments_prints_usage_and_fails(self): | CODE |
| LOW⚡ | c/tests/test_kimi_usage_cli.py | 49 | def test_usage_names_the_launcher(self): | CODE |
| LOW⚡ | c/tests/test_kimi_usage_cli.py | 55 | def test_usage_documents_autopin_and_the_gpu_path(self): | CODE |
| LOW | c/tests/test_placement_crossval.py | 14 | def test_category_holdout_and_rank_file(self): | CODE |
| LOW | c/tests/test_inkling_prefix_serve.py | 143 | def test_byte_level_vocab_matches_the_engines_map(self): | CODE |
| LOW | c/tests/test_inkling_prefix_serve.py | 154 | def test_reused_prefix_yields_identical_tokens(self): | CODE |
| LOW | c/tests/test_inkling_prefix_serve.py | 176 | def test_a_diverging_prompt_is_not_reused(self): | CODE |
| LOW | c/tests/test_stop_liveness.py | 39 | def test_reaped_child_is_not_alive(self): | CODE |
| LOW | c/tests/test_stop_liveness.py | 45 | def test_sigkill_lookup_is_guarded(self): | CODE |
| LOW | c/tests/test_stop_liveness.py | 59 | def test_engine_takes_a_job_handle(self): | CODE |
| LOW | c/tests/test_stop_liveness.py | 81 | def test_helper_is_a_noop_off_windows(self): | CODE |
| LOW | c/tests/test_stop_liveness.py | 85 | def test_job_kills_the_child_when_the_handle_closes(self): | CODE |
| LOW | c/tests/test_inkling_omp_source.py | 9 | def test_direct_engine_uses_shared_physical_core_sizing(self): | CODE |
| LOW | c/tests/test_benchmark_cuda_fixture.py | 14 | def test_extracts_speed_and_profile(self): | STRING |
| LOW | c/tests/test_benchmark_cuda_fixture.py | 19 | def test_rejects_incomplete_output(self): | STRING |
| LOW | c/tests/test_openai_tools_v4_e2e.py | 122 | def test_tool_call_non_stream(self): | STRING |
| LOW | c/tests/test_openai_tools_v4_e2e.py | 134 | def test_tool_result_round_trip(self): | STRING |
| LOW | c/tests/test_openai_tools_v4_e2e.py | 151 | def test_tool_call_streamed_markers_suppressed(self): | STRING |
| LOW⚡ | c/tests/test_cli_output.py | 38 | def test_serve_help_includes_allowed_host(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 43 | def test_tune_help_describes_measured_safe_profile(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 49 | def test_info_status_is_english(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 57 | def test_missing_model_error_is_english(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 76 | def test_prompt_box_preserves_newlines_and_indentation(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 80 | def test_prompt_box_wraps_long_lines_without_collapsing_whitespace(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 84 | def test_prompt_input_rows_accounts_for_explicit_lines(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 88 | def test_read_prompt_collects_lines_already_queued_after_first(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 159 | def test_explicit_cap_rides_along(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 165 | def test_explicit_cap_zero_rides_along(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 170 | def test_absent_cap_stays_absent(self): | CODE |
| LOW⚡ | c/tests/test_cli_output.py | 233 | def test_unknown_model_states_its_own_type(self): | CODE |
| 637 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | c/v4_dsml.py | 36 | # ============================================================ | COMMENT |
| MEDIUM | c/v4_dsml.py | 38 | # ============================================================ | COMMENT |
| MEDIUM⚡ | c/v4_dsml.py | 89 | # ============================================================ | STRING |
| MEDIUM⚡ | c/v4_dsml.py | 91 | # ============================================================ | STRING |
| MEDIUM | c/v4_dsml.py | 168 | # ============================================================ | COMMENT |
| MEDIUM | c/v4_dsml.py | 170 | # ============================================================ | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 175 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 231 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 258 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/diag_harness.py | 279 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 57 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 65 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 81 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 89 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 127 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 135 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 199 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 209 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 349 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 365 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/test_olmoe_real.py | 36 | # ── Step 1: Write bootstrap ref with dummy full_ids = prompt_ids ────────── | COMMENT |
| MEDIUM | c/tools/test_olmoe_real.py | 48 | # ── Step 2: Run engine once to capture generated IDs ───────────────────── | COMMENT |
| MEDIUM | c/tools/test_olmoe_real.py | 71 | # ── Step 3: Run engine again against real ref — verify determinism ──────── | COMMENT |
| MEDIUM | c/tools/rans_format.py | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 199 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 215 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 217 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 271 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 273 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 320 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 322 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 476 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/rans_format.py | 479 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/expert_atlas/sweep.sh | 8 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/expert_atlas/sweep.sh | 36 | # --------------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/benchmarks.md | 41 | # 1) measure YOUR disk the way the engine uses it (parallel 19 MB random reads): | COMMENT |
| LOW | .github/workflows/release.yml | 61 | # families. CI (engines-all-platforms) proves all four build on this matrix. | COMMENT |
| LOW | .github/workflows/release.yml | 201 | exe = ".exe" if os.name == "nt" else "" | COMMENT |
| LOW | .github/workflows/release.yml | 301 | # | COMMENT |
| LOW | .github/workflows/ci.yml | 21 | # CI built colibri + inkling on Linux only and kimi_k3 on nothing -- so the fact | COMMENT |
| LOW | .github/workflows/ci.yml | 61 | failure-threshold: error | COMMENT |
| LOW | .github/workflows/ci.yml | 81 | run: make -C c test-asan | COMMENT |
| LOW | .github/workflows/ci.yml | 221 | name: Metal backend tests | COMMENT |
| LOW | .github/workflows/ci.yml | 361 | # already has the model in memory and generates greedily from fixed ids. | COMMENT |
| LOW | .github/workflows/ci.yml | 381 | # breaks; cap=8 never would. That is not hypothetical here: the | COMMENT |
| LOW | .github/workflows/ci.yml | 461 | # Random-init InklingForCausalLM via HF transformers, then the C engine | COMMENT |
| LOW | .github/workflows/ci.yml | 481 | COMMENT | |
| LOW | .github/workflows/ci.yml | 541 | # must not perturb a single position. It exercises the fmt=6 (E8/IQ3, | COMMENT |
| LOW | .github/workflows/ci.yml | 581 | # BEFORE the pull (which is why this is not a container: job). | COMMENT |
| LOW | .github/workflows/ci.yml | 601 | # because gpu-compile links the TEST binary with the hipcc driver | COMMENT |
| LOW | .github/workflows/ci.yml | 621 | # | COMMENT |
| LOW | .github/workflows/ci.yml | 641 | with: | COMMENT |
| LOW | c/olmoe.c | 21 | * (expert queue is sorted by eid for SSD read locality) | COMMENT |
| LOW | c/olmoe.c | 41 | #ifdef COLI_SEGMENT_ADAPTER | COMMENT |
| LOW | c/inkling.c | 21 | * of the fused [E, 2I, D] / [E, D, I] tensors, LRU-cached, optionally | COMMENT |
| LOW | c/inkling.c | 41 | #include "route_trace.h" | COMMENT |
| LOW | c/st.h | 1 | /* Indicizzazione e lettura on-demand di tensori da piu' file safetensors. | COMMENT |
| LOW | c/uring.h | 1 | #ifndef COLI_URING_H | COMMENT |
| LOW | c/quant.h | 1 | /* quant.h — quantized matmul kernels (header-only, all functions static). | COMMENT |
| LOW | c/quant.h | 541 | } | COMMENT |
| LOW | c/qwen36.c | 21 | #define _GNU_SOURCE | COMMENT |
| LOW | c/qwen36.c | 61 | #include "json.h" /* tokenizer.json parsing (reuse minimal parser) */ | COMMENT |
| LOW | c/rans.h | 81 | #error "rans.h assumes a little-endian host (record integers are little-endian)" | COMMENT |
| LOW | c/backend_vulkan.c | 1 | // Vulkan compute backend for colibri's quantized matmul, targeting the | COMMENT |
| LOW | c/kimi_k3.c | 81 | * Alone it implies COLI_K3_CKPT=2; an explicit | COMMENT |
| LOW | c/kimi_k3.c | 101 | #include <omp.h> | COMMENT |
| LOW | c/deepseek_v4.c | 2201 | #define coli_v4_window_attention_destroy coli_v4_window_attention_batch_destroy_copy | COMMENT |
| LOW | c/deepseek_v4.c | 3421 | coli_bf16_round_array(output, quantized); | COMMENT |
| LOW | c/deepseek_v4.c | 4181 | !defined(COLI_V4_EXPERIMENTAL_SYNC_EXPERT_LOOKUP) && \ | COMMENT |
| LOW | c/deepseek_v4.c | 5881 | if (error && error_size && error[0]) return -1; | COMMENT |
| LOW | c/deepseek_v4.c | 6281 | #define coli_v4_indexer_destroy snapshot_copy_indexer_destroy | COMMENT |
| LOW | c/deepseek_v4.c | 6681 | #define coli_v4_window_attention_create transaction_copy_attention_create | COMMENT |
| LOW | c/deepseek_v4.c | 7221 | * Cold experts keep the official row-major FP4 representation. */ | COMMENT |
| LOW | c/deepseek_v4.c | 11321 | /* Target-only generation helpers. */ | COMMENT |
| LOW | c/deepseek_v4.c | 14521 | COMMENT | |
| LOW | c/deepseek_v4.c | 15461 | #include "native_quant.h" | COMMENT |
| LOW | c/deepseek_v4.c | 16161 | COMMENT | |
| LOW | c/deepseek_v4.c | 16321 | #include <stdint.h> | COMMENT |
| LOW | c/deepseek_v4.c | 16981 | #include "edge_runtime.h" | COMMENT |
| LOW | c/glibc_c23_math_compat.h | 1 | // glibc_c23_math_compat.h — glibc >= 2.41 C++17 noexcept clash for CUDA host passes. | COMMENT |
| LOW | c/glibc_c23_math_compat.h | 21 | #ifndef COLI_GLIBC_C23_MATH_COMPAT_H | COMMENT |
| LOW | c/backend_gpu_compat.h | 21 | #ifndef COLIBRI_BACKEND_GPU_COMPAT_H | COMMENT |
| LOW | c/backend_gpu_compat.h | 41 | namespace nvcuda { namespace wmma = ::rocwmma; } | COMMENT |
| LOW | c/backend_gpu_compat.h | 61 | #define cudaMalloc hipMalloc | COMMENT |
| LOW | c/backend_gpu_compat.h | 81 | #define cudaEventDisableTiming hipEventDisableTiming | COMMENT |
| LOW | c/backend_gpu_compat.h | 101 | #include <cuda_runtime.h> | COMMENT |
| LOW | c/omp_tune.h | 41 | #define COLI_OMP_TUNE_H | COMMENT |
| LOW | c/backend_cuda.h | 1 | #ifndef COLIBRI_BACKEND_CUDA_H | COMMENT |
| LOW | c/openai_server.py | 2741 | value = int(os.environ.get(name, "") or default) | COMMENT |
| LOW | c/openai_server.py | 2921 | # aborted by the software in your host machine` escaping to socketserver, | COMMENT |
| LOW | c/backend_metal.mm | 1 | // Apple-GPU (Metal) backend for colibrì. Runtime-compiled shader (no Xcode needed), | COMMENT |
| LOW | c/backend_metal.mm | 401 | // memcmp). Contract: E<=256 (ch[8]/taken mask sizing: ceil(E/32)<=8) — the defensive | COMMENT |
| LOW | c/backend_metal.mm | 661 | // g_resset_obj is a bare `id` (holds id<MTLResidencySet>) so the global's declared type | COMMENT |
| LOW | c/backend_metal.mm | 681 | // (E4's audit round 2 found exactly that shape -- mutex over a live Metal call -- as the | COMMENT |
| LOW | c/backend_metal.mm | 1301 | // elements (grid <=2^23 tg, ~4x under the observed-clean bound). Chunks write disjoint g_gy | COMMENT |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/download_fp8.py | 90 | CODE | |
| LOW | c/download_fp8.py | 179 | CODE | |
| LOW | c/openai_server.py | 263 | CODE | |
| LOW | c/openai_server.py | 324 | CODE | |
| LOW | c/openai_server.py | 476 | CODE | |
| LOW | c/openai_server.py | 768 | CODE | |
| LOW | c/openai_server.py | 874 | CODE | |
| LOW | c/openai_server.py | 906 | CODE | |
| LOW | c/openai_server.py | 1026 | CODE | |
| LOW | c/openai_server.py | 1135 | CODE | |
| LOW | c/openai_server.py | 1204 | CODE | |
| LOW | c/openai_server.py | 1277 | CODE | |
| LOW | c/openai_server.py | 1409 | CODE | |
| LOW | c/openai_server.py | 1523 | CODE | |
| LOW | c/openai_server.py | 1713 | CODE | |
| LOW | c/openai_server.py | 1803 | CODE | |
| LOW | c/openai_server.py | 2022 | CODE | |
| LOW | c/openai_server.py | 122 | CODE | |
| LOW | c/openai_server.py | 1655 | CODE | |
| LOW | c/openai_server.py | 2415 | CODE | |
| LOW | c/openai_server.py | 2532 | CODE | |
| LOW | c/openai_server.py | 3124 | CODE | |
| LOW | c/openai_server.py | 3193 | CODE | |
| LOW | c/openai_server.py | 3239 | CODE | |
| LOW | c/autotune.py | 239 | CODE | |
| LOW | c/autotune.py | 405 | CODE | |
| LOW | c/autotune.py | 469 | CODE | |
| LOW | c/doctor.py | 188 | CODE | |
| LOW | c/doctor.py | 442 | CODE | |
| LOW | c/resource_plan.py | 73 | CODE | |
| LOW | c/resource_plan.py | 221 | CODE | |
| LOW | c/resource_plan.py | 617 | CODE | |
| LOW | c/resource_plan.py | 864 | CODE | |
| LOW | c/tools/benchmark_kv_prefix.py | 30 | CODE | |
| LOW | c/tools/convert_inkling_dense_int4.py | 151 | CODE | |
| LOW | c/tools/iq3_pack.py | 68 | CODE | |
| LOW | c/tools/iq3_pack.py | 133 | CODE | |
| LOW | c/tools/iq3_pack.py | 208 | CODE | |
| LOW | c/tools/diag_harness.py | 127 | CODE | |
| LOW | c/tools/diag_harness.py | 232 | CODE | |
| LOW | c/tools/diag_harness.py | 357 | CODE | |
| LOW | c/tools/diag_harness.py | 658 | CODE | |
| LOW | c/tools/convert_olmoe_merged.py | 199 | CODE | |
| LOW | c/tools/eval_glm.py | 64 | CODE | |
| LOW | c/tools/quant_ablation.py | 317 | CODE | |
| LOW | c/tools/benchmark_serving_interference.py | 37 | CODE | |
| LOW | c/tools/convert_qwen36.py | 206 | CODE | |
| LOW | c/tools/convert_qwen36.py | 363 | CODE | |
| LOW | c/tools/convert_inkling_int4.py | 180 | CODE | |
| LOW | c/tools/convert_inkling_int4.py | 356 | CODE | |
| LOW | c/tools/k3_repack.py | 132 | CODE | |
| LOW | c/tools/make_glm53_multimodal_tiny.py | 129 | CODE | |
| LOW | c/tools/blocksweep.py | 52 | CODE | |
| LOW | c/tools/repair_mtp_int8.py | 155 | CODE | |
| LOW | c/tools/rans_verify.py | 164 | CODE | |
| LOW | c/tools/datapoint.py | 72 | CODE | |
| LOW | c/tools/datapoint.py | 150 | CODE | |
| LOW | c/tools/check_glm53_checkpoint.py | 17 | CODE | |
| LOW | c/tools/repack_fp8_passthrough.py | 772 | CODE | |
| LOW | c/tools/repack_fp8_passthrough.py | 828 | CODE | |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | c/v4_dsml.py | 96 | except Exception: | STRING |
| LOW | c/v4_dsml.py | 121 | except Exception: | CODE |
| MEDIUM | c/v4_dsml.py | 93 | def to_json(value): | CODE |
| LOW | c/download_fp8.py | 114 | except Exception as e: | CODE |
| LOW | c/download_fp8.py | 145 | except Exception: pass | CODE |
| LOW | c/download_fp8.py | 220 | except Exception as e: | CODE |
| MEDIUM | c/openai_server.py | 667 | def _np(): | CODE |
| MEDIUM | c/openai_server.py | 2415 | def _dispatch_stdout(self): | CODE |
| MEDIUM | c/openai_server.py | 3058 | def read_json(self): | CODE |
| LOW | c/openai_server.py | 798 | except Exception: | CODE |
| LOW | c/openai_server.py | 1393 | except Exception: | CODE |
| LOW | c/openai_server.py | 2326 | except Exception: | CODE |
| LOW | c/openai_server.py | 2527 | except Exception as error: | CODE |
| LOW | c/openai_server.py | 2611 | except Exception: | CODE |
| LOW | c/openai_server.py | 3048 | except Exception: | CODE |
| LOW | c/openai_server.py | 3215 | except Exception as error: | CODE |
| LOW | c/resource_plan.py | 40 | except Exception: | CODE |
| LOW | c/tools/diag_harness.py | 217 | except Exception as e: | CODE |
| LOW | c/tools/diag_harness.py | 242 | except Exception: pass | CODE |
| LOW | c/tools/diag_harness.py | 309 | except Exception as e: | CODE |
| LOW | c/tools/diag_harness.py | 519 | except Exception as e: | CODE |
| LOW | c/tools/mirror_plan.py | 287 | except Exception: | CODE |
| LOW | c/tools/mirror_plan.py | 307 | except Exception: | CODE |
| MEDIUM | c/tools/mirror_plan.py | 39 | def load_json(path): | CODE |
| LOW | c/tools/convert_olmoe_merged.py | 211 | except Exception: | CODE |
| LOW | c/tools/eval_glm.py | 57 | except Exception: mt = "" | CODE |
| LOW | c/tools/convert_qwen36.py | 254 | except Exception: | CODE |
| LOW | c/tools/convert_qwen36.py | 289 | except Exception as e: | CODE |
| LOW | c/tools/convert_qwen36.py | 372 | except Exception: | CODE |
| LOW | c/tools/convert_qwen36.py | 405 | except Exception as e: | CODE |
| LOW | c/tools/convert_qwen36.py | 555 | except Exception: | CODE |
| LOW | c/tools/convert_qwen36.py | 588 | except Exception: | CODE |
| LOW | c/tools/make_qwen36_oracle.py | 81 | except Exception: | CODE |
| LOW | c/tools/make_qwen36_oracle.py | 129 | except Exception: | CODE |
| LOW | c/tools/make_deepseek_v4_oracle.py | 32 | except Exception as exc: # noqa: BLE001 — optional dependency | CODE |
| LOW | c/tools/make_deepseek_v4_oracle.py | 42 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | c/tools/repair_mtp_int8.py | 59 | except Exception as ex: | CODE |
| LOW | c/tools/rans_verify.py | 270 | except Exception as exc: # noqa: BLE001 — the point | CODE |
| LOW | c/tools/rans_verify.py | 299 | except Exception as exc: # noqa: BLE001 — the point | CODE |
| LOW | c/tools/datapoint.py | 115 | except Exception: | CODE |
| LOW | c/tools/datapoint.py | 127 | except Exception: | CODE |
| LOW | c/tools/datapoint.py | 393 | except Exception as exc: # noqa: BLE001 - teardown is best-effort | CODE |
| LOW | c/tools/make_glm53_tiny.py | 37 | except Exception as exc: # pragma: no cover - regeneration diagnostic | CODE |
| MEDIUM | c/tools/make_glm53_tiny.py | 30 | def require_dependencies(): | CODE |
| LOW | c/tools/fetch_benchmarks.py | 54 | except Exception as e: | CODE |
| LOW | c/tools/fetch_benchmarks.py | 75 | except Exception as e: | CODE |
| LOW | c/tools/fetch_benchmarks.py | 86 | except Exception: continue | CODE |
| LOW | c/tools/make_qwen36_tiny.py | 111 | except Exception: | CODE |
| LOW | c/tools/make_deepseek_v4_tiny.py | 53 | except Exception as exc: # pragma: no cover - regeneration-only diagnostic | CODE |
| MEDIUM | c/tools/make_deepseek_v4_tiny.py | 48 | def require_dependencies(): | CODE |
| LOW | c/tools/rans_format.py | 176 | except Exception as exc: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 847 | except Exception: pass | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 872 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 955 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 976 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 987 | except Exception: pass | CODE |
| LOW | c/tools/convert_glm53.py | 373 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | c/tools/convert_glm53.py | 398 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | c/tests/test_inkling_prefix_serve.py | 129 | except Exception: | CODE |
| MEDIUM | c/tests/test_inkling_prefix_serve.py | 125 | def close(self): | CODE |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | colibri/__init__.py | 3 | CODE | |
| LOW | c/autotune.py | 9 | CODE | |
| LOW | c/tools/gen_unicode.py | 9 | CODE | |
| LOW | c/tools/efficiency.py | 22 | CODE | |
| LOW | c/tools/k3_ref.py | 22 | CODE | |
| LOW | c/tools/diag_harness.py | 30 | CODE | |
| LOW | c/tools/convert_olmoe_merged.py | 29 | CODE | |
| LOW | c/tools/convert_qwen36.py | 37 | CODE | |
| LOW | c/tools/convert_qwen36.py | 37 | CODE | |
| LOW | c/tools/convert_qwen36.py | 147 | CODE | |
| LOW | c/tools/k3_repack.py | 38 | CODE | |
| LOW | c/tools/make_glm53_multimodal_tiny.py | 22 | CODE | |
| LOW | c/tools/residency_sim.py | 19 | CODE | |
| LOW | c/tools/make_deepseek_v4_oracle.py | 18 | CODE | |
| LOW | c/tools/make_glm53_tokenizer.py | 20 | CODE | |
| LOW | c/tools/convert_olmoe.py | 20 | CODE | |
| LOW | c/tools/convert_olmoe.py | 20 | CODE | |
| LOW | c/tools/convert_olmoe.py | 20 | CODE | |
| LOW | c/tools/convert_olmoe.py | 20 | CODE | |
| LOW | c/tools/repair_mtp_int8.py | 35 | CODE | |
| LOW | c/tools/make_glm53_vision_tiny.py | 22 | CODE | |
| LOW | c/tools/check_glm53_checkpoint.py | 3 | CODE | |
| LOW | c/tools/make_glm53_tiny.py | 9 | CODE | |
| LOW | c/tools/glm53_image.py | 28 | CODE | |
| LOW | c/tools/make_deepseek_v4_tiny.py | 10 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 570 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 571 | CODE | |
| LOW | c/tools/make_glm53_streaming_pair.py | 24 | CODE | |
| LOW | c/tools/make_glm53_streaming_pair.py | 27 | CODE | |
| LOW | c/tools/make_edge_tiny_tokenizer.py | 11 | CODE | |
| LOW | c/tools/expert_atlas/validate.py | 17 | CODE | |
| LOW | c/tests/test_deepseek_v4_prefix.py | 14 | CODE | |
| LOW | c/tests/test_deepseek_v4_prefix.py | 21 | CODE | |
| LOW | c/tests/test_family_registry.py | 9 | CODE | |
| LOW | c/tests/test_chat_thinking.py | 14 | CODE | |
| LOW | c/tests/test_chat_thinking.py | 15 | CODE | |
| LOW | c/tests/test_chat_thinking.py | 31 | CODE | |
| LOW | c/tests/test_inefficiency.py | 18 | CODE | |
| LOW | c/tests/test_inefficiency.py | 22 | CODE | |
| LOW | c/tests/test_deepseek_v4_tiny.py | 4 | CODE | |
| LOW | c/tests/test_openai_server.py | 17 | CODE | |
| LOW | c/tests/test_glm53_vision_serve.py | 24 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/ci.yml | 229 | # (observed: 47 min vs a 5-6 min normal run), so the test harness | COMMENT |
| MEDIUM | c/colibri.c | 67 | #include "abl.h" /* per-expert causal-ablation harness — inert unless g_abl.mode set ( | COMMENT |
| MEDIUM | c/tools/efficiency.py | 30 | # Reuse the validated regexes from the existing A/B benchmark harness so the | COMMENT |
| MEDIUM | c/tools/run_f8_bench.sh | 15 | # 8533 MT/s), this harness's primary host. It must be an explicit number | COMMENT |
| MEDIUM | c/tools/fetch_deepgemm.sh | 21 | DEEPGEMM_PIN_DEFAULT=39fb4447a062b418fd08ce17cd308adb28559417 # branch sm120-full, "Add SM120 heuristic calibration ha | CODE |
| MEDIUM⚡ | c/tests/test_backend_loader.py | 2017 | # Production reused the harness's runtime and released only its own | STRING |
| MEDIUM⚡ | c/tests/test_backend_loader.py | 2018 | # reference, so the harness-owned module survives. | STRING |
| MEDIUM | c/tests/test_backend_loader.py | 824 | # encoding="utf-8": the harness converts every path with | STRING |
| MEDIUM | c/tests/test_backend_loader.py | 1377 | # Production released only its own reference; the harness still holds one. | STRING |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 117 | # colibri.c is a big translation unit; build the harness once for the class | COMMENT |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 151 | # without either. This harness only exercises the C loader's | COMMENT |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 215 | # Sanity-check the real tool's own selection/stamp BEFORE asking the C harness | COMMENT |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 217 | # the harness anyway would only muddy which side broke. | COMMENT |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 229 | # the fp8-repack path this harness's qt_from_disk-specific decode | COMMENT |
| MEDIUM | c/tests/test_fp8_e2e_repack_load.py | 231 | # st_read_f32 fallback -- out of this C harness's scope, and out of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | c/tools/repack_fp8_passthrough.py | 73 | stamp naming fp8-e4m3-b128 (qt_resolve_fmt's `sf==8 && fp8_blk_f32_also` | STRING |
| HIGH | c/tests/check_data_logprob_gaps.py | 14 | cd c && make glm | STRING |
| HIGH | c/tests/test_inefficiency.py | 199 | _skip_reason() or "CUDA build not present (run: make clean && make colibri CUDA_DLL=1 && make cuda- | CODE |
| HIGH | c/tests/test_backend_loader.py | 446 | for (i = 0; i < count && i < MAXI; i++) { | CODE |
| HIGH⚡ | c/tests/test_deepseek_v4_dspark_source.py | 63 | replay = self.engine.index("if (retained > 0 && target_batch(", invalidate) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/README.md | 67 | ### Step 1: Download the model | COMMENT |
| LOW | docker/README.md | 98 | ### Step 2: Download the Colibrì Dockerfile | COMMENT |
| LOW | docker/README.md | 106 | ### Step 3: Build the Docker image | COMMENT |
| LOW | docker/README.md | 135 | ### Step 4: Start Colibrì | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/kimi_metal_gap_analysis.md | 293 | ### Phase 4 Changes (scaffolding only) | COMMENT |
| MEDIUM | c/openai_server.py | 1309 | # preamble makes it hallucinate other frameworks' syntax (e.g. `end_action`). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/openai_server.py | 3894 | CODE | |
| LOW | c/openai_server.py | 2532 | CODE | |
| LOW | c/autotune.py | 405 | CODE | |
| LOW | c/doctor.py | 442 | CODE | |
| LOW | c/resource_plan.py | 864 | CODE | |
| LOW | c/tools/make_kimi_k3_ref.py | 144 | CODE | |
| LOW | c/tools/make_qwen36_tiny.py | 71 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/chat_olmoe.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | colibri/__init__.py | 5 | __all__ = ["__version__"] | CODE |