AI Slop Code RIsk Monitor

NVIDIA-NeMo/Switchyard

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

15.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for NVIDIA-NeMo/Switchyard, a Rust project with 3,349 GitHub stars. SynthScan examined 180,994 lines of code across 606 source files, recording 1671 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 15.6 (Elevated 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.

15.6
Adjusted Signal
15.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
3.3K
Stars
Rust
Language
181.0K
Lines of Code
606
Files
1.7K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 11.6/100 · LOW

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

Agent Over-Engineering Ratio 43.2/100 · MEDIUM

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

PR Review Velocity Impact 53.8/100 · HIGH

Which changes need focused human review? 1671 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 68MEDIUM 393LOW 1210

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 1671 distinct pattern matches across 19 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 Separators371 hits · 1190 pts
SeverityFileLineSnippetContext
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py70# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py72# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py123# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py125# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py222# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py224# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py293# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_llm_judge.py295# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py16# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py161# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py163# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py259# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py261# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py280# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py282# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py316# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py318# ---------------------------------------------------------------------------COMMENT
MEDIUMexperimental/craft-taskgen/tests/test_search.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMexperimental/craft-taskgen/tests/test_search.py80# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py125# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py127# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py206# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py250# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py252# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py280# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_task_format.py282# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py21# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py23# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py42# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py44# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMexperimental/craft-taskgen/tests/test_miner.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMexperimental/craft-taskgen/tests/test_miner.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py193# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_miner.py195# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_rubric_drift.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_rubric_drift.py61# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py618# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py620# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py3847# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py3849# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4037# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4039# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4158# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4160# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4250# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4252# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4336# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4338# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4572# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4574# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4684# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4686# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4827# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4829# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4977# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡experimental/craft-taskgen/tests/test_pipeline.py4979# ---------------------------------------------------------------------------COMMENT
311 more matches not shown…
Hyper-Verbose Identifiers627 hits · 599 pts
SeverityFileLineSnippetContext
LOWmkdocs_hooks.py66def _rewrite_link_destinations(CODE
LOWmkdocs_hooks.py94def _rewrite_outside_code_spans(CODE
LOWbenchmark/run_manifest.py140def snapshot_dataset_manifest(source: Path | None, run_dir: Path) -> Path | None:CODE
LOWbenchmark/codex_model_catalog_lib.py29def _fallback_codex_model_template() -> dict[str, Any]:CODE
LOWbenchmark/codex_model_catalog_lib.py74def _load_codex_model_template(codex_bin: str) -> dict[str, Any]:CODE
LOWbenchmark/codex_model_catalog_lib.py104def _build_codex_model_catalog(CODE
LOWbenchmark/codex_model_catalog_lib.py126def _codex_model_display_name(model_id: str) -> str:CODE
LOWbenchmark/prepare_harbor_dataset.py128def _exported_dataset_candidates(download_root: Path, source_dataset: str) -> list[Path]:CODE
LOWbenchmark/prepare_harbor_dataset.py143def _proxy_allowlist_hosts_for_dataset(source_dataset: str) -> tuple[str, ...]:CODE
LOWbenchmark/prepare_harbor_dataset.py150def _find_exported_dataset_root(download_root: Path, source_dataset: str) -> Path:CODE
LOWbenchmark/prepare_harbor_dataset.py181def _remove_toml_key_from_table(text: str, table: str, key: str) -> str:CODE
LOWbenchmark/nemo_gym/gym_routing_plugin.py50 async def async_post_call_success_hook(CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py72def test_dry_run_keeps_api_keys_off_argv(tmp_path: Path, agent: str, model: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py88def test_opencode_gateway_dispatch_prepends_nvidia(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py105def test_opencode_vllm_dispatch_prepends_vllm(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py125def test_opencode_legacy_vllm_input_is_normalized(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py143def test_opencode_legacy_nvidia_input_is_normalized(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py162def test_openhands_sdk_gateway_prepends_openai_and_wires_llm_env(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py184def test_openhands_sdk_idempotent_openai_prefix(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py211def test_claude_code_disables_plan_mode_by_default(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py226def test_disable_plan_mode_env_opt_out(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py241def test_other_agents_no_plan_mode_kwarg(tmp_path: Path):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py254def test_sanity_agent_no_model_required(tmp_path: Path, agent: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py269def test_sanity_agent_skips_llm_envs(tmp_path: Path, agent: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py290def test_sanity_agent_skips_agent_specific_kwargs(tmp_path: Path, agent: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py298def test_sanity_agent_keeps_determinism_envs(tmp_path: Path, agent: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py309def test_sanity_agent_with_model_drops_it(tmp_path: Path, agent: str):CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py320def test_unknown_agent_rejected(tmp_path: Path):CODE
LOW⚡…rimental/craft-taskgen/tests/test_adapters_planning.py48def test_validate_candidate_accepts_complete_payload() -> None:CODE
LOW⚡…rimental/craft-taskgen/tests/test_adapters_planning.py52def test_validate_candidate_rejects_missing_fields() -> None:CODE
LOW⚡…rimental/craft-taskgen/tests/test_adapters_planning.py59def test_validate_candidate_rejects_docker_without_install() -> None:CODE
LOW⚡…rimental/craft-taskgen/tests/test_adapters_planning.py66def test_convert_single_rejects_candidate_without_pinned_requirements() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py87def test_convert_single_emits_requirements_lock_into_environment_dir() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py109def test_convert_single_bakes_pinned_agents_into_dockerfile() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py153def test_build_dockerfile_includes_pre_install_and_install() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py169def test_main_package_name_normalizes() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py179def test_convert_single_emits_expected_structure() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py224def test_run_convert_skips_invalid_candidate() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py259def test_convert_single_applies_candidate_resource_overrides() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py286def test_convert_single_uses_default_resources_when_not_declared() -> None:CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py311def test_run_convert_respects_limit() -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py36def test_run_import_basic_and_select_compatible(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py99def test_run_import_uses_commit_sha_from_instance_id_and_counts(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py156def test_run_import_ignores_suffix_after_commit_sha_in_instance_id(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py189def test_run_import_fails_fast_for_missing_required_fields(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py212def test_run_import_fails_fast_for_non_string_patch(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py230def test_run_import_fails_fast_when_instance_id_has_no_commit_sha(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py247def test_run_import_fails_fast_when_repo_clone_missing(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py264def test_run_import_fails_fast_when_merge_base_fails(tmp_path) -> None:CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py284def test_run_import_zero_score_without_test_patch_and_groups_by_repo(tmp_path) -> None:CODE
LOW⚡experimental/craft-taskgen/tests/test_llm_judge.py75def test_happy_path_returns_parsed_result(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py94def test_strips_markdown_fences(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py109def test_openai_prefix_preserved(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡experimental/craft-taskgen/tests/test_llm_judge.py128def test_parse_error_triggers_one_retry_with_feedback(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py152def test_parse_retry_preserves_system_prompt_in_single_message(CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py184def test_schema_error_triggers_one_retry(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py203def test_parse_error_after_retry_raises(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡experimental/craft-taskgen/tests/test_llm_judge.py227def test_transient_error_retried(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py251def test_transient_retries_exhausted_raises(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py270def test_non_transient_error_not_retried(monkeypatch: pytest.MonkeyPatch) -> None:CODE
567 more matches not shown…
Cross-Language Confusion37 hits · 232 pts
SeverityFileLineSnippetContext
HIGH⚡experimental/craft-taskgen/tests/test_run_manifest.py348 # --vllm-probe on but unreachable URL → vllm_snapshot = null, manifest still written.COMMENT
HIGH⚡experimental/craft-taskgen/tests/test_pipeline.py4679 assert docker_cmd_arg == "bash /solution/solve.sh && bash /tests/test.sh", (CODE
HIGH⚡experimental/craft-taskgen/tests/test_pipeline.py4680 f"Expected solve.sh && test.sh chain, got {docker_cmd_arg!r}"CODE
HIGH⚡experimental/craft-taskgen/tests/test_pipeline.py5073 "RUN apt-get update && apt-get install -y git curl ca-certificates build-essential\n"CODE
HIGH⚡experimental/craft-taskgen/tests/test_pipeline.py5074 "RUN git clone https://github.com/python-attrs/cattrs.git /code && cd /code "CODE
HIGHexperimental/craft-taskgen/tests/test_pipeline.py2769 "&& cd /code && git checkout 0000000000000000000000000000000000000001\n"CODE
HIGH⚡experimental/craft-taskgen/scripts/analyze_for_site.py78 when the block is missing OR present-but-null (e.g. `{mean: null}`). BothSTRING
HIGH…ripts/swepro/analysis/analyze_interface_confounders.py36 r"no explicit requirements?\.?|not applicable\.?|n/?a|none|null)$",CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py2803 " $(cat /tests/fail_to_pass.txt /tests/pass_to_pass.txt 2>/dev/null) \\\n"CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py2804 " 2>&1 | tee /logs/verifier/verify_full_output.txt || true\n"CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/miner.py21 "after": null,STRING
HIGH⚡experimental/craft-taskgen/src/craft_taskgen/docker.py154 " (cd /postmerge && find . -type f -name '*.py' | while IFS= read -r f; do\n"CODE
HIGH⚡experimental/craft-taskgen/src/craft_taskgen/docker.py161 f"python3 -m pytest {paths_str} -v --tb=no --continue-on-collection-errors 2>&1 || true\n"CODE
HIGH⚡experimental/craft-taskgen/src/craft_taskgen/docker.py165 f"python3 -m pytest {paths_str} -v --tb=no --continue-on-collection-errors 2>&1 || true\n"CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py286 docker_cmd = "bash /solution/solve.sh && bash /tests/test.sh" if apply_solution else "bash /tests/test.sh"CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/prompts.py757- Reset git: rm -rf .git && git init && git config user.email test@test.com &&CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/prompts.py758 git config user.name Test && git add -A && git commit -m initCODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/prompts.py1353- Reset git: rm -rf .git && git init && git config user.email test@test.com &&CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/prompts.py1354 git config user.name Test && git add -A && git commit -m initCODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py502 if (L.match(/^### /)) {{ out.push('<h3>' + L.slice(4) + '</h3>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py503 else if (L.match(/^## /)) {{ out.push('<h2>' + L.slice(3) + '</h2>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py504 else if (L.match(/^# /)) {{ out.push('<h1>' + L.slice(2) + '</h1>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py505 else if (L.match(/^- /)) {{ out.push('<li>' + L.slice(2) + '</li>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py506 else if (L.match(/^\\d+\\. /)) {{ out.push('<li>' + L.replace(/^\\d+\\.\\s*/, '') + '</li>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py507 else if (L.trim() === '') {{ if (out.length && out[out.length-1] !== '<br>') out.push('<br>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py507 else if (L.trim() === '') {{ if (out.length && out[out.length-1] !== '<br>') out.push('<br>'); }}CODE
HIGH⚡…erimental/craft-taskgen/src/craft_taskgen/dashboard.py508 else {{ out.push(L); }}CODE
HIGH…erimental/craft-taskgen/src/craft_taskgen/dashboard.py647 if (trunc && trunc.style.display !== 'none') {{CODE
HIGH⚡…ental/craft-taskgen/src/craft_taskgen/search/harbor.py57RUN apt-get update && apt-get install -y --no-install-recommends curl && \\CODE
HIGH⚡…ental/craft-taskgen/src/craft_taskgen/search/harbor.py62 apt-get remove -y curl && apt-get autoremove -y && \\CODE
HIGH⚡…ental/craft-taskgen/src/craft_taskgen/search/harbor.py66RUN mkdir -p /etc/codex && cat > /etc/codex/config.toml << 'EOF'CODE
HIGH…al/craft-taskgen/src/craft_taskgen/adapters/_docker.py175 f"&& cd /repo && git checkout {spec.parent_sha}"CODE
HIGH…al/craft-taskgen/src/craft_taskgen/adapters/_docker.py197 'RUN rm -rf .git && git init && git config user.email "agent@test" 'CODE
HIGH…al/craft-taskgen/src/craft_taskgen/adapters/_docker.py198 "&& git config user.name \"Agent\" && git add -A && git commit -m 'initial commit'"CODE
HIGH…skgen/src/craft_taskgen/adapters/planning/converter.py120git remote add upstream https://github.com/{repo}.git 2>/dev/null || trueCODE
HIGH…ft-taskgen/src/craft_taskgen/baselines/run_manifest.py284 Empty-string values are treated as `None` (JSON null) so bash canSTRING
HIGH…ft-taskgen/src/craft_taskgen/baselines/run_manifest.py435 # `--extra foo.bar=null` → JSON null). A string that isn't valid JSONCOMMENT
Unused Imports207 hits · 204 pts
SeverityFileLineSnippetContext
LOWbenchmark/run_manifest.py11CODE
LOWbenchmark/codex_model_catalog_lib.py12CODE
LOWbenchmark/codex_model_catalog.py6CODE
LOWbenchmark/nemo_gym/gym_routing_plugin.py6CODE
LOWbenchmark/nemo_gym/compare.py6CODE
LOWbenchmark/closed_book_proxy/proxy/rewriter.py6CODE
LOWswitchyard/libsy/algorithms.py6CODE
LOWswitchyard/libsy/algorithms.py7CODE
LOWswitchyard/libsy/algorithms.py8CODE
LOWswitchyard/libsy/algorithms.py9CODE
LOWswitchyard/libsy/algorithms.py10CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py6CODE
LOWswitchyard/libsy/__init__.py24CODE
LOW…erimental/craft-taskgen/tests/test_launcher_dry_run.py12CODE
LOW…rimental/craft-taskgen/tests/test_adapters_planning.py6CODE
LOW…mental/craft-taskgen/tests/test_import_swebench_pro.py6CODE
LOWexperimental/craft-taskgen/tests/conftest.py11CODE
LOWexperimental/craft-taskgen/tests/test_llm_judge.py22CODE
LOW…erimental/craft-taskgen/tests/test_score_exclusions.py6CODE
LOW…rimental/craft-taskgen/tests/test_evaluate_majority.py4CODE
LOWexperimental/craft-taskgen/tests/test_smoke_runner.py6CODE
LOWexperimental/craft-taskgen/tests/test_search.py6CODE
LOW…imental/craft-taskgen/tests/test_reasoning_defaults.py6CODE
LOWexperimental/craft-taskgen/tests/test_import_pr_refs.py6CODE
LOWexperimental/craft-taskgen/tests/test_task_format.py6CODE
LOW…perimental/craft-taskgen/tests/test_planning_scorer.py6CODE
LOW…imental/craft-taskgen/tests/test_swebench_alignment.py4CODE
LOW…ental/craft-taskgen/tests/test_update_alignment_csv.py4CODE
LOWexperimental/craft-taskgen/tests/test_docker_cleanup.py14CODE
LOWexperimental/craft-taskgen/tests/test_miner.py6CODE
LOWexperimental/craft-taskgen/tests/test_prefilters.py6CODE
LOWexperimental/craft-taskgen/tests/test_import_cli.py6CODE
LOWexperimental/craft-taskgen/tests/test_rubric_drift.py21CODE
LOW…ental/craft-taskgen/tests/test_clone_swebench_repos.py6CODE
LOW…imental/craft-taskgen/tests/test_alignment_majority.py4CODE
LOWexperimental/craft-taskgen/tests/test_run_manifest.py6CODE
LOW…perimental/craft-taskgen/tests/test_adapters_docker.py6CODE
LOW…tal/craft-taskgen/tests/test_agent_pass_rate_matrix.py4CODE
LOWexperimental/craft-taskgen/tests/test_pipeline.py6CODE
LOWexperimental/craft-taskgen/tests/test_output_cap.py6CODE
LOW…mental/craft-taskgen/tests/test_skip_only_detection.py13CODE
LOW…ental/craft-taskgen/tests/test_import_skills_dryrun.py6CODE
LOW…tal/craft-taskgen/tests/test_adapters_search_native.py6CODE
LOWexperimental/craft-taskgen/scripts/task_review.py88CODE
LOWexperimental/craft-taskgen/scripts/filter_by_license.py13CODE
LOW…tal/craft-taskgen/scripts/summarize_search_baseline.py70CODE
147 more matches not shown…
Empty Error Handlers29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHbenchmark/closed_book_proxy/proxy/rewriter.py90except OSError:CODE
HIGHexperimental/craft-taskgen/scripts/task_review.py148except (OSError, json.JSONDecodeError):CODE
HIGH…perimental/craft-taskgen/scripts/summarize_baseline.py272except (OSError, json.JSONDecodeError):CODE
HIGH…perimental/craft-taskgen/scripts/summarize_baseline.py469except (OSError, json.JSONDecodeError):CODE
HIGH…l/craft-taskgen/scripts/classify_localized_failures.py361except (OSError, json.JSONDecodeError):CODE
HIGH…l/craft-taskgen/scripts/classify_localized_failures.py404except OSError:CODE
HIGHexperimental/craft-taskgen/scripts/analyze-easiness.py164except json.JSONDecodeError:CODE
HIGHexperimental/craft-taskgen/scripts/analyze-easiness.py255except OSError:CODE
HIGHexperimental/craft-taskgen/scripts/check_integrity.py196except Exception:CODE
HIGHexperimental/craft-taskgen/scripts/swepro/render.py47except json.JSONDecodeError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py877except OSError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py242except OSError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py91except OSError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py530except OSError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/steps.py3481except Exception:CODE
HIGH…rimental/craft-taskgen/src/craft_taskgen/claude_cli.py76except (json.JSONDecodeError, TypeError, ValueError):CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py207except OSError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py350except Exception:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py115except ProcessLookupError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py199except ProcessLookupError:CODE
HIGHexperimental/craft-taskgen/src/craft_taskgen/docker.py317except ProcessLookupError:CODE
HIGH…erimental/craft-taskgen/src/craft_taskgen/dashboard.py136except Exception:CODE
HIGH…erimental/craft-taskgen/src/craft_taskgen/preflight.py351except Exception:CODE
HIGH…erimental/craft-taskgen/src/craft_taskgen/preflight.py443except Exception:CODE
HIGH…ntal/craft-taskgen/src/craft_taskgen/search/extract.py318except (IndexError, AttributeError):CODE
HIGH…kgen/src/craft_taskgen/search/templates/test_runner.py477except (ValueError, TypeError):CODE
HIGHscripts/aiperf_runner.py74except ProcessLookupError:CODE
HIGHscripts/aiperf_runner.py89except ProcessLookupError:CODE
HIGHscripts/run_local_soak_test.py164except (OSError, urllib.error.URLError, json.JSONDecodeError):CODE
Over-Commented Block137 hits · 137 pts
SeverityFileLineSnippetContext
LOW.sir-merge-a-lot.yml1# .sir-merge-a-lot.yml — switchyardCOMMENT
LOW.sir-merge-a-lot.yml21# bot was explicitly invited to groom (on_demand mode). Every LLMCOMMENT
LOWbenchmark/tb_lite_subset_20.txt1# Curated 20-task iteration subset for openthoughts-tblite@2.0.COMMENT
LOWbenchmark/prepare_harbor_dataset.py201 pi_version = pins["PI_VERSION"]COMMENT
LOWbenchmark/closed_book_proxy/proxy/allowlist-base.txt1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/tb21-escalation-opus-glm-deepseek.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…profiles/tau2-telecom-custom-opus-qwen-aggressive.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/deepswe-v11-stage-router-luna-sol.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/deepswe-v11-stage-router-luna-sol.toml21# trial per taskCOMMENT
LOW…g-profiles/tau2-telecom-custom-opus-qwen-balanced.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/deepswe-v11-advisor-gate-luna-sol.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/deepswe-v11-advisor-gate-luna-sol.toml21# Result 57.5% +/- 3.2 solved at $208 +/- 22 per run (about $3.20 per solve);COMMENT
LOW…outing-profiles/deepswe-v11-plan-execute-luna-sol.toml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…outing-profiles/deepswe-v11-plan-execute-luna-sol.toml21# Anchors same harness and conditions, k=3: Sol alone 62.8% +/- 3.1 atCOMMENT
LOW…ft-taskgen/patches/compose-overrides/host-gateway.yaml1# Harbor compose override: map host.docker.internal -> host-gateway on theCOMMENT
LOWexperimental/craft-taskgen/planning/run_plan_impl.sh1#!/usr/bin/env bashCOMMENT
LOWexperimental/craft-taskgen/planning/run_plan_impl.sh21# IMPL_AGENT_KWARGS space-separated "k=v" pairs passed as --agent-kwarg to phase 2COMMENT
LOW…tal/craft-taskgen/scripts/summarize_search_baseline.py81COMMENT
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py81DEFAULT_COHORT_FILE = Path(__file__).resolve().parent.parent / "references" / "v2b-tasks.txt"COMMENT
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py121# during the run. Claude-code only writes `agent/claude-code.txt` (NDJSON);COMMENT
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py301 if skip_set:COMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh1#!/usr/bin/env bashCOMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh161 # Strip the dispatch prefix only when it isn't actually theCOMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh241COMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh341COMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh361 _add_env CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS 1COMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh501 # (https://code.claude.com/docs/en/env-vars) and takes precedenceCOMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh541# paper can cite paper-recommended settings (Qwen3 tech report §3.3 +COMMENT
LOWexperimental/craft-taskgen/scripts/run-baselines.sh661 CMD+=(--agent-kwarg "max_iterations=$(uv run python -c 'from craft_taskgen.adapters._docker import OPENHANDS_SDK_MAXCOMMENT
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh1#!/bin/bashCOMMENT
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh21# Agent compatibility under firewall:COMMENT
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh41# - codex: requires CODEX_BINARY_PATH (pre-baked tarball). WithoutCOMMENT
LOW…erimental/craft-taskgen/scripts/build-codex-prebake.sh1#!/usr/bin/env bashCOMMENT
LOW…perimental/craft-taskgen/scripts/fetch_repo_details.py1#!/usr/bin/env python3COMMENT
LOW…tal/craft-taskgen/scripts/score_e2e_implicit_search.py401# claude-code writes its raw NDJSON transcript to agent/claude-code.txt butCOMMENT
LOWexperimental/craft-taskgen/scripts/rerun-tainted.sh1#!/usr/bin/env bashCOMMENT
LOWexperimental/craft-taskgen/scripts/rerun-tainted.sh21# trial that is ALSO tainted also gets archived. One pass only —COMMENT
LOWexperimental/craft-taskgen/scripts/run-pipeline.sh1#!/usr/bin/env bashCOMMENT
LOWexperimental/craft-taskgen/scripts/run-pipeline.sh21# max_promising_per_repo in the profile.COMMENT
LOWexperimental/craft-taskgen/scripts/swepro/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWexperimental/craft-taskgen/src/craft_taskgen/config.py61# self-preference bias mitigation). Defaults to GPT-5.4 via the NVIDIA gateway;COMMENT
LOW…al/craft-taskgen/src/craft_taskgen/adapters/_docker.py41CLAUDE_CODE_VERSION = "2.1.118"COMMENT
LOW…kgen/src/craft_taskgen/baselines/reasoning_defaults.py41 # so the launcher can pass --effort xhigh to the in-container `claude`COMMENT
LOWcrates/libsy-llm-client/src/client.rs621COMMENT
LOWcrates/libsy-llm-client/src/error.rs1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcrates/libsy-llm-client/src/backend.rs41 "context window",COMMENT
LOWcrates/libsy-llm-client/src/backend.rs61 /// Provider-owned headers are rejected so a static value cannot replaceCOMMENT
LOWcrates/libsy-llm-client/src/lib.rs1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcrates/libsy-llm-client/src/raw.rs1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcrates/libsy-llm-client/src/run.rs1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcrates/libsy-llm-client/src/run.rs41use crate::{metrics, observability};COMMENT
LOWcrates/libsy-llm-client/src/observation.rs41///COMMENT
LOWcrates/switchyard-py/src/libsy_bindings.rs801 inner: Arc<dyn Algorithm>,COMMENT
LOWcrates/protocol/src/llm.rs281/// Provider-specific fields that do not have first-class conversation fields.COMMENT
LOWcrates/protocol/src/llm.rs301 /// Original request bodies keyed by source format.COMMENT
LOWcrates/protocol/src/llm.rs341#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]COMMENT
LOWcrates/protocol/src/stream.rs361///COMMENT
LOWcrates/protocol/src/decision.rs21/// Position in the request's rubric, including fractional positions.COMMENT
LOWcrates/protocol/src/client.rs1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcrates/protocol/src/client.rs21/// escape hatch for failures that do not fit a shared category.COMMENT
77 more matches not shown…
Deep Nesting95 hits · 88 pts
SeverityFileLineSnippetContext
LOWbenchmark/nemo_gym/gym_routing_plugin.py16CODE
LOWexperimental/craft-taskgen/planning/wrap_pipeline.py208CODE
LOWexperimental/craft-taskgen/planning/wrap_pipeline.py303CODE
LOWexperimental/craft-taskgen/scripts/task_review.py127CODE
LOWexperimental/craft-taskgen/scripts/task_review.py201CODE
LOWexperimental/craft-taskgen/scripts/task_review.py261CODE
LOWexperimental/craft-taskgen/scripts/task_review.py380CODE
LOW…tal/craft-taskgen/scripts/summarize_search_baseline.py462CODE
LOW…al/craft-taskgen/scripts/build_first_half_per_trial.py50CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py261CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py365CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py498CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py1044CODE
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py210CODE
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py246CODE
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py431CODE
LOW…perimental/craft-taskgen/scripts/summarize_baseline.py513CODE
LOW…l/craft-taskgen/scripts/classify_localized_failures.py118CODE
LOW…l/craft-taskgen/scripts/classify_localized_failures.py172CODE
LOW…l/craft-taskgen/scripts/classify_localized_failures.py343CODE
LOW…l/craft-taskgen/scripts/classify_localized_failures.py416CODE
LOWexperimental/craft-taskgen/scripts/analyze_for_site.py183CODE
LOW…mental/craft-taskgen/scripts/agent_pass_rate_matrix.py143CODE
LOW…l/craft-taskgen/scripts/compare_pipeline_agent_runs.py183CODE
LOWexperimental/craft-taskgen/scripts/analyze-easiness.py384CODE
LOW…tal/craft-taskgen/scripts/score_e2e_implicit_search.py227CODE
LOW…tal/craft-taskgen/scripts/score_e2e_implicit_search.py421CODE
LOW…tal/craft-taskgen/scripts/score_e2e_implicit_search.py530CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py72CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py129CODE
LOW…al/craft-taskgen/scripts/deep_dive_e2e_trajectories.py102CODE
LOW…al/craft-taskgen/scripts/deep_dive_e2e_trajectories.py262CODE
LOW…al/craft-taskgen/scripts/deep_dive_e2e_trajectories.py286CODE
LOW…al/craft-taskgen/scripts/deep_dive_e2e_trajectories.py313CODE
LOW…al/craft-taskgen/scripts/deep_dive_e2e_trajectories.py687CODE
LOW…mental/craft-taskgen/scripts/extract_v2b_patch_gold.py61CODE
LOW…ntal/craft-taskgen/scripts/inference_endpoint_audit.py180CODE
LOWexperimental/craft-taskgen/scripts/manage_repo_list.py241CODE
LOWexperimental/craft-taskgen/scripts/swepro/ingest.py176CODE
LOWexperimental/craft-taskgen/scripts/swepro/ingest.py199CODE
LOW…s/swepro/analysis/build_two_mode_suitability_report.py212CODE
LOW…ro/analysis/analyze_swebench_pro_difficulty_proxies.py57CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py75CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py96CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py208CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py316CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py390CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py2601CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3356CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3956CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3976CODE
LOW…imental/craft-taskgen/src/craft_taskgen/task_format.py42CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/config.py100CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/miner.py425CODE
LOW…rimental/craft-taskgen/src/craft_taskgen/claude_cli.py179CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/docker.py122CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/docker.py212CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py120CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py317CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py349CODE
35 more matches not shown…
Excessive Try-Catch Wrapping83 hits · 83 pts
SeverityFileLineSnippetContext
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py396 except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py531 except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py576 except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py864 except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py884 except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-deep-dive.py949 except Exception as e:CODE
LOW…mental/craft-taskgen/scripts/run_alignment_majority.py396 except Exception as err:CODE
LOWexperimental/craft-taskgen/scripts/analyze_for_site.py124 except Exception as exc: # noqa: BLE001 — pricing module may raise on malformed entriesCODE
LOW…mental/craft-taskgen/scripts/agent_pass_rate_matrix.py391 except Exception as err:CODE
LOWexperimental/craft-taskgen/scripts/smoke-llm-judge.py76 except Exception as err:CODE
LOWexperimental/craft-taskgen/scripts/triage-replay.py136 except Exception as e: # noqa: BLE001 — record per-task failure, keep the batch goingCODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh91except Exception:CODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh173except Exception as e:CODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh187except Exception as e:CODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh202except Exception as e:CODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh216except Exception as e:CODE
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh230except Exception as e:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py199 except Exception as err:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py283 except Exception as err:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py299 except Exception as err:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py328 except Exception as err:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py369 except Exception as err:CODE
LOW…erimental/craft-taskgen/scripts/calibrate-alignment.py525 except Exception as err:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py67 except Exception:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py97 except Exception:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py140 except Exception:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py148 except Exception:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py187 except Exception:CODE
LOWexperimental/craft-taskgen/scripts/check_integrity.py196 except Exception:CODE
LOW…mental/craft-taskgen/scripts/extract_v2b_patch_gold.py345 except Exception as e: # noqa: BLE001 — keep going through the corpusCODE
LOW…imental/craft-taskgen/scripts/run_evaluate_majority.py485 except Exception as err:CODE
LOW…ntal/craft-taskgen/scripts/inference_endpoint_audit.py144 except Exception:CODE
LOW…ripts/swepro/analysis/analyze_interface_confounders.py227 except Exception:CODE
LOW…ro/analysis/analyze_swebench_pro_difficulty_proxies.py43 except Exception:CODE
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py380 except Exception as e:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py569 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py906 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py1069 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py1115 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py1393 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py1415 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3245 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3270 except Exception as err:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3340 except Exception as e:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3481 except Exception:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py3568 except Exception as e:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py4083 except Exception:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/steps.py4148 except Exception as e:CODE
MEDIUM…imental/craft-taskgen/src/craft_taskgen/task_format.py178 print(f"Error: {task_dir} is not a directory")CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/miner.py557 except Exception as e:CODE
MEDIUMexperimental/craft-taskgen/src/craft_taskgen/miner.py714 print(f"Error: {repo_path} is not a directory and is not an owner/repo slug", file=sys.stderr)CODE
MEDIUMexperimental/craft-taskgen/src/craft_taskgen/miner.py719 print(f"Error: failed to clone {github_repo}", file=sys.stderr)CODE
MEDIUMexperimental/craft-taskgen/src/craft_taskgen/miner.py731 print("Error: could not get remote URL — is this a GitHub repo?", file=sys.stderr)CODE
MEDIUMexperimental/craft-taskgen/src/craft_taskgen/miner.py736 print(f"Error: remote URL is not a GitHub URL: {remote_url}", file=sys.stderr)CODE
LOW…rimental/craft-taskgen/src/craft_taskgen/claude_cli.py319 except Exception as e:CODE
LOWexperimental/craft-taskgen/src/craft_taskgen/docker.py350 except Exception:CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py136 except Exception:CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py331 except Exception:CODE
LOW…erimental/craft-taskgen/src/craft_taskgen/dashboard.py732 except Exception as e:CODE
LOW…/craft-taskgen/src/craft_taskgen/swebench_alignment.py352 except Exception as err:CODE
23 more matches not shown…
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…outing-profiles/deepswe-v11-stage-router-luna-sol.toml29# Inputs the harness supplies. The harness also owns execution, credentials and results.COMMENT
MEDIUM…outing-profiles/deepswe-v11-stage-router-luna-sol.toml33# Results stay where the harness writes them (Pier: jobs/<job-name>/).COMMENT
MEDIUM…outing-profiles/deepswe-v11-advisor-gate-luna-sol.toml23# Anchors same harness and conditions, k=3: Sol alone 62.8% +/- 3.1 at $743 perCOMMENT
MEDIUM…outing-profiles/deepswe-v11-plan-execute-luna-sol.toml21# Anchors same harness and conditions, k=3: Sol alone 62.8% +/- 3.1 atCOMMENT
MEDIUM…al/craft-taskgen/scripts/build_first_half_per_trial.py205 # bound on first-half localization, and the regression is robust toCOMMENT
MEDIUMexperimental/craft-taskgen/scripts/analyze_for_site.py264 # auto-generated Sphinx HTML files); median is outlier-robust withoutCOMMENT
MEDIUM…kgen/src/craft_taskgen/search/templates/test_runner.py352 # only, primary alone in denominator. Symmetric and robust to over- andCOMMENT
MEDIUM…ft-taskgen/src/craft_taskgen/baselines/run_manifest.py238 # determinism/compaction/harness/outcomes, but we don't require anyCOMMENT
MEDIUM…ft-taskgen/src/craft_taskgen/baselines/run_manifest.py449 # Auto-populate harness.task_dir_digest when tasks_dir is given.COMMENT
Modern Structural Boilerplate25 hits · 25 pts
SeverityFileLineSnippetContext
LOWbenchmark/codex_model_catalog_lib.py21logger = logging.getLogger(__name__)CODE
LOWswitchyard/__init__.py14__all__ = ["__version__"]CODE
LOWswitchyard/libsy/algorithms.py12__all__ = ["llm_classifier", "llm_task_classifier", "noop", "random", "stage_router"]CODE
LOWswitchyard/libsy/__init__.py26__all__ = [CODE
LOWexperimental/craft-taskgen/planning/join_scores.py33logger = logging.getLogger(__name__)CODE
LOWexperimental/craft-taskgen/planning/wrap_pipeline.py45logger = logging.getLogger(__name__)CODE
LOW…rimental/craft-taskgen/scripts/update_alignment_csv.py99def _set_columns(row: list[str], indexes: list[int], value: object, width: int) -> None:CODE
LOW…ntal/craft-taskgen/src/craft_taskgen/planning/synth.py31logger = logging.getLogger(__name__)CODE
LOW…tal/craft-taskgen/src/craft_taskgen/planning/harbor.py14logger = logging.getLogger(__name__)CODE
LOW…tal/craft-taskgen/src/craft_taskgen/planning/scorer.py46logger = logging.getLogger(__name__)CODE
LOW…al/craft-taskgen/src/craft_taskgen/adapters/_docker.py26logger = logging.getLogger(__name__)CODE
LOW…skgen/src/craft_taskgen/adapters/planning/converter.py47logger = logging.getLogger(__name__)CODE
LOW…askgen/src/craft_taskgen/adapters/planning/__init__.py15__all__ = ["run_convert"]CODE
LOW…/craft-taskgen/src/craft_taskgen/baselines/__init__.py36__all__ = [CODE
LOWswitchyard_rust/server.py50__all__ = ["Server", "ServerConfigError"]CODE
LOWexamples/litellm/src/switchyard_litellm/__init__.py8__all__ = ["RandomRoutingPlugin", "StageRoutingPlugin", "SwitchyardRoutingPlugin"]CODE
LOW…tellm/src/switchyard_litellm/configuration/__init__.py13__all__ = [CODE
LOW…litellm/src/switchyard_litellm/configuration/loader.py266__all__ = [CODE
LOW…/switchyard_litellm/configuration/configured_plugin.py10__all__ = ["ROUTING_PLUGIN"]CODE
LOW…ellm/src/switchyard_litellm/plugins/request_rewrite.py286__all__ = ["build_request_patch"]CODE
LOW…rc/switchyard_litellm/plugins/random_routing_plugin.py47__all__ = ["RandomRoutingPlugin"]CODE
LOW…witchyard_litellm/plugins/switchyard_routing_plugin.py239__all__ = ["SwitchyardRoutingPlugin"]CODE
LOW…src/switchyard_litellm/plugins/stage_routing_plugin.py74__all__ = ["StageRoutingPlugin"]CODE
LOW…les/litellm/src/switchyard_litellm/plugins/__init__.py10__all__ = ["RandomRoutingPlugin", "StageRoutingPlugin", "SwitchyardRoutingPlugin"]CODE
LOW…witchyard_litellm/plugins/lite_llm_request_rewriter.py133__all__ = ["LiteLLMRequestRewriter"]CODE
Verbosity Indicators14 hits · 22 pts
SeverityFileLineSnippetContext
LOWbenchmark/nemo_gym/run.sh10# Step 1: Choose settings and check the setup before starting any services.COMMENT
LOW⚡benchmark/nemo_gym/run.sh114# Step 2: Prepare MMLU-Redux, reusing the prepared dataset if it already exists.COMMENT
LOW⚡benchmark/nemo_gym/run.sh122# Step 3: Start a local LiteLLM server and wait until it is ready.COMMENT
LOW⚡benchmark/nemo_gym/run.sh146# Step 4: Save the checkout versions once for reference and prepare the output folders.COMMENT
LOW⚡benchmark/nemo_gym/run.sh151# Step 5: Evaluate the fixed baseline, then Random routing, on the same tasks.COMMENT
LOWbenchmark/nemo_gym/run.sh174# Step 6: Stop LiteLLM, then compare the saved fixed and routed runs.COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py386# Step 1: Select candidatesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py479# Step 2: Evaluate candidatesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py628# Step 3: Build task packagesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2444# Step 4: Find tests and generate solve.sh (ALIGNMENT_CHECKED → TESTS_DISCOVERED)COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2597# Step 5: Docker build + F2P/P2P classification (DOCKERFILE_BUILT → F2P_P2P_CLASSIFIED)COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2887# Step 5: F2P/P2P classification (replaces docker validate)COMMENT
LOW…perimental/craft-taskgen/src/craft_taskgen/pipeline.py257 # Step 1: SelectCOMMENT
LOW…perimental/craft-taskgen/src/craft_taskgen/pipeline.py285 # Step 2: EvaluateCOMMENT
Structural Annotation Overuse14 hits · 22 pts
SeverityFileLineSnippetContext
LOWbenchmark/nemo_gym/run.sh10# Step 1: Choose settings and check the setup before starting any services.COMMENT
LOW⚡benchmark/nemo_gym/run.sh114# Step 2: Prepare MMLU-Redux, reusing the prepared dataset if it already exists.COMMENT
LOW⚡benchmark/nemo_gym/run.sh122# Step 3: Start a local LiteLLM server and wait until it is ready.COMMENT
LOW⚡benchmark/nemo_gym/run.sh146# Step 4: Save the checkout versions once for reference and prepare the output folders.COMMENT
LOW⚡benchmark/nemo_gym/run.sh151# Step 5: Evaluate the fixed baseline, then Random routing, on the same tasks.COMMENT
LOWbenchmark/nemo_gym/run.sh174# Step 6: Stop LiteLLM, then compare the saved fixed and routed runs.COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py386# Step 1: Select candidatesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py479# Step 2: Evaluate candidatesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py628# Step 3: Build task packagesCOMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2444# Step 4: Find tests and generate solve.sh (ALIGNMENT_CHECKED → TESTS_DISCOVERED)COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2597# Step 5: Docker build + F2P/P2P classification (DOCKERFILE_BUILT → F2P_P2P_CLASSIFIED)COMMENT
LOW⚡experimental/craft-taskgen/src/craft_taskgen/steps.py2887# Step 5: F2P/P2P classification (replaces docker validate)COMMENT
LOW…perimental/craft-taskgen/src/craft_taskgen/pipeline.py257 # Step 1: SelectCOMMENT
LOW…perimental/craft-taskgen/src/craft_taskgen/pipeline.py285 # Step 2: EvaluateCOMMENT
Modern AI Meta-Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMexperimental/craft-taskgen/scripts/run-baselines.sh120# talk to an LLM, they just orchestrate harbor's own non-LLM agentsCOMMENT
MEDIUM…kgen/src/craft_taskgen/baselines/reasoning_defaults.py54 # Sonnet 4.6: "Medium effort (recommended default)" for agentic codingCOMMENT
MEDIUMcrates/libsy-llm-client/src/run.rs1084 body: r#"{"error":{"code":"content_policy_violation","message":"request blocked by content policCODE
MEDIUMcrates/protocol/src/client.rs85 #[error("context window exceeded for model {model}: {message}")]COMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHbenchmark/nemo_gym/README.md46export NVIDIA_API_KEY="your-api-key"CODE
HIGH…erimental/craft-taskgen/src/craft_taskgen/preflight.py478 placeholders = {"", "your-api-key-here", "sk-your-key-here", "changeme"}CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWexperimental/craft-taskgen/scripts/run-baselines.sh10# Usage:COMMENT
LOWexperimental/craft-taskgen/scripts/docker-firewall.sh12# Usage:COMMENT
LOW…erimental/craft-taskgen/scripts/build-codex-prebake.sh18# Usage:COMMENT
LOWexperimental/craft-taskgen/scripts/rerun-tainted.sh25# Usage:COMMENT
LOWexperimental/craft-taskgen/scripts/run-pipeline.sh6# Usage:COMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…tal/craft-taskgen/src/craft_taskgen/search/validate.py80 # Check if any qualified class has this methodCOMMENT
LOW…review/skills/gold-review/scripts/apply_annotations.py142 # Check if anything changedCOMMENT
LOW…ills/gold-review/scripts/trajectory_integrity_check.py207 # Check if agent read this file or any file containing itCOMMENT
LOW…view/skills/gold-review/scripts/read_gold_functions.py63 # Check if it's inside the right classCOMMENT
LOW…view/skills/gold-review/scripts/read_gold_functions.py121 # Check if it's a simple delegationCOMMENT
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡experimental/craft-taskgen/tests/test_search.py171 # Create a minimal task fileCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…erimental/craft-taskgen/tests/test_score_exclusions.py61CODE
LOW…tal/craft-taskgen/scripts/score_e2e_implicit_search.py205CODE
LOW…tal/craft-taskgen/src/craft_taskgen/planning/scorer.py194CODE
LOWswitchyard_rust/libsy.py299CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ripts/swepro/analysis/analyze_interface_confounders.py172 "placeholder": f"{placeholder_pass}/{placeholder_n} ({pct(placeholder_pass, placeholder_n)})",CODE
LOW…ripts/swepro/analysis/analyze_interface_confounders.py499 ["repo", "eval", "alignment", "f2p_bucket", "placeholder", "meaningful"],CODE