Repository Analysis

steipete/oracle

Ask the oracle when you're stuck. Invoke GPT-5 Pro with a custom context and files.

4.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of steipete/oracle, a TypeScript project with 3,262 GitHub stars. SynthScan v2.0 examined 104,781 lines of code across 401 source files, recording 437 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 4.4 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.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-07-13
Last Push
3.3K
Stars
TypeScript
Language
104.8K
Lines of Code
401
Files
437
Pattern Hits
2026-07-14
Scan Date
0.01
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 4MEDIUM 2LOW 431

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 437 distinct pattern matches across 6 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 Identifiers410 hits · 398 pts
SeverityFileLineSnippetContext
LOWbin/oracle-cli.ts960function addProjectSourcesCommonOptions(command: Command): Command {CODE
LOWbin/oracle-cli.ts1415function validateApiProviderRoutingForCli(runOptions: RunOracleOptions): void {CODE
LOWbin/oracle-cli.ts1453function resolveHeartbeatIntervalMs(seconds: number | undefined): number | undefined {CODE
LOWbin/oracle-cli.ts1528async function suggestFollowupSessionIds(input: string, limit = 3): Promise<string[]> {CODE
LOWbin/oracle-cli.ts1590function extractResponseIdFromSession(CODE
LOWbin/oracle-cli.ts1629function buildRunOptionsFromMetadata(metadata: SessionMetadata): RunOracleOptions {CODE
LOWbin/oracle-cli.ts1677function getBrowserConfigFromMetadata(metadata: SessionMetadata): BrowserSessionConfig | undefined {CODE
LOWbin/oracle-cli.ts2786function resolveRestartWaitPreference({CODE
LOWbin/oracle-cli.ts2803function resolveEffectiveModelIdForRun(model: ModelName, stored?: string): string {CODE
LOWtests/browser/pageActions.test.ts857 function runWelcomeBackPickerForLabels(labels: string[], preferredEmail: string | null = null) {CODE
LOWtests/browser/promptComposerExpressions.test.ts104function evaluateAttachmentReadyExpression(CODE
LOWtests/browser/prompt.test.ts36function findEndOfCentralDirectory(zip: Buffer): number {CODE
LOWtests/browser/thinking.test.ts245async function runThinkingStatusExpression(document: FakeDocument) {CODE
LOWtests/browser/zipBundle.test.ts17function findEndOfCentralDirectory(zip: Buffer): number {CODE
LOWtests/browser/assistantResponseStatus.test.ts204 function evaluateCompletionVisibility(args: {CODE
LOWtests/browser/assistantResponseStatus.test.ts564 function evalThinkingActivityDetails(opts: ThinkingFixtureOptions): {CODE
LOWtests/gemini-web/parse.test.ts11function makeRawResponseWithBodies(bodies: unknown[]): string {CODE
LOWtests/live/gemini-web-live.test.ts10async function assertHasGeminiChromeCookies(): Promise<boolean> {CODE
LOWtests/live/browser-fast-live.test.ts28function isMissingChatGptSessionError(error: unknown): boolean {CODE
LOWtests/live/browser-reattach-live.test.ts44function isMissingChatGptSessionError(error: unknown): boolean {CODE
LOWtests/live/browser-model-selection-live.test.ts43function isMissingChatGptSessionError(error: unknown): boolean {CODE
LOWscripts/runner.ts149function determineEffectiveTimeoutMs(commandArgs: string[]): number {CODE
LOWscripts/runner.ts278function shouldUseLintTimeoutViaPnpm(rest: string[]): boolean {CODE
LOWscripts/runner.ts300function shouldUseLintTimeoutViaBun(rest: string[]): boolean {CODE
LOWscripts/runner.ts387function normalizeForPathComparison(token: string): string {CODE
LOWscripts/runner.ts392function tokenReferencesIntegrationTest(token: string): boolean {CODE
LOWscripts/runner.ts405function referencesIntegrationSpec(tokens: string[]): boolean {CODE
LOWscripts/runner.ts431function stripWrappersAndAssignments(args: string[]): string[] {CODE
LOWscripts/runner.ts475function isTestRunnerSuiteInvocation(tokens: string[], suite: string): boolean {CODE
LOWscripts/runner.ts790async function resolveCommandInterception(CODE
LOWscripts/runner.ts858async function maybeHandleFindInvocation(context: RunnerExecutionContext): Promise<boolean> {CODE
LOWscripts/runner.ts956async function maybeHandleSleepInvocation(context: RunnerExecutionContext): Promise<boolean> {CODE
LOWscripts/runner.ts995async function maybeHandleTmuxInvocation(context: RunnerExecutionContext): Promise<boolean> {CODE
LOWscripts/runner.ts1014function parseSleepDurationSeconds(token: string): number | null {CODE
LOWscripts/git-policy.ts141export function requiresExplicitGitConsent(subcommand: string | null): boolean {CODE
LOWscripts/git-policy.ts148export function isDestructiveGitSubcommand(CODE
LOWsrc/oracleHome.ts10export function setOracleHomeDirOverrideForTest(dir: string | null): void {CODE
LOWsrc/config.ts191async function discoverProjectConfigPaths({CODE
LOWsrc/config.ts321function isTrustedProjectChatgptUrl(rawUrl: string): boolean {CODE
LOWsrc/sessionManager.ts656async function readModernSessionMetadata(CODE
LOWsrc/sessionManager.ts673async function readLegacySessionMetadata(CODE
LOWsrc/bridge/connection.ts69export function parseBridgeConnectionString(input: string): {CODE
LOWsrc/bridge/connection.ts102export function formatBridgeConnectionString(CODE
LOWsrc/bridge/connection.ts119export async function readBridgeConnectionArtifact(CODE
LOWsrc/oracle/providerRouting.ts26export function resolveProviderRoutingState({CODE
LOWsrc/oracle/providerRouting.ts97function inferNativeProviderFromModelId(model: ModelName): ModelConfig["provider"] | undefined {CODE
LOWsrc/oracle/providerRouting.ts109export function isAzureOpenAICandidateModel(model: ModelName): boolean {CODE
LOWsrc/oracle/thinkingTime.ts21export function normalizeThinkingTimeLevel(CODE
LOWsrc/oracle/background.ts27export async function executeBackgroundResponse(CODE
LOWsrc/oracle/background.ts170async function retrieveBackgroundResponseWithRetry(CODE
LOWsrc/oracle/background.ts206function asRetryableTransportError(error: unknown): OracleTransportError | null {CODE
LOWsrc/oracle/client.ts24export function buildAzureResponsesBaseUrl(endpoint: string): string {CODE
LOWsrc/oracle/client.ts28export function createDefaultClientFactory(): ClientFactory {CODE
LOWsrc/oracle/client.ts164function buildOpenRouterCompletionClient(instance: OpenAI): ClientLike {CODE
LOWsrc/oracle/providerRoutePlan.ts67function buildResolvedProviderRoute(input: ProviderRoutePlanInput): ResolvedProviderRoute {CODE
LOWsrc/oracle/providerRoutePlan.ts357function tryResolveProviderRoutingState(input: {CODE
LOWsrc/oracle/modelResolver.ts47export function normalizeOpenRouterBaseUrl(baseUrl: string): string {CODE
LOWsrc/oracle/modelResolver.ts270export function resolveOverriddenApiModel(CODE
LOWsrc/oracle/modelResolver.ts355export function resetOpenRouterCatalogCacheForTest(): void {CODE
LOWsrc/oracle/modelResolver.ts359export function getOpenRouterCatalogCacheSizeForTest(): number {CODE
350 more matches not shown…
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/cli/bridgeClaudeConfig.test.ts34 ORACLE_REMOTE_TOKEN: "<YOUR_TOKEN>",CODE
HIGHdocs/bridge.md120- By default the snippets leave `ORACLE_REMOTE_TOKEN` as `<YOUR_TOKEN>` to avoid printing secrets; rerun with `--print-tCODE
HIGHsrc/cli/bridge/codexConfig.ts43 const tokenValue = includeToken ? (remoteToken ?? "<YOUR_TOKEN>") : "<YOUR_TOKEN>";CODE
HIGHsrc/cli/bridge/claudeConfig.ts78 env["ORACLE_REMOTE_TOKEN"] = includeToken ? (remoteToken ?? "<YOUR_TOKEN>") : "<YOUR_TOKEN>";CODE
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/browser/actions/deepResearch.ts1293 // Step 0: Check if already activeCOMMENT
LOWsrc/browser/actions/deepResearch.ts1298 // Step 1: Open the composer tools menu. Avoid slash commands because theyCOMMENT
LOWsrc/browser/actions/deepResearch.ts1307 // Step 2: Wait for dropdownCOMMENT
LOWsrc/browser/actions/deepResearch.ts1344 // Step 4: Click itCOMMENT
LOWsrc/browser/actions/deepResearch.ts1353 // Step 5: Verify pill appearedCOMMENT
LOWsrc/browser/actions/deepResearch.ts1329 // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal itCOMMENT
Structural Annotation Overuse6 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/browser/actions/deepResearch.ts1293 // Step 0: Check if already activeCOMMENT
LOWsrc/browser/actions/deepResearch.ts1298 // Step 1: Open the composer tools menu. Avoid slash commands because theyCOMMENT
LOWsrc/browser/actions/deepResearch.ts1307 // Step 2: Wait for dropdownCOMMENT
LOWsrc/browser/actions/deepResearch.ts1344 // Step 4: Click itCOMMENT
LOWsrc/browser/actions/deepResearch.ts1353 // Step 5: Verify pill appearedCOMMENT
LOWsrc/browser/actions/deepResearch.ts1329 // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal itCOMMENT
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/gemini.test.ts50 createGeminiClient("fake-key");CODE
LOWtests/gemini.test.ts51 expect(GoogleGenAI).toHaveBeenCalledWith({ apiKey: "fake-key" });CODE
LOWtests/gemini.test.ts69 const client = createGeminiClient("fake-key");CODE
LOWtests/gemini.test.ts129 const client = createGeminiClient("fake-key");CODE
LOWtests/gemini.test.ts184 const client = createGeminiClient("fake-key");CODE
LOWtests/gemini.test.ts215 const client = createGeminiClient("fake-key", "gemini-3-pro", "custom-model-id");CODE
LOWtests/gemini.test.ts235 const client = createGeminiClient("fake-key");CODE
LOWtests/gemini.test.ts271 const client = createGeminiClient("fake-key");CODE
LOWtests/browser/thinkingTime.test.ts1257 expect(serialized).not.toContain("user@example.com");CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/cli/runOracle/setup.ts6// Ensure prompt-length guardrails are deterministic in testsCOMMENT
MEDIUMdocs/manual-tests.md64### CLI guardrails and perf tracesCOMMENT