Repository Analysis

EvoMap/evolver

The GEP-powered self-evolving engine for AI agents. Auditable evolution with Genes, Capsules, and Events. | evomap.ai

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of EvoMap/evolver, a JavaScript project with 8,896 GitHub stars. SynthScan v2.0 examined 131,062 lines of code across 436 source files, recording 512 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 4.0 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).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.9K
Stars
JavaScript
Language
131.1K
Lines of Code
436
Files
512
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 11LOW 500

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

Over-Commented Block307 hits · 286 pts
SeverityFileLineSnippetContext
LOWindex.js201 process.stdout.write(token + '\n');COMMENT
LOWindex.js221// 2. Read EVOLVER_REPO_ROOT from process.env (dotenv just populated itCOMMENT
LOWindex.js301// pokeHeartbeat + SSE restart + self-driving-poll re-arm) lives inCOMMENT
LOWindex.js541// (issue #176): the session-start hook's auto-restart guard needs the exactCOMMENT
LOWindex.js561 // each see their own PID if the reads happen between their respectiveCOMMENT
LOWindex.js701 if (e && e.code === 'EPERM') {COMMENT
LOWindex.js781//COMMENT
LOWindex.js861 }COMMENT
LOWindex.js941 // deprioritises evolver when choosing an OOM victim. This is aCOMMENT
LOWindex.js981 // is no longer focused. CPU runtime caps to ~5% of one core,COMMENT
LOWindex.js1061 // All timers in a2aProtocol.js (heartbeat, drift detector, self-drivingCOMMENT
LOWindex.js1121 process.on('SIGINT', () => { shutdown(); process.exit(); });COMMENT
LOWindex.js1181 }COMMENT
LOWindex.js1201 // Real recovery delegates to a2aProtocol._runWakeRecovery soCOMMENT
LOWindex.js1221 console.error('[FATAL] Uncaught exception:', err && err.stack ? err.stack : String(err));COMMENT
LOWindex.js1241 let _rejectionTimestamps = [];COMMENT
LOWindex.js1261 // reauth backoff window (see a2aProtocol.js getHeartbeatStatsCOMMENT
LOWtest/execBridgeSpawnNpmShim.test.js1'use strict';COMMENT
LOWtest/lifecycleForceUpdateTrigger.test.js1'use strict';COMMENT
LOWtest/heartbeatResilienceRound6.test.js1// Regression coverage for the round-6 audit (2026-05-28) heartbeatCOMMENT
LOWtest/heartbeatResilienceRound6.test.js21// validator dormant, outer evolve sleepMs sitting out theCOMMENT
LOWtest/forceUpdateConcurrencyGuard.test.js1// Tests for the concurrency guard added to src/forceUpdate.js (PR #188 fix).COMMENT
LOWtest/forceUpdateConcurrencyGuard.test.js101 const stub = function () {COMMENT
LOWtest/forceUpdateConcurrencyGuard.test.js221COMMENT
LOWtest/forceUpdateLastUpdateReport.test.js661 // ForceUpdate warns. The threshold-fire moment must bypass thatCOMMENT
LOWtest/forceUpdateLastUpdateReport.test.js721 console.warn = originalWarn;COMMENT
LOWtest/forceUpdateLastUpdateReport.test.js1001 finished_at: Date.now(),COMMENT
LOWtest/evolveGuardsCooperativeYield.test.js1'use strict';COMMENT
LOWtest/hubUrlTlsEnforcementConsistency.test.js1// Multi-module TLS-enforcement consistency.COMMENT
LOWtest/hubUrlTlsEnforcementConsistency.test.js181 }COMMENT
LOWtest/adaptersSyntax.test.js1// test/adaptersSyntax.test.jsCOMMENT
LOWtest/trajectoryMarkedSessionGate.test.js1'use strict';COMMENT
LOWtest/heartbeatResilienceRound5.test.js1// Regression coverage for the round-5 audit (2026-05-28) heartbeatCOMMENT
LOWtest/heartbeatResilienceRound5.test.js21// so the cache has time to refresh.COMMENT
LOWtest/heartbeatResilienceRound5.test.js121 // gate contract by calling pokeHeartbeat() directly:COMMENT
LOWtest/sync-dedup.test.js1// End-to-end test for `node index.js sync` dedup logic.COMMENT
LOWtest/forceUpdateMidCopyWedge.test.js1const { describe, it, before, after, beforeEach } = require('node:test');COMMENT
LOWtest/assetStore.test.js181 assert.equal(loaded.epigenetic_marks, undefined, 'must not synthesize epigenetic_marks');COMMENT
LOWtest/paths.test.js541 // large enough cap recovers cwdCOMMENT
LOWtest/idleSchedulerLinuxFallbacks.test.js1'use strict';COMMENT
LOWtest/lifecycleStaleNodeSecret.test.js1'use strict';COMMENT
LOWtest/heartbeatResilienceRound4.test.js1// Regression coverage for the round-4 audit (2026-05-28) heartbeatCOMMENT
LOWtest/heartbeatResilienceRound4.test.js21// same payload. Wrap in try/catch so a sync throw never breaks theCOMMENT
LOWtest/heartbeatResilienceRound4.test.js161 });COMMENT
LOWtest/heartbeatResilienceRound4.test.js261 if (origAllow === undefined) delete process.env.EVOMAP_HUB_ALLOW_INSECURE;COMMENT
LOWtest/lifecycleNodeIdLegacyFallback.test.js1'use strict';COMMENT
LOWtest/lifecycleNodeIdUnification.test.js1'use strict';COMMENT
LOWtest/lifecycleNodeIdUnification.test.js21//COMMENT
LOWtest/lifecycleNodeIdUnification.test.js301// H4 regression: pre-hello reportForceUpdateOutcome must NOT land atCOMMENT
LOWtest/savingsCoreConformance.test.js1'use strict';COMMENT
LOWtest/hubFetch.test.js1// Tests for src/gep/hubFetch.jsCOMMENT
LOWtest/heartbeatResilienceRound8.test.js1// Regression coverage for the round-8 audit (2026-05-28) heartbeatCOMMENT
LOWtest/heartbeatResilienceRound8.test.js21// clause defeated every caller of the hook, because all callersCOMMENT
LOWtest/heartbeatResilienceRound8.test.js261 // detector body around it), then observe that test-utilityCOMMENT
LOWtest/prompt.test.js101 //COMMENT
LOWtest/heartbeatResilienceRound9.test.js1'use strict';COMMENT
LOWtest/spawnReplacementProcess.test.js1// Issue #528: Windows-friendly spawn-replacement policy.COMMENT
LOWtest/evolveCollect.test.js141 // captured at first import via getWorkspaceRoot(), so we run each scenarioCOMMENT
LOWtest/evolveCollect.test.js421 assert.ok(!/score=\? signals=\[\]/.test(out.mem),COMMENT
LOWtest/evolveCollect.test.js1181 const out = runReaderInChild(home, { EVOLVER_CURSOR_TRANSCRIPTS_DIR: overrideDir });COMMENT
247 more matches not shown…
Hyper-Verbose Identifiers166 hits · 158 pts
SeverityFileLineSnippetContext
LOWindex.js490function logTimedOutEvolveRejection(error, logFn) {CODE
LOWindex.js500function observeTimedOutEvolvePromise(evolvePromise, logFn = console.error) {CODE
LOWindex.js515async function waitForTimedOutEvolvePromise(evolvePromise, logFn = console.error) {CODE
LOWindex.js794function refuseHelloIfDaemonRunning(toolLabel) {CODE
LOWtest/forceUpdateKeepList.test.js52function makeDegitWithLocalStateFiles(version) {CODE
LOWtest/forceUpdateKeepList.test.js76function makeNpxMissingThenTarballSuccess(version) {CODE
LOWtest/forceUpdateKeepList.test.js127function makeDegitFailureThenTarballSuccess(version, degitError) {CODE
LOWtest/forceUpdateKeepList.test.js168function assertPrivateArchiveDownload(execStub) {CODE
LOWtest/forceUpdateMidCopyWedge.test.js54function makeSuccessfulDegitWithIndex(version, indexContent) {CODE
LOWtest/lifecycleStaleNodeSecret.test.js92function assertNoRawHubResponseSecrets(logText, raw) {CODE
LOWtest/a2aProtocol.test.js47function assertNoRawHubResponseSecrets(logText, raw) {CODE
LOWtest/evolveHub.test.js101async function withCleanGeneDirectiveEnv(fn) {CODE
LOWtest/spawnReplacementProcess.test.js19function loadSpawnReplacementProcess() {CODE
LOWtest/syncEngineLoopResilience.test.js105function assertNoRawHubBodySecrets(text, raw) {CODE
LOWtest/forceUpdateFailureCodes.test.js52function writeStrongEvolverMarkers() {CODE
LOWtest/forceUpdateFailureCodes.test.js143function makeDegitFailureThenTarballSuccess(version) {CODE
LOWscripts/check-changelog.js65function listReleasedVersionHeadings(text) {CODE
LOWsrc/forceUpdate.js681function isNumericPrereleaseIdentifier(value) {CODE
LOWsrc/forceUpdate.js685function compareNumericIdentifierStrings(left, right) {CODE
LOWsrc/forceUpdate.js692function comparePrereleaseIdentifiers(left, right) {CODE
LOWsrc/proxy/index.js48function canonicalCompatibleBaseUrl(raw) {CODE
LOWsrc/proxy/index.js77function allowedCompatibleBaseUrls() {CODE
LOWsrc/proxy/clientSettings.js36function isValidReusableProxyToken(value) {CODE
LOWsrc/proxy/clientSettings.js80function resolveClaudeSettingsFile(opts = {}, env = process.env) {CODE
LOWsrc/proxy/clientSettings.js147function isManagedProxyClientSettings(settings, cfg, opts = {}) {CODE
LOWsrc/proxy/clientSettings.js151function isManagedProxyUpstreamResidual(settings, cfg, baseValue, tokenValue, apiKeyValue) {CODE
LOWsrc/proxy/clientSettings.js162function safeStoredUpstreamBaseUrl(settings, cfg, value, opts = {}) {CODE
LOWsrc/proxy/clientSettings.js175function readReusableClientProxyToken(opts = {}) {CODE
LOWsrc/proxy/trace/extractor.js1179function resolveTraceBackfillMaxRows(env = process.env) {CODE
LOWsrc/proxy/trace/extractor.js1185function resolveTraceBackfillMaxScanBytes(env = process.env) {CODE
LOWsrc/proxy/trace/extractor.js1191function resolveTraceBackfillMaxEnqueueBytes(env = process.env) {CODE
LOWsrc/proxy/trace/extractor.js1352function tracePlaintextUploadAllowed(env = process.env) {CODE
LOWsrc/proxy/trace/extractor.js1356function secretVersionTraceDecryptAllowed(record, env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js1363function isProxyTraceUploadPayloadAllowed(payload, env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js125function readTraceCollectionEnabled(env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js149function readTraceNodeSecretVersionDecryptEnabled(env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js265function resolveEvomapNodeSecretVersion(env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js299function resolveTraceKeyFromEvomapSecret(env = process.env, ctx = {}) {CODE
LOWsrc/proxy/trace/extractor.js683function compactStreamEventFromText(text) {CODE
LOWsrc/proxy/trace/extractor.js710function geminiStreamEventHasToolPart(evt) {CODE
LOWsrc/proxy/trace/extractor.js724function streamEventHasSemanticValue(evt) {CODE
LOWsrc/proxy/trace/extractor.js768function recordOversizedStreamLine(acc, usage, line) {CODE
LOWsrc/proxy/trace/extractor.js780function appendOversizedStreamText(current, chunk, maxBytes = STREAM_OVERSIZED_LINE_CAPTURE_MAX) {CODE
LOWsrc/proxy/trace/extractor.js788function appendBoundedRawStreamCapture(capture, chunk, maxBytes) {CODE
LOWsrc/proxy/trace/extractor.js869function userAccountKeyFromIdentityField(value) {CODE
LOWsrc/proxy/trace/extractor.js1116function isMissingTraceSecretError(err) {CODE
LOWsrc/proxy/trace/extractor.js1262function isOptionalNonNegativeSafeInteger(value) {CODE
LOWsrc/proxy/trace/extractor.js1483function shouldWarnTraceUploadSkipped(logger, reason, now = Date.now()) {CODE
LOWsrc/proxy/trace/extractor.js1688function collectExistingTraceUploadFingerprints(store, maxRows = 10_000) {CODE
LOWsrc/proxy/trace/extractor.js1713function backfillProxyTraceUploads(opts = {}) {CODE
LOWsrc/proxy/mailbox/state.js88function isHubRotatedNodeSecretState(state) {CODE
LOWsrc/proxy/mailbox/state.js100function isFullNodeSecretTupleUpdate(updatedSet) {CODE
LOWsrc/proxy/mailbox/state.js104function canApplyPartialNodeSecretTupleWrite(key, disk, next) {CODE
LOWsrc/proxy/mailbox/state.js157function writeMergedMailboxStateFile(stateFile, nextState, updatedKeys) {CODE
LOWsrc/proxy/lifecycle/manager.js400function matchSecretDivergenceReason(value) {CODE
LOWsrc/proxy/lifecycle/manager.js406function extractSecretDivergenceReason(data) {CODE
LOWsrc/proxy/lifecycle/manager.js439function normalizeNodeSecretEnvSuppression(value) {CODE
LOWsrc/proxy/extensions/traceControl.js19function canonicalTraceConfigPayload(payload = {}) {CODE
LOWsrc/proxy/extensions/traceControl.js30function verifyTraceConfigSignature(payload = {}, env = process.env) {CODE
LOWsrc/proxy/sync/outbound.js39function resolveHardOutboundBodyBytes(env = process.env) {CODE
106 more matches not shown…
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtest/rollbackSafety.test.js96// Reading the source directly is robust and unambiguous about what theCOMMENT
MEDIUMsrc/proxy/lifecycle/manager.js305 // keeps this robust against partial test mocks of forceUpdate that stubCOMMENT
MEDIUMsrc/adapters/scripts/_runtimePaths.js359// secret file paths.js uses, so installing the package later is seamless.COMMENT
MEDIUMsrc/gep/a2aProtocol.js3374 // keeps this robust against partial test mocks of forceUpdate that stubCOMMENT
MEDIUMsrc/gep/trajectoryExport.js2178// session_id/id field plus the filename uuid, so the marking join is robust toCOMMENT
MEDIUMsrc/gep/validator/sandboxExecutor.js111 // Reject shell metacharacters that would give injection leverage even withCOMMENT
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtest/webuiServer.test.js96 // Cursor agentic security review (HIGH): matchPath used to callCOMMENT
MEDIUMtest/webuiObserver.test.js179 // Cursor agentic security review (MEDIUM): /webui/status used toCOMMENT
MEDIUMtest/webuiObserver.test.js205 // Cursor agentic security review (HIGH): the original SECRET_TEXT_RECOMMENT
MEDIUMsrc/gep/skill2gepAudit.js34// Generic English / Python / benchmark-scaffold stopwords. NOT domain-specific.COMMENT
MEDIUMsrc/gep/execBridge.js525 // Verified on-box 2026-06-03 (flags/sandbox/framing; the live agentic turn wasCOMMENT
Verbosity Indicators8 hits · 13 pts
SeverityFileLineSnippetContext
LOWindex.js228 // Step 1: load .env from process.cwd() before any internal require.COMMENT
LOWtest/forceUpdateLastUpdateReport.test.js318 // Step 1: persist the FIRST outcome and start a heartbeat that capturesCOMMENT
LOWtest/forceUpdateLastUpdateReport.test.js330 // Step 2: while the hub call is "in flight" (before our fetchResponderCOMMENT
LOWsrc/gep/skillDistiller.js68// Step 1: collectDistillationDataCOMMENT
LOWsrc/gep/skillDistiller.js126// Step 2: analyzePatternsCOMMENT
LOWsrc/gep/skillDistiller.js191// Step 3: LLM response parsingCOMMENT
LOWsrc/gep/skillDistiller.js398// Step 4: sanitizeSignalsMatch -- strip timestamps, random suffixes, tool namesCOMMENT
LOWsrc/gep/skillDistiller.js426// Step 4: validateSynthesizedGeneCOMMENT
Structural Annotation Overuse8 hits · 13 pts
SeverityFileLineSnippetContext
LOWindex.js228 // Step 1: load .env from process.cwd() before any internal require.COMMENT
LOWtest/forceUpdateLastUpdateReport.test.js318 // Step 1: persist the FIRST outcome and start a heartbeat that capturesCOMMENT
LOWtest/forceUpdateLastUpdateReport.test.js330 // Step 2: while the hub call is "in flight" (before our fetchResponderCOMMENT
LOWsrc/gep/skillDistiller.js68// Step 1: collectDistillationDataCOMMENT
LOWsrc/gep/skillDistiller.js126// Step 2: analyzePatternsCOMMENT
LOWsrc/gep/skillDistiller.js191// Step 3: LLM response parsingCOMMENT
LOWsrc/gep/skillDistiller.js398// Step 4: sanitizeSignalsMatch -- strip timestamps, random suffixes, tool namesCOMMENT
LOWsrc/gep/skillDistiller.js426// Step 4: validateSynthesizedGeneCOMMENT
Fake / Example Data10 hits · 12 pts
SeverityFileLineSnippetContext
LOWtest/solidifyIntegration.test.js63 execSync('git config user.email "test@test.com"', { cwd: tmpDir, stdio: 'ignore' });CODE
LOWtest/trajectoryExport.test.js3156 authorization: 'placeholder',CODE
LOWtest/trajectoryExport.test.js3162 headers: { 'set-cookie': 'placeholder', 'x-trace-id': 'trace-1' },CODE
LOWtest/trajectoryExport.test.js3210 metadata: { source: 'raw-fixture', authorization: 'placeholder' },CODE
LOWtest/trajectoryExport.test.js3215 source_record: { authorization: 'placeholder', raw: 'source' },CODE
LOWtest/trajectoryExport.test.js3216 raw_row: { cookie: 'placeholder', raw: 'row' },CODE
LOWtest/trajectoryExport.test.js3217 headers: { 'set-cookie': 'placeholder', 'x-upstream': 'ok' },CODE
LOWtest/sanitize.test.js16assert.strictEqual(redactString('user@example.com'), REDACTED);CODE
LOWtest/proxyOutboundSync.test.js400 const fakeToken = 'fake-token-413-abcdefghijklmnopqrstuvwxyz';CODE
LOWtest/proxyOutboundSync.test.js443 const fakeToken = 'fake-token-retry-abcdefghijklmnopqrstuvwxyz';CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtest/experimentComparison.test.js273 assert.ok(res.data.arms.baseline.resultText.includes('[REDACTED]'));CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/signalDetect.test.js63 const input = 'The system failed because:\n// TODO: Handle error cases\n// Need to catch exceptions\nActual error: conCODE