Repository Analysis

gruns/icecream

🍦 Never use print() to debug again.

16.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gruns/icecream, a Python project with 10,102 GitHub stars. SynthScan v2.0 examined 3,689 lines of code across 21 source files, recording 58 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 16.4 places this repository in the Moderate 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).

16.4
Adjusted Score
16.4
Raw Score
100%
Time Factor
2026-07-27
Last Push
10.1K
Stars
Python
Language
3.7K
Lines of Code
21
Files
58
Pattern Hits
2026-08-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 6LOW 52

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 58 distinct pattern matches across 7 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.

Hyper-Verbose Identifiers33 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/test_icecream.py438 def test_multiline_value_wrapped(self):CODE
LOWtests/test_icecream.py446 def test_include_context_single_line(self):CODE
LOWtests/test_icecream.py455 def test_context_abs_path_single_line(self):CODE
LOWtests/test_icecream.py544 def test_no_source_available_issues_exactly_one_warning(self):CODE
LOWtests/test_icecream.py553 def test_single_tuple_argument(self):CODE
LOWtests/test_icecream.py560 def test_flat_medium_list_prints_on_one_line(self):CODE
LOWtests/test_icecream.py64def configure_icecream_output(prefix=None, outputFunction=None,CODE
LOWtests/test_icecream.py260 def test_expression_arguments(self):CODE
LOWtests/test_icecream.py275 def test_multiple_calls_on_same_line(self):CODE
LOWtests/test_icecream.py282 def test_call_surrounded_by_expressions(self):CODE
LOWtests/test_icecream.py330 def test_prefix_configuration(self):CODE
LOWtests/test_icecream.py381 def test_arg_to_string_function(self):CODE
LOWtests/test_icecream.py392 def test_singledispatch_argument_to_string(self):CODE
LOWtests/test_icecream.py410 def test_single_argument_long_line_not_wrapped(self):CODE
LOWtests/test_icecream.py419 def test_multiple_arguments_long_line_wrapped(self):CODE
LOWtests/test_icecream.py473 def test_include_context_multi_line(self):CODE
LOWtests/test_icecream.py485 def test_context_abs_path_multi_line(self):CODE
LOWtests/test_icecream.py505 def test_multiline_invocation_with_comments(self):CODE
LOWtests/test_icecream.py520 def test_no_source_available_prints_values(self):CODE
LOWtests/test_icecream.py530 def test_no_source_available_prints_multiline(self):CODE
LOWtests/test_icecream.py574 def test_multiline_container_args(self):CODE
LOWtests/test_icecream.py616 def test_multiple_tuple_arguments(self):CODE
LOWtests/test_icecream.py630 def test_configure_output_with_no_parameters(self):CODE
LOWtests/test_icecream.py634 def test_multiline_strings_output(self):CODE
LOWtests/test_icecream.py663 def test_sympy_dict_keys_do_not_crash(self):CODE
LOWtests/test_icecream.py684 def test_non_ascii_characters_no_syntax_highlighting(self):CODE
LOWtests/test_icecream.py708 def test_sympy_solve_result_does_not_crash(self):CODE
LOWtests/test_icecream.py727 def test_no_color_disables_coloring(self):CODE
LOWtests/test_icecream.py740 def test_no_color_with_use_stdout(self):CODE
LOWtests/test_icecream.py755 def test_no_color_with_use_stderr(self):CODE
LOWtests/test_icecream.py788 def test_no_color_with_explicit_output_function(self):CODE
LOWicecream/icecream.py212 def get_text_with_indentation(self, node: ast.expr) -> str:CODE
LOWicecream/icecream.py230def prefix_first_line_indent_remaining(prefix: str, s: str) -> List[str]:CODE
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMfailures-to-investigate/freshsales3.py365CODE
MEDIUMfailures-to-investigate/freshsales3.py366CODE
MEDIUMfailures-to-investigate/freshsales.py345CODE
MEDIUMfailures-to-investigate/freshsales.py346CODE
MEDIUMfailures-to-investigate/freshsales2.py358CODE
MEDIUMfailures-to-investigate/freshsales2.py359CODE
Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippetContext
LOWsetup.py1#!/usr/bin/env python3COMMENT
LOWtests/install_test_import.py1# -*- coding: utf-8 -*-COMMENT
LOWicecream/coloring.py1# -*- coding: utf-8 -*-COMMENT
LOWicecream/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWicecream/icecream.py1#!/usr/bin/env pythonCOMMENT
LOWicecream/icecream.py381 return outCOMMENT
LOWfailures-to-investigate/freshsales3.py21COMMENT
LOWfailures-to-investigate/freshsales.py21COMMENT
LOWfailures-to-investigate/freshsales2.py21COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWicecream/__init__.py13CODE
LOWicecream/__init__.py14CODE
LOWicecream/__init__.py14CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWicecream/icecream.py218CODE
LOWicecream/icecream.py339CODE
LOWicecream/icecream.py381CODE
Excessive Try-Catch Wrapping3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_icecream.py668 except Exception:CODE
LOWtests/test_icecream.py713 except Exception:CODE
LOWicecream/icecream.py110 except Exception:CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWicecream/icecream.py484CODE