AI Slop Code Risk Monitor

CleverRaven/Cataclysm-DDA

SlopCodeMonitor badge for CleverRaven/Cataclysm-DDA Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for CleverRaven/Cataclysm-DDA, a C++ project with 13,441 GitHub stars. SynthScan examined 3,097,925 lines of code across 8872 source files, recording 2695 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
13.4K
Stars
C++
Language
3.1M
Lines of Code
8.9K
Files
2.7K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 4.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 4.7/100 · LOW

Which changes need focused human review? 2695 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 4HIGH 13MEDIUM 93LOW 2585

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 2695 distinct pattern matches across 20 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.

Over-Commented Block2363 hits · 2174 pts
SeverityFileLineSnippetContext
LOWLICENSE.txt61COMMENT
LOW.cmake-format.yml1# options affecting formattingCOMMENT
LOW.cmake-format.yml21 # enable comment markup parsing and reflowCOMMENT
LOWpch/main-pch.hpp1// Workaround to a bug in libstdc++ prior to GCC 11 causingCOMMENT
LOWpch/main-pch.hpp21#include <cfloat>COMMENT
LOWpch/main-pch.hpp41#include <exception>COMMENT
LOWpch/main-pch.hpp61#include <optional>COMMENT
LOWpch/main-pch.hpp81#include <unordered_map>COMMENT
LOWtools/generate_changelog.py621 }COMMENT
LOWtools/generate_changelog.py1301 # we obtained half of the build's commit with our GitHub APICOMMENT
LOWtools/generate_changelog.py1321 # Another option is to find a proper Date range for the Build and findCOMMENT
LOWtools/macos-market-share.py1#!/usr/bin/env python3COMMENT
LOWtools/repeat_clang_tidy.sh1#!/bin/bashCOMMENT
LOWtools/clang-tidy-plugin/Utils.h1#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_UTILS_HCOMMENT
LOWtools/clang-tidy-plugin/SerializeCheck.cpp1#include "SerializeCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UnsequencedCallsCheck.cpp1#include "UnsequencedCallsCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UsePointArithmeticCheck.cpp1#include "UsePointArithmeticCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UsePointArithmeticCheck.cpp21#include <map>COMMENT
LOWtools/clang-tidy-plugin/UseMdarrayCheck.cpp1#include "UseMdarrayCheck.h"COMMENT
LOWtools/clang-tidy-plugin/StringLiteralIterator.h21COMMENT
LOWtools/clang-tidy-plugin/CataTidyModule.cpp1#include <clang/Basic/Version.h>COMMENT
LOWtools/clang-tidy-plugin/CataTidyModule.cpp21#include "RedundantParenthesesCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UseNamedPointConstantsCheck.cpp1#include "UseNamedPointConstantsCheck.h"COMMENT
LOWtools/clang-tidy-plugin/TranslatorCommentsCheck.cpp1#include "TranslatorCommentsCheck.h"COMMENT
LOWtools/clang-tidy-plugin/TranslatorCommentsCheck.cpp321 // error here for simplicity.COMMENT
LOWtools/clang-tidy-plugin/RedundantParenthesesCheck.cpp1#include "RedundantParenthesesCheck.h"COMMENT
LOWtools/clang-tidy-plugin/TextStyleCheck.cpp1#include "TextStyleCheck.h"COMMENT
LOWtools/clang-tidy-plugin/NoLongCheck.cpp1#include "NoLongCheck.h"COMMENT
LOWtools/clang-tidy-plugin/HeaderGuardCheck.cpp1#include "HeaderGuardCheck.h"COMMENT
LOW…clang-tidy-plugin/TestsMustRestoreGlobalStateCheck.cpp1#include "TestsMustRestoreGlobalStateCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UseLocalizedSortingCheck.cpp1#include "UseLocalizedSortingCheck.h"COMMENT
LOW…s/clang-tidy-plugin/SimplifyPointConstructorsCheck.cpp1#include "SimplifyPointConstructorsCheck.h"COMMENT
LOWtools/clang-tidy-plugin/CombineLocalsIntoPointCheck.cpp1#include "CombineLocalsIntoPointCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UsePointApisCheck.cpp1#include "UsePointApisCheck.h"COMMENT
LOWtools/clang-tidy-plugin/OtMatchCheck.cpp1#include "OtMatchCheck.h"COMMENT
LOWtools/clang-tidy-plugin/LargeStackObjectCheck.cpp1#include "LargeStackObjectCheck.h"COMMENT
LOWtools/clang-tidy-plugin/UseStringViewCheck.cpp1#include "UseStringViewCheck.h"COMMENT
LOWtools/clang-tidy-plugin/AlmostNeverAutoCheck.cpp1#include "AlmostNeverAutoCheck.h"COMMENT
LOWtools/clang-tidy-plugin/test/header-guard-3.h1// RUN: %check_clang_tidy %s cata-header-guard %t -- --load=%cata_plugin --COMMENT
LOWtools/clang-tidy-plugin/test/check_clang_tidy.py1#!/usr/bin/env python3COMMENT
LOWtools/clang-tidy-plugin/test/text-style.cpp61 foo( "\t" );COMMENT
LOWtools/clang-tidy-plugin/test/text-style.cpp81 // CHECK-MESSAGES: [[@LINE-2]]:25: warning: single quote preferred over right single quote.COMMENT
LOWtools/clang-tidy-plugin/test/text-style.cpp101 // CHECK-FIXES: foo( "Three; Two; One;" );COMMENT
LOWtools/clang-tidy-plugin/test/header-guard-5.h1// RUN: %check_clang_tidy %s cata-header-guard %t -- --load=%cata_plugin --COMMENT
LOWtools/clang-tidy-plugin/test/header-guard-1.h1// RUN: %check_clang_tidy %s cata-header-guard %t -- --load=%cata_plugin --COMMENT
LOWtools/clang-tidy-plugin/test/header-guard-4.cpp1// RUN: %check_clang_tidy %s cata-header-guard,cata-no-long %t -- --load=%cata_plugin --COMMENT
LOWtools/clang-tidy-plugin/test/header-guard-2.h1// RUN: %check_clang_tidy %s cata-header-guard %t -- --load=%cata_plugin --COMMENT
LOWtools/json_tools/gun_variant_validator.py561 gun["reload"] if "reload" in gun else 0,COMMENT
LOWtools/format/format_main.cpp1#include "format.h"COMMENT
LOWtools/save/zzip_main.cpp1#include <array>COMMENT
LOWtests/cata_catch.h1#pragma onceCOMMENT
LOWtests/active_item_test.cpp1#include <list>COMMENT
LOWtests/catacharset_test.cpp1#include <clocale>COMMENT
LOWtests/pathfinding_test.cpp1#include <algorithm>COMMENT
LOWtests/vehicle_interact_test.cpp1#include <functional>COMMENT
LOWtests/roof_test.cpp1#include <algorithm>COMMENT
LOWtests/char_sight_test.cpp1#include <memory>COMMENT
LOWtests/char_sight_test.cpp41// Character::sight_impairedCOMMENT
LOWtests/char_sight_test.cpp161 }COMMENT
LOWtests/char_sight_test.cpp261COMMENT
2303 more matches not shown…
Decorative Section Separators42 hits · 107 pts
SeverityFileLineSnippetContext
MEDIUM⚡doxygen_doc/doxygen_conf.txt1573#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen_doc/doxygen_conf.txt1575#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen_doc/doxygen_conf.txt1585#---------------------------------------------------------------------------COMMENT
MEDIUM⚡doxygen_doc/doxygen_conf.txt1587#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt15#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt17#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt422#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt424#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt674#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt676#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt725#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt727#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt861#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt863#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt917#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt919#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt940#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt942#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1359#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1361#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1465#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1467#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1507#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1509#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1535#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1537#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1558#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1560#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1620#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1622#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1686#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1688#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1733#---------------------------------------------------------------------------COMMENT
MEDIUMdoxygen_doc/doxygen_conf.txt1735#---------------------------------------------------------------------------COMMENT
MEDIUM.devcontainer/cross-compile/reinstall-cmake.sh2#-------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM.devcontainer/cross-compile/reinstall-cmake.sh5#-------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdata/json/ascii_art/generic_ascii.json1113 " <color_white>||</color><color_dark_gray>/////</color><color_white>/</color> <color_dark_gray>╔═══════╗CODE
MEDIUMdata/json/ascii_art/generic_ascii.json1115 " <color_white>||</color><color_dark_gray>////</color><color_white>|</color> <color_dark_gray>╚═══════╝CODE
MEDIUMdata/json/ascii_art/generic_ascii.json1129 " <color_white>||</color><color_dark_gray>////</color><color_white>|</color> <color_dark_gray>╔═══════╗CODE
MEDIUMdata/json/ascii_art/generic_ascii.json1131 " <color_white>||</color><color_dark_gray>////</color><color_white>|</color> <color_dark_gray>╚═══════╝CODE
MEDIUMsrc/output.h827// ┌──────┐ ┌──────┐COMMENT
MEDIUMsrc/output.h829// ┌─┴──────┴─┘ └───────────┐COMMENT
AI Slop Vocabulary35 hits · 92 pts
SeverityFileLineSnippetContext
LOWtools/json_tools/util.py251 # With no dots, just use the plain keyCOMMENT
MEDIUMtools/json_tools/cddaUpdateJsonVolume.js96 if (fullText.includes('musical_instrument') && whiteSpace.length === 6) // ugly and not robust, but works for nowCODE
MEDIUMbuild-data/web/index.html250 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMdata/json/materials.json824 "//1": "It's rather difficult to find citeable data on how well arbitrary volumes of human flesh burns, so I've settCODE
MEDIUMdata/json/flags.json1345 "//": "Applies robust genetic bonus - mutations give only 1 unit of instability for all traits instead of 1 unit forCODE
MEDIUM…cs/exodii/exodii_merchant_talk_netherum_labyrinth.json188 "//~": "&Rubik leans in and starts to tap the device's screen, showing you how it works. \"Right, I guess you canCODE
MEDIUMdata/json/requirements/toolsets.json462 "///": "The farrier's nail_puller can't be used with a hammer, but it probably has enough leverage on its own.",CODE
MEDIUMdata/json/recipes/recipe_ammo.json79 "//": "Essentially a ball of glued-together string with some leather around it"CODE
MEDIUMdata/json/recipes/armor/other.json63 "//": "Based off of the quickest internet suggestions, which utilize sewing machines.",CODE
MEDIUMdata/json/items/tool_armor.json4597 "//": "This is based on the Sarcos Guardian, a production model with independent battery power, all weather operatioCODE
MEDIUMdata/json/items/resources/metal.json22 "//": "Based on https://en.stainlesseurope.com/en_US/p/Stainless-steel-acid-resistant-seamless-tube-DN20-OD-28-mm-x-CODE
MEDIUMdata/json/items/armor/robofac_armor.json11 "//2": "Why no PALS? Fundamentally PALS is a decent system but adds a pile of additional weight in straps and fastenCODE
MEDIUMdata/json/items/tool/cooking.json672 "//": "Should be 20 but currently recipes do not utilize this value",CODE
MEDIUMsrc/basecamp.cpp891 // Absolutely no safety checks, factions don't exist until you've encountered them but we sometimes set the owner beCOMMENT
MEDIUMsrc/mutation_ui.cpp494 // Essentially, up-down navigation adapted from the bionics_ui.cpp, with a bunch of extra workarounds to keeCOMMENT
MEDIUMsrc/vehicle.cpp5845 // Cap output at what we can achieve and utilizeCOMMENT
MEDIUMsrc/map.h175 // Essentially infinite bash strength + someCOMMENT
MEDIUMsrc/character.cpp2874 // but for lifting, its effective strength is even higher, due to its sturdy construction, leverage,COMMENT
MEDIUMsrc/mapdata.cpp1246 // this certainly need some cleanup, leverage it to generic factory or somethingCOMMENT
MEDIUMsrc/activity_actor.cpp14700 // Definitely wasteful, but I am not paid enough to figure out a better way.COMMENT
MEDIUMsrc/tileray.h28// This class is used with bubble and relative coordinates. Fundamentally theCOMMENT
MEDIUMsrc/overmap.cpp1598 // TODO: nuanced move costs.COMMENT
MEDIUMsrc/mapgen_functions.cpp1268 // mapgen, and while things don't have to be seamless, I did want the lake shores to fairly smoothlyCOMMENT
MEDIUMsrc/lightmap.cpp1486 // We can utilize the current state of the seen cache to determineCOMMENT
MEDIUMsrc/consumption.cpp301 // TODO: put this loop into a function and utilize it again for bionicsCOMMENT
MEDIUMsrc/character_inventory.cpp280 // we don't need to delve deeper into an estorage item.COMMENT
MEDIUMsrc/input_context.cpp91 // Operator overload required to leverage std functional interface.COMMENT
MEDIUMsrc/melee.cpp829 // being prone affects how much leverage you can use to deal damageCOMMENT
MEDIUMsrc/melee.cpp1455 // this could be more robust but for now it should work fineCOMMENT
MEDIUMsrc/game.cpp3080 // Operator overload required to leverage sort API.COMMENT
MEDIUMsrc/character_attire.h63 // Operator overload required to leverage vector equality operator.COMMENT
MEDIUMsrc/third-party/fmt/format.h3397 // Compilers are not aware of how to leverage the maximum value ofCOMMENT
MEDIUMsrc/third-party/imgui/imgui.cpp6783 // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be COMMENT
MEDIUMsrc/third-party/imgui/imgui.cpp9207// FIXME-NEWATLAS-V2: perhaps we can now leverage ImFontAtlasUpdateDrawListsTextures() ?COMMENT
MEDIUMsrc/third-party/flatbuffers/flatbuffers.h863// Essentially, this supports 2 std::vectors in a single buffer.COMMENT
Deep Nesting84 hits · 84 pts
SeverityFileLineSnippetContext
LOWtools/check_translation_tags.py104CODE
LOWtools/check_translation_tags.py168CODE
LOWtools/generate_changelog.py936CODE
LOWtools/generate_changelog.py1196CODE
LOWtools/generate_changelog.py1281CODE
LOWtools/fix-compilation-database.py23CODE
LOWtools/vehicle_reformatter.py12CODE
LOWtools/vehicle_reformatter.py44CODE
LOWtools/copy_from.py9CODE
LOWtools/merge_maps.py44CODE
LOWtools/update_blueprint_needs.py28CODE
LOWtools/vehicleDef.py42CODE
LOWtools/tileset_test.py47CODE
LOWtools/tileset_test.py284CODE
LOWtools/dialogue_validator.py29CODE
LOWtools/dialogue_validator.py69CODE
LOWtools/dialogue_validator.py99CODE
LOWtools/auto_doc_mutations.py13CODE
LOWtools/auto_doc_mutations.py113CODE
LOWtools/auto_doc_mutations.py193CODE
LOWtools/json_tools/extend_itemgroups.py31CODE
LOWtools/json_tools/pocket_mags.py14CODE
LOWtools/json_tools/update_proficiencies.py12CODE
LOWtools/json_tools/gun_variant_validator.py247CODE
LOWtools/json_tools/gun_variant_validator.py429CODE
LOWtools/json_tools/gun_variant_validator.py469CODE
LOWtools/json_tools/gun_variant_validator.py613CODE
LOWtools/json_tools/gun_variant_validator.py670CODE
LOWtools/json_tools/gun_variant_validator.py794CODE
LOWtools/json_tools/gun_variant_validator.py849CODE
LOWtools/json_tools/util.py19CODE
LOWtools/json_tools/util.py72CODE
LOWtools/json_tools/util.py165CODE
LOWtools/json_tools/util.py202CODE
LOWtools/json_tools/util.py235CODE
LOWtools/json_tools/monstergroup_name_to_id.py41CODE
LOWtools/json_tools/convert_armor.py59CODE
LOWtools/json_tools/convert_armor.py236CODE
LOWtools/json_tools/remove_charges.py45CODE
LOWtools/json_tools/remove_charges.py315CODE
LOWtools/json_tools/remove_charges.py464CODE
LOWtools/json_tools/remove_charges.py525CODE
LOWtools/json_tools/generate_overmap_sprites.py271CODE
LOWtools/json_tools/generate_overmap_sprites.py457CODE
LOWtools/json_tools/itemgroups.py46CODE
LOWtools/json_tools/itemgroups.py82CODE
LOWtools/json_tools/name_strings_to_objects.py14CODE
LOWtools/json_tools/name_strings_to_objects.py62CODE
LOWtools/json_tools/monfaction_array-ify.py12CODE
LOWtools/json_tools/generic_guns_validator.py109CODE
LOWtools/json_tools/table.py67CODE
LOWtools/json_tools/recipe_activity.py15CODE
LOWtools/json_tools/convert_to_portions.py38CODE
LOWtools/json_tools/cddatags.py41CODE
LOWtools/gfx_tools/compose.py310CODE
LOWtools/gfx_tools/compose.py580CODE
LOWtools/gfx_tools/compose.py750CODE
LOWtools/gfx_tools/compose.py826CODE
LOWtools/gfx_tools/decompose.py137CODE
LOWtools/gfx_tools/decompose.py342CODE
24 more matches not shown…
Hyper-Verbose Identifiers41 hits · 41 pts
SeverityFileLineSnippetContext
LOWtools/generate_changelog.py294 def traverse_commits_by_first_parent(self, initial_hash=None):CODE
LOWtools/generate_changelog.py381 def get_merged_pr_list_by_date(self, latest_dttm, oldest_dttm):CODE
LOWtools/generate_changelog.py419 def get_previous_successful_build(self, build_number):CODE
LOWtools/generate_changelog.py477 def _create_build_from_api_data(self, build_data):CODE
LOWtools/generate_changelog.py545 def _process_commit_data_callback(self, results_queue):CODE
LOWtools/generate_changelog.py548 def _process_commit_data_callback_closure(json_data, request_generator,CODE
LOWtools/generate_changelog.py561 def _create_commit_from_api_data(self, commit_data):CODE
LOWtools/generate_changelog.py683 def _process_pr_data_callback(self, results_queue, min_dttm):CODE
LOWtools/generate_changelog.py686 def _process_pr_data_callback_closure(json_data, request_generator,CODE
LOWtools/generate_changelog.py769 def _process_api_requests_on_threads(request_generator, callback):CODE
LOWtools/generate_changelog.py927 def exit_on_exception_closure(*args, **kwargs):CODE
LOWtools/generate_changelog.py1012def validate_file_for_writing(filepath):CODE
LOWtools/windows_limit_memory.py389 def _create_io_completion_port(self) -> HANDLE:CODE
LOWtools/windows_limit_memory.py409 def _query_information_job_object(self, structure: ctypes.Structure,CODE
LOWtools/windows_limit_memory.py468 def _set_information_job_object(self, structure: ctypes.Structure,CODE
LOWtools/json_tools/generate_overmap_sprites.py179def read_overmap_terrain_data() -> None:CODE
LOWtools/json_tools/generate_overmap_sprites.py271def write_image_with_rotations(CODE
LOWtools/json_tools/generate_overmap_sprites.py431def handle_single_color_sprites(CODE
LOWtools/json_tools/generic_guns_validator.py154def items_for_which_any_ancestor(items, pred):CODE
LOWtools/json_tools/generic_guns_validator.py163def items_for_which_all_ancestors(items, pred):CODE
LOWtools/json_tools/generic_guns_validator.py229 def is_not_whitelisted_ammo_type(i):CODE
LOWtools/json_tools/table.py146def get_format_class_by_extension(format_string):CODE
LOWtools/gfx_tools/compose.py369 def create_tile_entries_for_unused(CODE
LOWtools/gfx_tools/compose.py490 def handle_unreferenced_sprites(CODE
LOWtools/gfx_tools/compose.py855 def convert_random_variations(CODE
LOWtools/gfx_tools/decompose.py411 def convert_pngnum_to_pngname(self, tile_entry):CODE
LOWlang/string_extractor/parsers/overmap_land_use_code.py5def parse_overmap_land_use_code(json, origin):CODE
LOWlang/string_extractor/parsers/shop_whitelist.py4def parse_shopkeeper_whitelist(json, origin):CODE
LOWlang/string_extractor/parsers/vehicle_part_category.py5def parse_vehicle_part_category(json, origin):CODE
LOWlang/string_extractor/parsers/proficiency_category.py5def parse_proficiency_category(json, origin):CODE
LOWlang/string_extractor/parsers/shop_blacklist.py4def parse_shopkeeper_blacklist(json, origin):CODE
LOWlang/string_extractor/parsers/construction_category.py4def parse_construction_category(json, origin):CODE
LOWlang/string_extractor/parsers/effect.py4def parse_effect_on_condition(json, origin, comment=""):CODE
LOWlang/string_extractor/parsers/vehicle_part_location.py5def parse_vehicle_part_location(json, origin):CODE
LOWdata/mods/Sorcerer/tools/generate_code.py322def write_pick_favorite_spell():CODE
LOWbuild-scripts/get_affected_files.py51 def parse_includes_files_from(CODE
LOWbuild-scripts/get_affected_files.py92def get_changed_files_from_list(changed_files_list):CODE
LOWbuild-scripts/get_affected_files.py98def get_changed_files_from_git(merge_target):CODE
LOWbuild-scripts/ci-iwyu-run.py138def generate_global_file_list() -> list[Path]:CODE
LOWsrc/iuse.cpp436static item::extended_photo_def photo_def_for_camera_point( const tripoint_bub_ms &aim_point,CODE
LOWsrc/iuse.cpp5899static item::extended_photo_def photo_def_for_camera_point( const tripoint_bub_ms &aim_point,CODE
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALtests/faction_camp_test.cpp763 return !e.id.id.mapgen_args.map.empty();CODE
CRITICALtests/faction_camp_test.cpp775 const auto palette = e.id.id.mapgen_args.map.find( "fbmh_2_construction_palette" );CODE
CRITICALtests/faction_camp_test.cpp777 palette != e.id.id.mapgen_args.map.end() &&CODE
CRITICAL.github/workflows/label-first-time-contributor.yml23 const opts = github.rest.pulls.list.endpoint.merge({CODE
Fake / Example Data26 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡tools/spell_checker/__init__.py100 ("Lorem ipsum dolor sit amet",CODE
LOW⚡tools/spell_checker/__init__.py100 ("Lorem ipsum dolor sit amet",CODE
LOW⚡tools/spell_checker/__init__.py102 ("'Lorem ipsum dolor sit amet, consectetur adipiscing elit'",CODE
LOW⚡tools/spell_checker/__init__.py102 ("'Lorem ipsum dolor sit amet, consectetur adipiscing elit'",CODE
LOW⚡tools/spell_checker/__init__.py107 ("Lorem ipsum, 'dolor?' sit!?", ["Lorem", "ipsum", "dolor", "sit"]),CODE
LOW⚡tools/spell_checker/__init__.py111 ("«Lorem ipsum»", ["Lorem", "ipsum"]), # used in some NPC dialogueCODE
LOW⚡tools/spell_checker/__init__.py112 ("*Lorem ipsum*", ["Lorem", "ipsum"]),CODE
LOW⚡tools/spell_checker/__init__.py113 ("&Lorem ipsum", ["Lorem", "ipsum"]), # used in some NPC dialogueCODE
LOW⚡tools/spell_checker/__init__.py115 ("'…Lorem ipsum…'", ["Lorem", "ipsum"]),CODE
LOW⚡tools/spell_checker/__init__.py120 ("Lorem ipsum/dolor/sit amet",CODE
LOW⚡tests/fold_string_test.cpp24 SECTION( "Case 1 - test wrapping of lorem ipsum" ) {CODE
LOW⚡tests/fold_string_test.cpp26 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque a.",CODE
LOW⚡tests/fold_string_test.cpp26 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque a.",CODE
LOW⚡tests/fold_string_test.cpp33 "Lorem ipsum dolor",CODE
LOW⚡tests/fold_string_test.cpp79 "<color_red>Lorem ipsum dolor sit amet, <color_green>consectetur adipiscing elit</color>CODE
LOW⚡tests/fold_string_test.cpp79 "<color_red>Lorem ipsum dolor sit amet, <color_green>consectetur adipiscing elit</color>CODE
LOW⚡tests/fold_string_test.cpp83 "<color_red>Lorem ipsum dolor </color>",CODE
LOWsrc/proficiency_ui.cpp45// | Proficiency 9 | Lorem ipsum etc........ |COMMENT
LOW⚡src/third-party/imgui/imgui_demo.cpp7655 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOW⚡src/third-party/imgui/imgui_demo.cpp7655 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOW⚡src/third-party/imgui/imgui_demo.cpp7657 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOW⚡src/third-party/imgui/imgui_demo.cpp7657 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOWsrc/third-party/imgui/imgui_demo.cpp9555 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWsrc/third-party/imgui/imgui_demo.cpp9555 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWsrc/third-party/imgui/imgui_demo.cpp10516 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWsrc/third-party/imgui/imgui_demo.cpp10516 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtools/generate_changelog.py992except IOError:CODE
HIGHtools/windows_limit_memory.py340except ctypes.WinError:CODE
HIGHtools/json_tools/cddatags.py96except FileNotFoundError:CODE
HIGHtools/gfx_tools/compose.py893except ValueError:CODE
HIGHutilities/make_iso.py198except OSError:CODE
HIGHutilities/make_iso.py203except OSError:CODE
HIGHutilities/make_iso.py210except OSError:CODE
Excessive Try-Catch Wrapping20 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUMtools/generate_changelog.py927def exit_on_exception_closure(*args, **kwargs):CODE
LOWtools/generate_changelog.py930 except Exception as err:CODE
LOWtools/update_blueprint_needs.py106 except Exception:CODE
MEDIUMtools/json_tools/values.py58 print("Error loading JSON data.")STRING
LOWtools/json_tools/util.py38 except Exception as err:CODE
LOWtools/json_tools/util.py159 except Exception:CODE
MEDIUMtools/json_tools/util.py152def __call__(self, parser, namespace, values, option_string=None):CODE
MEDIUMtools/json_tools/splitter.py38 print("Error loading JSON data.")CODE
MEDIUMtools/json_tools/keys.py48 print("Error loading JSON data.")CODE
MEDIUMtools/json_tools/pluck.py39 print("Error loading JSON data.")CODE
LOWtools/json_tools/lister.py48 except Exception:CODE
LOWtools/json_tools/update-translate-dialogue-mod.py82 except Exception as err:CODE
MEDIUMtools/json_tools/update-translate-dialogue-mod.py83 print(f"Error: {err}")CODE
LOWtools/json_tools/cddatags.py71 except Exception as err:CODE
LOWtools/gfx_tools/compose.py693 except Exception:CODE
LOWlang/string_extractor/parse.py18 except Exception as E:CODE
LOWlang/string_extractor/parse.py34 except Exception:CODE
MEDIUMlang/string_extractor/parse.py35 print("Error in JSON object\n'{0}'\nfrom file: '{1}'".format(CODE
MEDIUMbuild-scripts/validate_json.py22 print("Error opening {}: {}".format(file_path, e))CODE
MEDIUMbuild-scripts/validate_json.py25 print("Error parsing {}: {}".format(file_path, e))CODE
Slop Phrases22 hits · 29 pts
SeverityFileLineSnippetContext
LOWtests/mondefense_test.cpp112 // Don't forget to turn it on...COMMENT
LOWdata/core/tips.json98 "Some recipes can be left unattended, like boiling water. Just don't forget to pick them up when they're done.",CODE
LOWdata/json/starting_missions.json337 "description": "You have always had good social abilities. Go and recruit 2 followers and establish your leadershipCODE
LOWdata/json/snippets/radio.json24 "What's up, people of <the_cataclysm>? I'm DJ Dustbowl, this is my canine partner in crime, Sam, and you're listeCODE
LOW⚡data/json/npcs/missiondef.json850 "accepted": "Great! <color_yellow>This bag should be big enough to hold all of the stalks we'll need. Don't forgCODE
LOW⚡data/json/npcs/missiondef.json853 "inquire": "Got those cattail stalks yet? Don't forget to <color_yellow>bring back my bag with the stalks in themCODE
LOW⚡data/json/npcs/missiondef.json863 "description": "Bring the pyromaniac to <color_light_blue>their rival's house</color> and don't forget to <color_yelCODE
LOWdata/json/npcs/holdouts/Mr_Lapin.json200 "accepted": "Don't forget to tell me when you have them.",CODE
LOWdata/json/npcs/other/NPC_pizzaiolo.json96 "description": "Bring the pizzaiolo to <color_light_blue>their rival's house</color> and don't forget to <color_yellCODE
LOWdata/json/npcs/godco/godco_missions.json17 "accepted": "Don't forget to tell me when you have them.",CODE
LOWdata/json/npcs/exodii/exodii_merchant_missions.json101 "str": "Go to the Refugee Center and negotiate a trade deal between the Free Merchants and the Exodii. Don't forgCODE
LOWdata/json/items/armor/storage.json1423 "description": "This is a plain, hard-sided black briefcase with a trigger in the handle and a concealed hole in theCODE
LOWdata/mods/innawood/npcs/missiondef.json451 "accepted": "Great! This bag should be big enough to hold all of the stalks we'll need. Don't forget to bring itCODE
LOWdata/mods/innawood/npcs/missiondef.json454 "inquire": "Got those cattail stalks yet? Don't forget to bring back my bag and to work on improving your survivaCODE
LOW…/aftershock_exoplanet/npcs/milly_whately_dialogue.json106 "accepted": "Don't forget to tell me when you have them.",CODE
LOW…a/mods/aftershock_exoplanet/npcs/prepnet_dialogue.json140 "accepted": "Don't forget to tell me when you have them.",CODE
LOWdata/mods/aftershock_exoplanet/npcs/cyrus_whately.json106 "accepted": "Don't forget to tell me when you have them.",CODE
LOWsrc/character_body.cpp1532 //Incredibly annoying debug function - don't forget to comment out before merge!COMMENT
LOWsrc/field.h164 * Don't forget to update field count in submap!COMMENT
MEDIUMsrc/third-party/imgui/imgui_widgets.cpp7540// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image.COMMENT
LOWsrc/third-party/imgui/imgui.cpp1020 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. PreviCODE
MEDIUMsrc/third-party/jc_voronoi/jc_voronoi.h1727 // Here is a simple example of how to do the relaxations of the cellsCOMMENT
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtools/windows_limit_memory.py282Get an attribute from the class. Args: item: The attribute to get. Raises: AttSTRING
HIGHtools/windows_limit_memory.py390[Internal] Create an I/O completion port. Notes: The I/O port is used later in the `wait_for_job()`STRING
HIGHtools/windows_limit_memory.py411[Internal] Retrieves limit and job state information from the job object. Args: structuSTRING
HIGHtools/windows_limit_memory.py506Create a job. Args: job_name: The optional job name; can be `None`. Notes: ThiSTRING
HIGHtools/windows_limit_memory.py539Create a new process object to be associated with the main job. Args: process_path: The path to theSTRING
TODO Padding15 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/item_tname_test.cpp68// TODO: Add test cases to cover other aspects of tname such as:COMMENT
LOWtests/iteminfo_test.cpp2681 // TODO: Add tests for:COMMENT
LOWtests/item_pocket_test.cpp145// TODO: Add tests focusing on these JSON pocket_data fields:COMMENT
LOWtests/item_pocket_test.cpp647 // TODO: Add test for pocket with multiple flag_restriction entries, and ensureCOMMENT
LOWtests/item_pocket_test.cpp801 // TODO: Add test for item with longest_side greater than max_item_lengthCOMMENT
LOWsrc/demangle.cpp11 // TODO: implement demangling on MSVCCOMMENT
LOWsrc/mondefense.cpp194 // TODO: implement different rule, dependent on sound and probably some other thingsCOMMENT
LOWsrc/character_body.cpp1461 // TODO: implement support for HR increasing to compensate for low BP.COMMENT
LOWsrc/advanced_inv.cpp1113 // TODO: implement move_all to worn from inventory.COMMENT
LOWsrc/advanced_inv.cpp1121 // TODO: implement move_all to worn from everywhere other than inventory.COMMENT
LOWsrc/calendar.h539 // TODO: implement minutes_of_hour and so on and use it.COMMENT
LOWsrc/item_location.cpp532 // TODO: implement movement cost for transferring item between charactersCOMMENT
LOWsrc/wincurse.cpp773 // TODO: implement this properlyCOMMENT
LOWsrc/inventory_ui.cpp4645 // TODO: implement favoriting in multi selection menus while maintaining selectionCOMMENT
LOWsrc/third-party/flatbuffers/flexbuffers.h127// TODO: implement proper support for 8/16bit floats, or decide not toCOMMENT
Verbosity Indicators9 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/npc_test.cpp8745 // Step 1: Run the executor for 5 turns to hit the no-progress timeout.COMMENT
LOWtests/npc_test.cpp8767 // Step 2: Remove the glass walls and recommit. The NPC shouldCOMMENT
LOWtests/recipe_steps_test.cpp1055 // Step 0: MODERATE_EXERCISECOMMENT
LOWtests/catch/catch.hpp12661 // No children have started. We need to check if they _can_COMMENT
LOWsrc/third-party/fmt/format-inl.h1267 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWsrc/third-party/fmt/format-inl.h1322 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWsrc/third-party/fmt/format-inl.h1354 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWsrc/third-party/imgui/imgui.cpp3439 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWsrc/third-party/imgui/imgui.cpp3456 // Step 1: Let the clipper infer height from first rangeCOMMENT
Structural Annotation Overuse9 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/npc_test.cpp8745 // Step 1: Run the executor for 5 turns to hit the no-progress timeout.COMMENT
LOWtests/npc_test.cpp8767 // Step 2: Remove the glass walls and recommit. The NPC shouldCOMMENT
LOWtests/recipe_steps_test.cpp1055 // Step 0: MODERATE_EXERCISECOMMENT
LOWsrc/trait_group.cpp36// NOTE: This function is largely based on item_group::get_unique_group_id()COMMENT
LOWsrc/third-party/fmt/format-inl.h1267 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWsrc/third-party/fmt/format-inl.h1322 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWsrc/third-party/fmt/format-inl.h1354 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWsrc/third-party/imgui/imgui.cpp3439 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWsrc/third-party/imgui/imgui.cpp3456 // Step 1: Let the clipper infer height from first rangeCOMMENT
Self-Referential Comments3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtools/setuphgamelaunch.sh85# Creating the directories for ttrecs in progressCOMMENT
MEDIUMtools/clang-tidy-plugin/test/check_clang_tidy.py68# This class represents the appearance of a message prefix in a file.STRING
MEDIUMbuild-scripts/ci-iwyu-run.py1# This file is intended to be run on github CI, not locallyCOMMENT
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/third-party/plf/colony.h3459 --num_units; // In this implementation it is not possible for the necessary adjustment to be greater than 1 element+sCODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/json_tools/gun_variant_validator.py697 # Check if they've got a good tokenCOMMENT
LOWlang/strip_line_numbers.py27 # Write the file back out with the line numbers strippedCOMMENT
LOWbuild-data/osx/dmgsettings.py113# Set these to True to force inclusion of icon/list view settings (otherwiseCOMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMdoc/JSON/EFFECT_ON_CONDITION.md5690| "hallucination_count" | optional | int, [variable object](#variable-object) or value between two | default 0; amount oCODE
MEDIUMdoc/JSON/EFFECT_ON_CONDITION.md5750| "hallucination_count" | optional | int, [variable object](#variable-object) or value between two | default 0; amount oCODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/build_shaders.py21CODE
LOWlang/unicode_check.py2CODE
LOWlang/strip_line_numbers.py4CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/windows_limit_memory.py50logger = logging.getLogger(__name__)CODE