AI Slop Code RIsk Monitor

SWE-bench/SWE-bench

SWE-bench: Can Language Models Resolve Real-world Github Issues?

8.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for SWE-bench/SWE-bench, a Python project with 6,001 GitHub stars. SynthScan examined 67,487 lines of code across 651 source files, recording 433 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 8.8 (Moderate 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.

8.8
Adjusted Signal
8.8
Raw Pattern Score
100%
Time Factor
2026-09-18
Last Push
6.0K
Stars
Python
Language
67.5K
Lines of Code
651
Files
433
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 25.4/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 4.8/100 · LOW

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

Agent Over-Engineering Ratio 26.7/100 · MEDIUM

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

PR Review Velocity Impact 35.1/100 · MEDIUM

Which changes need focused human review? 433 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 23MEDIUM 18LOW 392

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

Hyper-Verbose Identifiers234 hits · 278 pts
SeverityFileLineSnippetContext
LOWtests/test_log_parsers_python.py23 def test_bare_status_lines_do_not_crash(self):STRING
LOW⚡tests/test_grading_truncated_ids.py17def test_exact_match_still_exact():CODE
LOW⚡tests/test_grading_truncated_ids.py23def test_missing_balanced_id_is_failed_no_fallback():CODE
LOW⚡tests/test_grading_truncated_ids.py30def test_truncated_id_unique_prefix_match():CODE
LOW⚡tests/test_grading_truncated_ids.py39def test_truncated_id_no_match_is_failed():CODE
LOW⚡tests/test_grading_truncated_ids.py45def test_truncated_id_ambiguous_same_status_ok():CODE
LOWtests/test_grading_truncated_ids.py56def test_truncated_id_ambiguous_mixed_status_conservative():CODE
LOWtests/test_grading_truncated_ids.py67def test_truncated_failed_id_reports_failed():CODE
LOWtests/test_grading_truncated_ids.py74def test_mixed_passed_and_xfail_matches_resolve():CODE
LOWtests/test_grading_truncated_ids.py93def test_surplus_closing_bracket_is_not_a_truncation():CODE
LOWtests/test_inference_usage.py6def test_usage_to_dict_preserves_openai_cached_tokens():CODE
LOWtests/test_inference_usage.py24def test_usage_to_dict_preserves_anthropic_cache_tokens():CODE
LOWtests/test_inference_usage.py45def test_usage_to_dict_handles_dict_details():CODE
LOW⚡tests/test_grading_marker_fallback.py32def test_results_inside_markers_are_used(tmp_path):CODE
LOW⚡tests/test_grading_marker_fallback.py41def test_results_outside_markers_fall_back_to_whole_log(tmp_path):CODE
LOW⚡tests/test_grading_marker_fallback.py51def test_missing_markers_still_reports_not_found(tmp_path):CODE
LOW⚡tests/test_grading_marker_fallback.py58def test_empty_results_without_evidence_is_not_found(tmp_path):CODE
LOWtests/test_grading_marker_fallback.py73def test_empty_results_with_runner_evidence_is_a_clean_run(tmp_path):CODE
LOWtests/test_grading_marker_fallback.py84def test_a_clean_jasmine_run_counts_as_having_run(tmp_path):CODE
LOWtests/test_grading_marker_fallback.py101def test_a_suite_that_never_started_is_still_rejected(tmp_path):CODE
LOWtests/test_grading_marker_fallback.py110def test_a_zero_count_summary_is_not_evidence_the_suite_ran(tmp_path):CODE
LOWtests/test_grading_marker_fallback.py127def test_a_real_karma_run_is_still_evidence(tmp_path):CODE
LOW⚡tests/test_submit_flow.py72def test_publish_omits_trajs_asset_when_there_are_none(packaged, tmp_path):CODE
LOW⚡tests/test_submit_flow.py80def test_publish_includes_trajs_asset_when_present(packaged, tmp_path):CODE
LOW⚡tests/test_submit_flow.py90def test_publish_preserves_header_comments(packaged, tmp_path):CODE
LOW⚡tests/test_submit_flow.py99def test_publish_requires_a_destination(packaged):CODE
LOW⚡tests/test_submit_flow.py105def test_the_error_suggests_a_name(packaged):CODE
LOW⚡tests/test_submit_flow.py110def test_publish_without_a_repo_dir_is_a_clear_error(tmp_path):CODE
LOW⚡tests/test_submit_flow.py116def test_repo_name_comes_from_the_generated_header(packaged):CODE
LOW⚡tests/test_submit_flow.py133def test_register_refuses_unfilled_todos(packaged):CODE
LOW⚡tests/test_submit_flow.py140def test_unfilled_todos_names_dotted_paths(packaged):CODE
LOW⚡tests/test_submit_flow.py146def test_unfilled_todos_checks_the_readme_too(packaged):CODE
LOW⚡tests/test_submit_flow.py151def test_clean_entry_has_no_todos(packaged):CODE
LOW⚡tests/test_submit_flow.py155def test_write_entry_lands_at_the_split_path(packaged, tmp_path):CODE
LOW⚡tests/test_submit_flow.py196def test_verify_passes_an_honest_entry(packaged, graded):CODE
LOW⚡tests/test_submit_flow.py204def test_verify_catches_a_claim_that_does_not_hold(packaged, graded):CODE
LOW⚡tests/test_submit_flow.py212def test_verify_catches_a_claim_with_no_log_at_all(packaged, graded):CODE
LOW⚡tests/test_submit_flow.py261def test_verify_needs_somewhere_to_look(packaged, graded):CODE
LOW⚡tests/test_submit_flow.py267def test_verify_rejects_unknown_split(packaged):CODE
LOW⚡tests/test_submit_flow.py272def test_verify_needs_results_json(tmp_path):CODE
LOW⚡tests/test_submit_flow.py281def test_init_commit_is_idempotent(tmp_path):CODE
LOW⚡tests/test_submit_flow.py291def test_to_https_normalizes_ssh_remotes():CODE
LOW⚡tests/test_submit_flow.py301def test_register_split_comes_from_the_sidecar(packaged):CODE
LOW⚡tests/test_submit_flow.py305def test_register_split_falls_back_to_the_run(tmp_path):CODE
LOW⚡tests/test_submit_flow.py318def test_register_explicit_split_wins(packaged):CODE
LOW⚡tests/test_submit_flow.py322def test_register_split_unresolvable_is_a_clear_error(tmp_path):CODE
LOW⚡tests/test_submit_flow.py328def test_repo_name_comes_from_the_sidecar(packaged):CODE
LOW⚡tests/test_submit_flow.py334def test_verify_split_from_the_sidecar(packaged):CODE
LOW⚡tests/test_submit_flow.py338def test_verify_split_from_an_experiments_entry(tmp_path):CODE
LOW⚡tests/test_submit_flow.py345def test_verify_split_unresolvable_is_a_clear_error(tmp_path):CODE
LOW⚡tests/test_submit_flow.py355def test_resolvers_accept_a_run_directory(tmp_path, packaged):CODE
LOW⚡tests/test_submit_flow.py367def test_resolvers_still_accept_the_deeper_paths(packaged):CODE
LOW⚡tests/test_submit_flow.py375def test_resolvers_name_where_they_looked(tmp_path):CODE
LOW⚡tests/test_submit_flow.py383def test_register_always_forks(monkeypatch, packaged):CODE
LOWtests/test_submit_flow.py58def test_publish_pushes_and_records_assets(packaged, tmp_path):CODE
LOWtests/test_submit_flow.py166def test_write_entry_refuses_to_overwrite(packaged, tmp_path):CODE
LOWtests/test_submit_flow.py224def test_verify_reports_an_unclaimed_resolving_instance(packaged, graded):CODE
LOWtests/test_submit_flow.py237def test_missing_log_for_an_unclaimed_instance_is_not_a_failure(packaged, graded):CODE
LOWtests/test_submit_flow.py247def test_verify_reads_gzipped_test_output(packaged, graded):CODE
LOWtests/test_submit_flow.py401def test_register_reports_each_step(monkeypatch, packaged):CODE
174 more matches not shown…
Deep Nesting61 hits · 60 pts
SeverityFileLineSnippetContext
LOWswebench/collect/get_top_pypi.py20CODE
LOWswebench/collect/build_dataset_ft.py13CODE
LOWswebench/collect/utils.py353CODE
LOWswebench/collect/utils.py65CODE
LOWswebench/collect/utils.py127CODE
LOWswebench/collect/build_dataset.py97CODE
LOWswebench/submit/verify.py118CODE
LOWswebench/submit/publish.py87CODE
LOWswebench/cli/submit.py140CODE
LOWswebench/harness/run_evaluation.py229CODE
LOWswebench/harness/utils.py92CODE
LOWswebench/harness/utils.py137CODE
LOWswebench/harness/reporting.py16CODE
LOWswebench/harness/log_parsers/java.py6CODE
LOWswebench/harness/log_parsers/java.py68CODE
LOWswebench/harness/log_parsers/java.py85CODE
LOWswebench/harness/log_parsers/ruby.py7CODE
LOWswebench/harness/log_parsers/ruby.py30CODE
LOWswebench/harness/log_parsers/ruby.py50CODE
LOWswebench/harness/log_parsers/ruby.py69CODE
LOWswebench/harness/log_parsers/c.py8CODE
LOWswebench/harness/log_parsers/c.py35CODE
LOWswebench/harness/log_parsers/c.py57CODE
LOWswebench/harness/log_parsers/c.py94CODE
LOWswebench/harness/log_parsers/c.py113CODE
LOWswebench/harness/log_parsers/python.py45CODE
LOWswebench/harness/log_parsers/python.py82CODE
LOWswebench/harness/log_parsers/python.py162CODE
LOWswebench/harness/log_parsers/python.py192CODE
LOWswebench/harness/log_parsers/go.py6CODE
LOWswebench/harness/log_parsers/php.py6CODE
LOWswebench/harness/log_parsers/javascript.py9CODE
LOWswebench/harness/log_parsers/javascript.py109CODE
LOWswebench/harness/log_parsers/javascript.py192CODE
LOWswebench/harness/log_parsers/javascript.py324CODE
LOWswebench/harness/log_parsers/javascript.py390CODE
LOWswebench/harness/log_parsers/javascript.py453CODE
LOWswebench/harness/log_parsers/javascript.py627CODE
LOWswebench/harness/log_parsers/javascript.py654CODE
LOWswebench/harness/log_parsers/javascript.py675CODE
LOWswebench/harness/log_parsers/javascript.py696CODE
LOWswebench/harness/log_parsers/javascript.py745CODE
LOWswebench/harness/log_parsers/rust.py7CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py402CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py142CODE
LOW…/harness/modal_eval/run_evaluation_modal_entrypoint.py16CODE
LOW…/harness/modal_eval/run_evaluation_modal_entrypoint.py27CODE
LOWswebench/task/checks.py72CODE
LOWswebench/task/publish.py142CODE
LOWswebench/inference/run_api.py559CODE
LOWswebench/inference/run_llama.py28CODE
LOWswebench/inference/run_llama.py246CODE
LOWswebench/inference/llamao/modeling_flash_llama.py935CODE
LOWswebench/inference/make_datasets/create_instance.py340CODE
LOWswebench/inference/make_datasets/utils.py237CODE
LOWswebench/inference/make_datasets/utils.py277CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py81CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py104CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py276CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py309CODE
1 more matches not shown…
Excessive Try-Catch Wrapping44 hits · 52 pts
SeverityFileLineSnippetContext
LOWswebench/collect/get_tasks_pipeline.py89 except Exception as e:CODE
MEDIUMswebench/collect/get_tasks_pipeline.py91 print(f"Something went wrong for {repo}, skipping: {e}")CODE
LOWswebench/collect/utils.py168 except Exception as e:CODE
MEDIUMswebench/collect/make_repo/call_make_repo.py16 print(f"Error making mirror repo for {repo}")CODE
MEDIUMswebench/collect/cleanup/remove_envs.py56 print(f"Error: {e}")CODE
MEDIUMswebench/collect/cleanup/remove_envs.py57 print(f"Error output: {e.stderr}")CODE
MEDIUMswebench/collect/cleanup/remove_envs.py83 print(f"Error: {e}")CODE
MEDIUMswebench/collect/cleanup/remove_envs.py84 print(f"Error output: {e.stderr.decode('utf-8')}")CODE
LOWswebench/image_builder/docker_utils.py27 except Exception as e:CODE
LOWswebench/image_builder/docker_build.py108 except Exception as e:CODE
LOWswebench/cli/images.py118 except Exception:CODE
LOWswebench/harness/run_evaluation.py113 except Exception:CODE
LOWswebench/harness/run_evaluation.py147 except Exception as e:CODE
LOWswebench/harness/run_evaluation.py166 except Exception as e:CODE
LOWswebench/harness/run_evaluation.py418 except Exception as e:CODE
LOWswebench/harness/docker_utils.py85 except Exception as e2:CODE
LOWswebench/harness/docker_utils.py124 except Exception:CODE
LOWswebench/harness/docker_utils.py150 except Exception as e:CODE
LOW⚡swebench/harness/utils.py106 except Exception as e:CODE
LOWswebench/harness/utils.py128 except Exception:CODE
LOWswebench/harness/remove_containers.py46 except Exception as e:CODE
MEDIUMswebench/harness/remove_containers.py47 print(f"Error removing container {name}: {e}")CODE
MEDIUMswebench/harness/modal_eval/run_evaluation_modal.py102 print(f"Error reading stream: {e}")CODE
MEDIUMswebench/harness/modal_eval/run_evaluation_modal.py138 print(f"Error during command execution: {e}")CODE
MEDIUMswebench/harness/modal_eval/run_evaluation_modal.py265 print(f"Error creating sandbox: {e}")CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py101 except Exception as e:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py137 except Exception as e:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py153 except Exception:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py157 except Exception:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py264 except Exception as e:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py384 except Exception as e:CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py466 except Exception:CODE
LOWswebench/task/publish.py159 except Exception as e: # noqa: BLE001 - datasets raises many types when a dataset or split is absentCODE
LOWswebench/inference/run_api.py293 except Exception as e:CODE
LOWswebench/inference/run_api.py334 except Exception as e:CODE
LOWswebench/inference/run_api.py409 except Exception as e:CODE
LOWswebench/inference/run_api.py505 except Exception:CODE
LOWswebench/inference/run_llama.py330 except Exception as e:CODE
LOWswebench/inference/make_datasets/create_instance.py484 except Exception as e:CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py58 except Exception as e:CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py96 except Exception as e:CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py138 except Exception as e:CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py332 except Exception as e:CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py343 except Exception:CODE
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHswebench/collect/get_top_pypi.py74except:CODE
HIGHswebench/image_builder/docker_build.py172except docker.errors.ImageNotFound:CODE
HIGHswebench/harness/run_evaluation.py111except docker.errors.NotFound:CODE
HIGHswebench/harness/run_evaluation.py113except Exception:CODE
HIGHswebench/harness/docker_utils.py124except Exception:CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py99except asyncio.CancelledError:CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py116except asyncio.CancelledError:CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py157except Exception:CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py151except asyncio.TimeoutError:CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py153except Exception:CODE
Cross-Language Confusion8 hits · 38 pts
SeverityFileLineSnippetContext
HIGHswebench/harness/modal_eval/run_evaluation_modal.py170 "conda activate testbed && python -m pip install -r $HOME/requirements.txt",CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py171 "conda activate testbed && python -m pip install --trusted-host pypi-mirror.modal.local -r $HOME/requirementCODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py216 "echo 'source /opt/miniconda3/etc/profile.d/conda.sh && conda activate testbed' >> /root/.bashrc",CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py279 "cd /testbed && git apply -v /tmp/patch.diff",CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py286 "cd /testbed && patch --batch --fuzz=5 -p1 -i /tmp/patch.diff",CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py303 "cd /testbed && git diff",CODE
HIGHswebench/harness/modal_eval/run_evaluation_modal.py337 git_diff_output_after, returncode = runner.exec("cd /testbed && git diff")CODE
HIGHswebench/task/publish.py51 rejected by the hub. Filled empty rather than null, so the column keeps theSTRING
Unused Imports30 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/test_gold_patch_source.py10CODE
LOWswebench/collect/print_pulls.py5CODE
LOWswebench/collect/utils.py1CODE
LOWswebench/image_builder/docker_utils.py1CODE
LOWswebench/image_builder/__init__.py9CODE
LOWswebench/image_builder/__init__.py9CODE
LOWswebench/image_builder/__init__.py9CODE
LOWswebench/image_builder/__init__.py14CODE
LOWswebench/image_builder/__init__.py14CODE
LOWswebench/image_builder/__init__.py14CODE
LOWswebench/image_builder/__init__.py19CODE
LOWswebench/image_builder/docker_build.py1CODE
LOWswebench/harness/run_evaluation.py1CODE
LOWswebench/harness/docker_utils.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/__init__.py1CODE
LOWswebench/harness/infra_failure.py16CODE
LOWswebench/harness/modal_eval/run_evaluation_modal.py3CODE
LOWswebench/harness/modal_eval/__init__.py1CODE
LOWswebench/harness/modal_eval/__init__.py2CODE
LOWswebench/harness/constants/__init__.py3CODE
LOWswebench/task/checks.py11CODE
LOWswebench/task/repo.py23CODE
LOWswebench/task/publish.py8CODE
LOWswebench/inference/usage.py3CODE
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWswebench/__init__.py27__all__ = [CODE
LOWswebench/collect/print_pulls.py20logger = logging.getLogger(__name__)CODE
LOWswebench/collect/utils.py18logger = logging.getLogger(__name__)CODE
LOWswebench/collect/build_dataset.py18logger = logging.getLogger(__name__)CODE
LOWswebench/image_builder/__init__.py23__all__ = [CODE
LOWswebench/harness/__init__.py11__all__ = [CODE
LOWswebench/harness/log_parsers/__init__.py138__all__ = [CODE
LOWswebench/harness/modal_eval/__init__.py5__all__ = [CODE
LOWswebench/inference/run_api.py30logger = logging.getLogger(__name__)CODE
LOWswebench/inference/run_llama.py23logger = logging.getLogger(__name__)CODE
LOWswebench/inference/run_live.py44logger = logging.getLogger(__name__)CODE
LOWswebench/inference/make_datasets/eval_retrieval.py15logger = logging.getLogger(__name__)CODE
LOWswebench/inference/make_datasets/create_instance.py18logger = logging.getLogger(__name__)CODE
LOWswebench/inference/make_datasets/tokenize_dataset.py16logger = logging.getLogger(__name__)CODE
LOWswebench/inference/make_datasets/bm25_retrieval.py22logger = logging.getLogger(__name__)CODE
LOWswebench/inference/make_datasets/create_text_dataset.py22logger = logging.getLogger(__name__)CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHswebench/harness/log_parsers/ruby.py0args: log (str): log content returns: dict: test case to test status mappingSTRING
HIGHswebench/harness/log_parsers/c.py0args: log (str): log content returns: dict: test case to test status mappingSTRING
HIGHswebench/harness/log_parsers/rust.py0args: log (str): log content returns: dict: test case to test status mappingSTRING
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippetContext
LOWswebench/collect/make_repo/make_repo.sh12# Check if the target repository existsCOMMENT
LOWswebench/collect/make_repo/make_repo.sh27# Check if the new repository already existsCOMMENT
LOWswebench/collect/make_repo/make_repo.sh37# Check if the repository creation was successfulCOMMENT
LOWswebench/collect/make_repo/make_repo.sh49# Check if the local repository directory already existsCOMMENT
LOWswebench/harness/run_evaluation.py89 # Check if the image existsCOMMENT
LOWswebench/harness/run_evaluation.py392 # Check if git diff changed after running eval scriptCOMMENT
LOWswebench/harness/grading.py358 # Check if the model patch existsCOMMENT
LOW⚡swebench/harness/utils.py103 # Check if instance ran successfullyCOMMENT
LOWswebench/harness/modal_eval/run_evaluation_modal.py339 # Check if git diff changed after running eval scriptCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHswebench/logger.py9 Set up a logger for evaluation and build processes. This logger is used for logging the evaluation process, buSTRING
HIGHswebench/inference/run_llama.py106 Loads a base model and optionally PEFT adapters. Args: model_name_or_path (str): The name or path of tSTRING
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml115# the harness writes test_output.txt files -- these match pytest's defaultCOMMENT
MEDIUMswebench/submit/package.py44# the harness identified by metadata tags rather than by a separate directory.COMMENT
MEDIUMswebench/harness/grading.py41 # openlayers' rendering harness logs "<case>': ok" per passing case atCOMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdocs/installation.md27### Install dependencies for dataset generation or RAG inferenceCOMMENT
MEDIUMdocs/guides/create_rag_datasets.md1# Creating RAG Datasets for SWE-benchCOMMENT
MEDIUMswebench/inference/run_api.py497 # Determine the context window from LiteLLM's model registry so we can dropCOMMENT
Self-Referential Comments2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM⚡swebench/harness/utils.py98 # Create a future for running each instanceCOMMENT
MEDIUMswebench/harness/modal_eval/run_evaluation_modal.py1# This file contains logic for running evaluations on Modal: <https://modal.com/>.COMMENT
AI Structural Patterns7 hits · 7 pts
SeverityFileLineSnippetContext
LOWswebench/cli/submit.py400CODE
LOWswebench/cli/images.py16CODE
LOWswebench/cli/infer.py12CODE
LOWswebench/cli/evaluate.py16CODE
LOWswebench/inference/llamao/modeling_flash_llama.py590CODE
LOWswebench/inference/llamao/modeling_flash_llama.py767CODE
LOWswebench/inference/llamao/modeling_flash_llama.py935CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWswebench/inference/llamao/modeling_flash_llama.py1# Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.COMMENT