Repository Analysis

EleutherAI/lm-evaluation-harness

A framework for few-shot evaluation of language models.

12.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of EleutherAI/lm-evaluation-harness, a Python project with 13,279 GitHub stars. SynthScan v2.0 examined 292,296 lines of code across 15299 source files, recording 1896 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 12.5 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

12.5
Adjusted Score
12.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
13.3K
Stars
Python
Language
292.3K
Lines of Code
15.3K
Files
1.9K
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 350MEDIUM 167LOW 1379

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1896 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition337 hits · 1685 pts
SeverityFileLineSnippetContext
HIGHlm_eval/filters/selection.py0assuming each entry of `resps` is a list of model responses, we discard all but the first response.STRING
HIGH…val/tasks/darija_bench/darija_transliteration/utils.py0assuming each entry of `resps` is a list of model responses, we discard all but the first response.STRING
HIGHlm_eval/tasks/darija_bench/darija_translation/utils.py0assuming each entry of `resps` is a list of model responses, we discard all but the first response.STRING
HIGH…_eval/tasks/darija_bench/darija_summarization/utils.py0assuming each entry of `resps` is a list of model responses, we discard all but the first response.STRING
HIGHlm_eval/tasks/super_glue/record/t5_utils.py0lower text and remove punctuation, extra whitespace.STRING
HIGHlm_eval/tasks/french_bench/utils.py0lower text and remove punctuation, extra whitespace.STRING
HIGHlm_eval/tasks/longbench/metrics.py0lower text and remove punctuation, extra whitespace.STRING
HIGHlm_eval/tasks/mlqa/utils.py0lower text and remove punctuation, extra whitespace.STRING
HIGHlm_eval/tasks/tinyBenchmarks/utils_truthfulqa.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/catalan_bench/truthfulqa_va/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/truthfulqa-multi/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/truthfulqa/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/noreval/nortruthfulqa/generation/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/noreval/norsumm/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/galician_bench/utils.py0returns `t5` style bleu scores. see the related implementation: https://github.com/google-research/text-to-text-transferSTRING
HIGHlm_eval/tasks/tinyBenchmarks/utils_truthfulqa.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/catalan_bench/truthfulqa_va/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/truthfulqa-multi/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/truthfulqa/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/noreval/nortruthfulqa/generation/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/noreval/norsumm/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/galician_bench/utils.py0returns `t5` style rouge scores. see the related implementation: https://github.com/google-research/text-to-text-transfeSTRING
HIGHlm_eval/tasks/darijammlu/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/mmlusr/config.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/e2lmc/noor/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/egymmlu/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/arab_culture/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGH…val/tasks/arab_culture_completion/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/mmlu/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/tmmluplus/default/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/arabicmmlu/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/tmlu/default/_generate_configs.py0take in a yaml, and output all "other" splits with this yamlSTRING
HIGHlm_eval/tasks/mgsm/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrimmlu/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/paws-x/_generate_config.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/translation/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/xnli/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/openai_mmlu/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/adr/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/mafand/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/naijarc/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/belebele/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/injongointent/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/xlsum/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/afrisenti/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/masakhapos/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/ntrex/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/flores/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/salt/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/masakhanews/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/uhura-arc-easy/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/sib/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/afriqa/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrobench/masakhaner/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrixnli/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrixnli/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/xwinograd/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrimgsm/gen_utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/afrimgsm/utils.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
HIGHlm_eval/tasks/eus_exams/configs.py0generate a yaml file for each configuage. :param output_dir: the directory to output the files to. :param overwrite: wheSTRING
277 more matches not shown…
Hyper-Verbose Identifiers660 hits · 582 pts
SeverityFileLineSnippetContext
LOWlm_eval/evaluator_utils.py173def _compute_task_aggregations(CODE
LOWlm_eval/evaluator_utils.py319def _collect_groups_bottom_up(groups: dict[str, Group]) -> list[Group]:CODE
LOWlm_eval/evaluator_utils.py404def _propagate_higher_is_better(CODE
LOWlm_eval/utils.py47def is_transformers_available() -> bool:CODE
LOWlm_eval/utils.py324def get_sample_results_filenames(filenames: list[str]) -> list[str]:CODE
LOWlm_eval/utils.py331def get_rolling_token_windows(CODE
LOWlm_eval/utils.py844def check_remote_tokenizer_support(CODE
LOWlm_eval/tasks/__init__.py36def get_task_name_from_config(task_config: dict[str, str]) -> str:CODE
LOWlm_eval/tasks/__init__.py50def get_task_name_from_object(task_object):CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py207def generate_optimal_plans_for_problem_state(P, state, num_plans, timeout):CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py330def create_tmp_dom_prob_replace_init(P, state, result_domain_file, result_problem_file):CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py671def str_remove_before_first_parentheses(s):CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py680def str_remove_after_last_parentheses(s):CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py207def generate_optimal_plans_for_problem_state(P, state, num_plans, timeout):CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py330def create_tmp_dom_prob_replace_init(P, state, result_domain_file, result_problem_file):CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py671def str_remove_before_first_parentheses(s):CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py680def str_remove_after_last_parentheses(s):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py35 def test_normalize_comma_only_between_digits(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py58 def test_extract_answer_multiline_with_answer(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py100 def test_exact_numerical_match(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py115 def test_non_numeric_fallback(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py123 def test_same_unit_different_values(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py145 def test_missing_optional_fields(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py163 def test_exact_and_numerical_match(self):CODE
LOWlm_eval/tasks/jfinqa/test_jfinqa_utils.py169 def test_numerical_match_only(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py133 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py170 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py243 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py293 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py340 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py379 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py427 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py476 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py550 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py600 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py660 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py721 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py784 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py853 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py911 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py939 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1017 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1108 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1153 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1208 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1241 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1295 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1331 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1356 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1432 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1460 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1492 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1523 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1580 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/instructions.py1612 def get_instruction_args_keys(self):CODE
LOWlm_eval/tasks/ifeval/utils.py24def test_instruction_following_strict(CODE
LOWlm_eval/tasks/ifeval/utils.py57def test_instruction_following_loose(CODE
LOWlm_eval/tasks/ifeval/multilingual/utils.py23def test_instruction_following_strict(CODE
LOWlm_eval/tasks/ifeval/multilingual/utils.py56def test_instruction_following_loose(CODE
LOW…ks/ifeval/multilingual/instructions/es_instructions.py104 def get_instruction_args_keys(self):CODE
600 more matches not shown…
Decorative Section Separators98 hits · 358 pts
SeverityFileLineSnippetContext
MEDIUMlm_eval/tasks/cruxeval/utils.py223# ============================================================================COMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py225# ============================================================================COMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py241# ============================================================================COMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py243# ============================================================================COMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py425# ============================================================================COMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py427# ============================================================================COMMENT
MEDIUMlm_eval/api/registry.py414# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py416# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py460# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py462# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py520# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py522# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py570# =============================================================================COMMENT
MEDIUMlm_eval/api/registry.py572# =============================================================================COMMENT
MEDIUMlm_eval/api/group.py327# =============================================================================COMMENT
MEDIUMlm_eval/api/group.py329# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py13# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py15# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py24# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py26# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py58# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py60# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py112# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py114# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py717# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py719# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py180# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py182# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py455# =============================================================================COMMENT
MEDIUMtests/test_fewshot_context.py457# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py12# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py14# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py359# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py361# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py921# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py923# =============================================================================COMMENT
MEDIUMtests/test_task_manager.py84# =============================================================================STRING
MEDIUMtests/test_task_manager.py86# =============================================================================STRING
MEDIUMtests/test_task_manager.py205# =============================================================================STRING
MEDIUMtests/test_task_manager.py207# =============================================================================STRING
MEDIUMtests/test_task_manager.py777# =============================================================================STRING
MEDIUMtests/test_task_manager.py779# =============================================================================STRING
MEDIUMtests/test_samplers.py38# =============================================================================COMMENT
MEDIUMtests/test_samplers.py40# =============================================================================COMMENT
MEDIUMtests/test_samplers.py213# =============================================================================COMMENT
MEDIUMtests/test_samplers.py215# =============================================================================COMMENT
MEDIUMtests/test_samplers.py268# =============================================================================COMMENT
MEDIUMtests/test_samplers.py270# =============================================================================COMMENT
MEDIUMtests/test_samplers.py304# =============================================================================COMMENT
MEDIUMtests/test_samplers.py306# =============================================================================COMMENT
MEDIUMtests/test_samplers.py15# =============================================================================COMMENT
MEDIUMtests/test_samplers.py17# =============================================================================COMMENT
MEDIUMtests/test_aggregation_pipeline.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_aggregation_pipeline.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_aggregation_pipeline.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_aggregation_pipeline.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_evaluator_utils.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_evaluator_utils.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_evaluator_utils.py139# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_evaluator_utils.py141# ---------------------------------------------------------------------------COMMENT
38 more matches not shown…
Excessive Try-Catch Wrapping164 hits · 202 pts
SeverityFileLineSnippetContext
LOWlm_eval/tasks/_index.py63 except Exception as err:CODE
LOWlm_eval/tasks/realtoxicityprompts/metric.py36 except Exception:CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py123 except Exception as e:CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py148 except Exception:CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py325 except Exception as e:CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py676 except Exception:CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py1058 except Exception as e:CODE
MEDIUMlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py1053def parse_prediction(prediction):CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py123 except Exception as e:CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py148 except Exception:CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py325 except Exception as e:CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py676 except Exception:CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py1058 except Exception as e:CODE
MEDIUMlm_eval/tasks/acpbench/gen_2shot/acp_utils.py1053def parse_prediction(prediction):CODE
LOWlm_eval/tasks/slr_bench/lm_eval_slr_bench.py14except Exception as e:CODE
LOWlm_eval/tasks/slr_bench/lm_eval_slr_bench.py59 except Exception as e:CODE
MEDIUMlm_eval/tasks/slr_bench/lm_eval_slr_bench.py60 print(f"Error in process_results: {e}")CODE
LOWlm_eval/tasks/humaneval/utils.py9except Exception as e:CODE
LOWlm_eval/tasks/aime/utils.py49 except Exception:CODE
LOWlm_eval/tasks/hendrycks_math/utils.py49 except Exception:CODE
LOWlm_eval/tasks/hrm8k/default/utils.py32 except Exception:CODE
LOWlm_eval/tasks/hrm8k/default/utils.py70 except Exception:CODE
LOWlm_eval/tasks/hrm8k/default/utils.py84 except Exception:CODE
LOWlm_eval/tasks/hrm8k/default/utils.py158 except Exception:CODE
LOWlm_eval/tasks/hrm8k/default/utils.py189 except Exception:CODE
LOWlm_eval/tasks/hrm8k/en/utils.py32 except Exception:CODE
LOWlm_eval/tasks/hrm8k/en/utils.py70 except Exception:CODE
LOWlm_eval/tasks/hrm8k/en/utils.py84 except Exception:CODE
LOWlm_eval/tasks/hrm8k/en/utils.py158 except Exception:CODE
LOWlm_eval/tasks/hrm8k/en/utils.py189 except Exception:CODE
LOWlm_eval/tasks/humaneval_infilling/utils.py9except Exception as e:CODE
LOWlm_eval/tasks/medtext/utils.py18except Exception as e:CODE
LOWlm_eval/tasks/medtext/utils.py27 except Exception as e:CODE
LOWlm_eval/tasks/medtext/utils.py33 except Exception as e:CODE
LOWlm_eval/tasks/medtext/utils.py39 except Exception as e:CODE
LOWlm_eval/tasks/medtext/utils.py47 except Exception as e:CODE
MEDIUMlm_eval/tasks/medtext/utils.py24def doc_eval(pred, refs):CODE
LOWlm_eval/tasks/olaph/utils.py19except Exception as e:CODE
LOWlm_eval/tasks/olaph/utils.py28 except Exception as e:CODE
LOWlm_eval/tasks/olaph/utils.py34 except Exception as e:CODE
LOWlm_eval/tasks/olaph/utils.py40 except Exception as e:CODE
LOWlm_eval/tasks/olaph/utils.py48 except Exception as e:CODE
MEDIUMlm_eval/tasks/olaph/utils.py25def doc_eval(pred, refs):CODE
LOWlm_eval/tasks/minerva_math/utils.py197 except Exception as e:CODE
LOWlm_eval/tasks/leaderboard/math/utils.py209 except Exception as e:CODE
LOWlm_eval/tasks/toksuite/utils.py474 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py494 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py518 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py522 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py555 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py578 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py601 except Exception:CODE
LOWlm_eval/tasks/toksuite/utils.py605 except Exception:CODE
LOWlm_eval/tasks/meqsum/utils.py18except Exception as e:CODE
LOWlm_eval/tasks/meqsum/utils.py52 except Exception as e:CODE
LOWlm_eval/tasks/meqsum/utils.py58 except Exception as e:CODE
LOWlm_eval/tasks/meqsum/utils.py64 except Exception as e:CODE
LOWlm_eval/tasks/meqsum/utils.py72 except Exception as e:CODE
LOWlm_eval/tasks/med_prescriptions/utils.py2060 except Exception:CODE
LOWlm_eval/tasks/med_prescriptions/utils.py2066 except Exception:CODE
104 more matches not shown…
Unused Imports181 hits · 178 pts
SeverityFileLineSnippetContext
LOWlm_eval/evaluator_utils.py1CODE
LOWlm_eval/__init__.py2CODE
LOWlm_eval/evaluator.py1CODE
LOWlm_eval/filters/__init__.py1CODE
LOWlm_eval/filters/__init__.py6CODE
LOWlm_eval/filters/__init__.py8CODE
LOWlm_eval/filters/__init__.py8CODE
LOWlm_eval/filters/__init__.py8CODE
LOWlm_eval/filters/__init__.py8CODE
LOWlm_eval/filters/extraction.py1CODE
LOWlm_eval/tasks/_index.py1CODE
LOWlm_eval/tasks/_factory.py1CODE
LOWlm_eval/tasks/_yaml_loader.py1CODE
LOWlm_eval/tasks/manager.py1CODE
LOWlm_eval/tasks/manager.py20CODE
LOWlm_eval/tasks/babilong/common_utils.py11CODE
LOWlm_eval/tasks/evalita_llm/utils.py3CODE
LOWlm_eval/tasks/evalita_llm/utils.py4CODE
LOWlm_eval/tasks/jfinqa/utils.py12CODE
LOWlm_eval/tasks/catalan_bench/truthfulqa_va/utils.py2CODE
LOWlm_eval/tasks/catalan_bench/truthfulqa_va/utils.py8CODE
LOWlm_eval/tasks/aime/utils.py1CODE
LOWlm_eval/tasks/noreval/norsumm/utils.py1CODE
LOWlm_eval/tasks/noreval/norsumm/utils.py7CODE
LOWlm_eval/tasks/spanish_bench/utils.py2CODE
LOWlm_eval/tasks/spanish_bench/utils.py5CODE
LOWlm_eval/tasks/minerva_math/utils.py5CODE
LOWlm_eval/tasks/minerva_math/utils.py5CODE
LOWlm_eval/tasks/minerva_math/utils.py14CODE
LOWlm_eval/tasks/darija_bench/darija_sentiment/utils.py1CODE
LOWlm_eval/tasks/darija_bench/darija_sentiment/utils.py2CODE
LOW…_eval/tasks/darija_bench/darija_summarization/utils.py1CODE
LOWlm_eval/tasks/longbench/utils.py1CODE
LOWlm_eval/tasks/longbench/utils.py2CODE
LOWlm_eval/tasks/longbench/utils.py3CODE
LOWlm_eval/tasks/leaderboard/gpqa/utils.py1CODE
LOWlm_eval/tasks/xquad/utils.py1CODE
LOWlm_eval/tasks/xquad/utils.py2CODE
LOWlm_eval/tasks/xquad/utils.py4CODE
LOWlm_eval/tasks/xquad/utils.py7CODE
LOWlm_eval/tasks/cnn_dailymail/utils.py6CODE
LOWlm_eval/tasks/score/utils.py21CODE
LOWlm_eval/tasks/score/utils.py25CODE
LOWlm_eval/tasks/ruler/vt_utils.py30CODE
LOWlm_eval/tasks/ruler/vt_utils.py30CODE
LOWlm_eval/tasks/ruler/fwe_utils.py20CODE
LOWlm_eval/tasks/ruler/common_utils.py10CODE
LOWlm_eval/tasks/afrobench/nollysenti/prompt_5/utils.py1CODE
LOWlm_eval/tasks/afrobench/nollysenti/prompt_2/utils.py1CODE
LOWlm_eval/tasks/afrobench/nollysenti/prompt_3/utils.py1CODE
LOWlm_eval/tasks/afrobench/nollysenti/prompt_4/utils.py1CODE
LOWlm_eval/tasks/afrobench/nollysenti/prompt_1/utils.py1CODE
LOWlm_eval/tasks/afrobench/injongointent/prompt_5/utils.py1CODE
LOWlm_eval/tasks/afrobench/injongointent/prompt_2/utils.py1CODE
LOWlm_eval/tasks/afrobench/injongointent/prompt_3/utils.py1CODE
LOWlm_eval/tasks/afrobench/injongointent/prompt_4/utils.py1CODE
LOWlm_eval/tasks/afrobench/injongointent/prompt_1/utils.py1CODE
LOWlm_eval/tasks/afrobench/afrisenti/prompt_5/utils.py1CODE
LOWlm_eval/tasks/afrobench/afrisenti/prompt_2/utils.py1CODE
LOWlm_eval/tasks/afrobench/afrisenti/prompt_3/utils.py1CODE
121 more matches not shown…
Deep Nesting166 hits · 164 pts
SeverityFileLineSnippetContext
LOWlm_eval/evaluator_utils.py404CODE
LOWlm_eval/evaluator_utils.py483CODE
LOWlm_eval/evaluator.py424CODE
LOWlm_eval/filters/extraction.py39CODE
LOWlm_eval/filters/extraction.py157CODE
LOWlm_eval/filters/extraction.py42CODE
LOWlm_eval/tasks/_factory.py127CODE
LOWlm_eval/tasks/realtoxicityprompts/metric.py12CODE
LOWlm_eval/tasks/evalita_llm/metrics.py49CODE
LOWlm_eval/tasks/evalita_llm/metrics.py63CODE
LOWlm_eval/tasks/evalita_llm/utils.py11CODE
LOWlm_eval/tasks/evalita_llm/utils.py30CODE
LOWlm_eval/tasks/evalita_llm/utils.py91CODE
LOWlm_eval/tasks/evalita_llm/utils.py193CODE
LOWlm_eval/tasks/evalita_llm/utils.py246CODE
LOWlm_eval/tasks/evalita_llm/utils.py439CODE
LOWlm_eval/tasks/evalita_llm/utils.py526CODE
LOWlm_eval/tasks/simple_cooccurrence_bias/utils.py29CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py642CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py730CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py91CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py917CODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py993CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py642CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py730CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py91CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py917CODE
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py993CODE
LOWlm_eval/tasks/mgsm/utils.py131CODE
LOWlm_eval/tasks/chartqa/utils.py192CODE
LOW…asks/catalan_bench/flores_ca/create_yamls_flores_ca.py273CODE
LOWlm_eval/tasks/truthfulqa-multi/utils.py38CODE
LOWlm_eval/tasks/mmmu/utils.py105CODE
LOWlm_eval/tasks/mmmu/utils.py223CODE
LOWlm_eval/tasks/mmmu/utils.py316CODE
LOWlm_eval/tasks/mmmu/utils.py230CODE
LOWlm_eval/tasks/translation/utils.py41CODE
LOWlm_eval/tasks/aime/utils.py97CODE
LOWlm_eval/tasks/hendrycks_math/utils.py97CODE
LOWlm_eval/tasks/qasper/utils.py6CODE
LOWlm_eval/tasks/qasper/utils.py9CODE
LOWlm_eval/tasks/qasper/utils.py31CODE
LOW…s/portuguese_bench/flores_pt/create_yamls_flores_pt.py272CODE
LOWlm_eval/tasks/bbq/utils.py212CODE
LOWlm_eval/tasks/bbq/utils.py300CODE
LOWlm_eval/tasks/bbq/utils.py303CODE
LOWlm_eval/tasks/hrm8k/default/utils.py146CODE
LOWlm_eval/tasks/hrm8k/en/utils.py146CODE
LOW…asks/spanish_bench/flores_es/create_yamls_flores_es.py272CODE
LOWlm_eval/tasks/minerva_math/utils.py159CODE
LOWlm_eval/tasks/leaderboard/math/utils.py170CODE
LOWlm_eval/tasks/toksuite/utils.py423CODE
LOWlm_eval/tasks/toksuite/utils.py532CODE
LOWlm_eval/tasks/med_prescriptions/utils.py2178CODE
LOWlm_eval/tasks/med_prescriptions/utils.py2271CODE
LOWlm_eval/tasks/score/utils.py74CODE
LOWlm_eval/tasks/score/utils.py199CODE
LOWlm_eval/tasks/score/utils.py93CODE
LOWlm_eval/tasks/score/non_greedy_summarizer.py33CODE
LOWlm_eval/tasks/score/non_greedy_summarizer.py117CODE
106 more matches not shown…
Over-Commented Block88 hits · 86 pts
SeverityFileLineSnippetContext
LOWlm_eval/result_schema.py21 {COMMENT
LOWlm_eval/result_schema.py41 # Per-task list of per-document sample results.COMMENT
LOWlm_eval/result_schema.py61 "upper_git_hash": str | None,COMMENT
LOWlm_eval/result_schema.py81 # Model source identifier (e.g. "hf").COMMENT
LOWlm_eval/tasks/tinyBenchmarks/utils_truthfulqa.py61 # bleurt_scores_true = self.bleurt.compute(COMMENT
LOWlm_eval/tasks/ifeval/instructions.py1# Copyright 2023 The Google Research Authors.COMMENT
LOWlm_eval/tasks/ifeval/instructions_util.py1# Copyright 2023 The Google Research Authors.COMMENT
LOWlm_eval/tasks/ifeval/instructions_registry.py1# Copyright 2023 The Google Research Authors.COMMENT
LOW…val/tasks/ifeval/multilingual/instructions_registry.py1# Copyright 2024 The Google Research Authors.COMMENT
LOW…multilingual/instruction_utils/ca_instructions_util.py1# coding=utf-8COMMENT
LOW…multilingual/instruction_utils/es_instructions_util.py1# coding=utf-8COMMENT
LOW…ks/ifeval/multilingual/instructions/es_instructions.py1# coding=utf-8COMMENT
LOW…ks/ifeval/multilingual/instructions/ca_instructions.py1# Copyright 2024 The Google Research Authors.COMMENT
LOWlm_eval/tasks/catalan_bench/truthfulqa_va/utils.py181 # bleurt_scores_false = self.bleurt.compute(COMMENT
LOWlm_eval/tasks/truthfulqa-multi/utils.py81 completion = results[0]COMMENT
LOWlm_eval/tasks/truthfulqa-multi/utils.py101 bleu_scores = [bleu([[ref]], [completion]) for ref in all_refs]COMMENT
LOWlm_eval/tasks/truthfulqa-multi/utils.py121 # rouge2_max = rouge2_correctCOMMENT
LOWlm_eval/tasks/truthfulqa/utils.py61COMMENT
LOWlm_eval/tasks/longbench/metrics.py1# MIT LicenseCOMMENT
LOWlm_eval/tasks/longbench/_generate_config.py1# MIT LicenseCOMMENT
LOWlm_eval/tasks/leaderboard/ifeval/instructions.py1# Copyright 2023 The Google Research Authors.COMMENT
LOWlm_eval/tasks/leaderboard/ifeval/instructions_util.py1# Copyright 2023 The Google Research Authors.COMMENT
LOW…eval/tasks/leaderboard/ifeval/instructions_registry.py1# Copyright 2023 The Google Research Authors.COMMENT
LOWlm_eval/tasks/logiqa2/utils_logiqa2.py21# # https://github.com/csitfun/LogiQA2.0/blob/main/logiqa2nli/nli-prompt.pyCOMMENT
LOWlm_eval/tasks/score/utils.py1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWlm_eval/tasks/score/non_greedy_summarizer.py1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWlm_eval/tasks/score/mmlu_pro/utils_mmlu_pro.py1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ore/math/prompt_robustness_math_counting_and_prob.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/tasks/score/math/prompt_robustness_math_geometry.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ks/score/math/non_greedy_robustness_math_geometry.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/score/math/non_greedy_robustness_math_num_theory.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…l/tasks/score/math/prompt_robustness_math_precalc.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/score/math/non_greedy_robustness_math_prealgebra.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…asks/score/math/prompt_robustness_math_num_theory.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…math/non_greedy_robustness_math_counting_and_prob.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…asks/score/math/prompt_robustness_math_prealgebra.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/math/prompt_robustness_math_intermediate_algebra.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWlm_eval/tasks/score/math/math_grader.py1# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWlm_eval/tasks/score/math/math_grader.py21# copies of the Software, and to permit persons to whom the Software isCOMMENT
LOWlm_eval/tasks/score/math/math_grader.py41# copies of the Software, and to permit persons to whom the Software isCOMMENT
LOWlm_eval/tasks/score/math/math_grader.py61# copies of the Software, and to permit persons to whom the Software isCOMMENT
LOW…sks/score/math/non_greedy_robustness_math_precalc.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…h/non_greedy_robustness_math_intermediate_algebra.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/agi_eval/option_order_robustness_agieval_lsat_rc.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…score/agi_eval/prompt_robustness_agieval_lstat_lr.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…e/agi_eval/non_greedy_robustness_agieval_sat_math.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…agi_eval/option_order_robustness_agieval_sat_math.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…e/agi_eval/non_greedy_robustness_agieval_lstat_ar.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWlm_eval/tasks/score/agi_eval/utils_agieval.py1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/agi_eval/option_order_robustness_agieval_lsat_ar.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…s/score/agi_eval/prompt_robustness_agieval_sat_en.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ore/agi_eval/non_greedy_robustness_agieval_sat_en.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/agi_eval/non_greedy_robustness_agieval_logiqa_en.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…e/agi_eval/non_greedy_robustness_agieval_lstat_lr.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…gi_eval/option_order_robustness_agieval_logiqa_en.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…score/agi_eval/prompt_robustness_agieval_lstat_ar.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…score/agi_eval/prompt_robustness_agieval_sat_math.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…re/agi_eval/non_greedy_robustness_agieval_lsat_rc.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…core/agi_eval/prompt_robustness_agieval_logiqa_en.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/score/agi_eval/prompt_robustness_agieval_lsat_rc.yaml1# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
28 more matches not shown…
Redundant / Tautological Comments44 hits · 68 pts
SeverityFileLineSnippetContext
LOWlm_eval/tasks/_yaml_loader.py50 # Check if this is a built-in task moduleCOMMENT
LOWlm_eval/tasks/_yaml_loader.py69 # Check if we need to reload the moduleCOMMENT
LOWlm_eval/tasks/_yaml_loader.py72 # Check if it was modifiedCOMMENT
LOWlm_eval/tasks/evalita_llm/utils.py126 if results: # Check if results is not emptyCODE
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py183 # Check if new_plan is a planCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py807 # Check if the answer is equal (as a set) to the real stored answerCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py860 # Check if the plan candidate from the answer (a) is a proper subsequence of the plan in the question and (bCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot_with_pddl/acp_utils.py978 # Check if the answer is equal as sets to the correct answers.COMMENT
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py183 # Check if new_plan is a planCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py807 # Check if the answer is equal (as a set) to the real stored answerCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py860 # Check if the plan candidate from the answer (a) is a proper subsequence of the plan in the question and (bCOMMENT
LOWlm_eval/tasks/acpbench/gen_2shot/acp_utils.py978 # Check if the answer is equal as sets to the correct answers.COMMENT
LOW…ks/ifeval/multilingual/instructions/es_instructions.py1366 # Check if the last character in value is a dot (.)COMMENT
LOW…ks/ifeval/multilingual/instructions/es_instructions.py1506 # Check if all normalized, alphabetic characters are uppercase, ignoring non-alphabetic charactersCOMMENT
LOW…ks/ifeval/multilingual/instructions/ca_instructions.py1364 # Check if the last character in value is a dot (.)COMMENT
LOW…ks/ifeval/multilingual/instructions/ca_instructions.py1504 # Check if all normalized, alphabetic characters are uppercase, ignoring non-alphabetic charactersCOMMENT
LOWlm_eval/tasks/chartqa/utils.py211 # Check if the number is in the model answer with commas (e.g. 1,000)COMMENT
LOWlm_eval/tasks/chartqa/utils.py214 # Check if the number is in the model answer without commas (e.g. 1000)COMMENT
LOWlm_eval/tasks/graphwalks/utils.py42 # Check if formatted correctlyCOMMENT
LOWlm_eval/tasks/aime/utils.py26 # Check if answer matches targetCOMMENT
LOWlm_eval/tasks/bbq/utils.py224 # Check if answer is "Not known"COMMENT
LOWlm_eval/tasks/med_prescriptions/utils.py2106 # Check if the text contains any Indian script charactersCOMMENT
LOWlm_eval/tasks/arab_culture/utils_mcq.py17### Set this to one to add the country and region information to the promptCOMMENT
LOWlm_eval/tasks/arab_culture/utils_mcq.py19### Set this to one to add the region information to the promptCOMMENT
LOWlm_eval/tasks/arab_culture/utils_mcq.py21### Set this to change between Arabic and English for the answer keys and the choices keysCOMMENT
LOWlm_eval/tasks/jsonschema_bench/metrics.py28 # Check if the schema is validCOMMENT
LOWlm_eval/tasks/afrobench/masakhaner/prompt_5/utils.py17 if pair: # Check if the line is not emptyCODE
LOWlm_eval/tasks/afrobench/masakhaner/prompt_2/utils.py17 if pair: # Check if the line is not emptyCODE
LOWlm_eval/tasks/afrobench/masakhaner/prompt_3/utils.py17 if pair: # Check if the line is not emptyCODE
LOWlm_eval/tasks/afrobench/masakhaner/prompt_4/utils.py17 if pair: # Check if the line is not emptyCODE
LOWlm_eval/tasks/afrobench/masakhaner/prompt_1/utils.py17 if pair: # Check if the line is not emptyCODE
LOW…eval/tasks/arab_culture_completion/utils_completion.py18### Set this to one to add the country and region information to the promptCOMMENT
LOW…eval/tasks/arab_culture_completion/utils_completion.py20### Set this to one to add the region information to the promptCOMMENT
LOW…eval/tasks/arab_culture_completion/utils_completion.py22### Set this to change between Arabic and English for the answer keys and the choices keysCOMMENT
LOWlm_eval/decontamination/decontaminate.py61 # Check if we've decontaminated this combination beforeCOMMENT
LOWlm_eval/models/winml.py326 # Check if encoding empty string gives BOS tokenCOMMENT
LOWlm_eval/models/winml.py556 # Check if greedy (argmax matches actual token)COMMENT
LOWlm_eval/models/hf_vlms.py586 # Check if per-token argmax is exactly equal to continuationCOMMENT
LOWlm_eval/models/neuron_optimum.py542 # Check if per-token argmax is exactly equal to continuationCOMMENT
LOWlm_eval/models/huggingface.py1529 # Check if per-token argmax is exactly equal to continuationCOMMENT
LOWlm_eval/models/megatron_lm.py987 # Check if greedyCOMMENT
LOWlm_eval/_cli/run.py478 # Print resultsCOMMENT
LOWlm_eval/api/task.py1078 # Check if answer is provided (handle a=0 as valid answer index)STRING
LOWtests/test_tasks.py28 # Check if task_classes is emptyCOMMENT
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHlm_eval/models/winml.py388 Run inference using ONNX Runtime GenAI to get full logits sequence. Args: input_text: InpuSTRING
HIGHlm_eval/models/ibm_watsonx_ai.py229 Determines whether a stop token has been generated in the `response_tokens` compared to the `context_tokens`. STRING
HIGHlm_eval/models/utils.py280Generates and yields batches from the reordered array. The method of grouping and batching depends on the paramSTRING
HIGHlm_eval/models/utils.py504This function checks if the (Hugging Face) tokenizer has a padding token and sets it if not present. Some tokenizers reqSTRING
HIGHlm_eval/models/utils.py611Normalize generation kwargs for consistent handling across model backends. Model implementations may have differentSTRING
HIGHlm_eval/models/utils.py829Truncates input tokens and/or reduces max_gen_toks to fit within max_model_len. Strategy: 1. No truncation STRING
HIGHlm_eval/api/registry.py102Materialize a lazy placeholder into the actual object. This is at module level to avoid memory leaks from lru_cacheSTRING
HIGHlm_eval/api/registry.py188Register an object under one or more aliases. Can be used as a decorator or called directly for direct registraSTRING
HIGHlm_eval/api/registry.py279Retrieve an object by alias, materializing if needed. Thread-safe lazy loading: if the alias points to a placehSTRING
HIGHlm_eval/api/registry.py492Get a model class by name. Args: model_name: The registered name of the model Returns: The modSTRING
HIGHlm_eval/api/registry.py546Get a filter by name. Args: filter_name: The registered name of the filter, or a callable Returns: STRING
AI Slop Vocabulary20 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUMlm_eval/evaluator.py198 # See https://github.com/EleutherAI/lm-evaluation-harness/pull/1412COMMENT
MEDIUMlm_eval/tasks/tinyBenchmarks/utils_truthfulqa.py160 # init RougeScorer once (https://github.com/EleutherAI/lm-evaluation-harness/issues/1692)--rouge_types are constCOMMENT
MEDIUMlm_eval/tasks/ifeval/instructions_util.py29# see https://github.com/EleutherAI/lm-evaluation-harness/issues/2210COMMENT
MEDIUMlm_eval/tasks/aime/utils.py35# string normalization from https://github.com/EleutherAI/lm-evaluation-harness/blob/master/lm_eval/tasks/hendrycks_mathCOMMENT
MEDIUMlm_eval/tasks/hendrycks_math/utils.py35# string normalization from https://github.com/EleutherAI/lm-evaluation-harness/blob/master/lm_eval/tasks/hendrycks_mathCOMMENT
MEDIUMlm_eval/tasks/truthfulqa/utils.py164 # init RougeScorer once (https://github.com/EleutherAI/lm-evaluation-harness/issues/1692)--rouge_types are constCOMMENT
LOWlm_eval/tasks/bbq/utils.py65 # If all elements are NaN, then we simply return NaNCOMMENT
MEDIUMlm_eval/tasks/noreval/nortruthfulqa/generation/utils.py137 # init RougeScorer once (https://github.com/EleutherAI/lm-evaluation-harness/issues/1692)--rouge_types are constCOMMENT
MEDIUMlm_eval/tasks/noreval/norsumm/utils.py87 # init RougeScorer once (https://github.com/EleutherAI/lm-evaluation-harness/issues/1692)--rouge_types are constCOMMENT
MEDIUMlm_eval/tasks/minerva_math/utils.py28# https://github.com/wellecks/lm-evaluation-harness/blob/master/lm_eval/tasks/minerva_math.pyCOMMENT
LOWlm_eval/tasks/longbench/_generate_config.py177 # Now we just set a boolean flag to indicate whether we need a newlineSTRING
MEDIUMlm_eval/tasks/leaderboard/ifeval/instructions_util.py28# see https://github.com/EleutherAI/lm-evaluation-harness/issues/2210COMMENT
MEDIUMlm_eval/tasks/leaderboard/math/utils.py25# https://github.com/wellecks/lm-evaluation-harness/blob/master/lm_eval/tasks/minerva_math.pyCOMMENT
MEDIUMlm_eval/tasks/cruxeval/utils.py242# lm-evaluation-harness Integration FunctionsCOMMENT
MEDIUMlm_eval/models/openai_completions.py314 "Loglikelihood (and therefore `multiple_choice`-type tasks) is not supported for chat completions as OpenAI CODE
MEDIUMlm_eval/models/huggingface.py1393 # See: https://github.com/EleutherAI/lm-evaluation-harness/issues/1678COMMENT
MEDIUMlm_eval/models/sglang_causallms.py40 # batch args from lm-eval interface: https://github.com/EleutherAI/lm-evaluation-harness/blob/main/docs/interfaCOMMENT
LOWlm_eval/models/megatron_lm.py837 # We just pass through the requests without additional splittingCOMMENT
LOWlm_eval/models/megatron_lm.py857 # We just return results without additional gatheringCOMMENT
MEDIUMlm_eval/api/metrics.py614 # See https://github.com/EleutherAI/lm-evaluation-harness/pull/1390 for more documentation.COMMENT
Self-Referential Comments17 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMlm_eval/tasks/slr_bench/lm_eval_slr_bench.py33 # Create the reference in the required formatCOMMENT
MEDIUMlm_eval/tasks/toksuite/utils.py500 # Create the summary row with column averagesCOMMENT
MEDIUMlm_eval/tasks/med_prescriptions/utils.py2101 # Create a regular expression pattern for Indian scriptsCOMMENT
MEDIUMlm_eval/tasks/ruler/vt_utils.py75 # Create a list of the repeated noiseCOMMENT
MEDIUMlm_eval/loggers/utils.py25 # Define the pattern to match ',none' at the end of the stringCOMMENT
MEDIUMlm_eval/config/evaluate_config.py223 # Create an instance and validateCOMMENT
MEDIUMlm_eval/models/api_models.py269 """This method is responsible for creating the json payload that will be sent to the API."""STRING
MEDIUMtests/test_registry.py157 # Create a class to test withCOMMENT
MEDIUMtests/test_metrics.py12 # Create a minimal configCOMMENT
MEDIUMtests/test_cli_subcommands.py444 # Create a minimal valid task yamlCOMMENT
MEDIUMtests/test_cli_subcommands.py855 # Create a YAML config fileCOMMENT
MEDIUMtests/test_task_manager.py529 # Create a custom arc_easy.yaml that has a different metricCOMMENT
MEDIUMtests/test_task_manager.py588 # Create a custom task using a real datasetCOMMENT
MEDIUMtests/test_task_manager.py640 # Create a completely new task (not overriding any default)COMMENT
MEDIUMtests/models/test_vllm_context_length.py24 # Create a mock VLLM instance with required attributesCOMMENT
MEDIUMtests/models/test_vllm_context_length.py205 # Create a mock requestCOMMENT
MEDIUMtests/scripts/test_zeno_visualize.py17 # Define the process_model_args function that replicates the fixed logic in zeno_visualize.pyCOMMENT
Modern AI Meta-Vocabulary18 hits · 47 pts
SeverityFileLineSnippetContext
MEDIUMlm_eval/result_schema.py35 # Number of few-shot examples used per task.COMMENT
MEDIUMlm_eval/result_schema.py93 # Whether few-shot examples were formatted as multi-turn.COMMENT
MEDIUMlm_eval/evaluator.py388 # add info about the model and few shot configCOMMENT
MEDIUMlm_eval/tasks/metabench/process_docs.py24 long_prompt = f"{long_prompt}Question: {question}\nAnswer: {answer}\n\n" # no choices are provided in the fCODE
MEDIUMlm_eval/tasks/metabench/process_docs.py43 long_prompt = f"{long_prompt}Question: {question}\nAnswer: {answer}\n\n" # no choices are provided in the fCODE
MEDIUMlm_eval/tasks/metabench/process_docs.py126 long_prompt = f"{long_prompt}{question}\nA. {choice_A}\nB. {choice_B}\nC. {choice_C}\nD. {choice_D}\nAnswer:CODE
MEDIUMlm_eval/tasks/metabench/process_docs_permute.py24 long_prompt = f"{long_prompt}Question: {question}\nAnswer: {answer}\n\n" # no choices are provided in the fCODE
MEDIUMlm_eval/tasks/metabench/process_docs_permute.py126 long_prompt = f"{long_prompt}{question}\nA. {choice_A}\nB. {choice_B}\nC. {choice_C}\nD. {choice_D}\nAnswer:CODE
MEDIUMlm_eval/tasks/french_bench/README.md59# Not to use in few-shotCOMMENT
MEDIUMlm_eval/tasks/ruler/vt_utils.py208 # This condition is to check if we are generating the few-shot.COMMENT
MEDIUMlm_eval/tasks/bigbench/generate_tasks.py219 + "_zero_shot", # zero-shot version of the datasetCODE
MEDIUMlm_eval/tasks/race/README.md54 - PR #3716. Fixed how fill-in-the-blank ("cloze") sub-questions are rendered in the few-shot context. For a question lCODE
MEDIUMlm_eval/models/utils.py909 # not to the reasoning trace (which often contains \n\n etc.)COMMENT
MEDIUMlm_eval/_cli/run.py33 # Evaluate on multiple tasks with few-shot examplesCOMMENT
MEDIUMtests/models/test_model_utils.py145 # Prompt exactly fills context window, gen toks reduced to 0COMMENT
MEDIUMdocs/model_guide.md170 # ... more few-shot examples, potentiallyCOMMENT
MEDIUMdocs/interface.md38# With few-shot examplesCOMMENT
MEDIUMdocs/interface.md64# Multiple tasks with few-shot examplesCOMMENT
Modern Structural Boilerplate26 hits · 26 pts
SeverityFileLineSnippetContext
LOWlm_eval/__init__.py29__all__ = ["evaluate", "simple_evaluate", "__version__"]CODE
LOWlm_eval/filters/__init__.py27__all__ = [CODE
LOWlm_eval/tasks/__init__.py25__all__ = [CODE
LOWlm_eval/tasks/ifeval/instructions.py41logger = logging.getLogger(__name__)CODE
LOWlm_eval/tasks/truthfulqa-multi/utils.py7logger = logging.getLogger(__name__)CODE
LOWlm_eval/tasks/leaderboard/ifeval/instructions.py30logger = logging.getLogger(__name__)CODE
LOWlm_eval/loggers/trackio_logger.py11logger = logging.getLogger(__name__)CODE
LOWlm_eval/loggers/wandb_logger.py13logger = logging.getLogger(__name__)CODE
LOWlm_eval/loggers/utils.py12logger = logging.getLogger(__name__)CODE
LOWlm_eval/config/__init__.py6__all__ = ["EvaluatorConfig", "TaskConfig", "GroupConfig"]CODE
LOWlm_eval/models/winml.py199 def _setup_winml_devices_and_providers(self) -> None:CODE
LOWlm_eval/models/gguf.py12logger = logging.getLogger(__name__)CODE
LOWlm_eval/models/__init__.py78__all__ = ["MODEL_MAPPING"]CODE
LOWlm_eval/models/neuron_optimum.py34logger = logging.getLogger(__name__)CODE
LOWlm_eval/models/textsynth.py26logger = logging.getLogger(__name__)CODE
LOWlm_eval/_cli/__init__.py8__all__ = ["HarnessCLI"]CODE
LOWlm_eval/api/task.py520 def set_config(self, key: str, value: Any, update: bool = False) -> None:CODE
LOWlm_eval/api/task.py560 def set_fewshot_seed(self, seed: int | None = None) -> None:CODE
LOWlm_eval/api/registry.py58__all__ = [CODE
LOWlm_eval/api/model.py225 def set_cache_hook(self, cache_hook: "CacheHook") -> None:CODE
LOWscripts/make_table_results.py13logger = logging.getLogger(__name__)CODE
LOWscripts/make_table_tasks.py14logger = logging.getLogger(__name__)CODE
LOWscripts/clean_training_data/generate_13_grams.py41logger = logging.getLogger(__name__)CODE
LOWscripts/clean_training_data/compress_and_package.py13logger = logging.getLogger(__name__)CODE
LOWscripts/clean_training_data/process_sorted_buckets.py31logger = logging.getLogger(__name__)CODE
LOWscripts/clean_training_data/sort_13_gram_buckets.py23logger = logging.getLogger(__name__)CODE
AI Structural Patterns25 hits · 24 pts
SeverityFileLineSnippetContext
LOWlm_eval/evaluator.py55CODE
LOWlm_eval/evaluator.py424CODE
LOWlm_eval/tasks/evalita_llm/utils.py168CODE
LOWlm_eval/tasks/evalita_llm/utils.py176CODE
LOWlm_eval/tasks/evalita_llm/utils.py523CODE
LOWlm_eval/tasks/minerva_math/utils.py96CODE
LOWlm_eval/tasks/leaderboard/math/utils.py91CODE
LOWlm_eval/tasks/ruler/qa_utils.py41CODE
LOWlm_eval/tasks/ruler/prepare_niah.py213CODE
LOWlm_eval/loggers/evaluation_tracker.py130CODE
LOWlm_eval/config/task.py50CODE
LOWlm_eval/models/optimum_ipex.py33CODE
LOWlm_eval/models/nemo_lm.py169CODE
LOWlm_eval/models/hf_vlms.py38CODE
LOWlm_eval/models/vllm_causallms.py61CODE
LOWlm_eval/models/neuron_optimum.py133CODE
LOWlm_eval/models/huggingface.py70CODE
LOWlm_eval/models/huggingface.py748CODE
LOWlm_eval/models/trtllm_causallms.py44CODE
LOWlm_eval/models/sglang_causallms.py37CODE
LOWlm_eval/models/api_models.py114CODE
LOWlm_eval/models/megatron_lm.py154CODE
LOWlm_eval/models/megatron_lm.py703CODE
LOWlm_eval/api/task.py268CODE
LOWtests/test_evaluator_utils.py702CODE
Verbosity Indicators11 hits · 24 pts
SeverityFileLineSnippetContext
LOWlm_eval/tasks/score/math/prompt_templates.json11 "prompt": "You should solve this math problem.\nIf the problem is easy, provide a brief solution with littleCODE
LOWlm_eval/tasks/infinitebench/utils.py367 # Step 1: find last standalone A-D letter (official regex)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py372 # Step 2: empty predictionCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py376 # Step 3: first characterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py380 # Step 4: full prediction matches label letterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py384 # Step 5: replace punctuation, check prefixes (matching official chars)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py395 # Step 6: scan words for first A-D letterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py430 # Step 1: find last standalone A-J letter (official regex)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py437 # Step 2: replace chars and consolidate spaces (matching official)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py447 # Step 3: check startswithCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py453 # Step 4: check answer prefixes (matching official set)COMMENT
Structural Annotation Overuse10 hits · 22 pts
SeverityFileLineSnippetContext
LOWlm_eval/tasks/infinitebench/utils.py367 # Step 1: find last standalone A-D letter (official regex)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py372 # Step 2: empty predictionCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py376 # Step 3: first characterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py380 # Step 4: full prediction matches label letterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py384 # Step 5: replace punctuation, check prefixes (matching official chars)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py395 # Step 6: scan words for first A-D letterCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py430 # Step 1: find last standalone A-J letter (official regex)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py437 # Step 2: replace chars and consolidate spaces (matching official)COMMENT
LOWlm_eval/tasks/infinitebench/utils.py447 # Step 3: check startswithCOMMENT
LOWlm_eval/tasks/infinitebench/utils.py453 # Step 4: check answer prefixes (matching official set)COMMENT
TODO Padding8 hits · 12 pts
SeverityFileLineSnippetContext
LOWlm_eval/filters/selection.py7# TODO: implement "arg_max" filter. either it should take in an arbitrary "scoring"/reward functionCOMMENT
LOWlm_eval/tasks/hendrycks_ethics/deontology.yaml9# TODO: implement exact-match metric for this subsetCOMMENT
LOWlm_eval/models/anthropic_llms.py245 temperature=temperature, # TODO: implement non-greedy sampling for AnthropicCODE
LOWlm_eval/models/neuron_optimum.py422 # TODO: implement some kind of efficient-request-middleware that lumps together requests with the same contextCOMMENT
LOWlm_eval/models/huggingface.py1338 # TODO: implement some kind of efficient-request-middleware that lumps together requests with the same contextCOMMENT
LOWscripts/regression.py36 # TODO: implement num_fewshot and limit per task, e.g. task1:5,task2:1:100,task3::1000COMMENT
LOWscripts/regression.py39 # TODO: implement hf-auto to pick between causal and seq2seq models so we don't need thisCOMMENT
LOWscripts/regression.py163 # TODO: implement proper timing for each taskCOMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlm_eval/tasks/bbq/utils.py75 # Unfortunately, bias score for `n_non_unk = 0` is undefined,COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlm_eval/tasks/arabic_leaderboard_complete/README.md181* `arabic_leaderboard_acva`: Arabic-Culture-Value-Alignment (ACVA) is a yes/no question dataset, generated by GPT3.5 TurCOMMENT
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py426 auth_token="dummy-token",CODE
LOWtests/test_utils.py429 assert tokenizer.headers["Authorization"] == "Bearer dummy-token"CODE
LOWtests/test_utils.py451 auth_token="dummy-token",CODE
LOWtests/test_utils.py454 assert tokenizer.headers["Authorization"] == "Bearer dummy-token"CODE
LOWtests/test_utils.py476 auth_token="dummy-token",CODE
LOWtests/test_utils.py516 auth_token="dummy-token",CODE
LOWtests/test_utils.py541 auth_token="dummy-token",CODE
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMlm_eval/models/hf_vlms.py413CODE
MEDIUMlm_eval/models/hf_vlms.py414CODE
MEDIUMlm_eval/models/hf_vlms.py435CODE