AI Slop Code Risk Monitor

alphaXiv/OpenResearch

SlopCodeMonitor badge for alphaXiv/OpenResearch Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Turn your coding agents into research agents

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for alphaXiv/OpenResearch, a Rust project with 7,749 GitHub stars. SynthScan examined 223,756 lines of code across 515 source files, recording 414 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
Rust
Language
223.8K
Lines of Code
515
Files
414
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 305 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 11 finding(s).

Agent Over-Engineering Ratio 8.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 178 finding(s).

PR Review Velocity Impact 12.8/100 · LOW

Which changes need focused human review? 414 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 2MEDIUM 95LOW 317

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 414 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators85 hits · 267 pts
SeverityFileLineSnippetContext
MEDIUMdemo/nanochat/experiment/scripts/chat_sft.py33# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/experiment/scripts/chat_sft.py69# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/experiment/scripts/chat_sft.py327# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/experiment/scripts/chat_sft.py425 # -------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/experiment/scripts/chat_sft.py460 # -------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/tasks/smoltalk.py24 # ---------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/tasks/smoltalk.py40 # ---------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/tests/test_engine.py12# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py48# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py50# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py251# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py253# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py337# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/tests/test_attention_fallback.py339# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/execution.py30# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/dataset.py19# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/dataset.py29# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/dataset.py83# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/tokenizer.py28# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/tokenizer.py261# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/engine.py23# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/engine.py81# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/engine.py139# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/engine.py158# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py20# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py22# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py74# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py76# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py112# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py114# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py188# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/flash_attention.py190# =============================================================================COMMENT
MEDIUMdemo/nanochat/base/nanochat/core_eval.py14# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/optim.py17# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/optim.py65# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/optim.py182# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/nanochat/checkpoint_manager.py145# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/infer_bench.py46# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/infer_bench.py95# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/infer_bench.py124 # ------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/infer_bench.py182 # ------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/infer_bench.py197 # ------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/chat_eval.py25# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/chat_eval.py82# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/chat_eval.py154# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/chat_eval.py177# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py39# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py82# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py119# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py126# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py164# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py242# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py248# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py306# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡demo/nanochat/base/scripts/base_train.py322# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡demo/nanochat/base/scripts/base_train.py328# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡demo/nanochat/base/scripts/base_train.py335# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py388# -----------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py505 # -------------------------------------------------------------------------COMMENT
MEDIUMdemo/nanochat/base/scripts/base_train.py545 # -------------------------------------------------------------------------COMMENT
25 more matches not shown…
Over-Commented Block188 hits · 188 pts
SeverityFileLineSnippetContext
LOWdist-workspace.toml21installers = ["shell", "powershell"]COMMENT
LOWdemo/nanochat/experiment/runs/runcpu.sh1#!/bin/bashCOMMENT
LOWdemo/nanochat/base/runs/speedrun.sh1#!/bin/bashCOMMENT
LOWdemo/nanochat/base/runs/speedrun.sh21# install uv (if not already installed)COMMENT
LOWdemo/nanochat/base/runs/speedrun.sh41COMMENT
LOWui/src/useOverleafSync.ts1// The Overleaf side of a .tex tab: which Overleaf project this paper belongs to,COMMENT
LOWui/src/useOverleafSync.ts221 if (sync()) syncedMarker.current = marker;COMMENT
LOWui/src/components/ChatPanel.tsx5121 !!noImageInputError && attachments.some((a) => a.mediaType.startsWith("image/"));COMMENT
LOWscripts/smoke-test-linux-appimage.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/package-macos-app.sh1#!/bin/bashCOMMENT
LOW.github/workflows/release.yml1# This file was autogenerated by dist: https://axodotdev.github.io/cargo-distCOMMENT
LOW.github/workflows/release.yml21# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.COMMENT
LOW.github/workflows/release-macos-app.yml1# Attaches the signed, notarized OpenResearch.app (as a DMG) to a GitHub Release.COMMENT
LOW.github/workflows/release-on-bump.yml1# Dispatches a release when Cargo.toml's version is bumped on main.COMMENT
LOW.github/workflows/release-on-bump.yml21# If the secret is missing or invalid, releases still publish but the DMG must beCOMMENT
LOWsrc/telemetry.rs1//! Opt-out usage analytics → the first-party OpenResearch API.COMMENT
LOWsrc/telemetry.rs101/// settings.json` (the config dir, NOT the R2-snapshotted data dir) so theCOMMENT
LOWsrc/telemetry.rs121 pub telemetry_disabled: Option<bool>,COMMENT
LOWsrc/telemetry.rs141 #[serde(default)]COMMENT
LOWsrc/telemetry.rs161 #[serde(default)]COMMENT
LOWsrc/telemetry.rs481/// Held across the whole read→modify→write: the in-process `SETTINGS_LOCK`COMMENT
LOWsrc/telemetry.rs1001/// `{ agreed: bool }`. Within an eligible official build, this is the ONE eventCOMMENT
LOWsrc/telemetry.rs1181// ---------------------------------------------------------------------------COMMENT
LOWsrc/updates.rs1//! Self-update plumbing shared by `orx version`, `orx update`, and theCOMMENT
LOWsrc/updates.rs801 checked_at: u64,COMMENT
LOWsrc/updates.rs1061/// Hand the update to a detached `orx update --background`.COMMENT
LOWsrc/updates.rs1161COMMENT
LOWsrc/updates.rs1441 ID.get_or_init(|| uuid::Uuid::new_v4().to_string())COMMENT
LOWsrc/updates.rs1721/// How long a user-initiated update may hold its HTTP request open. GenerousCOMMENT
LOWsrc/updates.rs1801/// Wraps `text` in the ANSI bold sequence when `enabled`, else returns it as-is.COMMENT
LOWsrc/updates.rs1901 Ask the user to restart `orx up` (or click Restart in the dashboard's update \COMMENT
LOWsrc/remote.rs1//! Detecting when `orx` is running inside an SSH session, and guiding the userCOMMENT
LOWsrc/remote.rs61/// (often a private/NATed address that is NOT reachable as-is), and `sshd_port`COMMENT
LOWsrc/remote.rs141 ///COMMENT
LOWsrc/remote.rs161 // get in. `orx up --remote` accepts a trailing `:PORT` (seeCOMMENT
LOWsrc/client.rs21use crate::error::{anyhow, Result};COMMENT
LOWsrc/client.rs101COMMENT
LOWsrc/client.rs221 pub ssh_keys: Vec<SshKey>,COMMENT
LOWsrc/client.rs441COMMENT
LOWsrc/client.rs961COMMENT
LOWsrc/client.rs1061/// One OpenAlex work — used both for `/works` search rows (populated per theCOMMENT
LOWsrc/error.rs1//! Single crate error type.COMMENT
LOWsrc/config.rs141}COMMENT
LOWsrc/store.rs501COMMENT
LOWsrc/store.rs4141 Ok(rows.collect::<std::result::Result<Vec<_>, _>>()?)COMMENT
LOWsrc/store.rs4201 /// agent's `orx agent spawn --title`, neither of which auto-titling mayCOMMENT
LOWsrc/store.rs4221 pub context_usage_json: Option<String>,COMMENT
LOWsrc/main.rs1//! OpenResearch CLI (`orx`) — Rust port entry point.COMMENT
LOWsrc/main.rs161 /// Report a bug, feature request, or frustration with OpenResearch itselfCOMMENT
LOWsrc/main.rs281 #[arg(long)]COMMENT
LOWsrc/main.rs361 /// Organization id (from `orx orgs`).COMMENT
LOWsrc/main.rs441 ancestors: bool,COMMENT
LOWsrc/main.rs501 Run(Box<ExpRunArgs>),COMMENT
LOWsrc/main.rs521 /// Give up and exit non-zero after this many seconds (default 1800).COMMENT
LOWsrc/main.rs541 /// billed to your HF account), `modal` (a Modal Sandbox on your own ModalCOMMENT
LOWsrc/main.rs561 /// nothing). With `--backend openresearch`: a GPU id from `orx compute`COMMENT
LOWsrc/main.rs581 pub no_container: bool,COMMENT
LOWsrc/main.rs601 #[arg(long)]COMMENT
LOWsrc/main.rs701 /// Port to bind on 127.0.0.1. With `--remote`, the local presentation port.COMMENT
LOWsrc/main.rs801 /// One line, at most 200 characters.COMMENT
128 more matches not shown…
Hyper-Verbose Identifiers77 hits · 82 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/experiment/scripts/chat_sft.py180def sft_data_generator_bos_bestfit(split, buffer_size=100):CODE
LOWdemo/nanochat/base/tests/test_engine.py158def test_multi_sample_first_token_diversity():CODE
LOWdemo/nanochat/base/tests/test_engine.py201def test_seed_reproducibility():CODE
LOWdemo/nanochat/base/tests/test_engine.py214def test_temperature_zero_determinism():CODE
LOWdemo/nanochat/base/tests/test_engine.py226def test_max_tokens_respected():CODE
LOWdemo/nanochat/base/tests/test_engine.py249def test_different_seeds_introduce_variation_when_temperature_nonzero():CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py31def test_encode_decode_roundtrip(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py47def test_encode_prepend_append(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py61def test_render_conversation_masks(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py82def test_render_conversation_system_message_merged(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py95def test_render_conversation_tool_parts(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py117def test_render_conversation_truncation(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_tokenizer.py126def test_render_for_completion(tokenizer):CODE
LOWdemo/nanochat/base/tests/test_optim.py48def test_adamw_matches_torch_reference():CODE
LOWdemo/nanochat/base/tests/test_optim.py99def test_muon_update_is_orthogonalized():CODE
LOWdemo/nanochat/base/tests/test_execution.py20def test_exception_is_captured():CODE
LOWdemo/nanochat/base/tests/test_execution.py26def test_timeout_kills_infinite_loop():CODE
LOW⚡demo/nanochat/base/tests/test_execution.py48def test_destructive_functions_disabled(evil):CODE
LOW⚡demo/nanochat/base/tests/test_execution.py58def test_writes_go_to_tempdir():CODE
LOW⚡demo/nanochat/base/tests/test_execution.py64def test_environment_is_scrubbed():CODE
LOW⚡demo/nanochat/base/tests/test_execution.py73def test_tricky_string_content():CODE
LOWdemo/nanochat/base/tests/test_attention_fallback.py155 def test_kvcache_single_token(self):CODE
LOWdemo/nanochat/base/tests/test_attention_fallback.py182 def test_kvcache_single_token_sliding_window(self):CODE
LOWdemo/nanochat/base/tests/test_attention_fallback.py215 def test_backward_gradients_match(self):CODE
LOWdemo/nanochat/base/tests/test_tasks.py46def test_mixture_covers_all_examples_deterministically():CODE
LOWdemo/nanochat/base/tests/test_tasks.py60def test_mixture_oversampling():CODE
LOWdemo/nanochat/base/tests/test_tasks.py73def test_hub_dataset_shuffle_matches_numpy():CODE
LOWdemo/nanochat/base/tests/test_tasks.py84def test_render_mc_letter_binding():CODE
LOWdemo/nanochat/base/nanochat/tokenizer.py129 def decode_single_token_bytes(self, token_id):CODE
LOWdemo/nanochat/base/nanochat/dataloader.py74def tokenizing_distributed_data_loader_with_state_bos_bestfit(CODE
LOWdemo/nanochat/base/nanochat/dataloader.py163def tokenizing_distributed_data_loader_bos_bestfit(*args, **kwargs):CODE
LOWdemo/nanochat/base/nanochat/checkpoint_manager.py22def _patch_missing_config_keys(model_config_kwargs):CODE
LOWdemo/nanochat/base/nanochat/gpt.py270 def _precompute_rotary_embeddings(self, seq_len, head_dim, base=100000, device=None):CODE
LOWdemo/nanochat/base/scripts/chat_sft.py180def sft_data_generator_bos_bestfit(split, buffer_size=100):CODE
LOWui/src/useProjectWorkspace.ts42export function clearProjectWorkspaceCache() {CODE
LOWui/src/markdownNormalization.ts127function unescapedSingleDollarIndices(text: string): number[] {CODE
LOWui/src/markdownNormalization.ts261export function normalizeMarkdownForRendering(CODE
LOWui/src/chatRendering.ts136export function withoutDuplicateTurnError(parts: ChatPart[], turnStatus: ChatPart | undefined): ChatPart[] {CODE
LOWui/src/katexHealing.ts60function normalizeDoubleEscapedCommands(value: string): string {CODE
LOWui/src/katexHealing.ts91function stripTrailingFailingToken(value: string): string | null {CODE
LOWui/src/api.ts132export function experimentMonitoringError(runs: Pick<Run, "status" | "backend" | "createdAt">[]): string | null {CODE
LOWui/src/workspaceTabs.ts258export function initialRightPaneSessionState(CODE
LOWui/src/syntaxLanguage.ts18export function detectSyntaxLanguageFromFilePath(filePath: string | null | undefined): string | null {CODE
LOWui/src/modelSelection.ts3export function resolveHarnessDefaultModel(harness: Harness | undefined): string | null {CODE
LOWui/src/components/ArchiveMenu.tsx20export function archiveActionsByExperiment(experiments: Experiment[]): Map<string, ArchiveActions> {CODE
LOWui/src/components/ChatPanel.tsx300function preservePartialInlineContext(range: Range, container: HTMLElement): void {CODE
LOWui/src/components/ChatPanel.tsx409function markdownFromSelectionNode(node: Node): string {CODE
LOWui/src/components/ChatPanel.tsx491function currentTranscriptSelection(root: HTMLElement): SelectionAction | null {CODE
LOWui/src/components/ChatPanel.tsx3759function useTranscriptAnnouncement(messages: ChatMessage[]): TranscriptAnnouncement {CODE
LOWui/src/components/SshConnectTerminal.tsx93export function OpenResearchSetupTerminal({ login, onComplete, onError }: {CODE
LOWscripts/test_release_notes.py11 def test_generated_notes_start_at_the_previous_stable_release(self):CODE
LOWscripts/test_release_notes.py22 def test_recovered_release_uses_an_earlier_stable_ancestor(self):CODE
LOWscripts/test_release_notes.py36 def test_release_without_a_stable_ancestor_fails_closed(self):CODE
LOWscripts/test_release_notes.py42 def test_linked_issues_and_order(self):CODE
LOWscripts/test_release_notes.py65 def test_desktop_downloads_only_link_uploaded_assets(self):CODE
LOWscripts/test_release_notes.py95 def test_refresh_patches_only_the_selected_release_body(self):CODE
LOW⚡scripts/test_release_notes.py109 def test_refresh_does_not_patch_legacy_or_unchanged_notes(self):CODE
LOW⚡scripts/test_release_notes.py117 def test_remote_install_is_collapsed_and_versioned(self):CODE
LOW⚡scripts/test_release_notes.py126 def test_issue_lookup_failure_keeps_other_issues(self):CODE
LOWscripts/test_orx_chart.py15 def test_numeric_templates_accept_measurements_and_missing_checkpoints(self):CODE
17 more matches not shown…
Deep Nesting23 hits · 23 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/quick/scripts/demo_probe.py39CODE
LOWdemo/nanochat/experiment/scripts/chat_sft.py180CODE
LOWdemo/nanochat/base/tasks/common.py45CODE
LOWdemo/nanochat/base/nanochat/dataset.py84CODE
LOWdemo/nanochat/base/nanochat/tokenizer.py96CODE
LOWdemo/nanochat/base/nanochat/tokenizer.py140CODE
LOWdemo/nanochat/base/nanochat/engine.py176CODE
LOWdemo/nanochat/base/nanochat/engine.py277CODE
LOWdemo/nanochat/base/nanochat/dataloader.py25CODE
LOWdemo/nanochat/base/nanochat/dataloader.py74CODE
LOWdemo/nanochat/base/scripts/chat_eval.py87CODE
LOWdemo/nanochat/base/scripts/base_eval.py128CODE
LOWdemo/nanochat/base/scripts/chat_sft.py180CODE
LOWagent-skills/orx-figures/assets/orx_figstyle.py255CODE
LOWagent-skills/orx-figures/assets/orx_chart.py10CODE
LOWscripts/test-opencode-compat.py96CODE
LOWscripts/test-opencode-routing.py16CODE
LOWscripts/test_ssh_helper.py80CODE
LOWscripts/test_acp.py14CODE
LOWscripts/test-opencode-compat-host.py21CODE
LOWscripts/test-opencode-compat-host.py97CODE
LOWsrc/jobs/ssh/helper.py92CODE
LOWsrc/jobs/ssh/helper.py135CODE
Excessive Try-Catch Wrapping9 hits · 12 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/base/nanochat/engine.py41 except Exception as e:CODE
MEDIUMdemo/nanochat/base/nanochat/engine.py35def eval_with_timeout(formula, max_time=3):CODE
LOWdemo/nanochat/base/nanochat/flash_attention.py45 except Exception:CODE
LOWsrc/jobs/modal.rs41 except Exception:CODE
LOWsrc/jobs/modal.rs78 except Exception:CODE
MEDIUMsrc/jobs/modal.rs37def _modal():CODE
LOWsrc/jobs/ssh/helper.py234 except Exception as error:CODE
LOWsrc/jobs/ssh/helper.py265 except Exception as error:CODE
MEDIUMsrc/jobs/ssh/helper.py231def handle(request, lane):CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdemo/nanochat/base/nanochat/dataset.py122except:CODE
HIGHsrc/jobs/ssh/helper.py263except EOFError:CODE
AI Slop Vocabulary5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml89# `--version` fast path in harness detection), total RAM for the agent idleCOMMENT
LOWdemo/nanochat/base/nanochat/tokenizer.py195 # simple string => simply add the tokensCOMMENT
LOWdemo/nanochat/base/nanochat/tokenizer.py202 # string part => simply add the tokensCOMMENT
LOWdemo/nanochat/base/nanochat/gpt.py523 # inference: just return the logits directlyCOMMENT
MEDIUMsrc/local/chat/mod.rs9065 r#"{"harness":"codex","model":"gpt-6-sol","provider":null}"#,CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdemo/nanochat/base/scripts/chat_eval.py159 # Create the evaluation objectCOMMENT
MEDIUM.github/workflows/release.yml399 # Create a GitHub Release while uploading all files to itCOMMENT
MEDIUM.github/workflows/release-on-bump.yml113 # Create the label first (422 if it already exists — ignored) soCOMMENT
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/experiment/scripts/chat_cli.py21CODE
LOWdemo/nanochat/base/nanochat/gpt.py15CODE
LOWdemo/nanochat/base/nanochat/gpt.py22CODE
LOWdemo/nanochat/base/scripts/chat_cli.py8CODE
LOWdemo/nanochat/base/scripts/base_eval.py29CODE
LOWagent-skills/orx-figures/assets/orx_figstyle.py14CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdemo/nanochat/base/nanochat/core_eval.py175 # Sample few-shot examples (excluding current item)COMMENT
MEDIUMagent-skills/orx-figures/references/diagram.md19## Build it from the shared scaffoldCOMMENT
Redundant / Tautological Comments3 hits · 5 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/base/nanochat/engine.py54 # Check if it's a pure math expression (old behavior)COMMENT
LOWdemo/nanochat/base/nanochat/engine.py60 # Check if it's a string operation we supportCOMMENT
LOW⚡demo/nanochat/base/runs/scaling_laws.sh34# Check if a run already exists in resultsCOMMENT
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWui/src/components/NewProjectForm.tsx519 <span className={path ? "text-sm" : "placeholder"}>CODE
LOWsrc/client.rs1947 "dev@example.org",CODE
LOWsrc/jobs/localbox.rs672 ("HF_TOKEN".to_string(), "fake-token".to_string()),CODE
LOWsrc/jobs/localbox.rs683 assert!(!run_sh.contains("fake-token"));CODE
LOWsrc/jobs/localbox.rs689 assert_eq!(lines, ["hello-42-fake-token"]);CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/base/nanochat/execution.py134CODE
LOWdemo/nanochat/base/nanochat/fp8.py154CODE
LOWdemo/nanochat/base/scripts/base_eval.py123CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/base/nanochat/common.py69logger = logging.getLogger(__name__)CODE
LOWdemo/nanochat/base/nanochat/checkpoint_manager.py17logger = logging.getLogger(__name__)CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdemo/nanochat/base/scripts/chat_rl.py112 seed=seed, # must make sure to change the seed for each sampling stepCODE