Repository Analysis

stdlib-js/stdlib

✨ The fundamental numerical library for JavaScript and TypeScript. ✨

30.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of stdlib-js/stdlib, a JavaScript project with 5,891 GitHub stars. SynthScan v2.0 examined 83,056 lines of code across 538 source files, recording 716 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 30.8 places this repository in the Strong 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).

30.8
Adjusted Score
30.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.9K
Stars
JavaScript
Language
83.1K
Lines of Code
538
Files
716
Pattern Hits
2026-07-14
Scan Date
0.02
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 9MEDIUM 574LOW 133

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 716 distinct pattern matches across 9 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.

Self-Referential Comments572 hits · 2354 pts
SeverityFileLineSnippetContext
MEDIUMazure-pipelines-disabled.yml19# Define the triggers which will cause a build to run:COMMENT
MEDIUMazure-pipelines-disabled.yml98 # Define a display name for use in the UI:COMMENT
MEDIUMazure-pipelines-disabled.yml114 # Define the maximum number of parallel jobs:COMMENT
MEDIUMazure-pipelines-disabled.yml151 # Define a UI display name:COMMENT
MEDIUMazure-pipelines-disabled.yml154 # Define a task-specific timeout:COMMENT
MEDIUMazure-pipelines-disabled.yml157 # Define the Node.js version to install:COMMENT
MEDIUMazure-pipelines-disabled.yml164 # Define a UI display name:COMMENT
MEDIUMazure-pipelines-disabled.yml167 # Define a task-specific timeout:COMMENT
MEDIUMazure-pipelines-disabled.yml179 # Define a UI display name:COMMENT
MEDIUMazure-pipelines-disabled.yml182 # Define a task-specific timeout:COMMENT
MEDIUMazure-pipelines-disabled.yml185 # Define the task inputs:COMMENT
MEDIUM.travis.yml120# Define the build steps:COMMENT
MEDIUM.travis.yml125# Define the steps to run after completing the build steps:COMMENT
MEDIUM.github/workflows/markdown_related_packages.yml44 # Define a job for updating the related packages section of READMEs:COMMENT
MEDIUM.github/workflows/markdown_related_packages.yml47 # Define a display name:COMMENT
MEDIUM.github/workflows/markdown_related_packages.yml53 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/markdown_related_packages.yml56 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/markdown_related_packages.yml155 # Create a pull request with the changes:COMMENT
MEDIUM.github/workflows/markdown_equations.yml39 # Define a job for updating equations in Markdown files...COMMENT
MEDIUM.github/workflows/markdown_equations.yml42 # Define a display name:COMMENT
MEDIUM.github/workflows/markdown_equations.yml48 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/markdown_equations.yml51 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/markdown_equations.yml182 # Create a pull request with the updated equations:COMMENT
MEDIUM.github/workflows/macos_test.yml48 # Define a job for running unit tests on macOS...COMMENT
MEDIUM.github/workflows/macos_test.yml51 # Define a display name:COMMENT
MEDIUM.github/workflows/macos_test.yml57 # Define the type of virtual host machine on which to run the job:COMMENT
MEDIUM.github/workflows/macos_test.yml75 # Define the build matrix strategy...COMMENT
MEDIUM.github/workflows/macos_test.yml81 # Define the build matrix:COMMENT
MEDIUM.github/workflows/macos_test.yml84 # Define the list of build tasks:COMMENT
MEDIUM.github/workflows/macos_test.yml87 # Define the list of Node.js versions:COMMENT
MEDIUM.github/workflows/macos_test.yml92 # Define the list of operating systems:COMMENT
MEDIUM.github/workflows/macos_test.yml133 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/macos_test.yml243 # Define a name for the uploaded artifact (ensuring a unique name for each job):COMMENT
MEDIUM.github/workflows/macos_test.yml253 # Define a job for sending notifications to Zulip...COMMENT
MEDIUM.github/workflows/macos_test.yml256 # Define a display name:COMMENT
MEDIUM.github/workflows/macos_test.yml259 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/macos_test.yml274 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/linux_benchmark.yml50 # Define a job for running benchmarks on Linux...COMMENT
MEDIUM.github/workflows/linux_benchmark.yml53 # Define a display name:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml56 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml78 # Define the build matrix strategy...COMMENT
MEDIUM.github/workflows/linux_benchmark.yml84 # Define the build matrix:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml87 # Define the list of build tasks:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml90 # Define the list of Node.js versions on which to run this job:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml93 # Define the list of operating systems on which to run this job:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml134 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/linux_benchmark.yml257 # Define a name for the uploaded artifact (ensuring a unique name for each job):COMMENT
MEDIUM.github/workflows/linux_benchmark.yml267 # Define a job for sending notifications to Zulip...COMMENT
MEDIUM.github/workflows/linux_benchmark.yml270 # Define a display name:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml273 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/linux_benchmark.yml288 # Define the sequence of job steps...COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml26 # Define the input parameters for the workflow:COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml39 # Define the input parameters for the workflow:COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml50 # Define the secrets accessible by the workflow:COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml65 # Define a job to create a Git note amending a commit message:COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml71 # Define the type of virtual host machine:COMMENT
MEDIUM.github/workflows/git_note_filter_packages.yml74 # Define the sequence of job steps:COMMENT
MEDIUM.github/workflows/markdown_tocs.yml39 # Define a job for updating namespace table of contents...COMMENT
MEDIUM.github/workflows/markdown_tocs.yml42 # Define a display name:COMMENT
MEDIUM.github/workflows/markdown_tocs.yml48 # Define the type of virtual host machine:COMMENT
512 more matches not shown…
Over-Commented Block99 hits · 98 pts
SeverityFileLineSnippetContext
LOW.codecov.yml1#/COMMENT
LOWazure-pipelines-disabled.yml1#/COMMENT
LOW.travis.yml1#/COMMENT
LOWtools/snippets/benchmark/python/benchmark.py1#!/usr/bin/env pythonCOMMENT
LOWtools/snippets/benchmark/python/numpy/benchmark.py1#!/usr/bin/env pythonCOMMENT
LOWtools/snippets/benchmark/python/scipy/benchmark.py1#!/usr/bin/env pythonCOMMENT
LOWtools/snippets/benchmark/r/benchmark.R1#!/usr/bin/env RscriptCOMMENT
LOWtools/snippets/benchmark/r/benchmark.R41 #'COMMENT
LOWtools/snippets/benchmark/r/benchmark.R61 #' @examplesCOMMENT
LOWtools/lint/r/linter.R1#!/usr/bin/env RscriptCOMMENT
LOWtools/scripts/install_r_pkgs.R1#!/usr/bin/env RscriptCOMMENT
LOW.github/labeler.yml1#/COMMENT
LOW.github/dependabot.yml1#/COMMENT
LOW.github/workflows/markdown_related_packages.yml1#/COMMENT
LOW.github/workflows/markdown_equations.yml1#/COMMENT
LOW.github/workflows/macos_test.yml1#/COMMENT
LOW.github/workflows/macos_test.yml101 NPM_VERSION: '>2.7.0 <10.0.0'COMMENT
LOW.github/workflows/linux_benchmark.yml1#/COMMENT
LOW.github/workflows/git_note_filter_packages.yml1#/COMMENT
LOW.github/workflows/markdown_tocs.yml1#/COMMENT
LOW.github/workflows/check_merge_conflicts_prs.yml1#/COMMENT
LOW.github/workflows/track_todos.yml1#/COMMENT
LOW.github/workflows/linux_test.yml1#/COMMENT
LOW.github/workflows/process_metadata.yml1#/COMMENT
LOW.github/workflows/labeler.yml1#/COMMENT
LOW.github/workflows/lint_copyright_years.yml1#/COMMENT
LOW.github/workflows/generate_monthly_changelog.yml1#/COMMENT
LOW.github/workflows/macos_test_cov.yml1#/COMMENT
LOW.github/workflows/check_duplicate_prs.yml1#/COMMENT
LOW.github/workflows/standalone_publish.yml1#/COMMENT
LOW.github/workflows/check_licenses.yml1#/COMMENT
LOW.github/workflows/too_many_good_first_prs.yml1#/COMMENT
LOW.github/workflows/pr_commands_comment.yml1#/COMMENT
LOW.github/workflows/publish_coverage_pr.yml1#/COMMENT
LOW.github/workflows/codeql.yml1#/COMMENT
LOW.github/workflows/codeql.yml41COMMENT
LOW.github/workflows/codeql.yml81 # CodeQL supports the following languages:COMMENT
LOW.github/workflows/update_error_databases.yml1#/COMMENT
LOW.github/workflows/create_todo_issue.yml1#/COMMENT
LOW.github/workflows/lint_random_files.yml1#/COMMENT
LOW.github/workflows/update_repl_docs.yml1#/COMMENT
LOW.github/workflows/check_tracking_issue_closure.yml1#/COMMENT
LOW.github/workflows/pr_merge_develop.yml1#/COMMENT
LOW…hub/workflows/create_address_commit_comment_issues.yml1#/COMMENT
LOW.github/workflows/lint_pr_title.yml1#/COMMENT
LOW.github/workflows/namespace_declarations.yml1#/COMMENT
LOW.github/workflows/macos_benchmark.yml1#/COMMENT
LOW.github/workflows/standalone_publish_custom.yml1#/COMMENT
LOW.github/workflows/check_required_files.yml1#/COMMENT
LOW.github/workflows/terminal.yml1#/COMMENT
LOW.github/workflows/merge_ready_prs.yml1#/COMMENT
LOW.github/workflows/update_pr_copyright_years.yml1#/COMMENT
LOW.github/workflows/markdown_pkg_urls.yml1#/COMMENT
LOW.github/workflows/ossf_scorecard.yml1#/COMMENT
LOW.github/workflows/standalone_push_changes.yml1#/COMMENT
LOW.github/workflows/generate_pr_commit_message.yml1#/COMMENT
LOW.github/workflows/linux_test_install.yml1#/COMMENT
LOW.github/workflows/label_good_first_prs.yml1#/COMMENT
LOW.github/workflows/run_tests_coverage_pr.yml1#/COMMENT
LOW.github/workflows/slash_commands.yml1#/COMMENT
39 more matches not shown…
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHtools/snippets/benchmark/python/benchmark.py0print the benchmark summary. # arguments * `total`: total number of tests * `passing`: number of passing testsSTRING
HIGHtools/snippets/benchmark/python/numpy/benchmark.py0print the benchmark summary. # arguments * `total`: total number of tests * `passing`: number of passing testsSTRING
HIGHtools/snippets/benchmark/python/scipy/benchmark.py0print the benchmark summary. # arguments * `total`: total number of tests * `passing`: number of passing testsSTRING
HIGHtools/snippets/benchmark/python/benchmark.py0print benchmark results. # arguments * `iterations`: number of iterations * `elapsed`: elapsed time (in seconds) # exampSTRING
HIGHtools/snippets/benchmark/python/numpy/benchmark.py0print benchmark results. # arguments * `iterations`: number of iterations * `elapsed`: elapsed time (in seconds) # exampSTRING
HIGHtools/snippets/benchmark/python/scipy/benchmark.py0print benchmark results. # arguments * `iterations`: number of iterations * `elapsed`: elapsed time (in seconds) # exampSTRING
HIGHtools/snippets/benchmark/python/benchmark.py0run the benchmark and print benchmark results. # arguments * `name`: benchmark name (suffix) * `setup`: benchmark setup STRING
HIGHtools/snippets/benchmark/python/numpy/benchmark.py0run the benchmark and print benchmark results. # arguments * `name`: benchmark name (suffix) * `setup`: benchmark setup STRING
HIGHtools/snippets/benchmark/python/scipy/benchmark.py0run the benchmark and print benchmark results. # arguments * `name`: benchmark name (suffix) * `setup`: benchmark setup STRING
Structural Annotation Overuse12 hits · 20 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md107#### Step 0: GitHubCOMMENT
LOWCONTRIBUTING.md111#### Step 1: ForkCOMMENT
LOWCONTRIBUTING.md165#### Step 2: Initial SetupCOMMENT
LOWCONTRIBUTING.md185#### Step 3: BranchCOMMENT
LOWCONTRIBUTING.md197#### Step 4: WriteCOMMENT
LOWCONTRIBUTING.md201#### Step 5: CommitCOMMENT
LOWCONTRIBUTING.md223#### Step 6: SyncCOMMENT
LOWCONTRIBUTING.md239#### Step 7: TestCOMMENT
LOWCONTRIBUTING.md257#### Step 8: PushCOMMENT
LOWCONTRIBUTING.md269#### Step 9: Pull RequestCOMMENT
LOWCONTRIBUTING.md321#### Step 10: LandCOMMENT
LOWCONTRIBUTING.md327#### Step 11: CelebrateCOMMENT
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippetContext
LOW.github/workflows/lint_copyright_years.yml100 # Check if file contains stdlib copyright notice:COMMENT
LOW.github/workflows/update_error_databases.yml93 # Check if there are any changes to the error databases:COMMENT
LOW.github/workflows/update_error_databases.yml120 # Check if the table length exceeds a maximum length:COMMENT
LOW.github/workflows/namespace_declarations.yml132 # Check if there are changes:COMMENT
LOW.github/workflows/check_required_files.yml153 # Iterate over the list of required files:COMMENT
LOW.github/workflows/generate_pr_commit_message.yml88 # Check if the commit message already exists in the PR comments:COMMENT
LOW.github/workflows/slash_commands.yml340 # Check if any previous job failed and post a comment:COMMENT
LOW.github/workflows/update_math_scaffold_databases.yml99 # Check if there are any changes to the unary database:COMMENT
LOW.github/workflows/lint_changed_files.yml410 # Check if the test file exists and isn't already in the list:COMMENT
Fake / Example Data9 hits · 14 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md208$ git config --global user.name "Jane Doe"CODE
LOWetc/eslint/rules/stdlib.js1310* * ## Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligulaCOMMENT
LOWetc/eslint/rules/stdlib.js1310* * ## Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligulaCOMMENT
LOWetc/eslint/rules/stdlib.js1329* * ## Lorem ipsum dolor sit amet, consectetuer adipiscing elitCOMMENT
LOWetc/eslint/rules/stdlib.js1329* * ## Lorem ipsum dolor sit amet, consectetuer adipiscing elitCOMMENT
LOWetc/eslint/rules/stdlib.js1357* * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget * dolor. Aenean massa.COMMENT
LOWetc/eslint/rules/stdlib.js1357* * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget * dolor. Aenean massa.COMMENT
LOWetc/eslint/rules/stdlib.js1373* * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.COMMENT
LOWetc/eslint/rules/stdlib.js1373* * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.COMMENT
Modern AI Meta-Vocabulary2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtools/make/lib/scaffold/README.md47#### scaffoldCOMMENT
MEDIUM.github/workflows/update_math_scaffold_databases.yml47 # Define a job for updating databases which are used for scaffolding mathematical packages...COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/snippets/benchmark/python/benchmark.py21CODE
LOWtools/snippets/benchmark/python/numpy/benchmark.py21CODE
LOWtools/snippets/benchmark/python/scipy/benchmark.py21CODE
Overly Generic Function Names1 hit · 2 pts
SeverityFileLineSnippetContext
LOWetc/eslint/rules/typescript.js437* export function doSomething() {}COMMENT