Repository Analysis

Aider-AI/aider

aider is AI pair programming in your terminal

16.2 Moderate AI signal View on GitHub
16.2
Adjusted Score
16.2
Raw Score
100%
Time Factor
2026-05-22
Last Push
45,538
Stars
Python
Language
92,495
Lines of Code
372
Files
1121
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 4HIGH 23MEDIUM 176LOW 918

Pattern Findings

1121 matches across 18 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers405 hits · 338 pts
SeverityFileLineSnippet
LOWbenchmark/benchmark.py43def find_latest_benchmark_dir():
LOWbenchmark/problem_stats.py16def get_dirs_from_leaderboard():
LOWbenchmark/problem_stats.py62def analyze_exercise_solutions(dirs=None, topn=None, copy_hard_set=False):
LOWbenchmark/refactor_tools.py23def verify_full_func_at_top_level(tree, func, func_children):
LOWbenchmark/refactor_tools.py43def verify_old_class_children(tree, old_class, old_class_children):
LOWbenchmark/test_benchmark.py20 def test_cleanup_test_output_lines(self):
LOWaider/repomap.py629 def get_ranked_tags_map_uncached(
LOWaider/repomap.py832def get_supported_languages_md():
LOWaider/models.py437 def apply_generic_model_settings(self, model):
LOWaider/models.py712 def fast_validate_environment(self):
LOWaider/models.py934 def github_copilot_token_to_open_ai_key(self, extra_headers):
LOWaider/models.py1282def get_model_settings_as_yaml():
LOWaider/models.py223 def get_model_from_cached_json_db(self, model):
LOWaider/models.py276 def fetch_openrouter_model_info(self, model):
LOWaider/onboarding.py44def try_to_select_default_model():
LOWaider/onboarding.py214def start_openrouter_oauth_flow(io, analytics):
LOWaider/deprecated.py1def add_deprecated_model_args(parser, group):
LOWaider/deprecated.py86def handle_deprecated_model_args(args, io):
LOWaider/io.py1054 def get_default_notification_command(self):
LOWaider/voice.py116 def raw_record_and_transcribe(self, history, language):
LOWaider/mdstream.py122 def _render_markdown_to_lines(self, text):
LOWaider/utils.py148def split_chat_history_markdown(text, include_tool=False):
LOWaider/run_cmd.py26def get_windows_parent_process_name():
LOWaider/main.py43def check_config_files_for_yes(config_files):
LOWaider/main.py217def write_streamlit_credentials():
LOWaider/main.py305def generate_search_path_list(default_file, git_root, command_line_file):
LOWaider/main.py1183def is_first_run_of_new_version(io, verbose=False):
LOWaider/linter.py272def find_filenames_and_linenums(text, fnames):
LOWaider/commands.py702 def completions_raw_read_only(self, document, complete_event):
LOWaider/args_formatter.py74 def _format_action_invocation(self, action):
LOWaider/args_formatter.py168 def _format_action_invocation(self, action):
LOWaider/args_formatter.py224 def _format_action_invocation(self, action):
LOWaider/report.py157def report_uncaught_exceptions():
LOWaider/coders/single_wholefile_func_coder.py41 def add_assistant_reply_to_cur_messages(self, edited):
LOWaider/coders/single_wholefile_func_coder.py49 def render_incremental_response(self, final=False):
LOWaider/coders/wholefile_func_coder.py52 def add_assistant_reply_to_cur_messages(self, edited):
LOWaider/coders/wholefile_func_coder.py60 def render_incremental_response(self, final=False):
LOWaider/coders/search_replace.py448def git_cherry_pick_osr_onto_o(texts):
LOWaider/coders/search_replace.py485def git_cherry_pick_sr_onto_so(texts):
LOWaider/coders/search_replace.py565def flexible_search_and_replace(texts, strategies):
LOWaider/coders/wholefile_coder.py16 def render_incremental_response(self, final):
LOWaider/coders/base_coder.py659 def get_read_only_files_content(self):
LOWaider/coders/base_coder.py684 def get_ident_filename_matches(self, idents):
LOWaider/coders/base_coder.py763 def get_readonly_files_messages(self):
LOWaider/coders/base_coder.py1702 def add_assistant_reply_to_cur_messages(self):
LOWaider/coders/base_coder.py1977 def live_incremental_response(self, final):
LOWaider/coders/base_coder.py1983 def render_incremental_response(self, final):
LOWaider/coders/base_coder.py1994 def calculate_and_show_tokens_and_cost(self, messages, completion=None):
LOWaider/coders/base_coder.py2070 def compute_costs_from_tokens(
LOWaider/coders/base_coder.py2128 def get_multi_response_content_in_progress(self, final=False):
LOWaider/coders/base_coder.py2143 def get_inchat_relative_files(self):
LOWaider/coders/base_coder.py2169 def get_addable_relative_files(self):
LOWaider/coders/editblock_func_coder.py87 def render_incremental_response(self, final=False):
LOWaider/coders/chat_chunks.py28 def add_cache_control_headers(self):
LOWaider/coders/udiff_coder.py201def flexi_just_search_and_replace(texts):
LOWaider/coders/udiff_coder.py243def cleanup_pure_whitespace_lines(lines):
LOWaider/coders/patch_coder.py412 def _parse_update_file_sections(
LOWaider/coders/editblock_coder.py157def replace_most_similar_chunk(whole, part, replace):
LOWaider/coders/editblock_coder.py243def replace_part_with_missing_leading_whitespace(whole_lines, part_lines, replace_lines):
LOWaider/coders/editblock_coder.py276def match_but_for_leading_whitespace(whole_lines, part_lines):
345 more matches not shown…
Self-Referential Comments113 hits · 316 pts
SeverityFileLineSnippet
MEDIUMbenchmark/problem_stats.py318 # Create a set of (exercise, language) pairs from hard_set
MEDIUMbenchmark/rsync.sh13# Create a temporary file for rsync exclude patterns
MEDIUMaider/repomap.py585 # Create a cache key
MEDIUMaider/waiting.py78 self.frame_idx = Spinner.last_frame_idx # Initialize from class variable
MEDIUMaider/commands.py709 # Create a new Document object with the text after the command
MEDIUMaider/coders/search_replace.py711 # Create a 2D table with directories along the right and methods along the top
MEDIUMaider/coders/search_replace.py729 # Create a results matrix
MEDIUMtests/basic/test_reasoning.py42 # Create a mock hash object
MEDIUMtests/basic/test_reasoning.py136 # Create a mock hash object
MEDIUMtests/basic/test_reasoning.py224 # Create a mock hash object
MEDIUMtests/basic/test_reasoning.py321 # Create a mock hash object
MEDIUMtests/basic/test_reasoning.py432 # Create a mock hash object
MEDIUMtests/basic/test_reasoning.py528 # Create a mock hash object
MEDIUMtests/basic/test_repomap.py22 # Create a temporary directory with sample files for testing
MEDIUMtests/basic/test_repomap.py164 # Create a temporary directory with a sample Python file containing identifiers
MEDIUMtests/basic/test_repomap.py247 # Create a temporary directory with sample files for testing
MEDIUMtests/basic/test_aws_credentials.py20 # Create a model instance
MEDIUMtests/basic/test_aws_credentials.py52 # Create a model instance
MEDIUMtests/basic/test_aws_credentials.py84 # Create a model instance
MEDIUMtests/basic/test_aws_credentials.py115 # Create a model instance
MEDIUMtests/basic/test_aws_credentials.py147 # Create a model instance
MEDIUMtests/basic/test_watch.py24 # Create a temporary gitignore file with test patterns
MEDIUMtests/basic/test_watch.py76 # Create a test directory structure
MEDIUMtests/basic/test_editor.py87 # Create a temporary Python script that logs its arguments
MEDIUMtests/basic/test_find_or_blocks.py81 # Create a StringIO object to capture the output
MEDIUMtests/basic/test_editblock.py326 # Create a few temporary files
MEDIUMtests/basic/test_editblock.py334 # Initialize the Coder object with the mocked IO and mocked repo
MEDIUMtests/basic/test_editblock.py364 # Create a few temporary files
MEDIUMtests/basic/test_editblock.py372 # Initialize the Coder object with the mocked IO and mocked repo
MEDIUMtests/basic/test_editblock.py399 # Create a few temporary files
MEDIUMtests/basic/test_editblock.py409 # Initialize the Coder object with the mocked IO and mocked repo
MEDIUMtests/basic/test_exceptions.py93 # Create an APIConnectionError with OpenrouterException message
MEDIUMtests/basic/test_model_info_manager.py14 # Create a temporary directory for cache
MEDIUMtests/basic/test_model_info_manager.py44 # Create a cache file
MEDIUMtests/basic/test_io.py367 # Create a message with invalid Unicode that can't be encoded in UTF-8
MEDIUMtests/basic/test_deprecated.py120 # Create a mock IO instance
MEDIUMtests/basic/test_repo.py447 # Create a temporary directory
MEDIUMtests/basic/test_repo.py589 # Create a new repo
MEDIUMtests/basic/test_repo.py646 # Create a new repo
MEDIUMtests/basic/test_repo.py649 # Create a file to commit
MEDIUMtests/basic/test_commands.py224 # Create a directory and add files to it using pathlib
MEDIUMtests/basic/test_commands.py998 # Create a directory structure with files
MEDIUMtests/basic/test_commands.py1135 # Define a command that prints to stderr and exits with non-zero status
MEDIUMtests/basic/test_commands.py1419 # Create a subdirectory and a test file within it
MEDIUMtests/basic/test_commands.py1457 # Create a test file in the repo
MEDIUMtests/basic/test_commands.py1494 # Create a test file in a subdirectory
MEDIUMtests/basic/test_commands.py1596 # Create a test file in the user's home directory
MEDIUMtests/basic/test_commands.py336 # Create a new file foo.bad which will fail to decode as utf-8
MEDIUMtests/basic/test_commands.py349 # Create a file in the temporary directory
MEDIUMtests/basic/test_commands.py526 # Create a small repository with a few files
MEDIUMtests/basic/test_commands.py918 # Create a test image file
MEDIUMtests/basic/test_commands.py1063 # Create a test file
MEDIUMtests/basic/test_commands.py1295 # Create a file that matches the gitignore pattern
MEDIUMtests/basic/test_commands.py1387 # Create a test file
MEDIUMtests/basic/test_commands.py2112 # Create a temporary file with commands
MEDIUMtests/basic/test_commands.py2152 # Create the initial Coder
MEDIUMtests/basic/test_models.py161 # Create a model instance to test the parse_token_value method
MEDIUMtests/basic/test_main.py466 # Create a dirty file in the root
MEDIUMtests/basic/test_main.py476 # Create a subdirectory
MEDIUMtests/basic/test_main.py163 # Create an ignored file
53 more matches not shown…
Excessive Try-Catch Wrapping137 hits · 192 pts
SeverityFileLineSnippet
MEDIUMbenchmark/benchmark.py46 print("Error: No benchmark directories found under tmp.benchmarks.")
MEDIUMbenchmark/benchmark.py67 print("Error: No benchmark directories found from the last 24 hours.")
MEDIUMbenchmark/benchmark.py84 print("Error: No .md files found in recent benchmark directories.")
LOWbenchmark/benchmark.py335 except Exception as e:
MEDIUMbenchmark/benchmark.py336 print(f"Error loading model settings: {e}")
LOWbenchmark/benchmark.py669 except Exception:
MEDIUMbenchmark/benchmark.py666def run_test(original_dname, testdir, *args, **kwargs):
LOWaider/repomap.py287 except Exception as err:
LOWaider/repomap.py349 except Exception: # On Windows, bad ref to time.clock which is deprecated?
MEDIUMaider/repomap.py169def get_rel_fname(self, fname):
LOWaider/versioncheck.py90 except Exception as err:
MEDIUMaider/models.py203def _update_cache(self):
MEDIUMaider/models.py322 print("Error fetching openrouter info:", str(e))
LOWaider/models.py654 except Exception as err:
LOWaider/models.py668 except Exception as err:
LOWaider/models.py1105 except Exception as e:
LOWaider/models.py1128 except Exception as e:
LOWaider/models.py215 except Exception as ex:
LOWaider/models.py256 except Exception as ex:
LOWaider/models.py321 except Exception as e:
LOWaider/openrouter.py25 except Exception: # noqa: BLE001
LOWaider/openrouter.py123 except Exception as ex: # noqa: BLE001
MEDIUMaider/openrouter.py114def _update_cache(self) -> None:
LOWaider/onboarding.py39 except Exception:
LOWaider/onboarding.py208 except Exception as e:
LOWaider/onboarding.py279 except Exception as e:
LOWaider/onboarding.py321 except Exception:
LOWaider/onboarding.py374 except Exception as e:
MEDIUMaider/onboarding.py175def exchange_code_for_key(code, code_verifier, io):
LOWaider/io.py66 except Exception:
LOWaider/io.py140 except Exception: # On Windows, bad ref to time.clock which is deprecated
LOWaider/io.py360 except Exception as err:
LOWaider/io.py449 except Exception as e:
LOWaider/io.py679 except Exception as err:
LOWaider/io.py1099 except Exception as e:
MEDIUMaider/io.py435def read_image(self, filename):
LOWaider/__init__.py8except Exception:
LOWaider/__init__.py17 except Exception:
MEDIUMaider/voice.py112 print(f"Error: {e}")
MEDIUMaider/voice.py161 print(f"Error converting audio: {e}")
LOWaider/voice.py164 except Exception as e:
LOWaider/voice.py172 except Exception as err:
LOWaider/mdstream.py146 except Exception:
LOWaider/copypaste.py35 except Exception as e:
LOWaider/waiting.py96 except Exception:
LOWaider/utils.py221 except Exception:
LOWaider/run_cmd.py38 except Exception:
LOWaider/run_cmd.py85 except Exception as e:
MEDIUMaider/run_cmd.py11def run_cmd(command, verbose=False, error_print=None, cwd=None):
MEDIUMaider/args.py927 print(f"Error: Unsupported shell '{shell}'.", file=sys.stderr)
MEDIUMaider/args.py934 print("Error: Please specify a shell for completion.", file=sys.stderr)
LOWaider/watch.py118 except Exception:
LOWaider/watch.py159 except Exception as e:
LOWaider/editor.py64 except Exception:
MEDIUMaider/main.py386 print(f"Error loading {fname}: {e}")
MEDIUMaider/main.py88def make_new_repo(git_root, io):
MEDIUMaider/main.py1226def check_and_load_imports(io, is_first_run, verbose=False):
LOWaider/main.py55 except Exception:
LOWaider/main.py349 except Exception as e:
LOWaider/main.py385 except Exception as e:
77 more matches not shown…
Over-Commented Block181 hits · 166 pts
SeverityFileLineSnippet
LOWrequirements.txt1# This file was autogenerated by uv via the following command:
LOWrequirements.txt21 # via
LOWrequirements.txt41backoff==2.2.1
LOWrequirements.txt61charset-normalizer==3.4.6
LOWrequirements.txt81 # -r requirements/requirements.in
LOWrequirements.txt101 # -c requirements/common-constraints.txt
LOWrequirements.txt121 # via
LOWrequirements.txt141 # mixpanel
LOWrequirements.txt161 # -c requirements/common-constraints.txt
LOWrequirements.txt181 # via
LOWrequirements.txt201 # via
LOWrequirements.txt221 # via
LOWrequirements.txt241 # -r requirements/requirements.in
LOWrequirements.txt261 # via
LOWrequirements.txt281pycparser==3.0
LOWrequirements.txt301 # via
LOWrequirements.txt321 # via
LOWrequirements.txt341 # mixpanel
LOWrequirements.txt361shtab==1.8.0
LOWrequirements.txt381 # -r requirements/requirements.in
LOWrequirements.txt401 # litellm
LOWrequirements.txt421 # tree-sitter-language-pack
LOWrequirements.txt441 # huggingface-hub
LOWrequirements.txt461 # -r requirements/requirements.in
LOWrequirements.txt481# This is the one networkx dependency that we need.
LOWaider/args_formatter.py21# Sample aider .env file.
LOWaider/coders/search_replace.py181# This is great, because once we sync up after a big gap the nearby
LOWaider/resources/__init__.py1# This ensures that importlib_resources.files("aider.resources")
LOWaider/resources/model-settings.yml1581# temperature: 0.7
LOWaider/website/install.sh961 fi
LOWaider/website/install.sh981 # other env-vars than $HOME, they are more likely to be only set temporarily
LOWaider/website/install.sh1001 #
LOWaider/website/install.sh1241 # After each GitHub Action, the contents will be added to PATH.
LOWaider/website/docs/config/aider_conf.md61# Note: You can only put OpenAI and Anthropic API keys in the YAML
LOWaider/website/docs/config/aider_conf.md81#openai-api-key: xxx
LOWaider/website/docs/config/aider_conf.md101## Set an environment variable (to control API settings, can be used multiple times)
LOWaider/website/docs/config/aider_conf.md121#list-models: xxx
LOWaider/website/docs/config/aider_conf.md141#thinking-tokens: xxx
LOWaider/website/docs/config/aider_conf.md161## Specify the model to use for editor tasks (default depends on --model)
LOWaider/website/docs/config/aider_conf.md181
LOWaider/website/docs/config/aider_conf.md201#input-history-file: .aider.input.history
LOWaider/website/docs/config/aider_conf.md221## Enable/disable pretty, colorized output (default: True)
LOWaider/website/docs/config/aider_conf.md241
LOWaider/website/docs/config/aider_conf.md261# Git settings:
LOWaider/website/docs/config/aider_conf.md281## Enable/disable commits when repo is found dirty (default: True)
LOWaider/website/docs/config/aider_conf.md301
LOWaider/website/docs/config/aider_conf.md321#lint: false
LOWaider/website/docs/config/aider_conf.md341#test: false
LOWaider/website/docs/config/aider_conf.md361############
LOWaider/website/docs/config/aider_conf.md381
LOWaider/website/docs/config/aider_conf.md401#apply-clipboard-edits: false
LOWaider/website/docs/config/aider_conf.md421## Specify the input device name for voice recording
LOWaider/website/docs/config/aider_conf.md441#read:
LOWaider/website/docs/config/aider_conf.md461## Load and execute /commands from a file on launch
LOWaider/website/docs/config/aider_conf.md481
LOWaider/website/docs/config/aider_conf.md501# Deprecated model settings:
LOWaider/website/docs/config/aider_conf.md521## Use gpt-4-1106-preview model for the main chat (deprecated, use --model)
LOWaider/website/docs/config/dotenv.md41##########################################################
LOWaider/website/docs/config/dotenv.md61#############
LOWaider/website/docs/config/dotenv.md81
121 more matches not shown…
Redundant / Tautological Comments114 hits · 151 pts
SeverityFileLineSnippet
LOWbenchmark/refactor_tools.py83 # Check if the first argument is 'self' and if it's not used
LOWaider/repomap.py234 # Check if the file is in the cache and if the modification time has not changed
LOWaider/repomap.py611 # Check if the result is in the cache
LOWaider/models.py1211 # Check if this is a Bedrock model and ensure boto3 is installed
LOWaider/models.py1217 # Check if this is a Vertex AI model and ensure google-cloud-aiplatform is installed
LOWaider/onboarding.py55 # Check if the user is on a free tier
LOWaider/onboarding.py156 # Check if the port is available by trying to bind to it
LOWaider/onboarding.py294 # Check if server failed during startup
LOWaider/deprecated.py103 # Check if any deprecated args are used
LOWaider/deprecated.py111 # Check if there's a shorter alias for this model
LOWaider/io.py51 # Check if it's a valid hex color (3 or 6 hex digits)
LOWaider/io.py670 # Check if we were interrupted by a file change
LOWaider/io.py716 # Check if line is exactly "tag}"
LOWaider/io.py721 # Check if line is exactly "}"
LOWaider/mdstream.py183 # Set min_delay to render time plus a small buffer
LOWaider/run_cmd.py70 bufsize=0, # Set bufsize to 0 for unbuffered output
LOWaider/watch.py114 # Check if file contains AI markers
LOWaider/main.py785 # Check if an OpenRouter model was selected/specified but the key is missing
LOWaider/main.py794 # Check if the key is now present after the flow.
LOWaider/main.py830 # Check if deprecated remove_reasoning is set
LOWaider/commands.py597 # Check if the file was in the repo in the previous commit
LOWaider/commands.py103 # Check if the current edit format is the default for the old model
LOWaider/commands.py1302 # Check if a file with the same name already exists in the chat
LOWaider/report.py102 # Check if VERSION_CHECK_FNAME exists and delete it if so
LOWaider/scrape.py115 # Check if the content is HTML based on MIME type or content
LOWaider/coders/udiff_coder.py351 # Check if standard git diff prefixes are present (or /dev/null) and strip them
LOWaider/coders/patch_coder.py386 # Check if file exists in the context provided (should not for Add).
LOWaider/coders/patch_coder.py404 # Check if we consumed the whole input or stopped early
LOWaider/coders/patch_coder.py449 # Check if all scope lines match sequentially from temp_index
LOWaider/coders/patch_coder.py612 # Check if target exists before overwriting/moving
LOWaider/coders/editblock_coder.py467 # Check if the next line or the one after that is an editblock
LOWaider/website/install.sh408 # Add the updater to the list of binaries to install
LOWaider/website/install.sh1037 # Check if the install layout should be changed from `flat` to `cargo-home`
LOWaider/website/install.sh1312 # Check if the line is already in the rcfile
LOWaider/website/assets/sample.aider.conf.yml116## Check if model accepts settings like reasoning_effort/thinking_tokens (default: True)
LOWtests/basic/test_repomap.py40 # Check if the result contains the expected tags map
LOWtests/basic/test_repomap.py206 # Check if the result contains the expected tags map with identifiers
LOWtests/basic/test_repomap.py239 # Check if the result contains each specific file in the expected tags map without ctags
LOWtests/basic/test_repomap.py267 # Check if the result contains the expected tags map
LOWtests/basic/test_repomap.py432 # Check if the result contains all the expected files and symbols
LOWtests/basic/test_repomap.py478 if os.name == "nt": # Check if running on Windows
LOWtests/basic/test_editblock.py567# Check if exactly one argument is provided
LOWtests/basic/test_model_info_manager.py71 # Set verify_ssl to False before any cache operations
LOWtests/basic/test_commands.py212 # Check if no files have been added to the chat session
LOWtests/basic/test_commands.py234 # Check if the files have been added to the chat session
LOWtests/basic/test_commands.py561 # Check if the output includes repository map information
LOWtests/basic/test_commands.py567 # Check if the output includes information about all added files
LOWtests/basic/test_commands.py570 # Check if the total tokens and remaining tokens are reported
LOWtests/basic/test_commands.py1008 # Check if all .txt files were added to abs_read_only_fnames
LOWtests/basic/test_commands.py1029 # Check if the appropriate error message was displayed
LOWtests/basic/test_commands.py1405 # Check if the file was removed from abs_read_only_fnames
LOWtests/basic/test_commands.py1442 # Check if the file was removed from abs_read_only_fnames
LOWtests/basic/test_commands.py1467 # Check if the external file was added to abs_read_only_fnames
LOWtests/basic/test_commands.py1479 # Check if the file was removed from abs_read_only_fnames
LOWtests/basic/test_commands.py1587 # Check if all files were removed from abs_read_only_fnames
LOWtests/basic/test_commands.py1606 # Check if the file was added to abs_read_only_fnames
LOWtests/basic/test_commands.py46 # Check if both files have been created in the temporary directory
LOWtests/basic/test_commands.py178 # Check if the Python files have been added to the chat session
LOWtests/basic/test_commands.py182 # Check if the text file has not been added to the chat session
LOWtests/basic/test_commands.py196 # Check if no files have been added to the chat session
54 more matches not shown…
Deep Nesting78 hits · 74 pts
SeverityFileLineSnippet
LOWbenchmark/benchmark.py43
LOWbenchmark/benchmark.py136
LOWbenchmark/benchmark.py162
LOWbenchmark/problem_stats.py62
LOWbenchmark/refactor_tools.py113
LOWbenchmark/plots.py301
LOWaider/repomap.py365
LOWaider/repomap.py576
LOWaider/repomap.py748
LOWaider/models.py184
LOWaider/models.py743
LOWaider/models.py838
LOWaider/models.py1039
LOWaider/openrouter.py96
LOWaider/deprecated.py86
LOWaider/io.py186
LOWaider/io.py523
LOWaider/io.py807
LOWaider/io.py928
LOWaider/io.py1054
LOWaider/io.py1088
LOWaider/diffs.py105
LOWaider/voice.py40
LOWaider/copypaste.py18
LOWaider/copypaste.py23
LOWaider/utils.py112
LOWaider/repo.py433
LOWaider/args.py911
LOWaider/watch.py284
LOWaider/watch.py257
LOWaider/main.py43
LOWaider/main.py155
LOWaider/main.py335
LOWaider/help.py33
LOWaider/commands.py799
LOWaider/commands.py912
LOWaider/commands.py1278
LOWaider/commands.py1497
LOWaider/commands.py1638
LOWaider/gui.py301
LOWaider/args_formatter.py41
LOWaider/args_formatter.py105
LOWaider/report.py94
LOWaider/scrape.py143
LOWaider/coders/wholefile_coder.py22
LOWaider/coders/base_coder.py876
LOWaider/coders/base_coder.py1419
LOWaider/coders/base_coder.py1783
LOWaider/coders/base_coder.py1900
LOWaider/coders/udiff_coder.py403
LOWaider/coders/patch_coder.py96
LOWaider/coders/patch_coder.py290
LOWaider/coders/patch_coder.py412
LOWaider/coders/patch_coder.py549
LOWaider/coders/editblock_coder.py439
LOWaider/coders/editblock_coder.py41
LOWtests/basic/test_deprecated.py26
LOWtests/basic/test_deprecated.py76
LOWtests/basic/test_commands.py680
LOWtests/basic/test_commands.py754
18 more matches not shown…
Hallucination Indicators4 hits · 50 pts
SeverityFileLineSnippet
CRITICALaider/commands.py607 local_head = self.coder.repo.repo.git.rev_parse("HEAD")
CRITICALaider/commands.py610 remote_head = self.coder.repo.repo.git.rev_parse(f"origin/{current_branch}")
CRITICALaider/commands.py628 self.coder.repo.repo.git.checkout("HEAD~1", file_path)
CRITICALaider/commands.py644 self.coder.repo.repo.git.reset("--soft", "HEAD~1")
Magic Placeholder Names8 hits · 45 pts
SeverityFileLineSnippet
HIGHaider/website/examples/census.md55# Replace 'your_api_key' with your actual API key
HIGHaider/website/examples/census.md56api_key = 'your_api_key'
HIGHaider/website/examples/census.md75Replace `'your_api_key'` with the API key you obtained from the Census Bureau's website. This example retrieves the tota
HIGHaider/website/examples/census.md97Once you have your API key, you can use it in your Python code to access the American Community Survey data, as shown in
HIGHaider/website/examples/census.md112# Replace 'your_api_key' with your actual API key
HIGHaider/website/examples/census.md113api_key = 'your_api_key'
HIGHaider/website/examples/census.md133Save this code in a new file named `getdata.py`. Remember to replace `'your_api_key'` with your actual API key obtained
HIGHaider/website/examples/census.md149api_key = 'your_api_key'
Synthetic Comment Markers8 hits · 40 pts
SeverityFileLineSnippet
HIGHHISTORY.md190- Commit messages generated by aider are no longer forced to be entirely lowercase, by Peter Hadlaw.
HIGHHISTORY.md202- Commit messages generated by aider are now lowercase, by Anton Ödman.
HIGHHISTORY.md1376- New `--commit` cmd line arg, which just commits all pending changes with a sensible commit message generated by gpt-3.
HIGHaider/waiting.py126 # Subtract 2 as requested, to leave a margin or prevent cursor wrapping issues
HIGHaider/repo.py157 - aider_edits=True: Changes were generated by Aider (LLM).
HIGHaider/website/HISTORY.md213- Commit messages generated by aider are no longer forced to be entirely lowercase, by Peter Hadlaw.
HIGHaider/website/HISTORY.md225- Commit messages generated by aider are now lowercase, by Anton Ödman.
HIGHaider/website/HISTORY.md1399- New `--commit` cmd line arg, which just commits all pending changes with a sensible commit message generated by gpt-3.
Unused Imports41 hits · 39 pts
SeverityFileLineSnippet
LOWbenchmark/refactor_tools.py9
LOWbenchmark/rungrid.py6
LOWaider/versioncheck.py10
LOWaider/sendchat.py1
LOWaider/openrouter.py9
LOWaider/io.py38
LOWaider/llm.py5
LOWaider/diffs.py4
LOWaider/voice.py12
LOWaider/mdstream.py14
LOWaider/repo.py23
LOWaider/args.py19
LOWaider/exceptions.py3
LOWaider/editor.py18
LOWaider/main.py1265
LOWaider/main.py1266
LOWaider/help.py12
LOWaider/linter.py14
LOWaider/commands.py27
LOWaider/reasoning_tags.py5
LOWaider/gui.py11
LOWaider/args_formatter.py5
LOWaider/scrape.py9
LOWaider/scrape.py144
LOWaider/coders/patch_prompts.py3
LOWaider/coders/help_coder.py1
LOWaider/coders/wholefile_func_coder.py3
LOWaider/coders/wholefile_coder.py5
LOWaider/coders/editblock_fenced_coder.py1
LOWaider/coders/editblock_func_coder.py3
LOWaider/coders/udiff_coder.py5
LOWtests/basic/test_watch.py3
LOWtests/basic/test_find_or_blocks.py11
LOWtests/basic/test_editblock.py6
LOWtests/basic/test_editblock.py6
LOWtests/basic/test_editblock.py10
LOWtests/basic/test_linter.py5
LOWtests/basic/test_run_cmd.py1
LOWtests/basic/test_coder.py11
LOWtests/browser/test_browser.py21
LOWscripts/redact-cast.py8
Cross-Language Confusion3 hits · 22 pts
SeverityFileLineSnippet
HIGHaider/history.py72 # Precompute token limit (fallback to 4096 if undefined)
HIGHaider/coders/udiff_coder.py351 # Check if standard git diff prefixes are present (or /dev/null) and strip them
HIGHtests/basic/test_commands.py1136 test_cmd = "echo 'error output' >&2 && exit 1"
Dead Code11 hits · 22 pts
SeverityFileLineSnippet
MEDIUMbenchmark/benchmark.py661
MEDIUMbenchmark/benchmark.py662
MEDIUMbenchmark/benchmark.py663
MEDIUMaider/coders/wholefile_func_coder.py49
MEDIUMaider/coders/wholefile_func_coder.py50
MEDIUMaider/coders/editblock_func_coder.py62
MEDIUMaider/coders/editblock_func_coder.py64
MEDIUMaider/coders/editblock_func_coder.py84
MEDIUMaider/coders/editblock_func_coder.py85
MEDIUMaider/coders/editblock_coder.py185
MEDIUMaider/coders/editblock_coder.py186
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGHaider/coders/ask_prompts.py0i am working with you on code in a git repository. here are summaries of some files present in my git repo. if you need
HIGHaider/coders/architect_prompts.py0i am working with you on code in a git repository. here are summaries of some files present in my git repo. if you need
HIGHaider/coders/context_prompts.py0i am working with you on code in a git repository. here are summaries of some files present in my git repo. if you need
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippet
LOWaider/report.py95 # If it's a KeyboardInterrupt, just call the default handler
MEDIUMaider/coders/patch_coder.py445 # A more robust finder could handle nested scopes like the reference @@ @@
LOWaider/coders/editblock_coder.py210 # no dots in this edit block, just return None
MEDIUMaider/website/install.sh1293 # the more robust line to rcfiles, but when telling the user to apply the change
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippet
LOWaider/mdstream.py19Lorem Ipsum is simply dummy text of the printing and typesetting industry.
LOWaider/mdstream.py20Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
LOWaider/mdstream.py24the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
LOWaider/mdstream.py26including versions of Lorem Ipsum.
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippet
LOWtests/basic/test_io.py75 # Step 3: Mock the commands object
LOWtests/basic/test_io.py88 # Step 4: Create an instance of AutoCompleter
LOWtests/basic/test_io.py100 # Step 5: Set up test cases
LOWtests/basic/test_io.py108 # Step 6: Iterate through test cases
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGHtests/help/test_help.py18 Execute a function with exponential backoff retry logic. Args: func: Function to execute
Overly Generic Function Names2 hits · 3 pts
SeverityFileLineSnippet
LOWtests/basic/test_repomap.py168 def my_method(self, arg1, arg2):
LOWtests/basic/test_repomap.py171def my_function(arg1, arg2):