AI Slop Code Risk Monitor

SchedMD/slurm

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

Slurm: A Highly Scalable Workload Manager

3.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SchedMD/slurm, a C project with 4,488 GitHub stars. SynthScan examined 1,203,079 lines of code across 2487 source files, recording 3563 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.9 (Low pattern signal); it is not an authorship estimate.

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

3.9
Adjusted Signal
3.9
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
4.5K
Stars
C
Language
1.2M
Lines of Code
2.5K
Files
3.6K
Pattern Hits
2026-10-31
Scan Date
0.09
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 11.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

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

Agent Over-Engineering Ratio 11.0/100 · LOW

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

PR Review Velocity Impact 19.6/100 · LOW

Which changes need focused human review? 3563 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 1HIGH 233MEDIUM 262LOW 3067

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

Hyper-Verbose Identifiers1986 hits · 1840 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/conftest.py25def pytest_collection_modifyitems(session, config, items):CODE
LOWtestsuite/python/conftest.py146def pytest_runtest_makereport(item, call):CODE
LOWtestsuite/python/conftest.py315def update_tmp_path_exec_permissions(path):CODE
LOWtestsuite/python/conftest.py690def pytest_keyboard_interrupt(excinfo):CODE
LOWtestsuite/python/tests/test_117_5.py81def test_sstat_nonexistent_step(multistep_job):CODE
LOWtestsuite/python/tests/test_172_9.py141def test_queue_and_release_routed_to_their_topics():CODE
LOWtestsuite/python/tests/test_172_9.py161def test_start_routed_to_its_topic():CODE
LOWtestsuite/python/tests/test_139_3.py64def test_dynamic_future_node_addr(slurmd_c):CODE
LOWtestsuite/python/tests/test_100_10.py37def test_step_dependency_rejected_in_old_allocation():CODE
LOWtestsuite/python/tests/test_162_7.py105def test_drain_receives_no_per_step_pushes():CODE
LOWtestsuite/python/tests/test_162_7.py142def test_quiet_follow_suppresses_drain_line():CODE
LOWtestsuite/python/tests/test_162_7.py173def test_follow_yaml_emits_separate_documents():CODE
LOWtestsuite/python/tests/test_162_7.py211def test_follow_streams_multiple_steps(resolution):CODE
LOWtestsuite/python/tests/test_162_7.py269def test_follow_in_batch_script_no_deadlock():CODE
LOWtestsuite/python/tests/test_162_7.py298def test_follow_with_step_id_usage_error():CODE
LOWtestsuite/python/tests/test_162_7.py315def test_follow_reports_never_launched():CODE
LOWtestsuite/python/tests/test_162_7.py355def test_follow_reports_het_step_components():CODE
LOWtestsuite/python/tests/test_162_7.py400def test_follow_timeout_exits_two():CODE
LOWtestsuite/python/tests/test_108_8.py20def test_single_node_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py37def test_single_node_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py58def test_multiple_nodes_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py82def test_multiple_nodes_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py102def test_overwrite_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py126def test_overwrite_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py154def test_overwrite_multiple_nodes_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py184def test_overwrite_multiple_nodes_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py262def test_reset_multiple_nodes_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py292def test_reset_multiple_nodes_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py318def test_broadcast_instance_id(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py338def test_broadcast_instance_type(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py362def test_mismatched_instance_id_count(nodes):CODE
LOWtestsuite/python/tests/test_108_8.py381def test_mismatched_instance_type_count(nodes):CODE
LOWtestsuite/python/tests/test_140_5.py80def test_clear_with_other_gres(field, sbatch_args, kept_field):CODE
LOWtestsuite/python/tests/test_140_5.py96def test_gres_sets_tres_per_node():CODE
LOWtestsuite/python/tests/test_140_5.py112def test_gres_clear_with_other_gres():CODE
LOWtestsuite/python/tests/test_140_5.py131def test_reject_invalid_with_other_gres(field, sbatch_args, kept_field):CODE
LOWtestsuite/python/tests/test_140_5.py162def test_reject_invalid_without_gres(update):CODE
LOWtestsuite/python/tests/test_140_5.py189def test_reject_invalid_with_gres_update(update):CODE
LOWtestsuite/python/tests/test_140_5.py205def test_reject_invalid_at_submit():CODE
LOWtestsuite/python/tests/test_140_5.py262def test_update_partially_set(submit):CODE
LOWtestsuite/python/tests/test_140_5.py282def test_update_second_differs(submit):CODE
LOWtestsuite/python/tests/test_140_5.py360def test_array_update_running_task(field, value):CODE
LOWtestsuite/python/tests/test_140_5.py409def test_license_tres_per_task(value):CODE
LOWtestsuite/python/tests/test_140_5.py428def test_license_tres_per_task_without_ntasks():CODE
LOWtestsuite/python/tests/test_190_17.py151def test_remove_gpu_then_lower_configured_count():CODE
LOWtestsuite/python/tests/test_190_17.py184def test_absent_gpu_is_drained_at_its_index_until_it_returns():CODE
LOWtestsuite/python/tests/test_190_17.py206def test_removing_the_first_gpu_renumbers_the_ones_slurmd_reports():CODE
LOWtestsuite/python/tests/test_190_17.py222def test_swap_puts_the_new_gpu_in_the_departed_slot():CODE
LOWtestsuite/python/tests/test_190_17.py240def test_adding_a_gpu_binds_it_to_the_new_slot():CODE
LOWtestsuite/python/tests/test_190_17.py260def test_excess_detected_gpus_stay_ignored_on_reregistration():CODE
LOW⚡testsuite/python/tests/test_190_17.py283def test_uuidless_drop_keeps_the_drain_on_its_index():CODE
LOWtestsuite/python/tests/test_108_16.py85def test_invalid_array_expression(array_job_id, expr):CODE
LOWtestsuite/python/tests/test_108_16.py108def test_invalid_array_expression_message(array_job_id, expr, message, operation):CODE
LOWtestsuite/python/tests/test_108_16.py123def test_valid_array_expression(array_job_id, operation):CODE
LOWtestsuite/python/tests/test_108_16.py137def test_valid_array_expression_applies(array_job_id):CODE
LOWtestsuite/python/tests/test_123_7.py76def _down_one_node_and_wait_for_replacement(CODE
LOWtestsuite/python/tests/test_123_7.py208def test_reservation_replacement_overlap_behavior(CODE
LOWtestsuite/python/tests/test_150_17.py94def test_sbatch_segment_zero_opts_out(part_with_default):CODE
LOWtestsuite/python/tests/test_150_17.py105def test_interactive_segment_zero_opts_out(part_with_default, command):CODE
LOWtestsuite/python/tests/test_150_17.py115def test_default_always_applied(part_with_default):CODE
1926 more matches not shown…
Over-Commented Block933 hits · 824 pts
SeverityFileLineSnippetContext
LOWslurm/pmi.h81D*/COMMENT
LOWslurm/slurm.h41\*****************************************************************************/COMMENT
LOWslurm/slurm.h101 * DEFINITIONS FOR INPUT VALUESCOMMENT
LOWslurm/slurm.h341 * waiting for reboot */COMMENT
LOWslurm/slurm.h1061 * or FAILING node to service (e.g.COMMENT
LOWslurm/slurm.h1081#define NODE_STATE_INVALID_REG SLURM_BIT(22) /* invalid registration, don'tCOMMENT
LOWslurm/slurm.h1181#define MEM_PER_CPU 0x8000000000000000COMMENT
LOWslurm/slurm.h1261#define KILL_INV_DEP SLURM_BIT(0) /* Kill job on invalid dependency */COMMENT
LOWslurm/slurm.h1281#define BF_WHOLE_NODE_TEST SLURM_BIT(16) /* Backfill test in progress */COMMENT
LOWslurm/slurm.h1301#define BACKFILL_SCHED SLURM_BIT(32) /* Job was considered in lastCOMMENT
LOWslurm/slurm.h2701#define PART_FLAG_EXCLUSIVE_USER SLURM_BIT(6)/* Set if nodes allocated exclusivelyCOMMENT
LOWslurm/slurm.h2861#define RESERVE_FLAG_MAINT SLURM_BIT(0) /* Set MAINT flag */COMMENT
LOWslurm/slurm.h2881/* SLURM_BIT(16) unused */COMMENT
LOWslurm/slurm.h3021 char *name; /* name of reservation just created orCOMMENT
LOWslurm/slurm.h3041#define DEBUG_FLAG_BACKFILL SLURM_BIT(12) /* debug forCOMMENT
LOWslurm/slurm.h3061 * map */COMMENT
LOWslurm/slurm.h3081#define DEBUG_FLAG_JOBCOMP SLURM_BIT(46) /* JobComp debug */COMMENT
LOWslurm/slurm.h3101#define PREEMPT_MODE_WITHIN 0x4000 /* enable preemption within qos */COMMENT
LOWslurm/slurm.h3121 * slurmctld knows the prolog hasCOMMENT
LOWslurm/slurm.h3141#define CONF_FLAG_SJE SLURM_BIT(10) /* AccountingStoreFlags=job_env */COMMENT
LOWslurm/slurm.h3661 uint32_t *rpc_queue_count;COMMENT
LOWslurm/slurm.h3681#define TRIGGER_TYPE_FINI SLURM_BIT(4)COMMENT
LOWslurm/slurm.h5361#define BB_STATE_PENDING 0x0000 /* Placeholder: no action started */COMMENT
LOWslurm/slurmdb.h221#define JOBCOND_FLAG_NO_DEFAULT_USAGE SLURM_BIT(7) /* Use usage_time as theCOMMENT
LOWslurm/slurmdb.h281#define ASSOC_COND_FLAG_WITH_DELETED SLURM_BIT(0)COMMENT
LOWtestsuite/python/tests/test_157_4.py301COMMENT
LOWtestsuite/python/tests/test_115_3.py161# contract is user_stale_usage on the user row and job9_usage on theCOMMENT
LOWtestsuite/python/tests/test_141_4.py81 # requesting node1 triggers a power-up; ResumeProgram=/bin/true does notCOMMENT
LOWtestsuite/python/tests/test_183_1.py21COMMENT
LOWtestsuite/python/tests/test_108_23.py21LOWEST_SLURM_ERROR_CODE = 1000COMMENT
LOWtestsuite/python/tests/test_141_5.py321 assert_idle_not_unknown("POWERED_DOWN", "reconfigure")COMMENT
LOWtestsuite/python/tests/test_116_62.py41 # pool below (the job would never be admitted) and, if the pool wereCOMMENT
LOWtestsuite/python/tests/test_101_14.py41# - The job must use the DEFAULT output file. expand_stdio_fields() joinsCOMMENT
LOWtestsuite/python/tests/test_128_6.py21QOS_PROTECTED = "qos_128_6_protected"COMMENT
LOWtestsuite/python/tests/test_128_6.py61 atf.require_config_parameter_includes("SchedulerParameters", ("sched_interval", 1))COMMENT
LOWtestsuite/python/tests/test_112_7.py41# quickly instead of hanging the suite.COMMENT
LOWtestsuite/python/tests/test_128_7.py21# PreemptType including preempt/none. Vary both so neither the SUSPEND mode norCOMMENT
LOWtestsuite/python/tests/test_105_14.py21"""COMMENT
LOWtestsuite/python/tests/test_111_7.py541#COMMENT
LOWtestsuite/python/tests/test_116_50.py1############################################################################COMMENT
LOWtestsuite/python/tests/test_127_3.py21COMMENT
LOWtestsuite/python/tests/test_130_6.py41# At least three PriorityCalcPeriod ticks while the jobs are still running, soCOMMENT
LOWtestsuite/python/tests/test_144_22.py61 # node4's GPUs are typed. A typed request (gpu:a100:2) is matched againstCOMMENT
LOWtestsuite/python/tests/test_116_65.py21# What detects the regression these tests cover is the srun exit code, not anyCOMMENT
LOWtestsuite/python/tests/test_127_2.py61COMMENT
LOWtestsuite/python/tests/test_127_2.py121 # job onto a distinct, known index on each, so a swapped index shows upCOMMENT
LOWtestsuite/python/tests/test_127_2.py401 # that lands on a node holding no GPU leaves the device bitmap empty,COMMENT
LOWtestsuite/python/tests/test_127_2.py721 )COMMENT
LOWtestsuite/python/tests/test_144_37.py21# "offset": a non-chunked Type holds devices 0-2 and the chunked Type 3-6, soCOMMENT
LOWtestsuite/python/tests/test_162_5.py41COMMENT
LOWtestsuite/python/tests/test_162_5.py461 )COMMENT
LOWtestsuite/python/tests/test_144_28.py81 "SlurmdDebug", ["verbose", "debug", "debug2", "debug3", "debug4", "debug5"]COMMENT
LOWtestsuite/python/tests/test_181_1.py41# SchedulerParameters gained that option in 25.11, so on older versions theCOMMENT
LOWtestsuite/python/tests/test_181_1.py61COMMENT
LOWtestsuite/python/tests/test_141_6.py61COMMENT
LOWtestsuite/python/tests/test_121_2.py1############################################################################COMMENT
LOW…e/python/tests/test_150_9_testcases/root_not_list.yaml1---COMMENT
LOWtestsuite/python/scripts/spank_plugin.c61 * used on the client process environment.COMMENT
LOWtestsuite/python/check/tests/topology/test_route_tree.c1/******************************************************************************COMMENT
LOWtestsuite/python/check/tests/topology/test_topology.c1/*****************************************************************************\COMMENT
873 more matches not shown…
Cross-Language Confusion144 hits · 779 pts
SeverityFileLineSnippetContext
HIGHtestsuite/python/conftest.py1074 call statement_repeat('select unix_timestamp()', 10, null, null, null);STRING
HIGH⚡testsuite/python/tests/test_190_17.py290 _reset((0, "(null)"), (1, "(null)"), (2, "(null)"), count=3)CODE
HIGH⚡testsuite/python/tests/test_190_17.py298 atf.set_gpu_set(NODE, atf.fake_gpus_conf((0, "(null)"), (1, "(null)")), 2)CODE
HIGHtestsuite/python/tests/test_123_7.py59 if v.lower() in ("(null)", "none"):CODE
HIGH⚡testsuite/python/tests/test_157_4.py304 """Return get_job_parameter result, or None if absent or (null)."""STRING
HIGHtestsuite/python/tests/test_176_1.py55 "(null)",CODE
HIGHtestsuite/python/tests/test_141_11.py142 lines.append(f"{gpu_type}|2|(null)|(null)|{path}|(null)|nvidia_gpu_env")CODE
HIGHtestsuite/python/tests/test_141_11.py186SCRIPT_DIR="$( cd -- "$( dirname -- "${{BASH_SOURCE[0]:-$0}}"; )" &> /dev/null && pwd 2> /dev/null; )";CODE
HIGHtestsuite/python/tests/test_141_11.py186SCRIPT_DIR="$( cd -- "$( dirname -- "${{BASH_SOURCE[0]:-$0}}"; )" &> /dev/null && pwd 2> /dev/null; )";CODE
HIGHtestsuite/python/tests/test_141_11.py498 err=$(cat "$f" 2>&1 >/dev/null)CODE
HIGHtestsuite/python/tests/test_134_6.py64 return trueCODE
HIGHtestsuite/python/tests/test_141_4.py72# controller advertised SLURM_STEPMGR as the literal string "(null)" for a jobCOMMENT
HIGH⚡testsuite/python/tests/test_190_13.py876 _first_registration((0, "(null)"), (1, "(null)"), (2, "(null)"))CODE
HIGH⚡testsuite/python/tests/test_190_13.py882 _register_slurmd((0, "(null)"), (2, "(null)"))CODE
HIGHtestsuite/python/tests/test_108_26.py121 return "" if value == "(null)" else valueCODE
HIGHtestsuite/python/tests/test_120_4.py50grep -qw pids "/sys/fs/cgroup${cg%/*}/cgroup.controllers" && echo yes || echo noSTRING
HIGHtestsuite/python/tests/test_134_2.py135 return falseCODE
HIGHtestsuite/python/tests/test_190_8.py60 "fake_gpus.conf", atf.fake_gpus_conf((0, "(null)"), (1, "(null)"))CODE
HIGHtestsuite/python/tests/test_190_8.py78 "fake_gpus.conf", atf.fake_gpus_conf((0, "(null)"), (1, "(null)"))CODE
HIGHtestsuite/python/tests/test_139_6.py82 f"> $t; [ $? -le 1 ]; }} && cat $t > /etc/hosts && rm -f $t",CODE
HIGHtestsuite/python/tests/test_162_2.py245[ -e {done1} ] && step1=done || step1=runningCODE
HIGHtestsuite/python/tests/test_162_2.py323[ -e {done} ] && step0=done || step0=runningCODE
HIGH⚡testsuite/python/tests/test_159_3.py80 "--wrap 'command -v ipcmk >/dev/null && command -v ipcs >/dev/null "CODE
HIGH⚡testsuite/python/tests/test_159_3.py85 'echo MQUEUE_DEV=$(stat -Lc "%d" /dev/mqueue 2>/dev/null); 'CODE
HIGH⚡testsuite/python/tests/test_159_3.py86 "echo QUEUES; ipcs -q 2>/dev/null; echo READY; sleep infinity'",CODE
HIGHtestsuite/python/tests/test_176_4.py155 "(null)",CODE
HIGHtestsuite/python/tests/test_134_3.py95 return trueCODE
HIGHtestsuite/python/tests/test_190_9.py109 (0, uuids[0] or "(null)"),CODE
HIGHtestsuite/python/tests/test_190_9.py110 (1, uuids[1] or "(null)"),CODE
HIGHtestsuite/python/tests/test_190_9.py142 if match and match.group(1) != "(null)":CODE
HIGH⚡testsuite/python/tests/test_190_16.py28 (0, "(null)", "GPU-aaaaaaaa-0000-0000-0000-000000000000"),CODE
HIGH⚡testsuite/python/tests/test_190_16.py29 (1, "(null)", "GPU-bbbbbbbb-1111-1111-1111-111111111111"),CODE
HIGH⚡testsuite/python/tests/test_190_16.py30 (2, "(null)", "GPU-cccccccc-2222-2222-2222-222222222222"),CODE
HIGH⚡testsuite/python/tests/test_190_16.py31 (3, "(null)", "GPU-dddddddd-3333-3333-3333-333333333333"),CODE
HIGHtestsuite/python/tests/test_134_7.py59 return trueCODE
HIGHtestsuite/python/tests/test_116_62.py145 grep -q 'StepId=.* queued' '{pend_err}' 2>/dev/null && breakCODE
HIGHtestsuite/python/tests/test_116_52.py74 '--exclusive --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status && env |CODE
HIGHtestsuite/python/tests/test_116_52.py97 '--exclusive --exact --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status CODE
HIGHtestsuite/python/tests/test_116_52.py124 '--exact --exclusive --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status CODE
HIGHtestsuite/python/tests/test_162_14.py515until grep -q A_FAILED "$SLURM_JOB_NAME.0.out" 2>/dev/null; do sleep 0.2; doneCODE
HIGHtestsuite/python/tests/test_162_14.py1082 END {{ exit !(target_line && dependent_line && target_line < dependent_line) }}CODE
HIGHtestsuite/python/tests/test_162_14.py1124until grep -q A_DONE "$SLURM_JOB_NAME.0.out" 2>/dev/null; do sleep 0.2; doneCODE
HIGHtestsuite/python/tests/test_150_5.py519 IS_NODE_CLOUD && (was_powering_up || was_powered_down) and neverSTRING
HIGH⚡testsuite/python/tests/test_144_41.py30A100 = (0, "a100", "(null)")CODE
HIGH⚡testsuite/python/tests/test_144_41.py31V100 = (1, "v100", "(null)")CODE
HIGH⚡testsuite/python/tests/test_144_41.py32H100 = (2, "h100", "(null)")CODE
HIGHtestsuite/python/tests/test_144_10.py31 f"(null)|2|0-1|(null)|/dev/tty0|{gpu_uuid0}|nvidia_gpu_env,amd_gpu_env\n"CODE
HIGHtestsuite/python/tests/test_144_10.py32 f"(null)|2|0-1|(null)|/dev/tty1|{gpu_uuid1}|nvidia_gpu_env,amd_gpu_env\n",CODE
HIGHtestsuite/python/tests/test_134_8.py91 return falseCODE
HIGHtestsuite/python/tests/test_134_8.py100 return trueCODE
HIGHtestsuite/python/tests/test_190_2.py91 "fake_gpus.conf", atf.fake_gpus_conf(*((i, "(null)") for i in range(count)))CODE
HIGHtestsuite/python/tests/test_123_8.py58 if v.lower() in ("(null)", "none"):CODE
HIGHtestsuite/python/tests/test_123_8.py84 if v.lower() in ("(null)", "none"):CODE
HIGHtestsuite/python/tests/test_190_18.py126 _register((0, "(null)"), (1, "(null)"), count=2)CODE
HIGHtestsuite/python/tests/test_190_18.py137 _reregister((0, "(null)"), (1, "(null)"))CODE
HIGHtestsuite/python/tests/test_134_9.py59 return trueCODE
HIGH⚡testsuite/python/tests/test_190_7.py110 (0, uuids[0] or "(null)"),CODE
HIGH⚡testsuite/python/tests/test_190_7.py111 (1, uuids[1] or "(null)"),CODE
HIGH⚡testsuite/python/tests/test_190_7.py183 atf.require_config_file("fake_gpus.conf", atf.fake_gpus_conf((0, "(null)")))CODE
HIGHtestsuite/python/tests/test_190_7.py238 atf.fake_gpus_conf((0, "a100", "(null)"), (1, "v100", "(null)")),CODE
84 more matches not shown…
Decorative Section Separators182 hits · 498 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/python/tests/test_157_4.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py140# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py220# ---------------------------------------------------------------------------STRING
MEDIUMtestsuite/python/tests/test_157_4.py222# ---------------------------------------------------------------------------STRING
MEDIUMtestsuite/python/tests/test_157_4.py277# ---------------------------------------------------------------------------STRING
MEDIUMtestsuite/python/tests/test_157_4.py279# ---------------------------------------------------------------------------STRING
MEDIUM⚡testsuite/python/tests/test_157_4.py308# ===========================================================================COMMENT
MEDIUM⚡testsuite/python/tests/test_157_4.py310# ===========================================================================COMMENT
MEDIUM⚡testsuite/python/tests/test_157_4.py345# ===========================================================================COMMENT
MEDIUM⚡testsuite/python/tests/test_157_4.py347# ===========================================================================COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py399# ===========================================================================COMMENT
MEDIUMtestsuite/python/tests/test_157_4.py401# ===========================================================================COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py289# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py291# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py398# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py547# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_115_2.py549# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py152# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py154# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py377# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py379# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py568# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py570# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py975# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_14.py977# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py267# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py269# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py426# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py428# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py691# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py693# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_162_14.py1049# ---------------------------------------------------------------------------STRING
MEDIUMtestsuite/python/tests/test_162_14.py1051# ---------------------------------------------------------------------------STRING
MEDIUMtestsuite/python/tests/test_150_5.py417# ----------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_150_5.py424# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py141# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py143# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py275# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py277# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py354# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_2.py356# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_190_2.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_190_2.py473# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_11.py96# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_11.py98# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_11.py179# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_11.py181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_162_11.py232# ---------------------------------------------------------------------------STRING
MEDIUM⚡testsuite/python/tests/test_162_11.py234# ---------------------------------------------------------------------------STRING
MEDIUM⚡testsuite/python/tests/test_190_7.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_7.py178# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_7.py600# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_190_7.py607# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_190_7.py736# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/python/tests/test_190_7.py747# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/python/tests/test_116_55.py453# ---------------------------------------------------------------------------STRING
MEDIUM⚡testsuite/python/tests/test_116_55.py455# ---------------------------------------------------------------------------STRING
122 more matches not shown…
Cross-File Repetition80 hits · 400 pts
SeverityFileLineSnippetContext
HIGHtestsuite/python/tests/test_150_17.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_150_1.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_150_18.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_152_2.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_150_2.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_150_8.py0blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8STRING
HIGHtestsuite/python/tests/test_102_20.py0write a sacctmgr load file as the slurm user (remote-exec safe).STRING
HIGHtestsuite/python/tests/test_102_18.py0write a sacctmgr load file as the slurm user (remote-exec safe).STRING
HIGHtestsuite/python/tests/test_102_19.py0write a sacctmgr load file as the slurm user (remote-exec safe).STRING
HIGHtestsuite/python/tests/test_183_1.py0path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_jsSTRING
HIGHtestsuite/python/tests/test_183_3.py0path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_jsSTRING
HIGHtestsuite/python/tests/test_183_2.py0path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_jsSTRING
HIGHtestsuite/python/tests/test_141_10.py0timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module STRING
HIGHtestsuite/python/tests/test_141_8.py0timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module STRING
HIGHtestsuite/python/tests/test_141_9.py0timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module STRING
HIGHtestsuite/python/tests/test_141_7.py0timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module STRING
HIGHtestsuite/python/tests/test_128_6.py0assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminalSTRING
HIGHtestsuite/python/tests/test_128_3.py0assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminalSTRING
HIGHtestsuite/python/tests/test_128_7.py0assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminalSTRING
HIGHtestsuite/python/tests/test_128_4.py0assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminalSTRING
HIGHtestsuite/python/tests/test_128_5.py0assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminalSTRING
HIGHtestsuite/python/tests/test_130_13.py0keep one node busy. returns the job id and the node name.STRING
HIGHtestsuite/python/tests/test_130_12.py0keep one node busy. returns the job id and the node name.STRING
HIGHtestsuite/python/tests/test_130_11.py0keep one node busy. returns the job id and the node name.STRING
HIGHtestsuite/python/tests/test_144_24.py0expand an 'idx' string like '0,2-3' into a set of ints.STRING
HIGHtestsuite/python/tests/test_144_26.py0expand an 'idx' string like '0,2-3' into a set of ints.STRING
HIGHtestsuite/python/tests/test_144_22.py0expand an 'idx' string like '0,2-3' into a set of ints.STRING
HIGHtestsuite/python/tests/test_144_23.py0expand an 'idx' string like '0,2-3' into a set of ints.STRING
HIGHtestsuite/python/tests/test_144_27.py0expand an 'idx' string like '0,2-3' into a set of ints.STRING
HIGHtestsuite/python/tests/test_112_43.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_42.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_46.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_41.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_45.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_44.py0delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbdSTRING
HIGHtestsuite/python/tests/test_112_43.py0require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in auSTRING
HIGHtestsuite/python/tests/test_112_46.py0require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in auSTRING
HIGHtestsuite/python/tests/test_112_45.py0require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in auSTRING
HIGHtestsuite/python/tests/test_112_44.py0require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in auSTRING
HIGHtestsuite/python/tests/test_112_43.py0wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's inSTRING
HIGHtestsuite/python/tests/test_112_46.py0wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's inSTRING
HIGHtestsuite/python/tests/test_112_45.py0wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's inSTRING
HIGHtestsuite/python/tests/test_112_44.py0wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's inSTRING
HIGHtestsuite/python/tests/test_112_43.py0wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account).STRING
HIGHtestsuite/python/tests/test_112_46.py0wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account).STRING
HIGHtestsuite/python/tests/test_112_45.py0wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account).STRING
HIGHtestsuite/python/tests/test_112_44.py0wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account).STRING
HIGHtestsuite/python/tests/test_112_43.py0create association for local user when accountingstorageenforce=associations.STRING
HIGHtestsuite/python/tests/test_112_46.py0create association for local user when accountingstorageenforce=associations.STRING
HIGHtestsuite/python/tests/test_112_45.py0create association for local user when accountingstorageenforce=associations.STRING
HIGHtestsuite/python/tests/test_112_44.py0create association for local user when accountingstorageenforce=associations.STRING
HIGHtestsuite/python/tests/test_112_43.py0ensure local_user_name has no association for the duration of the test. removes any association before the test runs (soSTRING
HIGHtestsuite/python/tests/test_112_46.py0ensure local_user_name has no association for the duration of the test. removes any association before the test runs (soSTRING
HIGHtestsuite/python/tests/test_112_45.py0ensure local_user_name has no association for the duration of the test. removes any association before the test runs (soSTRING
HIGHtestsuite/python/tests/test_112_44.py0ensure local_user_name has no association for the duration of the test. removes any association before the test runs (soSTRING
HIGHtestsuite/python/tests/test_112_43.py0check a rejected job submission against the documented response.STRING
HIGHtestsuite/python/tests/test_112_46.py0check a rejected job submission against the documented response.STRING
HIGHtestsuite/python/tests/test_112_45.py0check a rejected job submission against the documented response.STRING
HIGHtestsuite/python/tests/test_112_44.py0check a rejected job submission against the documented response.STRING
HIGHtestsuite/python/tests/test_112_43.py0test that job submission with an associated account is accepted. verifies that when accountingstorageenforce=associationSTRING
20 more matches not shown…
Self-Referential Comments65 hits · 168 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/python/conftest.py390 # Creating a module level tmp_path mimicking what tmp_path doesCOMMENT
MEDIUMtestsuite/python/conftest.py480 # Create the required node directories for node0COMMENT
MEDIUMtestsuite/python/tests/test_108_22.py186 # Create the entity so that only authorization rejects an update or deleteCOMMENT
MEDIUMtestsuite/python/tests/test_140_1.py127 # Create a jobSTRING
MEDIUMtestsuite/python/tests/test_140_1.py166 # Create a jobSTRING
MEDIUMtestsuite/python/tests/test_140_1.py262 # Create a jobSTRING
MEDIUMtestsuite/python/tests/test_140_1.py294 # Create a jobSTRING
MEDIUMtestsuite/python/tests/test_118_2.py22 # Create a dummy trigger programCOMMENT
MEDIUMtestsuite/python/tests/test_116_49.py45 # Create the job scriptCOMMENT
MEDIUMtestsuite/python/tests/test_100_1.py402# Create a test_function() for all test file in the testsuite_check_dir.COMMENT
MEDIUMtestsuite/python/tests/test_141_10.py40 # This module is about the default, so the option must stay unset. It isCOMMENT
MEDIUMtestsuite/python/tests/test_138_3.py98 # Create a dictionary to map future objects to their thread_idsCOMMENT
MEDIUMtestsuite/python/tests/test_128_6.py144 # Create the association if it is missing, then set the QOS listCOMMENT
MEDIUMtestsuite/python/tests/test_165_2.py45 # Define the partitions in slurm.conf rather than with 'scontrol create' soCOMMENT
MEDIUMtestsuite/python/tests/test_165_2.py68 # Create the marker so a cancelled job's epilog blocks and the job staysCOMMENT
MEDIUMtestsuite/python/tests/test_112_43.py1554 # Create a reservationCOMMENT
MEDIUMtestsuite/python/tests/test_112_43.py1692 # Create a reservation with empty node_listCOMMENT
MEDIUMtestsuite/python/tests/test_106_4.py44 # Create a source file to broadcastCOMMENT
MEDIUMtestsuite/python/tests/test_112_46.py3267 # Create a reservationCOMMENT
MEDIUMtestsuite/python/tests/test_112_46.py3510 # Create a reservation with empty node_listCOMMENT
MEDIUMtestsuite/python/tests/test_165_3.py33 # Define the partitions in slurm.conf rather than with 'scontrol create' soCOMMENT
MEDIUMtestsuite/python/tests/test_147_1.py39 # Create a file outside the container; spank_tmp_clean already wiped the dirCOMMENT
MEDIUMtestsuite/python/tests/test_102_18.py746 # Create a config file with cluster, accounts, and userCOMMENT
MEDIUMtestsuite/python/tests/test_123_17.py84 # Create a permanent reservation on specific nodes, as in the reportedCOMMENT
MEDIUMtestsuite/python/tests/test_116_25.py47 # Create the batch script contentCOMMENT
MEDIUMtestsuite/python/tests/test_112_45.py2019 # Create a reservationCOMMENT
MEDIUMtestsuite/python/tests/test_112_45.py2262 # Create a reservation with empty node_listCOMMENT
MEDIUMtestsuite/python/tests/test_112_44.py1741 # Create a reservationCOMMENT
MEDIUMtestsuite/python/tests/test_112_44.py1984 # Create a reservation with empty node_listCOMMENT
MEDIUMtestsuite/python/tests/test_123_5.py77 # Create the reservation for QOS testCOMMENT
MEDIUMtestsuite/python/tests/test_123_4.py26 # Create the reservation for user slurmCOMMENT
MEDIUMtestsuite/python/tests/test_108_21.py383 # Create the entity so that only authorization rejects an update or deleteCOMMENT
MEDIUMtestsuite/python/lib/atf.py976 # Create the slurmd's spool and tmpfs directories, and remove at teardownCOMMENT
MEDIUMtestsuite/python/lib/atf.py2351 # Create a tmp expect dir from sources with the right permissionsCOMMENT
MEDIUMtestsuite/python/lib/atf.py2360 # Create the globals.localCOMMENT
MEDIUMtestsuite/python/lib/atf.py4138 # Create the headers with the token to connect laterCOMMENT
MEDIUMtestsuite/python/lib/atf.py6968 # Create the required node directoriesCOMMENT
MEDIUMtestsuite/python/lib/atf.py7325 # Create a new aggregate nodeCOMMENT
MEDIUMtestsuite/expect/regression.py8# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/openlava/bsub.pl11# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/openlava/bsub.pl295 # Create the hostlist for formattingCOMMENT
MEDIUMcontribs/openlava/lsid.pl12# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/openlava/bjobs.pl12# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/openlava/bkill.pl11# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/slurm_completion_help/slurm_completion.sh8# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qstat.pl13# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qdel.pl13# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/mpiexec.pl13# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qrerun.pl7# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qsub.pl14# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qhold.pl14# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/pbsnodes.pl14# This file is part of Slurm, a resource management program.COMMENT
MEDIUMcontribs/torque/qrls.pl13# This file is part of Slurm, a resource management program.COMMENT
MEDIUMauxdir/ltmain.sh77# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMauxdir/ltmain.sh1530# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMauxdir/ltmain.sh1548# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMauxdir/ltmain.sh2800# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMauxdir/ltmain.sh2810# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMauxdir/ltmain.sh2833# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMauxdir/ltmain.sh2843# This function is only a basic sanity check; it will hardly flush outCOMMENT
5 more matches not shown…
Deep Nesting53 hits · 42 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/conftest.py146CODE
LOWtestsuite/python/conftest.py239CODE
LOWtestsuite/python/conftest.py566CODE
LOWtestsuite/python/tests/test_172_9.py75CODE
LOWtestsuite/python/tests/test_116_49.py42CODE
LOWtestsuite/python/tests/test_144_8.py332CODE
LOWtestsuite/python/tests/test_100_5.py219CODE
LOWtestsuite/python/tests/test_138_3.py80CODE
LOWtestsuite/python/tests/test_116_33.py20CODE
LOWtestsuite/python/tests/test_172_6.py79CODE
LOWtestsuite/python/tests/test_153_3.py61CODE
LOWtestsuite/python/tests/test_164_2.py82CODE
LOWtestsuite/python/tests/test_116_63.py39CODE
LOWtestsuite/python/tests/test_132_3.py325CODE
LOWtestsuite/python/tests/test_172_5.py74CODE
LOWtestsuite/python/tests/test_102_18.py281CODE
LOWtestsuite/python/tests/test_105_1.py35CODE
LOWtestsuite/python/tests/test_130_6.py119CODE
LOWtestsuite/python/tests/test_172_4.py89CODE
LOWtestsuite/python/tests/test_102_19.py199CODE
LOWtestsuite/python/tests/test_158_1.py124CODE
LOWtestsuite/python/tests/test_100_2.py33CODE
LOWtestsuite/python/tests/test_100_2.py34CODE
LOWtestsuite/python/tests/test_139_1.py131CODE
LOWtestsuite/python/tests/test_122_5.py168CODE
LOWtestsuite/python/lib/atf.py515CODE
LOWtestsuite/python/lib/atf.py893CODE
LOWtestsuite/python/lib/atf.py1587CODE
LOWtestsuite/python/lib/atf.py2554CODE
LOWtestsuite/python/lib/atf.py2794CODE
LOWtestsuite/python/lib/atf.py2963CODE
LOWtestsuite/python/lib/atf.py3514CODE
LOWtestsuite/python/lib/atf.py3814CODE
LOWtestsuite/python/lib/atf.py4169CODE
LOWtestsuite/python/lib/atf.py4303CODE
LOWtestsuite/python/lib/atf.py4874CODE
LOWtestsuite/python/lib/atf.py4995CODE
LOWtestsuite/python/lib/atf.py5261CODE
LOWtestsuite/python/lib/atf.py5370CODE
LOWtestsuite/python/lib/atf.py5439CODE
LOWtestsuite/python/lib/atf.py5531CODE
LOWtestsuite/python/lib/atf.py5645CODE
LOWtestsuite/python/lib/atf.py6214CODE
LOWtestsuite/python/lib/atf.py6612CODE
LOWtestsuite/python/lib/atf.py7053CODE
LOWtestsuite/python/lib/atf.py7779CODE
LOWtestsuite/python/lib/atf.py7870CODE
LOWtestsuite/src/lib/cli.py61CODE
LOWtestsuite/src/lib/utils/conf.py8CODE
LOWtestsuite/src/lib/utils/test/test_list.py19CODE
LOWtestsuite/src/lib/test_runners/regressions_runner.py130CODE
LOWtestsuite/src/lib/test_runners/unit_runner.py123CODE
LOWtestsuite/expect/regression.py75CODE
Unused Imports47 hits · 39 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/tests/test_112_43.py7CODE
LOWtestsuite/python/tests/test_112_43.py358CODE
LOWtestsuite/python/tests/test_112_43.py359CODE
LOWtestsuite/python/tests/test_112_43.py361CODE
LOWtestsuite/python/tests/test_112_43.py618CODE
LOWtestsuite/python/tests/test_112_43.py745CODE
LOWtestsuite/python/tests/test_112_43.py1149CODE
LOWtestsuite/python/tests/test_112_42.py6CODE
LOWtestsuite/python/tests/test_112_42.py7CODE
LOWtestsuite/python/tests/test_112_42.py288CODE
LOWtestsuite/python/tests/test_112_42.py289CODE
LOWtestsuite/python/tests/test_112_42.py291CODE
LOWtestsuite/python/tests/test_112_42.py548CODE
LOWtestsuite/python/tests/test_112_42.py675CODE
LOWtestsuite/python/tests/test_112_42.py1082CODE
LOWtestsuite/python/tests/test_112_46.py8CODE
LOWtestsuite/python/tests/test_112_46.py639CODE
LOWtestsuite/python/tests/test_112_46.py640CODE
LOWtestsuite/python/tests/test_112_46.py642CODE
LOWtestsuite/python/tests/test_112_46.py929CODE
LOWtestsuite/python/tests/test_112_46.py1056CODE
LOWtestsuite/python/tests/test_112_46.py2372CODE
LOWtestsuite/python/tests/test_112_46.py2382CODE
LOWtestsuite/python/tests/test_112_41.py5CODE
LOWtestsuite/python/tests/test_112_41.py288CODE
LOWtestsuite/python/tests/test_112_41.py289CODE
LOWtestsuite/python/tests/test_112_41.py291CODE
LOWtestsuite/python/tests/test_112_41.py548CODE
LOWtestsuite/python/tests/test_112_41.py675CODE
LOWtestsuite/python/tests/test_112_41.py1082CODE
LOWtestsuite/python/tests/test_112_45.py7CODE
LOWtestsuite/python/tests/test_112_45.py406CODE
LOWtestsuite/python/tests/test_112_45.py407CODE
LOWtestsuite/python/tests/test_112_45.py409CODE
LOWtestsuite/python/tests/test_112_45.py666CODE
LOWtestsuite/python/tests/test_112_45.py793CODE
LOWtestsuite/python/tests/test_112_45.py1198CODE
LOWtestsuite/python/tests/test_112_45.py1208CODE
LOWtestsuite/python/tests/test_112_44.py7CODE
LOWtestsuite/python/tests/test_112_44.py405CODE
LOWtestsuite/python/tests/test_112_44.py406CODE
LOWtestsuite/python/tests/test_112_44.py408CODE
LOWtestsuite/python/tests/test_112_44.py665CODE
LOWtestsuite/python/tests/test_112_44.py792CODE
LOWtestsuite/python/tests/test_112_44.py1197CODE
LOWtestsuite/python/tests/test_112_44.py1207CODE
LOWtestsuite/expect/regression.py29CODE
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtestsuite/python/tests/test_123_7.py113except Exception:CODE
HIGHtestsuite/python/tests/test_123_7.py301except Exception:CODE
HIGHtestsuite/python/tests/test_123_8.py138except Exception:CODE
HIGHtestsuite/python/tests/test_123_8.py259except Exception:CODE
HIGHtestsuite/python/lib/atf.py5355except Exception:CODE
HIGHtestsuite/src/lib/utils/fs.py44except OSError:CODE
HIGHtestsuite/expect/regression.py202except Exception:CODE
AI Slop Vocabulary11 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/python/tests/test_183_1.py368 # --output=none keeps the raw byte out of srun's stdout, which the harnessCOMMENT
MEDIUMtestsuite/python/tests/test_183_1.py407 # --output=none keeps the raw byte out of srun's stdout, which the harnessCOMMENT
MEDIUMtestsuite/python/tests/test_102_18.py940 """Test comprehensive modification covering account metadata, account associations, and user associationsSTRING
MEDIUMtestsuite/python/tests/test_139_1.py94 # Wait for jobs to finish to facilitate deleting node laterCOMMENT
LOWtestsuite/python/tests/test_115_1.py728 # Since there are 2 test clusters we will just use oneCOMMENT
LOWtestsuite/python/tests/test_115_1.py860 # Since there are 2 test clusters we will just use oneCOMMENT
LOWtestsuite/python/tests/test_115_1.py1102 # Since there are 2 test clusters we will just use oneCOMMENT
MEDIUMtestsuite/python/lib/atf.py706 # We have to elevate privileges here, but forking off thousands of sudoCOMMENT
MEDIUMtestsuite/python/lib/atf.py5795# well clear of swait's own 0/1/2/3 so a harness timeout is not read as aCOMMENT
MEDIUMauxdir/ltmain.sh345# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMauxdir/ltmain.sh5624# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
Redundant / Tautological Comments19 hits · 24 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/tests/test_100_1.py467 # Check if we still have remaining xfails (not popped above)COMMENT
LOW⚡testsuite/python/tests/test_144_7.py220 # Verify if devices are constrained, CUDA_VISIBLE_DEVICES start alwaysCOMMENT
LOW⚡testsuite/python/tests/test_144_7.py226 # Verify if devices are NOT constrained, all CUDA_VISIBLE_DEVICES areCOMMENT
LOWtestsuite/python/tests/test_123_8.py192 # Assign features to pairs of nodesCOMMENT
LOW⚡testsuite/python/tests/test_147_1.py55 # Check if slurm_spank_user_init executed its functions and left behind a fileCOMMENT
LOW⚡testsuite/python/tests/test_147_1.py62 # Check if slurm_spank_task_post_fork executed its functions and left behind a fileCOMMENT
LOW⚡testsuite/python/tests/test_147_1.py69 # Check if slurm_spank_task_exit executed its functions and left behind a fileCOMMENT
LOWtestsuite/python/tests/test_139_1.py105 # Check if node is powered up. If we catch the node while it is powering up,COMMENT
LOWtestsuite/python/lib/atf.py5211# Return outputCOMMENT
LOWtestsuite/python/lib/atf.py8187# Check if user has sudo privilegesCOMMENT
LOWtestsuite/src/lib/db/test_db.py86 li[3] = "" # Set status to ""STRING
LOWcontribs/slurm_completion_help/slurm_completion.sh681# Check if slurm value completions are enabledCOMMENT
LOWauxdir/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and setCOMMENT
LOWauxdir/ltmain.sh655# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWauxdir/ltmain.sh679# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWauxdir/ltmain.sh845# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWauxdir/ltmain.sh1063# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWauxdir/ltmain.sh4287 # Check if any of the arguments is a wrapper script.COMMENT
LOWauxdir/ltmain.sh10241 # Loop over the list of objects to be linked.COMMENT
Excessive Try-Catch Wrapping23 hits · 22 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/tests/test_123_7.py113 except Exception:CODE
LOWtestsuite/python/tests/test_123_7.py301 except Exception:CODE
LOWtestsuite/python/tests/test_138_3.py129 except Exception as e:CODE
LOWtestsuite/python/tests/test_138_3.py142 except Exception as e:CODE
LOWtestsuite/python/tests/test_123_8.py138 except Exception:CODE
LOWtestsuite/python/tests/test_123_8.py259 except Exception:CODE
LOWtestsuite/python/tests/test_172_2.py62 except Exception as e:CODE
LOWtestsuite/python/tests/test_172_2.py69 except Exception as e:CODE
LOWtestsuite/python/tests/test_172_2.py95 except Exception as e:CODE
LOWtestsuite/python/tests/test_172_2.py102 except Exception as e:CODE
MEDIUMtestsuite/python/lib/signal_forwarding_script.py19 print("Error: Readiness file path argument required.", file=sys.stderr)CODE
LOWtestsuite/python/lib/signal_forwarding_script.py49 except Exception as e:CODE
MEDIUMtestsuite/python/lib/signal_forwarding_script.py50 print(f"Error creating readiness file: {e}", file=sys.stderr, flush=True)CODE
MEDIUMtestsuite/python/lib/atf.py726def safe_request_openapi():CODE
MEDIUMtestsuite/python/lib/atf.py847def _args(pid):CODE
MEDIUMtestsuite/python/lib/atf.py5352def read_line():CODE
LOWtestsuite/python/lib/atf.py729 except Exception as err:CODE
LOWtestsuite/python/lib/atf.py1527 except Exception:CODE
LOWtestsuite/python/lib/atf.py1536 except Exception:CODE
LOWtestsuite/python/lib/atf.py1821 except Exception:CODE
LOWtestsuite/python/lib/atf.py4108 except Exception as e:CODE
LOWtestsuite/python/lib/atf.py5355 except Exception:CODE
LOWtestsuite/expect/regression.py202 except Exception:CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtestsuite/python/lib/atf.py3399Compiles the whereami.c program to be used by tests. This function installs the whereami program. To get the cSTRING
HIGHtestsuite/python/lib/atf.py3522Ensures that a configuration parameter has the required value. In local-config mode, the test is skipped if the reqSTRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALdoc/html/jquery.min.js4if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.seCODE
Modern AI Meta-Vocabulary2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM⚡testsuite/python/tests/test_157_4.py346# Group D - Non-whitelist guardrailsCOMMENT
MEDIUMtestsuite/python/tests/test_105_12.py47 # health-check firing. This scaffolding is an implementation-timing crutch toCOMMENT
AI Structural Patterns4 hits · 3 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/tests/test_115_2.py359CODE
LOWtestsuite/python/lib/atf.py203CODE
LOWtestsuite/src/lib/db/test_db.py129CODE
LOWtestsuite/src/lib/db/test_db.py181CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/slurmctld/job_mgr.c14821 * We need to check if the state is BadConstraints here since weCOMMENT
LOWsrc/common/slurm_protocol_socket.c853 * We need to check if the connection succeeded byCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/interfaces/acct_gather.h58/* don't forget to free this */COMMENT
Fake / Example Data1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtestsuite/python/tests/test_116_55.py385 f"placeholder's unset exit code must not raise it, got {derived!r}\n"STRING