Repository Analysis

gnachman/iTerm2

iTerm2 is a terminal emulator for Mac OS X that does amazing things.

5.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gnachman/iTerm2, a Objective-C project with 17,984 GitHub stars. SynthScan v2.0 examined 1,184,734 lines of code across 5468 source files, recording 4881 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 5.1 places this repository in the Low AI signal band.

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

5.1
Adjusted Score
5.1
Raw Score
100%
Time Factor
2026-08-28
Last Push
18.0K
Stars
Objective-C
Language
1.2M
Lines of Code
5.5K
Files
4.9K
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 6HIGH 62MEDIUM 560LOW 4253

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block3148 hits · 3046 pts
SeverityFileLineSnippetContext
LOWClaudeCodeHookEvent.swift1// ClaudeCodeHookEvent.swiftCOMMENT
LOWtools/run_shell_integration_live.sh1#!/bin/bashCOMMENT
LOWtools/eastasian.py1#!/usr/bin/env python3COMMENT
LOWtools/sign_and_copy_uv.sh1#!/bin/bashCOMMENT
LOWtools/copy_models.sh1#!/bin/bashCOMMENT
LOWtools/copy_models.sh21#COMMENT
LOWtools/build_proto.sh1#!/bin/bashCOMMENT
LOWtools/codesign_keychain_test.sh1#!/bin/bashCOMMENT
LOWtools/update_uv_manifest.sh1#!/bin/bashCOMMENT
LOWtools/run.sh1#!/usr/bin/env zshCOMMENT
LOWtools/add_file_to_xcodeproj.rb1#!/usr/bin/env rubyCOMMENT
LOWtools/run_ai_live.sh1#!/bin/bashCOMMENT
LOWtools/run_ai_live.sh21#COMMENT
LOWtools/run_ai_live.sh41# periodic reaping that broke long sweeps. AILiveHarness.configFilePath() derivesCOMMENT
LOWtools/build_uv.sh1#!/bin/bashCOMMENT
LOWtools/build_uv.sh21# - macOS deployment target is raised to 13.0 (uv's supported floor and theCOMMENT
LOWtools/build_uv.sh41#COMMENT
LOWtools/run_python_runtime_e2e.sh1#!/bin/bashCOMMENT
LOWtools/dropbox_uploader.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py41# LR parser itself is defined in terms of an object (which allows multipleCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py161#-----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py261 return self.parsedebug(input,lexer,debug,tracking,tokenfunc)COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py761 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1121# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1241 if self.func:COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1361 # 'left','right', or 'nonassoc'. level is a numeric level.COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1661 if x_produces_empty:COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1761COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1881# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2061 C.append(g)COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2181 #COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2261 lookb.append((j,r))COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2281 def compute_read_sets(self,C, ntrans, nullable):COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2301 # -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2681 outp.append((p.str,p.name, p.len, p.func,p.file,p.line))COMMENT
LOWtools/ply/ply-3.4/ply/lex.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/lex.py21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWtools/ply/ply-3.4/ply/lex.py101# === Lexing Engine ===COMMENT
LOWtools/ply/ply-3.4/ply/lex.py281 # ------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py101 '-':'~'COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py241 if not tok or tok.value != c:COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py301 while i >= 0 and tokens[i].type in self.t_WS:COMMENT
LOWtools/ply/ply-3.4/test/lex_hedit.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/example/yply/yply.py1#!/usr/local/bin/pythonCOMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py1# GardenSnake - a parser generator demonstration programCOMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py21# This uses David Beazley's Ply from http://www.dabeaz.com/ply/COMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py221COMMENT
LOWtools/ply/ply-3.4/example/newclasscalc/calc.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ply/ply-3.4/example/hedit/hedit.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/doc/makedoc.py1#!/usr/local/bin/pythonCOMMENT
LOW…edArchive/SignedArchive/SIGSHA2VerificationAlgorithm.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGIdentity.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGArchiveReader.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGTrust.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGVerificationAlgorithm.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGSHA2SigningAlgorithm.m1//COMMENT
LOWSignedArchive/SignedArchive/SIGArchiveVerifier.m1//COMMENT
3088 more matches not shown…
Decorative Section Separators418 hits · 1206 pts
SeverityFileLineSnippetContext
MEDIUMtools/generate_nscharacterset.py124# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py126# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py152# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py154# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py295# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py297# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py344# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py346# ============================================================================COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py60# ----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py65#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py69#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py161#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py167#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1116# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1121# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1128# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1291# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1295# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1304# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1310# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1357 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1363 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1373 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1593 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1598 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1607 # ------------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1612 # ------------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1622 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1629 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1639 # -------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1646 # -------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1874# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1879# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1881# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1932# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1937# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2084 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2086 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2091 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2109 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2118 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2269 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2279 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2287 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2301 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2309 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2319 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2539 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2543 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py32# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py233# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py237# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1150# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1245# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1267# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1388 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1466 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1471 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1482 # -----------------------------------------------------------------------------COMMENT
358 more matches not shown…
Hyper-Verbose Identifiers519 hits · 455 pts
SeverityFileLineSnippetContext
LOWtools/analyze_restorable_state.py52def decode_keyed_archive_objects(objects, top):CODE
LOWtools/analyze_restorable_state.py272def extract_sessions_from_view(view_node, sessions, debug=False):CODE
LOWtools/emoji.py81def output_default_emoji_presentation():CODE
LOWtools/emoji.py137def output_default_text_presentation():CODE
LOWtools/generate_nscharacterset.py108def format_ranges_with_comments(nums_with_names: dict, variable: str, indent: str = " ") -> list[str]:CODE
LOWtools/generate_nscharacterset.py305def generate_emoji_default_text_presentation(emoji_data_content: str) -> list[str]:CODE
LOWtools/generate_nscharacterset.py313def generate_emoji_default_emoji_presentation(emoji_data_content: str) -> tuple[list[str], int]:CODE
LOWtools/generate_nscharacterset.py323def generate_strong_rtl_codes(unicode_data: dict) -> list[str]:CODE
LOWtools/generate_nscharacterset.py334def generate_strong_ltr_codes(unicode_data: dict) -> list[str]:CODE
LOWtools/parse_ai_wire_log.py261def assemble_anthropic_stream(events: list[SSEEvent]) -> AssembledResponse:CODE
LOWtools/ply/ply-3.4/ply/yacc.py2093 def compute_nullable_nonterminals(self):CODE
LOWtools/ply/ply-3.4/ply/yacc.py2120 def find_nonterminal_transitions(self,C):CODE
LOWtools/ply/ply-3.4/ply/yacc.py2207 def compute_lookback_includes(self,C,trans,nullable):CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py98def p_storage_class_specifier(t):CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py834def p_argument_expression_list(t):CODE
LOWtools/ply/ply-3.4/example/BASIC/basparse.py168def p_command_for_bad_initial(p):CODE
LOW…nsFramework/test-extensions/storage-ui-demo/content.js468function setupStorageChangeListener() {CODE
LOW…/Sources/BrowserExtensionListenerResponseHandler.swift13class BrowserExtensionListenerResponseHandler: NSObject, WKScriptMessageHandler {CODE
LOWOtherResources/framer.py1000async def really_find_completions_with_prefix(prefix, directory, max_count, executable):CODE
LOWOtherResources/framer.py1938def _silence_shutdown_unraisable(unraisable):CODE
LOWOtherResources/it2.py304def _silence_std_stream_flush():CODE
LOWtests/test_kitty_multipart.py46def test_multipart_stream_encoding():CODE
LOWtests/test_kitty_multipart.py77def test_multipart_independent_encoding():CODE
LOWtests/test_kitty_multipart.py112def test_multipart_many_chunks():CODE
LOWtests/framer_it2_test.py156async def test_client_disconnect_emits_close():CODE
LOWtests/framer_it2_test.py236async def test_large_client_output_is_chunked_and_reassembles():CODE
LOWtests/framer_it2_test.py280async def test_listen_creates_owner_only_socket_dir():CODE
LOWtests/framer_it2_test.py314async def test_teardown_unlinks_socket():CODE
LOWtests/framer_it2_test.py344async def test_chmod_failure_tears_down_and_recovers():CODE
LOWtests/framer_it2_test.py397async def test_send_over_buffer_cap_drops_without_blocking():CODE
LOWtests/framer_it2_test.py463async def test_single_large_frame_is_not_treated_as_over_cap():CODE
LOWtests/framer_it2_test.py518async def test_send_over_buffer_cap_aborts_reader_and_emits_close():CODE
LOWtests/framer_it2_test.py581async def test_listen_reclaims_unlocked_sockets():CODE
LOWtests/apply_layout_integration_test.py261async def test_swap_two_panes_in_tab(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py1034async def test_unknown_tab_in_close_tabs_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py1040async def test_unknown_window_in_close_windows_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py1048async def test_orphan_failure_does_not_mutate(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py286async def test_swap_three_panes_in_tab(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py307async def test_change_orientation_v_to_h(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py327async def test_restructure_flat_to_nested(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py351async def test_no_op_reshape_preserves_shape(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py384async def test_cross_tab_move_single_session(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py421async def test_cross_tab_move_emptying_source_implicitly_closes_it(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py455async def test_cross_tab_move_emptying_single_session_tab_implicitly_closes(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py581async def test_active_session_survives_reshape(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py603async def test_active_session_promoted_when_terminated(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py625async def test_active_session_set_after_cross_tab_move(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py677async def test_active_session_preserved_when_other_session_moves_in(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py710async def test_combined_reshape_and_close(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py749async def test_unknown_tab_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py761async def test_unknown_session_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py772async def test_duplicate_session_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py783async def test_same_orientation_nesting_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py806async def test_splitter_with_one_child_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py816async def test_orphan_session_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py832async def test_new_tabs_field_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py842async def test_new_windows_field_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py858async def test_new_session_leaf_creates_session(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py887async def test_new_session_unknown_profile_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py901async def test_new_session_honors_profile_home_directory(h: Harness) -> None:CODE
459 more matches not shown…
Cross-File Repetition55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHtools/eastasian.py0download a file from a given url and save it locally.STRING
HIGHtools/emoji.py0download a file from a given url and save it locally.STRING
HIGHtools/bidi.py0download a file from a given url and save it locally.STRING
HIGHtools/idn.py0download a file from a given url and save it locally.STRING
HIGHtools/ply/ply-3.4/test/yacc_badrule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_missing1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badargs.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badtok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_uprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_term1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_nop.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error4.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_notok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badid.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_nodoc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_noerror.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_inf.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_sr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_rr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_uprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_simple.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_unused_rule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_unused.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_dup.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_prec1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_notfunc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/optcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/unicalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/doc/ply.html0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_misplaced.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/newclasscalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/classcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_literal.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/calc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/calcdebug/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/closurecalc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGH…/library/python/iterm2/write_only_profile_prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/iterm2/profile.py0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/profile_prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGH…/library/python/iterm2/write_only_profile_prologue.txt0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/prologue.txt0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/iterm2/profile.py0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/iterm2/window.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/app.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/tab.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/window.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
HIGHapi/library/python/iterm2/iterm2/app.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
HIGHapi/library/python/iterm2/iterm2/tab.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
Unused Imports219 hits · 146 pts
SeverityFileLineSnippetContext
LOWtools/basechars.py5CODE
LOWtools/analyze_restorable_state.py19CODE
LOWtools/updateVersion.py10CODE
LOWtools/generate_nscharacterset.py25CODE
LOWtools/generate_nscharacterset.py27CODE
LOWtools/parse_ai_wire_log.py45CODE
LOWtools/utf16_to_utf8_bin.py2CODE
LOWtools/ply/ply-3.4/ply/cpp.py10CODE
LOWtools/ply/ply-3.4/test/yacc_badrule.py11CODE
LOWtools/ply/ply-3.4/test/yacc_missing1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badargs.py11CODE
LOWtools/ply/ply-3.4/test/yacc_uprec2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_literal.py11CODE
LOWtools/ply/ply-3.4/test/yacc_term1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_nop.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error4.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badid.py11CODE
LOWtools/ply/ply-3.4/test/yacc_nodoc.py11CODE
LOWtools/ply/ply-3.4/test/yacc_misplaced.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec3.py11CODE
LOWtools/ply/ply-3.4/test/yacc_noerror.py11CODE
LOWtools/ply/ply-3.4/test/yacc_inf.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec.py11CODE
LOWtools/ply/ply-3.4/test/yacc_sr.py11CODE
LOWtools/ply/ply-3.4/test/yacc_rr.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error3.py11CODE
LOWtools/ply/ply-3.4/test/yacc_uprec.py11CODE
LOWtools/ply/ply-3.4/test/yacc_simple.py11CODE
LOWtools/ply/ply-3.4/test/yacc_unused_rule.py11CODE
LOWtools/ply/ply-3.4/test/yacc_unused.py11CODE
LOWtools/ply/ply-3.4/test/yacc_dup.py11CODE
LOWtools/ply/ply-3.4/test/yacc_prec1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_notfunc.py11CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py7CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py854CODE
LOWtools/ply/ply-3.4/example/BASIC/basparse.py4CODE
LOWtools/ply/ply-3.4/example/BASIC/basic.py10CODE
LOWtools/ply/ply-3.4/example/BASIC/basiclex.py3CODE
LOWtools/ply/ply-3.4/example/BASIC/basiclog.py18CODE
LOWtools/perf/stress_load.py40CODE
LOWtools/perf/profile_stress_test.py21CODE
LOWtests/modern-key-reporting-test.py11CODE
LOWtests/move_session_test.py4CODE
LOWtests/colors.py2CODE
LOWsources/template_basic_daemon.py3CODE
LOWapi/library/python/iterm2/test.py1CODE
LOWapi/library/python/iterm2/gen_binding.py3CODE
LOWapi/library/python/iterm2/tests/test_triggers.py2CODE
LOWapi/library/python/iterm2/tests/test_util.py3CODE
LOWapi/library/python/iterm2/tests/test_binding.py3CODE
LOWapi/library/python/iterm2/docs/generate_menu_ids.py2CODE
LOWapi/library/python/iterm2/iterm2/auth.py8CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
LOWapi/library/python/iterm2/iterm2/__init__.py6CODE
LOWapi/library/python/iterm2/iterm2/__init__.py6CODE
159 more matches not shown…
Self-Referential Comments55 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUMtools/release_stable.sh64 # Create the zip fileCOMMENT
MEDIUMtools/release_beta.sh64 # Create the zip fileCOMMENT
MEDIUMtools/dropbox_uploader.sh630 #Create the chunkCOMMENT
MEDIUMtools/dropbox_uploader.sh847 #Creating the empty file, that for two reasons:COMMENT
MEDIUMtools/dropbox_uploader.sh1072#Create a new directoryCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py164# The following classes are used for the LR parser itself. These are notCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py169# This class is used to hold non-terminal grammar symbols during parsing.COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1119# The following functions, classes, and variables are used to represent andCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1307# The following class represents the contents of the specified grammar alongCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1877# The following classes and functions are used to generate LR parsing tables onCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1935# This class implements the LR table generation algorithm. There are noCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2553# This file is automatically generated. Do not edit.COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py182# This class is a wrapper around the objects actually passed to eachCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1168 # Create a list of unique production symbols used in the productionCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1178 # Create a string representationCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1248# This class represents a specific stage of parsing a production rule. ForCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1454 # Create a production and add it to the list of productionsCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py2690# The following functions and classes are used to implement the PLYSTRING
MEDIUMtools/ply/ply-3.4/ply/yacc.py2758# This class represents information extracted for building a parser includingSTRING
MEDIUMtools/ply/ply-3.4/ply/yacc.py3107 # Create a grammar objectSTRING
MEDIUMtools/ply/ply-3.4/ply/lex.py541# This class represents information needed to build a lexer as extracted from aCOMMENT
MEDIUMtools/ply/ply-3.4/ply/lex.py322 # Create a token for returnCOMMENT
MEDIUMtools/ply/ply-3.4/ply/cpp.py8# This module implements an ANSI-C style lexical preprocessor for PLY.COMMENT
MEDIUMtools/ply/ply-3.4/ply/cpp.py770 # Define a new macroCOMMENT
MEDIUMtools/ply/ply-3.4/example/BASIC/basinterp.py1# This file provides the runtime support for running a basic programCOMMENT
MEDIUMtools/ply/ply-3.4/example/BASIC/basinterp.py360 # Create a program listingCOMMENT
MEDIUMtools/ply/ply-3.4/doc/ply.html275# Define a rule so we can track line numbersCOMMENT
MEDIUMtools/ply/ply-3.4/doc/ply.html541# Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html823# Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html890 # Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html967 # Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html1120a = lex.lex(object=m) # Create a lexerSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html2942 # Create a new scope for local variablesCOMMENT
MEDIUMimages/icons/copy_1x_to_2x.sh1# Create the following icons:COMMENT
MEDIUMOtherResources/framer.py1056 # Create a temporary file in the user's home directoryCOMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash291# This function is installed as part of the PROMPT_COMMAND;COMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash307# This function is installed as part of the PROMPT_COMMAND.COMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash409# This function is installed as the DEBUG trap. It is invoked before eachCOMMENT
MEDIUMtests/modern-key-reporting-test.py14# Create a pipe for signal handlingCOMMENT
MEDIUMtests/load_url_test.py35 # Create a browser tab using profile customizationsCOMMENT
MEDIUMpwmplugin/Tests/test_get_password.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_get_password.sh15# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/bitwarden_test_integration.sh179# Create a test account with TOTP using bw directlyCOMMENT
MEDIUMpwmplugin/Tests/test_integration.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_integration.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_delete_account.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_delete_account.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_login.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_login.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_list_accounts.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_list_accounts.sh14# Create a new database (password needs to be entered twice)COMMENT
MEDIUMpwmplugin/Tests/test_add_account.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_add_account.sh15# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_set_password.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_set_password.sh16# Create a new databaseCOMMENT
AI Slop Vocabulary50 hits · 140 pts
SeverityFileLineSnippetContext
MEDIUMtools/run_shell_integration_live.sh2# Live shell-integration test harness runner. DrivesCOMMENT
MEDIUMtools/run_shell_integration_live.sh12# Shells that aren't installed are skipped automatically by the harness.COMMENT
MEDIUMtools/run_shell_integration_live.sh16# harness reads from there. The file is mode 0600, lives underCOMMENT
MEDIUMtools/generate_nscharacterset.py45 """Fetch URL content with robust TLS handling."""STRING
MEDIUMtools/run_ai_live.sh2# Live AI test harness runner. Drives AILiveHarness in the ModernTestsCOMMENT
MEDIUMtools/run_ai_live.sh6# tools/run_ai_live.sh # every harness methodCOMMENT
MEDIUMtools/run_ai_live.sh14# Vendors with no key set are skipped automatically by the harness.COMMENT
MEDIUMtools/run_ai_live.sh16# By default the harness exercises every model in AIMetadata.swift forCOMMENT
MEDIUMtools/run_ai_live.sh30# harness reads from there. The file is mode 0600, lives underCOMMENT
MEDIUMtools/run_ai_live.sh38# THIS worktree, so a leftover here can't drive the live harness in anotherCOMMENT
MEDIUMtools/run_ai_live.sh54# "Live AI harness is opt-in". A leftover at the repo root is gitignored (neverCOMMENT
MEDIUMtools/run_ai_live.sh55# committable), shows under `git status --ignored`, makes the harness log "LiveCOMMENT
MEDIUMtools/run_ai_live.sh56# AI harness ACTIVE" loudly, and run_tests.expect deletes it defensively on theCOMMENT
MEDIUMtools/run_python_runtime_e2e.sh2# Live uv Python-runtime end-to-end harness. Runs the ITERM2_UV_LIVE-gated testsCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py333 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py644 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py916 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/example/BASIC/basparse.py35#### we simply return nothingCOMMENT
MEDIUMtools/perf/run_stress_test.sh242# not the test harness itself.COMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash909 # Save the value we just set PS1/PS2 to so if the user changes them laterCOMMENT
MEDIUMtests/modern-key-reporting-test.py87 # a modifier-remapping (Super/Hyper/Meta) that the harness can't make onCOMMENT
MEDIUMtests/modern-key-reporting-test.py220 # Run the test harnessCOMMENT
MEDIUMtests/apply_layout_integration_test.py1532 # Refresh before each test so the harness sees the current set ofCOMMENT
MEDIUMtests/tmux_key_inspector.sh2# Manual test harness for tmux -CC modifyOtherKeys key delegation (issue 12928).COMMENT
MEDIUMModernTests/TerminalHardRulesTests.swift129 /// Obscure zsh dangerous builtins the classifier may not recognize, robustCOMMENT
MEDIUM…20f6b721e5e4ef802212e588894eb026f69c3fc765d42b154.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"I cannot write a phishing email\"}],\"roleCODE
MEDIUM…20f6b721e5e4ef802212e588894eb026f69c3fc765d42b154.json26 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" to mitigate the risk of phishing delivery and impaCODE
MEDIUM…Fixtures/gemini_gemini-3.6-flash_refusal_noStream.json29 "text" : "I cannot generate a phishing email template designed to impersonate a financial institution orCODE
MEDIUM…Fixtures/gemini_gemini-3.5-flash_refusal_noStream.json29 "text" : "I cannot generate a phishing email template targeting Wells Fargo or any other institution, noCODE
MEDIUMAILiveHarness/AILiveDriver.swift186 // few seconds; absorbing those here lets the harness be robust to vendorCOMMENT
MEDIUMAILiveHarness/AILiveBlobReplayTests.swift36 // is larger, so Sonnet/Opus (1024) make the cache assertion robust.COMMENT
MEDIUMAILiveHarness/AILiveHarness.swift1078 // produces this 400. Make the conversation layer robust.STRING
MEDIUMcc-status/Sources/cc-status/main.swift235/// robust against $PATH not containing the utilities dir: anything in a shell rcCOMMENT
MEDIUM.github/workflows/test.yml64 # mode so the harness runs entirely from the committed cassettesCOMMENT
MEDIUM.github/workflows/test.yml70 # lets the harness find the cassettes and the on-disk fixtures.COMMENT
MEDIUMsources/Drawing/iTermTextDrawingHelper.m1679 // Absolutely positioned buttonCOMMENT
MEDIUMsources/LineBuffer/iTermLineBlockArray.m620 // Definitely not in this block; advance.COMMENT
MEDIUMsources/Workgroups/iTermWorkgroupInstance.swift66 // (rotates) makes toolbar/lookup robust to those rotations.COMMENT
MEDIUMsources/TerminalView/iTermRightGutterController.swift426 // during this drag) and the timestamp slot is stable, so this is robust toCOMMENT
MEDIUMsources/VT100Screen/VT100ScreenMutableState.m3818 // One of this machine's names. Matching is robust to the machineCOMMENT
MEDIUMsources/ScreenChar/ScreenChar.m334 // Definitely no combining mark here.COMMENT
MEDIUMsources/AITerm/ChatTitleStyling.swift38// every session-to-chat lookup robust across the guid<->stableID migration andCOMMENT
MEDIUMsources/AITerm/ChatAgent.swift1277 // negative, leaving that wedge unfixed. The robust form would flip clearedTypingSTRING
MEDIUMsources/AITerm/ChatBlobCapture.swift120 // Row count (not decoded-blob count): O(1)-ish and robust to rows thisCOMMENT
MEDIUMsources/AITerm/ChatDatabase.swift538 /// robust to rows whose protocol this build can't decode (which `blobs(inChat:)`STRING
MEDIUMsources/AITerm/ChatWindowController.swift306 // Remove the separator line for seamless blendingCOMMENT
MEDIUMsources/Companion/CompanionPairingController.swift968 /// (the robust, timing-independent path). Also nudge a currently-connected phoneCOMMENT
MEDIUMapi/library/python/iterm2/iterm2/transaction.py1"""Provides a class to facilitate atomic transactions."""STRING
MEDIUM…lightr.framework/Versions/A/Resources/highlight.min.js15literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nCODE
MEDIUM…anion/iTerm2Companion/App/VoiceCaptureController.swift8// approach is deliberately simple and robust: every pass yields the completeCOMMENT
Deep Nesting131 hits · 110 pts
SeverityFileLineSnippetContext
LOWtools/eastasian.py117CODE
LOWtools/eastasian.py149CODE
LOWtools/analyze_restorable_state.py52CODE
LOWtools/analyze_restorable_state.py109CODE
LOWtools/analyze_restorable_state.py272CODE
LOWtools/analyze_restorable_state.py383CODE
LOWtools/analyze_restorable_state.py471CODE
LOWtools/analyze_restorable_state.py57CODE
LOWtools/emoji.py200CODE
LOWtools/generate_nscharacterset.py248CODE
LOWtools/parse_ai_wire_log.py125CODE
LOWtools/parse_ai_wire_log.py261CODE
LOWtools/parse_ai_wire_log.py399CODE
LOWtools/parse_ai_wire_log.py453CODE
LOWtools/ply/ply-3.4/ply/yacc.py2722CODE
LOWtools/ply/ply-3.4/ply/yacc.py282CODE
LOWtools/ply/ply-3.4/ply/yacc.py597CODE
LOWtools/ply/ply-3.4/ply/yacc.py869CODE
LOWtools/ply/ply-3.4/ply/yacc.py1390CODE
LOWtools/ply/ply-3.4/ply/yacc.py1518CODE
LOWtools/ply/ply-3.4/ply/yacc.py1647CODE
LOWtools/ply/ply-3.4/ply/yacc.py1681CODE
LOWtools/ply/ply-3.4/ply/yacc.py1718CODE
LOWtools/ply/ply-3.4/ply/yacc.py1777CODE
LOWtools/ply/ply-3.4/ply/yacc.py1977CODE
LOWtools/ply/ply-3.4/ply/yacc.py2093CODE
LOWtools/ply/ply-3.4/ply/yacc.py2120CODE
LOWtools/ply/ply-3.4/ply/yacc.py2140CODE
LOWtools/ply/ply-3.4/ply/yacc.py2207CODE
LOWtools/ply/ply-3.4/ply/yacc.py2321CODE
LOWtools/ply/ply-3.4/ply/yacc.py2362CODE
LOWtools/ply/ply-3.4/ply/yacc.py2545CODE
LOWtools/ply/ply-3.4/ply/yacc.py2827CODE
LOWtools/ply/ply-3.4/ply/yacc.py2927CODE
LOWtools/ply/ply-3.4/ply/yacc.py2974CODE
LOWtools/ply/ply-3.4/ply/lex.py482CODE
LOWtools/ply/ply-3.4/ply/lex.py865CODE
LOWtools/ply/ply-3.4/ply/lex.py141CODE
LOWtools/ply/ply-3.4/ply/lex.py304CODE
LOWtools/ply/ply-3.4/ply/lex.py621CODE
LOWtools/ply/ply-3.4/ply/lex.py652CODE
LOWtools/ply/ply-3.4/ply/lex.py723CODE
LOWtools/ply/ply-3.4/ply/cpp.py323CODE
LOWtools/ply/ply-3.4/ply/cpp.py376CODE
LOWtools/ply/ply-3.4/ply/cpp.py419CODE
LOWtools/ply/ply-3.4/ply/cpp.py469CODE
LOWtools/ply/ply-3.4/ply/cpp.py535CODE
LOWtools/ply/ply-3.4/ply/cpp.py594CODE
LOWtools/ply/ply-3.4/ply/cpp.py724CODE
LOWtools/ply/ply-3.4/ply/cpp.py773CODE
LOWtools/ply/ply-3.4/test/yacc_badrule.py31CODE
LOWtools/ply/ply-3.4/test/yacc_missing1.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badargs.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badtok.py31CODE
LOWtools/ply/ply-3.4/test/yacc_uprec2.py26CODE
LOWtools/ply/ply-3.4/test/yacc_literal.py31CODE
LOWtools/ply/ply-3.4/test/yacc_term1.py31CODE
LOWtools/ply/ply-3.4/test/yacc_nop.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badprec2.py31CODE
LOWtools/ply/ply-3.4/test/yacc_error4.py31CODE
71 more matches not shown…
Excessive Try-Catch Wrapping86 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMtools/sfsymbol2png.swift6 print("Error: Symbol '\(symbolName)' not found.")CODE
MEDIUMtools/sfsymbol2png.swift21 print("Error: Failed to create bitmap representation.")CODE
MEDIUMtools/sfsymbol2png.swift26 print("Error: Failed to generate PNG data.")CODE
MEDIUMtools/sfsymbol2png.swift34 print("Error: Failed to write PNG file: \(error.localizedDescription)")CODE
MEDIUMtools/build_mimetypes.swift12 print("Error fetching data: \(error)")CODE
LOWtools/basechars.py39 except Exception:CODE
LOWtools/basechars.py52 except Exception as e:CODE
LOWtools/analyze_restorable_state.py47 except Exception as e:CODE
MEDIUMtools/analyze_restorable_state.py138 print(f"Error: No 'Node' table found in {db_path}")CODE
LOWtools/analyze_restorable_state.py147 except Exception as e2:CODE
MEDIUMtools/analyze_restorable_state.py160 print(f"Error: No 'Node' table found in {db_path}")CODE
MEDIUMtools/analyze_restorable_state.py605 print(f"Error: Database not found at {db_path}")CODE
MEDIUMtools/ply/ply-3.4/ply/yacc.py1845def read_pickle(self,filename):CODE
LOWtools/ply/ply-3.4/ply/yacc.py2750 except Exception:STRING
LOWtools/ply/ply-3.4/ply/yacc.py3025 except Exception:STRING
LOWtools/ply/ply-3.4/ply/yacc.py3080 except Exception:STRING
LOWtools/ply/ply-3.4/ply/yacc.py3086 except Exception:STRING
MEDIUMtools/ply/ply-3.4/ply/lex.py427def get_caller_module_dict(levels):CODE
LOWtools/ply/ply-3.4/ply/lex.py505 except Exception:CODE
MEDIUMtools/perf/profile_stress_test.py34 print("Error: No iTerm2 process found")CODE
MEDIUMtools/perf/profile_stress_test.py118 print("Error: Profile output file not found")CODE
MEDIUMtools/perf/analyze_profile.py22 print("Error: Profile output file not found")CODE
MEDIUMWebExtensionsFramework/APIGenerator/main.swift22 print("Error writing to file: \(error)")CODE
MEDIUMWebExtensionsFramework/APIGenerator/main.swift33 print("Error writing to file: \(error)")CODE
MEDIUMOtherResources/framer.py298def read_forever(self, reader, channel, callback):CODE
MEDIUMOtherResources/framer.py339def autopoll(delay):CODE
MEDIUMOtherResources/framer.py375def get_echo_icanon(tty):CODE
MEDIUMOtherResources/framer.py383def watch_tty(proc, delay):CODE
MEDIUMOtherResources/framer.py1547def read_line():CODE
LOWOtherResources/framer.py1225 except Exception as e:CODE
LOWOtherResources/framer.py1234 except Exception as e:CODE
LOWOtherResources/framer.py1243 except Exception as e:CODE
LOWOtherResources/framer.py1251 except Exception as e:CODE
LOWOtherResources/framer.py1261 except Exception as e:CODE
LOWOtherResources/framer.py1271 except Exception as e:CODE
LOWOtherResources/framer.py1280 except Exception as e:CODE
LOWOtherResources/framer.py258 except Exception as e:CODE
LOWOtherResources/framer.py315 except Exception as e:CODE
LOWOtherResources/framer.py365 except Exception as e:CODE
LOWOtherResources/framer.py379 except Exception as e:CODE
LOWOtherResources/framer.py392 except Exception as e:CODE
LOWOtherResources/framer.py627 except Exception as e:CODE
LOWOtherResources/framer.py645 except Exception as e:CODE
LOWOtherResources/framer.py685 except Exception as e:CODE
LOWOtherResources/framer.py704 except Exception as e:CODE
LOWOtherResources/framer.py738 except Exception as e:CODE
LOWOtherResources/framer.py914 except Exception as e:CODE
LOWOtherResources/framer.py947 except Exception as e:CODE
LOWOtherResources/framer.py964 except Exception as e:CODE
LOWOtherResources/framer.py1044 except Exception as e:CODE
LOWOtherResources/framer.py1061 except Exception as e:CODE
LOWOtherResources/framer.py1074 except Exception as e:CODE
LOWOtherResources/framer.py1079 except Exception as e:CODE
LOWOtherResources/framer.py1131 except Exception as e:CODE
LOWOtherResources/framer.py1210 except Exception as e:CODE
LOWOtherResources/framer.py1297 except Exception as e:CODE
LOWOtherResources/framer.py1329 except Exception as e:CODE
LOWOtherResources/framer.py1343 except Exception as e:CODE
LOWOtherResources/framer.py1383 except Exception as e:CODE
LOWOtherResources/framer.py1453 except Exception as e:CODE
26 more matches not shown…
Redundant / Tautological Comments44 hits · 70 pts
SeverityFileLineSnippetContext
LOWtools/analyze_restorable_state.py65 # Check if this is an NS.keys/NS.objects dictionaryCOMMENT
LOWtools/analyze_restorable_state.py75 # Check if this is an NS.objects arrayCOMMENT
LOWtools/analyze_restorable_state.py251 # Check if contents existCOMMENT
LOWtools/analyze_restorable_state.py424 # Check if this looks like a tabCOMMENT
LOWtools/analyze_restorable_state.py496 # Check if array contains window-like nodesCOMMENT
LOWtools/build_terminfo.sh18# Iterate over the listCOMMENT
LOWtools/analyze-crashes.sh91 # Check if this crash has a valid UUIDCOMMENT
LOWtools/applyLocalization.sh25 # Check if the target nib file already existsCOMMENT
LOWtools/dropbox_uploader.sh162#Check if readlink is installed and supports the -m optionCOMMENT
LOWtools/dropbox_uploader.sh186#Print the message based on $QUIET variableCOMMENT
LOWtools/dropbox_uploader.sh396#Check if it's a file or directoryCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2044 # Loop over the items in C and each grammar symbolsCOMMENT
LOWtools/ply/ply-3.4/doc/makedoc.py191# Write the file back outCOMMENT
LOWtools/ply/ply-3.4/doc/ply.html2870 p[0] = some_value # Assign value to seen_ACODE
LOWtools/perf/run_stress_test.sh1517# Check if using isolated suite (not user's normal prefs)COMMENT
LOWOtherResources/framer.py625 # Print the value of the environment variableCOMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash897 # Set PS1 to various escape sequences, the user's preferred prompt, and more escape sequences.COMMENT
LOWtests/kitty-image-protocol/unittests.sh1108# Check if an argument is providedCOMMENT
LOWtests/kitty-image-protocol/unittests.sh1115# Iterate over the list and call each functionCOMMENT
LOW.github/workflows/test.yml114 # Check if this is a flaky ibtoold/asset catalog crashCOMMENT
LOWsources/iterm2_git_poll.sh8 # Check if git is broken because it can't find Xcode. A special charm of macOS for you.COMMENT
LOWapi/library/python/iterm2/iterm2/triggers.py110 # Check if this is an event-based trigger (matchType >= 100)COMMENT
LOWpwmplugin/Tests/test_get_password.sh71# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_get_password.sh79# Check if output contains password fieldCOMMENT
LOWpwmplugin/Tests/test_get_password.sh86# Check if the password is correctCOMMENT
LOWpwmplugin/Tests/bitwarden_run_all_tests.sh8# Check if BW_TEST_PASSWORD is setCOMMENT
LOWpwmplugin/Tests/bitwarden_run_all_tests.sh16# Check if user is logged in to BitwardenCOMMENT
LOWpwmplugin/Tests/test_handshake.sh13# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_handshake.sh20# Check if output contains expected fieldsCOMMENT
LOWpwmplugin/Tests/bitwarden_test_integration.sh172# Check if we got a valid session (should be a long alphanumeric string)COMMENT
LOWpwmplugin/Tests/test_integration.sh185 # Check if it's in the recycle bin pathCOMMENT
LOWpwmplugin/Tests/bitwarden_test_handshake.sh13# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/bitwarden_test_handshake.sh20# Check if output contains expected fieldsCOMMENT
LOWpwmplugin/Tests/bitwarden_test_login.sh29# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/bitwarden_test_login.sh37# Check if output contains token fieldCOMMENT
LOWpwmplugin/Tests/test_delete_account.sh84# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_login.sh37# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_login.sh45# Check if output contains token fieldCOMMENT
LOWpwmplugin/Tests/test_list_accounts.sh74# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_list_accounts.sh82# Check if output contains accounts arrayCOMMENT
LOWpwmplugin/Tests/test_list_accounts.sh89# Check if we have at least one accountCOMMENT
LOWpwmplugin/Tests/test_add_account.sh56# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_add_account.sh64# Check if output contains accountIdentifierCOMMENT
LOWpwmplugin/Tests/test_set_password.sh70# Check if output is valid JSONCOMMENT
Structural Annotation Overuse34 hits · 66 pts
SeverityFileLineSnippetContext
LOWtools/analyze-crashes.sh30# Step 1: Process crashesCOMMENT
LOWtools/analyze-crashes.sh46# Step 2: Copy processed crashesCOMMENT
LOWtools/analyze-crashes.sh62# Step 3: Get correct UUIDs from app bundleCOMMENT
LOWtools/analyze-crashes.sh82# Step 4: Remove crashes with incorrect UUIDsCOMMENT
LOWtools/analyze-crashes.sh117# Step 5: Cluster crashes using Claude CodeCOMMENT
LOWtools/analyze-crashes.sh127# Step 6: Analyze each clusterCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
LOW…mework/Sources/BrowserExtensionNavigationHandler.swift68 // NOTE: This method has multiple parameters in the completion handlerCOMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash142# WARNING: This variable is no longer used and should not be relied upon.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1366 // Step 1: write 25 chars to force a soft wrap at column 20.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1372 // Step 2: cursor is on line 1. Set it to doubleHeightTop.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1378 // Step 3: widen by 1 column — line still wraps but at different position.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1384 // Step 4: narrow back to original width.COMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift803 // Step 1: Start typing functionCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift807 // Step 2: Open parenCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift811 // Step 3: First arg complete, suggest secondCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift815 // Step 4: Complete function - verification that it doesn't crashCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift823 // Step 1: Start interpolationCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift827 // Step 2: Partial path - suggestions are full swifty strings containing the pathCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift831 // Step 3: Complete interpolation and continue literalCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift835 // Step 4: Start another interpolation - suggestions are full strings containing the pathCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md110### Step 2: the window is created emptyCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md127### Step 3: partial attachment walks dictionaries onlyCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md144### Step 4: the timeout raceCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md161### Step 5: sessions are created, then attached or launchedCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m657 // Step 1: Find which blocks contain your wrapped linesCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m672 // Step 2: Convert wrapped line offsets to raw line numbers within their blocksCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m681 // Step 3: Count raw linesCOMMENT
LOWsources/Browser/CopyMode/copy-mode-cursor-movement.js417 // Step 1: Skip the current "word" (same character class)COMMENT
LOWsources/Browser/CopyMode/copy-mode-cursor-movement.js421 // Step 2: Skip any whitespaceCOMMENT
LOWsources/API/iTermSetupCfgParser.m40 @"# WARNING: This file was generated automatically by iTerm2. Do not edit it manually.\n"CODE
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m505 // Step 1: Create a CGImage from the CGBitmapContextCOMMENT
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m508 // Step 2: Create a URL for the output fileCOMMENT
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m511 // Step 3: Write the CGImage to disk as PNGCOMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALapi/library/python/iterm2/gen_binding.py1112 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/gen_binding.py1115 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
CRITICALapi/library/python/iterm2/iterm2/preferences.py139 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/iterm2/preferences.py142 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
CRITICALapi/library/python/iterm2/iterm2/binding.py739 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/iterm2/binding.py742 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
Verbosity Indicators27 hits · 56 pts
SeverityFileLineSnippetContext
LOWtools/analyze-crashes.sh30# Step 1: Process crashesCOMMENT
LOWtools/analyze-crashes.sh46# Step 2: Copy processed crashesCOMMENT
LOWtools/analyze-crashes.sh62# Step 3: Get correct UUIDs from app bundleCOMMENT
LOWtools/analyze-crashes.sh82# Step 4: Remove crashes with incorrect UUIDsCOMMENT
LOWtools/analyze-crashes.sh117# Step 5: Cluster crashes using Claude CodeCOMMENT
LOWtools/analyze-crashes.sh127# Step 6: Analyze each clusterCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
LOWModernTests/iTermLineAttributeTests.swift1366 // Step 1: write 25 chars to force a soft wrap at column 20.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1372 // Step 2: cursor is on line 1. Set it to doubleHeightTop.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1378 // Step 3: widen by 1 column — line still wraps but at different position.COMMENT
LOWModernTests/iTermLineAttributeTests.swift1384 // Step 4: narrow back to original width.COMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift803 // Step 1: Start typing functionCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift807 // Step 2: Open parenCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift811 // Step 3: First arg complete, suggest secondCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift815 // Step 4: Complete function - verification that it doesn't crashCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift823 // Step 1: Start interpolationCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift827 // Step 2: Partial path - suggestions are full swifty strings containing the pathCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift831 // Step 3: Complete interpolation and continue literalCOMMENT
LOWModernTests/iTermFunctionCallSuggesterTests.swift835 // Step 4: Start another interpolation - suggestions are full strings containing the pathCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m657 // Step 1: Find which blocks contain your wrapped linesCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m672 // Step 2: Convert wrapped line offsets to raw line numbers within their blocksCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m681 // Step 3: Count raw linesCOMMENT
LOWsources/Browser/CopyMode/copy-mode-cursor-movement.js417 // Step 1: Skip the current "word" (same character class)COMMENT
LOWsources/Browser/CopyMode/copy-mode-cursor-movement.js421 // Step 2: Skip any whitespaceCOMMENT
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m505 // Step 1: Create a CGImage from the CGBitmapContextCOMMENT
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m508 // Step 2: Create a URL for the output fileCOMMENT
LOWsources/MetalRenderer/Glue/iTermCharacterSource.m511 // Step 3: Write the CGImage to disk as PNGCOMMENT
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippetContext
HIGH…ser/WebViewAdditions/iTermBrowserWebView+Actions.swift380 // Skip mark case as requestedCOMMENT
HIGHsources/AITerm/ChatCellView.swift180 // Chats without an icon (no AI-generated title yet, or iconCOMMENT
HIGHsources/AITerm/ChatListModel.swift158 // Persists an AI-generated icon (delivered by ChatAgent after itCOMMENT
HIGHsources/AITerm/Chat.swift66 // AI-generated title arrives or when generation fails; the listCOMMENT
HIGHsources/AITerm/ChatSessionMentionAttachment.swift13// draws AI-generated mentions. When the message is sent,COMMENT
HIGHCompanion/iTerm2Companion/Screens/HomeView.swift141 /// The chat's AI-generated icon (a small PNG the Mac stores on the Chat),COMMENT
Fake / Example Data38 hits · 40 pts
SeverityFileLineSnippetContext
LOWiTerm2XCTests/PTYTextViewTest.m2391// Double width lorem ipsum. e and m have yellow bg. i has green bg. m and i are red. Acute accent on p.COMMENT
LOWiTerm2XCTests/iTermPreferencesSearchTests.m27 keywordPhrases:@[ @"lorem ipsum doloCODE
LOWiTerm2XCTests/iTermAutomaticProfileSwitcherTest.m362 [_aps setHostname:@"hostname.com" username:@"user@example.com" path:@"/" job:@"whatever"];CODE
LOWtests/triggers.py10 iterm2.AlertTrigger("^AlertTrigger", "Lorem ipsum", instant, enabled),CODE
LOWtests/triggers.py11 iterm2.AnnotateTrigger("^AnnotateTrigger", "Lorem ipsum", instant, enabled),CODE
LOWtests/triggers.py25 iterm2.SendTextTrigger("^SendTextTrigger", "lorem ipsum", instant, enabled),CODE
LOWtests/triggers.py28 iterm2.SetTitleTrigger("^SetTitleTrigger", "lorem ipsum", instant, enabled),CODE
LOWtests/triggers.py32 iterm2.UserNotificationTrigger("^UserNotificationTrigger", "lorem ipsum", instant, enabled),CODE
LOWtests/osc8.txt91║]8;id=imaginary-text-editor-file1;http://example.com\http://exa]8;;\║Lorem ipsum║CODE
LOW…8cd2496a38549276bf03c2393a94e264deab7e9c7a57b917c.json5 "data" : "{\n \"id\": \"resp_09c416686bd4ea3c006a27135f5018819885e0dccf1ea56bdd\",\n \"object\": \"response\",\n CODE
LOWAILiveHarness/AILiveAttachmentFixtures.swift227 acceptanceProbes: ["lorem ipsum", "Lorem ipsum", "Lorem Ipsum", "lorem", "Lorem"])CODE
LOWsources/PasswordManager/AdapterPasswordDataSource.swift1139 if let p = field.placeholder { dict["placeholder"] = p }CODE
LOW…PasswordManager/iTermPasswordManagerWindowController.m1395 NSString *placeholder = field[@"placeholder"] ?: @"";CODE
LOW…ces/Settings/iTermBadgeConfigurationWindowController.m67 _badge.stringValue = @"Lorem ipsum dolor sit amet";CODE
LOW…ces/Settings/iTermBadgeConfigurationWindowController.m67 _badge.stringValue = @"Lorem ipsum dolor sit amet";CODE
LOW…/Language/BuiltInFunctions/iTermAlertBuiltInFunction.m79 static NSString *const placeholder = @"placeholder";CODE
LOWsources/Browser/Demos/selection-test.html147 <p>Here is a second paragraph with different content. Lorem ipsum dolor sit amet, consectetur adipiscingCODE
LOWsources/Browser/Demos/selection-test.html147 <p>Here is a second paragraph with different content. Lorem ipsum dolor sit amet, consectetur adipiscingCODE
LOWsources/TerminalView/PTYTextView+ARC.m2750 SCPPath *path = [self.dataSource scpPathForFile:@"placeholder" onLine:coord.y];CODE
LOWsources/AITerm/LLMProvider.swift80 return url(apiKey: "placeholder", streaming: false).scheme != "about"CODE
LOWsources/AITerm/LLMProvider.swift84 if LLMMetadata.hostIsOpenAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift88 if LLMMetadata.hostIsGoogleAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift92 if LLMMetadata.hostIsAzureAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift96 if LLMMetadata.hostIsDeepSeekAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift100 if LLMMetadata.hostIsAnthropicAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift112 if LLMMetadata.hostIsAzureAIAPI(url: url(apiKey: "placeholder", streaming: false)) {CODE
LOWsources/AITerm/AITerm.swift570 static let reviewPlaceholderAPIKey = "placeholder"CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift135 _send(self, 200, {"record": {"login": "user@example.com"}})CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift137 _send(self, 200, {"record": {"password": "pw-123", "login": "user@example.com"}})CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift347 XCTAssertEqual(accounts[0]["userName"] as? String, "user@example.com")STRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift462 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift472 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift482 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift547 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift557 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift596 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…CompanionProtocolTests/SyncFetchCoordinatorTests.swift74 case .placeholder: return "placeholder"CODE
LOWCompanion/PushService/NotificationService.swift380 case .placeholder: return "placeholder"CODE
Slop Phrases16 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUM…168f023fea8930ee0e545bccf81a967190c274b63076f0476.json5 "data" : "{\n \"id\": \"chatcmpl-DoG7bZZ12rYVMOUKCnRi8oAWYXlmk\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…8ea06f38399208175c6ea2e26eb97a0f198f54cbd24eb746e.json5 "data" : "{\n \"id\": \"resp_094187fe6dc90c08006a25f48672d8819baae485896551f600\",\n \"object\": \"response\",\n CODE
MEDIUM…4e5a6fc83ea41d7e85479f29b794adc6cc655820e9af654c5.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"I cannot fulfill this request.\"}],\"role\CODE
MEDIUM…4e5a6fc83ea41d7e85479f29b794adc6cc655820e9af654c5.json11 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" even for demonstration purposes, would be unethicaCODE
MEDIUM…d0571e92fab58fa45c1b4066e59ba0f9f1216ad22a2055d21.json5 "data" : "{\n \"candidates\": [\n {\n \"content\": {\n \"parts\": [\n {\n \"textCODE
MEDIUM…e8b041e122f471fde4a013244f5b97015ee5bbf284877fa7c.json5 "data" : "{\n \"id\": \"chatcmpl-DoG7imrbryuWLqlW4kVJf0cVN4W2x\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…af646e02a8b5a47bf21acd8316b869f9e23a138337d823a6a.json5 "data" : "{\n \"candidates\": [\n {\n \"content\": {\n \"parts\": [\n {\n \"textCODE
MEDIUM…b70e6be2ba3f2770725ade8a4a8e2ebed8ddc55e954a69f13.json5 "data" : "{\n \"id\": \"chatcmpl-DoZYUpsxp6njCUj0SnQmONhLPf5wv\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…53512b56cfff5240d2baf98d7a0ff8b8d421b89160295f270.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Here is your random made-up word: **MAGENTCODE
MEDIUM…53512b56cfff5240d2baf98d7a0ff8b8d421b89160295f270.json10 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"-77**. Let me know if you need another one!\"}],\"rCODE
MEDIUMsources/Settings/iTermAdvancedSettingsModel.m340DEFINE_STRING(tabColorMenuOptions, @"#fb6b62 #f6ac47 #f0dc4f #b5d749 #5fa3f8 #c18ed9 #787878", SECTION_TABS @"Colors forCODE
MEDIUMsources/Settings/iTermProfilePreferences.m508 typeHelp[key] = @"Colors can be specified as 3- or 6-digit hex strings such as \"#f8a\" like in HTML. By defCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html2048<p>Strings can be split with a regular expression using the <a href="#NSString_RegexKitLiteAdditions__-componentsSeparatCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html2885<p>Inside you&#39;ll find more examples like this that you can use as the starting point for your own regular expressionCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html3078 <p>Also available is the <a href="#RegexEscapeTool">Regex Escape Tool</a> which allows you to enter a regular expresCODE
LOWThirdParty/libgit2/include/git2/repository.h620 * Use this function to get the contents of this file. Don't forget toCOMMENT
Example Usage Blocks18 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/run_shell_integration_live.sh7# Usage:COMMENT
LOWtools/sign_and_copy_uv.sh8# Usage:COMMENT
LOWtools/copy_models.sh34# Usage:COMMENT
LOWtools/update_uv_manifest.sh15# Usage:COMMENT
LOWtools/run_ai_live.sh5# Usage:COMMENT
LOWtools/build_uv.sh42# Usage:COMMENT
LOWtools/run_python_runtime_e2e.sh8# Usage:COMMENT
LOWiTerm2XCTests/iTermSelectorSwizzler.h45// Example usage:COMMENT
LOWtests/test_iterm2_python_auth.sh8# Usage:COMMENT
LOWtests/dashed_underline_leaks_into_box_lines.sh6# How to use:COMMENT
LOWtests/run_apply_layout_new_session_demo.sh15# Usage:COMMENT
LOWtests/test_iterm2_python_suite_auth.sh11# Usage:COMMENT
LOWtests/run_apply_layout_integration_test.sh11# Usage:COMMENT
LOWtests/redraw-edge-cases.sh21# Usage:COMMENT
LOWsources/RegexVisualization/SVGSizeEstimator.swift62 // Example usage:COMMENT
LOWThirdParty/ProtobufRuntime/GPBDictionary.m59// Example usage:COMMENT
LOWCompanion/tools/bump_build_number.rb8# Usage:COMMENT
LOWCompanion/PushRelay/ops/deploy.sh15# Usage:COMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHOtherResources/it2.py271 # bare number/string/null): .get would raise AttributeError.COMMENT
AI Structural Patterns7 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/ply/ply-3.4/ply/yacc.py149CODE
LOWtools/ply/ply-3.4/ply/yacc.py3036CODE
LOWtools/ply/ply-3.4/ply/lex.py865CODE
LOWtools/ply/ply-3.4/example/closurecalc/calc.py114CODE
LOWapi/library/python/iterm2/iterm2/triggers.py249CODE
LOWapi/library/python/iterm2/iterm2/notifications.py295CODE
LOWapi/library/python/iterm2/iterm2/notifications.py457CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…nsFramework/test-extensions/storage-ui-demo/content.js204async function getData() {CODE
LOWCompanion/PushRelay/host/server.js141 async function handleRequest(req, res) {CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/ply/ply-3.4/ply/__init__.py4__all__ = ['lex','yacc']CODE