Repository Analysis

jetify-com/devbox

Instant, easy, and predictable development environments

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jetify-com/devbox, a Go project with 12,171 GitHub stars. SynthScan v2.0 examined 49,635 lines of code across 707 source files, recording 97 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written 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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.2K
Stars
Go
Language
49.6K
Lines of Code
707
Files
97
Pattern Hits
2026-07-14
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

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.

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 1HIGH 0MEDIUM 8LOW 88

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 97 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.

Over-Commented Block79 hits · 79 pts
SeverityFileLineSnippetContext
LOWnix/nix.go181// It's been modified to tolerate Nix prerelease versions, which don't have aCOMMENT
LOWnix/nix.go221 // StateDir is the path to the Nix state directory, usuallyCOMMENT
LOWnix/nix.go301COMMENT
LOWnix/command.go21// improved error messages, graceful cancellation, and debug logging viaCOMMENT
LOWnix/flake/flakeref.go21 TypeGitHub = "github"COMMENT
LOWnix/flake/flakeref.go81COMMENT
LOWnix/flake/flakeref.go321 // (which defaults to true), so we have to be conservative andCOMMENT
LOWnix/flake/flakeref.go341//COMMENT
LOWnix/flake/flakeref.go601COMMENT
LOWnix/flake/flakeref.go621type Installable struct {COMMENT
LOWtestscripts/basic/install_hello.test.txt21# As is, we always print 'Ensuring packages are installed'.COMMENT
LOWtestscripts/languages/python_patch_cuda.test.txt1# Python Patch CUDA TestCOMMENT
LOWtestscripts/add/add_insecure.tst.txt1# Tests installing an insecure package.COMMENT
LOWinternal/boxcli/run.go241 _ = cmd.InheritedFlags() // bug in cobra requires this to be called to ensure flags contains inherited flags.COMMENT
LOWinternal/boxcli/featureflag/impure_print_dev_env.go1// Copyright 2024 Jetify Inc. and contributors. All rights reserved.COMMENT
LOWinternal/searcher/model.go61 Systems map[string]struct {COMMENT
LOWinternal/fileutil/fileutil.go21//COMMENT
LOWinternal/nix/doc.go1// Copyright 2024 Jetify Inc. and contributors. All rights reserved.COMMENT
LOWinternal/nix/nixprofile/item.go21 // This field is used instead of index for `list`, `remove` and `upgrade` subcommands of `nix profile`.COMMENT
LOWinternal/shellgen/doc.go1package shellgenCOMMENT
LOWinternal/devpkg/package.go41 // If package triggers a built-in plugin, setting this to true will disable it.COMMENT
LOWinternal/devpkg/package.go61 // installable returned by the search index (/v1/resolve).COMMENT
LOWinternal/devpkg/package.go801 // flake output attribute 'legacyPackages.x86_64-darwin.glibcLocales' is not a derivation or pathCOMMENT
LOWinternal/setup/setup.go41COMMENT
LOWinternal/setup/setup.go121COMMENT
LOWinternal/lock/resolve.go221 // don't need to download the nixpkgs source for cached packages. If theCOMMENT
LOWinternal/redact/redact.go1// Copyright 2024 Jetify Inc. and contributors. All rights reserved.COMMENT
LOWinternal/redact/redact.go21// redactable. A redactable error defines an alternative message for itsCOMMENT
LOWinternal/redact/redact.go41// }COMMENT
LOWinternal/redact/redact.go101 return &redactedError{COMMENT
LOWinternal/devbox/packages.go281 install installMode = "install"COMMENT
LOWinternal/devbox/devbox.go301 // my fileCOMMENT
LOWinternal/devbox/devbox.go681// prompt.COMMENT
LOWinternal/devbox/shellcmd/command.go41// value such that:COMMENT
LOWinternal/devbox/envpath/stack.go21// 1. The stack enables tracking which sub-paths in PATH come from which devbox-projectCOMMENT
LOWinternal/patchpkg/elf.go61COMMENT
LOWinternal/patchpkg/builder.go441// lookPath is like [exec.lookPath], but first checks if there's an environmentCOMMENT
LOWinternal/devconfig/configfile/ast.go21// automatically be marshaled back to JSON. Support for modifying a part ofCOMMENT
LOWinternal/devconfig/configfile/ast.go41 root, err := hujson.Parse(b)COMMENT
LOWinternal/devconfig/configfile/file.go41COMMENT
LOWinternal/conf/doc.go1// Copyright 2024 Jetify Inc. and contributors. All rights reserved.COMMENT
LOWinternal/cuecfg/doc.go1// Copyright 2024 Jetify Inc. and contributors. All rights reserved.COMMENT
LOWexamples/stacks/jekyll/myblog/_config.yml1# Welcome to Jekyll!COMMENT
LOWexamples/stacks/jekyll/myblog/_config.yml41# - vendor/cache/COMMENT
LOWexamples/stacks/drupal/web/robots.txt1#COMMENT
LOW…mples/stacks/drupal/web/sites/development.services.yml1# Local development services.COMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml1parameters:COMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml21 # is deleted, authenticated users are logged out, and the contents of theCOMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml41 # @default noneCOMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml61 # ","). The PHP recommended value is 6. SeeCOMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml81 # - The dump() function can be used in Twig templates to output informationCOMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml101 # Twig cache:COMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml121 allowed_file_extensions:COMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml141 # users. If you know what the high-cardinality cache contexts are for yourCOMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml161 #COMMENT
LOW…s/stacks/drupal/web/sites/default/default.services.yml181 # https://www.drupal.org/developing/api/8/response/cacheable-response-interfaceCOMMENT
LOW…amples/stacks/rails/blog/app/assets/config/manifest.js1//= link_tree ../imagesCOMMENT
LOW…log/test/channels/application_cable/connection_test.rb1require "test_helper"COMMENT
LOWexamples/stacks/rails/blog/config/storage.yml1test:COMMENT
LOWexamples/stacks/rails/blog/config/storage.yml21# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>COMMENT
19 more matches not shown…
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…s/rails/blog/config/initializers/permissions_policy.rb1# Define an application-wide HTTP permissions policy. For furtherCOMMENT
MEDIUM…ls/blog/config/initializers/content_security_policy.rb3# Define an application-wide content security policy.COMMENT
MEDIUMexamples/stacks/rails/blog/db/schema.rb1# This file is auto-generated from the current state of the database. InsteadCOMMENT
MEDIUMexamples/stacks/rails/blog/db/schema.rb5# This file is the source Rails uses to define your schema when running `bin/railsCOMMENT
MEDIUMexamples/data_science/R/src/examplePlot.R13 geom_point() + # Create a scatter plotCODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/random-reviewer-assignment.yml32 const prAuthor = context.payload.pull_request.user.login.toLowerCase();CODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMinternal/shellgen/generate.go114 // Definitely a new file if we had to make the directory.COMMENT
MEDIUMinternal/devconfig/configfile/env.go25 // before calling this method. But having it makes it more robustCOMMENT
MEDIUMexamples/development/haskell/my-project/stack.yaml4# For advanced use and comprehensive documentation of the format, please see:COMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWplugins/python/venvShellHook.sh25# Check if the directory existsCOMMENT
LOWplugins/python/venvShellHook.sh28 # Check if we've already run this scriptCOMMENT
LOW…es/stacks/rails/blog/config/environments/production.rb68 # Set this to true and configure the email server for immediate delivery to raise delivery errors.COMMENT
LOW.github/workflows/cli-tests.yaml298 # Check if file exists, create directory if neededCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/stacks/django/todo_project/todo_app/admin.py1CODE
LOWexamples/stacks/django/todo_project/todo_app/tests.py1CODE
LOW…les/cloud_development/temporal/hello/hello_activity.py2CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/stacks/lepp-stack/setup_postgres_db.sql24INSERT INTO address_book (first_name, last_name, phone, email) VALUES ('Jim', 'Hawkins', '555-0100', 'jhawk@jetpack.io')CODE
LOWexamples/stacks/lapp-stack/setup_postgres_db.sql24INSERT INTO address_book (first_name, last_name, phone, email) VALUES ('Jim', 'Hawkins', '555-0100', 'jhawk@jetpack.io')CODE