Run GLM-5.2 (744B MoE) on a 25GB-RAM consumer machine — 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 12,302 GitHub stars. SynthScan v2.0 examined 20,225 lines of code across 107 source files, recording 119 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 7.0 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 119 distinct pattern matches across 8 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/tests/test_benchmark_cuda_fixture.py | 13 | def test_extracts_speed_and_profile(self): | STRING |
| LOW | c/tests/test_benchmark_cuda_fixture.py | 18 | def test_rejects_incomplete_output(self): | STRING |
| LOW | c/tests/test_cli_output.py | 31 | def test_info_status_is_english(self): | CODE |
| LOW | c/tests/test_cli_output.py | 39 | def test_missing_model_error_is_english(self): | CODE |
| LOW | c/tests/test_doctor.py | 77 | def test_healthy_cpu_install_has_versioned_report(self): | CODE |
| LOW | c/tests/test_doctor.py | 89 | def test_missing_model_collects_failures_instead_of_stopping_early(self): | CODE |
| LOW | c/tests/test_doctor.py | 102 | def test_non_executable_engine_and_excessive_ram_budget_fail(self): | CODE |
| LOW⚡ | c/tests/test_doctor.py | 118 | def test_requested_missing_gpu_is_a_failure(self): | CODE |
| LOW⚡ | c/tests/test_doctor.py | 126 | def test_cpu_engine_with_detected_gpu_is_only_a_warning(self): | CODE |
| LOW⚡ | c/tests/test_doctor.py | 136 | def test_missing_cuda_runtime_is_a_failure(self): | CODE |
| LOW | c/tests/test_doctor.py | 148 | def test_text_format_contains_checks_plan_and_result(self): | CODE |
| LOW | c/tests/test_doctor.py | 155 | def test_cli_json_is_machine_readable_without_loading_model(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 60 | def test_rejects_non_text_content(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 66 | def test_renders_thinking_prefix(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 72 | def test_validates_generation_limits(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 86 | def test_reads_payload_and_extended_status(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 94 | def test_rejects_invalid_kv_pool_before_engine_start(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 98 | def test_occupied_port_fails_before_engine_start(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 112 | def test_admits_up_to_capacity_without_serializing(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 119 | def test_rejects_when_waiting_queue_is_full(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 129 | def test_times_out_and_cancels_queued_requests(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 602 | def test_string_parameter_holding_digits_stays_a_string(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 608 | def test_declared_numeric_and_boolean_parameters_are_decoded(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 617 | def test_unknown_parameter_keeps_permissive_decoding(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 624 | def test_none_does_not_offer_the_tools(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 629 | def test_auto_offers_the_tools(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 634 | def test_required_instructs_the_model_to_call_one(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 640 | def test_named_function_restricts_to_that_function(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 647 | def test_rejects_unknown_string_and_unknown_function(self): | CODE |
| LOW⚡ | c/tests/test_openai_server.py | 655 | def test_rejects_tool_choice_without_tools(self): | CODE |
| LOW | c/tests/test_openai_server.py | 45 | def test_renders_text_subset_of_official_template(self): | CODE |
| LOW | c/tests/test_openai_server.py | 143 | def test_admits_waiters_in_fifo_order(self): | CODE |
| LOW | c/tests/test_openai_server.py | 173 | def test_close_rejects_waiters(self): | CODE |
| LOW | c/tests/test_openai_server.py | 266 | def test_dispatches_interleaved_requests_by_id(self): | CODE |
| LOW | c/tests/test_openai_server.py | 307 | def test_routes_engine_error_to_request(self): | CODE |
| LOW | c/tests/test_openai_server.py | 319 | def test_close_wakes_pending_generation_and_is_idempotent(self): | CODE |
| LOW | c/tests/test_openai_server.py | 349 | def test_protocol_corruption_fails_request_and_stops_dispatcher(self): | CODE |
| LOW | c/tests/test_openai_server.py | 378 | def test_cancels_generation_after_consumer_disconnects(self): | CODE |
| LOW | c/tests/test_openai_server.py | 426 | def test_lists_models_and_checks_auth(self): | CODE |
| LOW | c/tests/test_openai_server.py | 433 | def test_health_reports_scheduler_and_kv_slots(self): | CODE |
| LOW | c/tests/test_openai_server.py | 466 | def test_rejects_invalid_cache_slot(self): | CODE |
| LOW | c/tests/test_openai_server.py | 474 | def test_streaming_chat_completion(self): | CODE |
| LOW | c/tests/test_openai_server.py | 495 | def test_rejects_empty_legacy_completion(self): | CODE |
| LOW | c/tests/test_openai_server.py | 501 | def test_rejects_invalid_stream_options(self): | CODE |
| LOW | c/tests/test_openai_server.py | 535 | def test_static_root_stays_inside_dist_directory(self): | CODE |
| LOW | c/tests/test_makefile_platform.py | 14 | def test_windows_nt_without_uname_selects_mingw_build(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 56 | def test_analyzes_dense_and_expert_storage(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 63 | def test_memory_available_is_positive(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 69 | def test_builds_bounded_three_tier_plan(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 85 | def test_filters_requested_devices(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 92 | def test_cli_emits_versioned_json(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 102 | def test_applies_plan_without_overriding_explicit_settings(self): | CODE |
| LOW | c/tests/test_resource_plan.py | 123 | def test_cpu_binary_does_not_apply_gpu_tier(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 134 | def test_rejects_unknown_policy_and_marks_experimental_policy(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 143 | def test_balanced_policy_enables_lossless_live_repin(self): | CODE |
| LOW⚡ | c/tests/test_resource_plan.py | 152 | def test_plan_explains_hot_warm_and_cold_placement(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/openai_server.py | 202 | CODE | |
| LOW | c/openai_server.py | 243 | CODE | |
| LOW | c/openai_server.py | 286 | CODE | |
| LOW | c/openai_server.py | 364 | CODE | |
| LOW | c/openai_server.py | 509 | CODE | |
| LOW | c/openai_server.py | 568 | CODE | |
| LOW | c/openai_server.py | 829 | CODE | |
| LOW | c/doctor.py | 34 | CODE | |
| LOW | c/resource_plan.py | 79 | CODE | |
| LOW | c/tools/eval_glm.py | 51 | CODE | |
| LOW | c/tools/expert_atlas.py | 71 | CODE | |
| LOW | c/tools/fetch_benchmarks.py | 41 | CODE | |
| LOW | c/tools/route_pairs.py | 24 | CODE | |
| LOW | c/tools/route_pairs.py | 30 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 172 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 193 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 358 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 451 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 398 | CODE | |
| LOW | c/tools/route_coupling_report.py | 40 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 169 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | c/tools/quant_ablation.py | 185 | # -------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/openai_server.py | 563 | except Exception as error: | CODE |
| LOW | c/openai_server.py | 601 | except Exception: | CODE |
| LOW | c/openai_server.py | 820 | except Exception as error: | CODE |
| MEDIUM | c/openai_server.py | 509 | def _dispatch_stdout(self): | CODE |
| MEDIUM | c/openai_server.py | 707 | def read_json(self): | CODE |
| LOW | c/tools/fetch_benchmarks.py | 61 | except Exception: continue | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 393 | except Exception: pass | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 416 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 498 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 519 | except Exception as ex: | CODE |
| LOW | c/tools/convert_fp8_to_int4.py | 530 | except Exception: pass | CODE |
| MEDIUM | c/tests/test_openai_server.py | 183 | def waiting(): | CODE |
| LOW | c/tests/test_openai_server.py | 568 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/st.h | 1 | /* Indicizzazione e lettura on-demand di tensori da piu' file safetensors. | COMMENT |
| LOW | c/glm.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | c/glm.c | 41 | #include "grammar.h" /* metodo F: draft grammaticali (#48) */ | COMMENT |
| LOW | c/glm.c | 61 | #endif | COMMENT |
| LOW | c/glm.c | 481 | #define IDOT_KERNEL "avx2" | COMMENT |
| LOW | c/backend_cuda.h | 1 | #ifndef COLIBRI_BACKEND_CUDA_H | COMMENT |
| LOW | c/backend_metal.mm | 1 | // Apple-GPU (Metal) backend for colibrì. Runtime-compiled shader (no Xcode needed), | COMMENT |
| LOW | c/compat.h | 81 | #include <windows.h> | COMMENT |
| LOW | c/iobench.c | 1 | /* Microbench: banda in lettura RANDOM con blocchi tipo-expert (~19 MB int4). | COMMENT |
| LOW | c/tools/quant_ablation.py | 161 | if skip_head and is_head_or_embed(name): | COMMENT |
| LOW | c/tools/convert_fp8_to_int4.py | 301 | out = {}; convert_shard(sp, out, a.n_layers, a.ebits, a.io_bits, a.xbits) | COMMENT |
| LOW | c/tools/bench_ux.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/tools/gen_unicode.py | 9 | CODE | |
| LOW | c/tools/convert_olmoe.py | 13 | CODE | |
| LOW | c/tools/convert_olmoe.py | 13 | CODE | |
| LOW | c/tools/convert_olmoe.py | 13 | CODE | |
| LOW | c/tools/convert_olmoe.py | 13 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 28 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 229 | CODE | |
| LOW | c/tools/convert_fp8_to_int4.py | 230 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | c/openai_server.py | 307 | # preamble makes it hallucinate other frameworks' syntax (e.g. `end_action`). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | c/openai_server.py | 1057 | CODE | |
| LOW | c/doctor.py | 34 | CODE | |
| LOW | c/resource_plan.py | 189 | CODE |