Repository Analysis

tobi/qmd

mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local

10.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of tobi/qmd, a TypeScript project with 27,843 GitHub stars. SynthScan v2.0 examined 47,663 lines of code across 121 source files, recording 313 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 10.8 places this repository in the Low 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).

10.8
Adjusted Score
10.8
Raw Score
100%
Time Factor
2026-06-24
Last Push
27.8K
Stars
TypeScript
Language
47.7K
Lines of Code
121
Files
313
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

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 0HIGH 1MEDIUM 142LOW 170

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 313 distinct pattern matches across 15 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.

Decorative Section Separators57 hits · 186 pts
SeverityFileLineSnippetContext
MEDIUMexample-index.yml12# ─── Global context ──────────────────────────────────────────────────────────COMMENT
MEDIUMexample-index.yml17# ─── Terminal hyperlinks (optional) ──────────────────────────────────────────COMMENT
MEDIUMexample-index.yml22# ─── Model overrides (optional) ──────────────────────────────────────────────COMMENT
MEDIUMexample-index.yml31# ─── Collections ─────────────────────────────────────────────────────────────COMMENT
MEDIUMexample-index.yml34 # ── Basic: just a path and a pattern ───────────────────────────────────────COMMENT
MEDIUMexample-index.yml41 # ── Hierarchical context: path-prefix → description ────────────────────────COMMENT
MEDIUMexample-index.yml52 # ── Auto-update: run a command before re-indexing ──────────────────────────COMMENT
MEDIUMexample-index.yml63 # ── Ignore patterns: exclude files from indexing ───────────────────────────COMMENT
MEDIUMexample-index.yml79 # ── Exclude from default searches ──────────────────────────────────────────COMMENT
MEDIUMexample-index.yml89 # ── Everything together ────────────────────────────────────────────────────COMMENT
MEDIUMfinetune/eval_retrieval.py37# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py39# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py75# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py77# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py154# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py156# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py255# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py257# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py328# =============================================================================COMMENT
MEDIUMfinetune/eval_retrieval.py330# =============================================================================COMMENT
MEDIUMfinetune/reward.py25# =============================================================================COMMENT
MEDIUMfinetune/reward.py27# =============================================================================COMMENT
MEDIUMfinetune/reward.py86# =============================================================================COMMENT
MEDIUMfinetune/reward.py88# =============================================================================COMMENT
MEDIUMfinetune/reward.py136# =============================================================================COMMENT
MEDIUMfinetune/reward.py138# =============================================================================COMMENT
MEDIUMfinetune/reward.py263# =============================================================================COMMENT
MEDIUMfinetune/reward.py265# =============================================================================COMMENT
MEDIUMfinetune/reward.py644# =============================================================================COMMENT
MEDIUMfinetune/reward.py646# =============================================================================COMMENT
MEDIUMfinetune/reward.py662# =============================================================================COMMENT
MEDIUMfinetune/reward.py664# =============================================================================COMMENT
MEDIUMfinetune/dataset/schema.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/dataset/schema.py140# ---------------------------------------------------------------------------COMMENT
MEDIUMfinetune/jobs/eval_common.py15# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval_common.py17# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval_common.py242# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval_common.py244# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py81# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py83# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py308# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py310# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py362# =============================================================================COMMENT
MEDIUMfinetune/jobs/eval.py364# =============================================================================COMMENT
MEDIUMsrc/index.ts227 // ── Search ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts241 // ── Document Retrieval ──────────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts252 // ── Collection Management ───────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts269 // ── Context Management ──────────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts286 // ── Indexing ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts306 // ── Index Health ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/index.ts314 // ── Lifecycle ───────────────────────────────────────────────────────COMMENT
Dead Code77 hits · 96 pts
SeverityFileLineSnippetContext
MEDIUMfinetune/train.py422CODE
MEDIUMfinetune/train.py423CODE
MEDIUMfinetune/train.py424CODE
MEDIUMfinetune/train.py425CODE
MEDIUMfinetune/train.py426CODE
MEDIUMfinetune/train.py427CODE
MEDIUMfinetune/train.py428CODE
MEDIUMfinetune/train.py430CODE
MEDIUMfinetune/train.py431CODE
MEDIUMfinetune/train.py434CODE
MEDIUMfinetune/train.py435CODE
MEDIUMfinetune/train.py437CODE
MEDIUMfinetune/train.py440CODE
MEDIUMfinetune/train.py442CODE
MEDIUMfinetune/train.py448CODE
MEDIUMfinetune/train.py449CODE
MEDIUMfinetune/train.py457CODE
MEDIUMfinetune/train.py458CODE
MEDIUMfinetune/train.py463CODE
MEDIUMfinetune/train.py464CODE
MEDIUMfinetune/train.py473CODE
MEDIUMfinetune/train.py474CODE
MEDIUMfinetune/train.py475CODE
MEDIUMfinetune/train.py476CODE
MEDIUMfinetune/train.py480CODE
MEDIUMfinetune/train.py481CODE
MEDIUMfinetune/train.py483CODE
MEDIUMfinetune/train.py491CODE
MEDIUMfinetune/train.py492CODE
MEDIUMfinetune/train.py493CODE
MEDIUMfinetune/train.py494CODE
MEDIUMfinetune/train.py497CODE
MEDIUMfinetune/train.py498CODE
MEDIUMfinetune/train.py499CODE
MEDIUMfinetune/train.py500CODE
MEDIUMfinetune/train.py511CODE
MEDIUMfinetune/train.py512CODE
MEDIUMfinetune/train.py517CODE
MEDIUMfinetune/train.py518CODE
MEDIUMfinetune/train.py523CODE
MEDIUMfinetune/train.py527CODE
MEDIUMfinetune/train.py528CODE
MEDIUMfinetune/train.py529CODE
MEDIUMfinetune/train.py532CODE
MEDIUMfinetune/train.py542CODE
MEDIUMfinetune/train.py543CODE
MEDIUMfinetune/train.py546CODE
MEDIUMfinetune/train.py547CODE
MEDIUMfinetune/train.py548CODE
MEDIUMfinetune/train.py550CODE
MEDIUMfinetune/train.py552CODE
MEDIUMfinetune/train.py553CODE
MEDIUMfinetune/train.py554CODE
MEDIUMfinetune/train.py557CODE
MEDIUMfinetune/train.py558CODE
MEDIUMfinetune/train.py559CODE
MEDIUMfinetune/train.py560CODE
MEDIUMfinetune/train.py561CODE
MEDIUMfinetune/train.py566CODE
MEDIUMfinetune/train.py567CODE
17 more matches not shown…
Verbosity Indicators31 hits · 53 pts
SeverityFileLineSnippetContext
LOWmigrate-schema.ts31 // Step 1: Add collection column to documentsCOMMENT
LOWmigrate-schema.ts36 // Step 2: Populate collection names from collections tableCOMMENT
LOWmigrate-schema.ts47 // Step 3: Verify no NULL valuesCOMMENT
LOWmigrate-schema.ts57 // Step 4: Create new documents table without collection_idCOMMENT
LOWmigrate-schema.ts76 // Step 5: Copy dataCOMMENT
LOWmigrate-schema.ts88 // Step 6: Drop old table and rename new oneCOMMENT
LOWmigrate-schema.ts94 // Step 7: Recreate indicesCOMMENT
LOWmigrate-schema.ts100 // Step 8: Update FTS trigger to use collection nameCOMMENT
LOWfinetune/convert_gguf.py117 # Step 1: Load and mergeCOMMENT
LOWfinetune/convert_gguf.py133 # Step 2: Save merged modelCOMMENT
LOWfinetune/convert_gguf.py139 # Step 3: Setup llama.cppCOMMENT
LOWfinetune/convert_gguf.py147 # Step 4: Convert to FP16 GGUFCOMMENT
LOWfinetune/convert_gguf.py161 # Step 5: QuantizeCOMMENT
LOWfinetune/convert_gguf.py180 # Step 6: UploadCOMMENT
LOWsrc/store.ts3654 // Step 1: Get vector matches from sqlite-vec (no JOINs allowed)COMMENT
LOWsrc/store.ts3663 // Step 2: Get chunk info and document dataCOMMENT
LOWsrc/store.ts4850 // Step 4: RRF fusion — original-query FTS and vector lists get 2x weight;COMMENT
LOWsrc/store.ts4859 // Step 5: Chunk documents, pick best chunk per doc for reranking.COMMENT
LOWsrc/store.ts5240 // Step 3: RRF fusion — first list gets 2x weight (assume caller ordered by importance)COMMENT
LOWsrc/store.ts5250 // Step 4: Chunk documents, pick best chunk per doc for rerankingCOMMENT
LOWsrc/store.ts4752 // Step 1: BM25 probe — strong signal skips expensive LLM expansionCOMMENT
LOWsrc/store.ts4766 // Step 2: Expand query (or skip if strong signal)COMMENT
LOWsrc/store.ts4785 // Step 3: Route searches by query typeCOMMENT
LOWsrc/store.ts4936 // Step 6: Rerank chunks (NOT full bodies)COMMENT
LOWsrc/store.ts4950 // Step 7: Blend RRF position score with reranker scoreCOMMENT
LOWsrc/store.ts5002 // Step 8: Dedup by file (safety net — prevents duplicate output)COMMENT
LOWsrc/store.ts5176 // Step 1: Run FTS for all lex searches (sync, instant)COMMENT
LOWsrc/store.ts5197 // Step 2: Batch embed and run vector searches for vec/hydeCOMMENT
LOWsrc/store.ts5330 // Step 5: Rerank chunksCOMMENT
LOWsrc/store.ts5344 // Step 6: Blend RRF position score with reranker scoreCOMMENT
LOWsrc/store.ts5395 // Step 7: Dedup by fileCOMMENT
Structural Annotation Overuse31 hits · 53 pts
SeverityFileLineSnippetContext
LOWmigrate-schema.ts31 // Step 1: Add collection column to documentsCOMMENT
LOWmigrate-schema.ts36 // Step 2: Populate collection names from collections tableCOMMENT
LOWmigrate-schema.ts47 // Step 3: Verify no NULL valuesCOMMENT
LOWmigrate-schema.ts57 // Step 4: Create new documents table without collection_idCOMMENT
LOWmigrate-schema.ts76 // Step 5: Copy dataCOMMENT
LOWmigrate-schema.ts88 // Step 6: Drop old table and rename new oneCOMMENT
LOWmigrate-schema.ts94 // Step 7: Recreate indicesCOMMENT
LOWmigrate-schema.ts100 // Step 8: Update FTS trigger to use collection nameCOMMENT
LOWfinetune/convert_gguf.py117 # Step 1: Load and mergeCOMMENT
LOWfinetune/convert_gguf.py133 # Step 2: Save merged modelCOMMENT
LOWfinetune/convert_gguf.py139 # Step 3: Setup llama.cppCOMMENT
LOWfinetune/convert_gguf.py147 # Step 4: Convert to FP16 GGUFCOMMENT
LOWfinetune/convert_gguf.py161 # Step 5: QuantizeCOMMENT
LOWfinetune/convert_gguf.py180 # Step 6: UploadCOMMENT
LOWsrc/store.ts3654 // Step 1: Get vector matches from sqlite-vec (no JOINs allowed)COMMENT
LOWsrc/store.ts3663 // Step 2: Get chunk info and document dataCOMMENT
LOWsrc/store.ts4850 // Step 4: RRF fusion — original-query FTS and vector lists get 2x weight;COMMENT
LOWsrc/store.ts4859 // Step 5: Chunk documents, pick best chunk per doc for reranking.COMMENT
LOWsrc/store.ts5240 // Step 3: RRF fusion — first list gets 2x weight (assume caller ordered by importance)COMMENT
LOWsrc/store.ts5250 // Step 4: Chunk documents, pick best chunk per doc for rerankingCOMMENT
LOWsrc/store.ts4752 // Step 1: BM25 probe — strong signal skips expensive LLM expansionCOMMENT
LOWsrc/store.ts4766 // Step 2: Expand query (or skip if strong signal)COMMENT
LOWsrc/store.ts4785 // Step 3: Route searches by query typeCOMMENT
LOWsrc/store.ts4936 // Step 6: Rerank chunks (NOT full bodies)COMMENT
LOWsrc/store.ts4950 // Step 7: Blend RRF position score with reranker scoreCOMMENT
LOWsrc/store.ts5002 // Step 8: Dedup by file (safety net — prevents duplicate output)COMMENT
LOWsrc/store.ts5176 // Step 1: Run FTS for all lex searches (sync, instant)COMMENT
LOWsrc/store.ts5197 // Step 2: Batch embed and run vector searches for vec/hydeCOMMENT
LOWsrc/store.ts5330 // Step 5: Rerank chunksCOMMENT
LOWsrc/store.ts5344 // Step 6: Blend RRF position score with reranker scoreCOMMENT
LOWsrc/store.ts5395 // Step 7: Dedup by fileCOMMENT
Hyper-Verbose Identifiers36 hits · 30 pts
SeverityFileLineSnippetContext
LOWtest/store-cjk-fts.test.ts150 const startIdx = storeSrc.indexOf("function rebuildFTSForCjkNormalization(");CODE
LOWfinetune/convert_onnx.py294def write_transformers_js_config(onnx_dir: str, quantize_type: str = "q4"):CODE
LOWfinetune/reward.py634def extract_query_from_prompt(prompt: str) -> str:CODE
LOWfinetune/jobs/eval_common.py218def extract_query_from_prompt(prompt):CODE
LOWsrc/collections.ts269export function getDefaultCollectionNames(): string[] {CODE
LOWsrc/llm.ts35export function setNodeLlamaCppModuleForTest(module: NodeLlamaCppModule | null): void {CODE
LOWsrc/llm.ts602export function resolveParallelismOverride(envValue = process.env.QMD_EMBED_PARALLELISM): number | undefined {CODE
LOWsrc/llm.ts2015export function isDarwinMetalMitigationActive(): boolean {CODE
LOWsrc/llm.ts2034export function isDarwinExitGuardInstalled(): boolean {CODE
LOWsrc/store.ts276export function chunkDocumentWithBreakPoints(CODE
LOWsrc/store.ts416export function getRelativePathFromPrefix(path: string, prefix: string): string | null {CODE
LOWsrc/store.ts726function createSqliteVecUnavailableError(reason: string): Error {CODE
LOWsrc/store.ts867function rebuildFTSForCjkNormalization(db: Database): void {CODE
LOWsrc/store.ts1541function validatePositiveIntegerOption(name: string, value: number | undefined, fallback: number): number {CODE
LOWsrc/store.ts1565function isContentVectorColumnError(error: unknown): boolean {CODE
LOWsrc/store.ts1573function runContentVectorColumnRepairs(db: Database): void {CODE
LOWsrc/store.ts2232export function getHashesNeedingEmbedding(db: Database, collection?: string, model: string = DEFAULT_EMBED_MODEL): numbeCODE
LOWsrc/store.ts2266export async function maybeAdoptLegacyEmbeddingFingerprint(store: Store, model: string = DEFAULT_EMBED_MODEL): Promise<LCODE
LOWsrc/store.ts2602export function findOrMigrateLegacyDocument(CODE
LOWsrc/store.ts3282export function getCollectionsWithoutContext(db: Database): { name: string; pwd: string; doc_count: number }[] {CODE
LOWsrc/store.ts3314export function getTopLevelPathsWithoutContext(db: Database, collectionName: string): string[] {CODE
LOWsrc/store.ts3866function removeIncompleteEmbeddings(db: Database, expectedChunksByHash: Map<string, number>, model: string): number {CODE
LOWsrc/store.ts4109function normalizeLookupPathForIgnore(path: string): string {CODE
LOWsrc/cli/qmd.ts261export async function finishSuccessfulCliCommand(options: FinishSuccessfulCliCommandOptions): Promise<void> {CODE
LOWsrc/cli/qmd.ts454function sanitizeDiagnosticMessage(message: string): string {CODE
LOWsrc/cli/qmd.ts1825function ensureModelsConfiguredForCli(): { embed: string; generate: string; rerank: string } {CODE
LOWsrc/cli/qmd.ts1851export function resolveGenerateModelForCli(): string {CODE
LOWsrc/cli/qmd.ts3033function installedSkillStubContent(): string {CODE
LOWsrc/cli/qmd.ts3220async function shouldCreateClaudeSymlink(linkPath: string, autoYes: boolean): Promise<boolean> {CODE
LOWsrc/cli/qmd.ts3384function normalizedDoctorNextSteps(steps: string[]): string[] {CODE
LOWsrc/cli/qmd.ts3427function formatModelDiagnosticPath(path: string): string {CODE
LOWsrc/cli/qmd.ts3431function findCachedModelInspection(model: string): CachedModelInspection {CODE
LOWsrc/cli/qmd.ts3468function collectEnvironmentOverrides(activeModels: { embed: string; generate: string; rerank: string }, configModels: MoCODE
LOWsrc/cli/qmd.ts3537function checkEnvironmentOverrides(activeModels: { embed: string; generate: string; rerank: string }, configModels: ModeCODE
LOWsrc/cli/qmd.ts3621async function checkEmbeddingVectorSamples(db: Database, model: string, fingerprint: string, sampleSize: number = 3): PrCODE
LOWsrc/cli/qmd.ts3705function linuxCudaRuntimeDiagnostic(): string | null {CODE
Excessive Try-Catch Wrapping19 hits · 22 pts
SeverityFileLineSnippetContext
LOWfinetune/train_unsloth.py169 except Exception as e:CODE
LOWfinetune/train_unsloth.py180 except Exception as e:CODE
MEDIUMfinetune/eval_retrieval.py368 print(f"Error: Golden data file not found: {args.golden}", file=sys.stderr)CODE
LOWfinetune/train.py279 except Exception:CODE
LOWfinetune/train.py409 except Exception:CODE
LOWfinetune/train.py454 except Exception:CODE
LOWfinetune/train.py628 except Exception:CODE
LOWfinetune/train.py644 except Exception:CODE
LOWfinetune/dataset/validate_schema.py38 except Exception as e:CODE
MEDIUMfinetune/dataset/prepare_data.py111 print(f"Error: No files found matching: {args.input}")CODE
MEDIUMfinetune/dataset/prepare_data.py117 print(f"Error: Input file not found: {input_path}")CODE
MEDIUMfinetune/dataset/analyze_data.py218 print(f"Error: Could not find dataset at {input_path}")CODE
LOWfinetune/dataset/schema.py133 except Exception as e:CODE
LOWfinetune/dataset/schema.py186 except Exception:CODE
LOWfinetune/dataset/schema.py220 except Exception:CODE
LOWfinetune/experiments/gepa/dspy_gepa.py100 except Exception:CODE
MEDIUMfinetune/experiments/gepa/dspy_gepa.py140 print("Error: DSPy expects provider/model format for LM strings (e.g., xai/grok-4-1-fast-reasoning).")CODE
LOWfinetune/experiments/gepa/example.py114 except Exception as exc:CODE
LOWfinetune/experiments/gepa/score.py32 except Exception:CODE
Deep Nesting18 hits · 18 pts
SeverityFileLineSnippetContext
LOWfinetune/train_unsloth.py26CODE
LOWfinetune/benchmark.py62CODE
LOWfinetune/eval_retrieval.py79CODE
LOWfinetune/eval_retrieval.py115CODE
LOWfinetune/eval_retrieval.py332CODE
LOWfinetune/reward.py90CODE
LOWfinetune/reward.py140CODE
LOWfinetune/reward.py267CODE
LOWfinetune/reward.py408CODE
LOWfinetune/dataset/analyze_data.py84CODE
LOWfinetune/dataset/analyze_data.py196CODE
LOWfinetune/dataset/schema.py142CODE
LOWfinetune/experiments/gepa/generate.py32CODE
LOWfinetune/jobs/eval_common.py42CODE
LOWfinetune/jobs/eval_common.py67CODE
LOWfinetune/jobs/eval.py108CODE
LOWfinetune/jobs/eval.py133CODE
LOWfinetune/jobs/eval.py204CODE
Unused Imports17 hits · 16 pts
SeverityFileLineSnippetContext
LOWfinetune/train_unsloth.py14CODE
LOWfinetune/train_unsloth.py67CODE
LOWfinetune/train_unsloth.py111CODE
LOWfinetune/train.py44CODE
LOWfinetune/convert_onnx.py44CODE
LOWfinetune/convert_onnx.py45CODE
LOWfinetune/dataset/validate_schema.py8CODE
LOWfinetune/dataset/score_data.py8CODE
LOWfinetune/dataset/prepare_data_lfm2.py14CODE
LOWfinetune/dataset/schema.py16CODE
LOWfinetune/experiments/gepa/generate.py4CODE
LOWfinetune/experiments/gepa/dspy_gepa.py4CODE
LOWfinetune/experiments/gepa/example.py4CODE
LOWfinetune/experiments/gepa/optimizer.py4CODE
LOWfinetune/experiments/lfm2/sft_lfm2.py38CODE
LOWfinetune/jobs/eval.py23CODE
LOWfinetune/jobs/eval.py26CODE
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWexample-index.yml1# QMD Collections ConfigurationCOMMENT
LOWtest/smoke-install.sh1#!/usr/bin/env bashCOMMENT
LOWfinetune/convert_gguf.py1#!/usr/bin/env python3COMMENT
LOWfinetune/train.py1# /// scriptCOMMENT
LOWfinetune/convert_onnx.py1#!/usr/bin/env python3COMMENT
LOWfinetune/experiments/lfm2/sft_lfm2.yaml1# SFT Training Config for QMD Query Expansion with LiquidAI LFM2COMMENT
LOWfinetune/experiments/lfm2/sft_lfm2.py1# /// scriptCOMMENT
LOWfinetune/experiments/grpo/grpo.py1# /// scriptCOMMENT
LOWfinetune/jobs/sft.py1# /// scriptCOMMENT
LOWscripts/extract-changelog.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/release.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/llm.ts1981//COMMENT
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtest/store.test.ts2234 const padLine = "Lorem ipsum dolor sit amet\n";CODE
LOWtest/store.test.ts2234 const padLine = "Lorem ipsum dolor sit amet\n";CODE
LOWtest/store.test.ts2248 const padding = "Lorem ipsum dolor sit amet\n".repeat(200);CODE
LOWtest/store.test.ts2248 const padding = "Lorem ipsum dolor sit amet\n".repeat(200);CODE
LOWtest/mcp.test.ts167 body: "# Large Document\n\n" + "Lorem ipsum ".repeat(2000), // ~24KBCODE
LOWtest/ast-chunking.test.ts116 sections.push(`# Section ${i}\n\n${"Lorem ipsum dolor sit amet. ".repeat(40)}\n`);CODE
LOWtest/ast-chunking.test.ts116 sections.push(`# Section ${i}\n\n${"Lorem ipsum dolor sit amet. ".repeat(40)}\n`);CODE
LOWtest/store-cjk-fts.test.ts200 const bigBody = "lorem ipsum dolor sit amet ".repeat(450); // ~12 KBCODE
LOWtest/store-cjk-fts.test.ts200 const bigBody = "lorem ipsum dolor sit amet ".repeat(450); // ~12 KBCODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMfinetune/experiments/lfm2/sft_lfm2.yaml5# Recommended for: agentic tasks, data extraction, RAG, creative writing.COMMENT
MEDIUMfinetune/experiments/lfm2/sft_lfm2.yaml5# Recommended for: agentic tasks, data extraction, RAG, creative writing.COMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHfinetune/train.py419 print(" cd finetune && uv run python experiments/grpo/grpo.py")CODE
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUMexample-index.yml4# This file is the single source of truth for your collections. EveryCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/smoke-install.sh6# Usage:COMMENT
Redundant / Tautological Comments1 hit · 1 pts
SeverityFileLineSnippetContext
LOWfinetune/train.py266 # Check if output looks like a HF Hub path (contains /)COMMENT