Repository Analysis

zed-industries/zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

1.1 Likely human-written View on GitHub
1.1
Adjusted Score
1.1
Raw Score
100%
Time Factor
2026-05-30
Last Push
84,108
Stars
Rust
Language
1,398,576
Lines of Code
2809
Files
1287
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 8HIGH 12MEDIUM 58LOW 1209

Pattern Findings

1287 matches across 16 categories. Click a row to expand file-level details.

Over-Commented Block1044 hits · 964 pts
SeverityFileLineSnippet
LOWCargo.toml1001
LOWclippy.toml21 # { path = "std::collections::HashMap", replacement = "collections::HashMap" },
LOWtooling/perf/src/main.rs1//! Perf profiler for Zed tests. Outputs timings of tests marked with the `#[perf]`
LOWtooling/perf/src/main.rs21//! ```
LOWtooling/perf/src/main.rs381}
LOWtooling/perf/src/implementation.rs41
LOWtooling/perf/src/implementation.rs101/// Information about a given perf test.
LOWcrates/sidebar/src/sidebar.rs4941 }
LOWcrates/sidebar/src/sidebar_tests.rs7121// Reproduces the core of the user-reported bug: a thread belonging to
LOWcrates/sidebar/src/sidebar_tests.rs7141// thread with `main == folder` instead, the stored
LOWcrates/sidebar/src/sidebar_tests.rs13981 // (head_sha / create_archive_checkpoint / update_ref).
LOWcrates/vim/src/helix.rs41 /// Inserts at the end of the current Helix cursor line.
LOWcrates/vim/src/helix.rs2301 // let mut cx = VimTestContext::new(cx, true).await;
LOWcrates/vim/src/object.rs101#[serde(deny_unknown_fields)]
LOWcrates/vim/src/object.rs1001/// Returns a range that surrounds the word and following whitespace
LOWcrates/vim/src/object.rs1541
LOWcrates/vim/src/surrounds.rs501 let mut min_range_size = usize::MAX;
LOWcrates/vim/src/vim.rs2301 Explicit(CursorShape),
LOWcrates/vim/src/motion.rs201/// Moves to the start of the previous word.
LOWcrates/vim/src/motion.rs221#[action(namespace = vim)]
LOWcrates/vim/src/motion.rs241pub(crate) struct PreviousSubwordStart {
LOWcrates/vim/src/motion.rs281
LOWcrates/vim/src/motion.rs341 [
LOWcrates/vim/src/motion.rs1421 selection.end = movement::saturating_left(map, selection.end);
LOWcrates/vim/src/normal/delete.rs701 let mut cx = NeovimBackedTestContext::new(cx).await;
LOWcrates/vim/src/normal/delete.rs721 // indoc! {"
LOWcrates/vim/src/normal/search.rs21#[action(namespace = vim)]
LOWcrates/vim/src/normal/search.rs41 #[serde(default = "default_true")]
LOWcrates/agent_ui/src/agent_panel.rs11981
LOWcrates/agent_ui/src/agent_panel.rs12101 // and open_thread. The emit's synchronous effects (event delivery
LOWcrates/agent_ui/src/agent_ui.rs321#[derive(Clone, PartialEq, Deserialize, JsonSchema, Action)]
LOWcrates/agent_ui/src/agent_ui.rs621 // When settings change, update the command palette filter
LOWcrates/agent_ui/src/message_editor.rs761 // is registered for the unqualified `/<name>` form).
LOWcrates/agent_ui/src/thread_worktree_archive.rs21///
LOWcrates/agent_ui/src/thread_worktree_archive.rs41 /// Multiple projects can reference the same path when the user has the
LOWcrates/agent_ui/src/thread_worktree_archive.rs81 main_repo_path: &Path,
LOWcrates/agent_ui/src/thread_worktree_archive.rs261/// `GitStore` (which creates and manages `Repository` entities) is owned by
LOWcrates/agent_ui/src/thread_worktree_archive.rs401
LOWcrates/agent_ui/src/thread_metadata_store.rs461 /// Used when restoring, to put the recreated worktree back where it was.
LOWcrates/agent_ui/src/thread_metadata_store.rs481 pub staged_commit_hash: String,
LOWcrates/zeta_prompt/src/zeta_prompt.rs61 pub related_files: Option<Vec<RelatedFile>>,
LOWcrates/zeta_prompt/src/zeta_prompt.rs1721 //! <<<<<<< CURRENT
LOWcrates/zeta_prompt/src/zeta_prompt.rs1781 }
LOWcrates/zeta_prompt/src/zeta_prompt.rs2241 // Preserve trailing newline behavior: if the original ended with a
LOWcrates/zeta_prompt/src/zeta_prompt.rs3361 //! - File markers: StarCoder-style `<filename>path` (single token + path)
LOWcrates/zeta_prompt/src/zeta_prompt.rs3381 //! <<<<<<< CURRENT
LOWcrates/zeta_prompt/src/zeta_prompt.rs3561
LOWcrates/zeta_prompt/src/zeta_prompt.rs3621 ///
LOWcrates/ui/src/utils.rs41/// capitalized.
LOWcrates/ui/src/traits/styled_ext.rs41 /// The [`Surface`](ElevationIndex::Surface) elevation level, located above the app background, is the standard leve
LOWcrates/ui/src/traits/styled_ext.rs61 /// Examples: Notifications, Palettes, Detached/Floating Windows, Detached/Floating Panels
LOWcrates/ui/src/traits/toggleable.rs1/// A trait for elements that can be toggled.
LOWcrates/ui/src/utils/constants.rs1use gpui::{Pixels, Window, px};
LOWcrates/ui/src/utils/apca_contrast.rs61/// especially for dark mode interfaces. Key improvements include:
LOWcrates/ui/src/styles/elevation.rs1use std::fmt::{self, Display, Formatter};
LOWcrates/ui/src/styles/units.rs1use gpui::{Length, Rems, Window, rems};
LOWcrates/ui/src/styles/color.rs21 /// The default text color. Might be known as "foreground" or "primary" in
LOWcrates/ui/src/styles/color.rs41 Deleted,
LOWcrates/ui/src/styles/color.rs61 ///
LOWcrates/ui/src/styles/spacing.rs1use gpui::{App, Pixels, Rems, px, rems};
984 more matches not shown…
Decorative Section Separators44 hits · 140 pts
SeverityFileLineSnippet
MEDIUMcrates/sidebar/src/sidebar_tests.rs5123 // ── 1. Initial state: focused thread derived from active panel ─────
MEDIUMcrates/sidebar/src/sidebar_tests.rs8929 // ── Setup: create three threads with distinct created_at times ──────
MEDIUMcrates/sidebar/src/sidebar_tests.rs8991 // ── 1. Open switcher: threads sorted by last_accessed_at ─────────────────
MEDIUMcrates/sidebar/src/sidebar_tests.rs9014 // ── 2. Confirm on Thread C: it becomes most-recently-accessed ──────
MEDIUMcrates/sidebar/src/sidebar_tests.rs9179 // ── 4. Add another historical thread with older created_at ─────────
MEDIUMcrates/agent_ui/src/thread_metadata_store.rs3690 // ── Migration tests ────────────────────────────────────────────────
MEDIUMcrates/agent_ui/src/thread_metadata_store.rs3849 // ── ThreadWorktreePaths tests ──────────────────────────────────────
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs6651 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs6654 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs7520 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs7523 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs7773 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs7776 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs8210 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs8213 #---------------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs8358 #-----------------------------------------------------------------------------------------------
MEDIUMcrates/dev_container/src/devcontainer_manifest.rs8361 #-----------------------------------------------------------------------------------------------
MEDIUMcrates/project_panel/src/undo.rs11//! ───────────────────────────────── ──────────────────────────────────────
MEDIUMcrates/project_panel/src/undo.rs52//! ┌──────────────────────────────┴─────────────────────────────────────────────┐
MEDIUMcrates/project_panel/src/undo.rs57//! └──────────────────────────────┬─────────────────────────────────────────────┘
MEDIUMcrates/project_panel/src/undo.rs61//! Execute Created(CONTRIBUTING.md) ────────> Trash(CONTRIBUTING.md)
MEDIUMcrates/project_panel/src/undo.rs78//! ┌──────────────────────────────────┴─────────────────────────────────────────┐
MEDIUMcrates/project_panel/src/undo.rs83//! └──────────────────────────────────┬─────────────────────────────────────────┘
MEDIUMcrates/project_panel/src/undo.rs96//! Execute Trashed(TrashedEntry(1)) ────────> Restore(TrashedEntry(1))
MEDIUMcrates/project_panel/src/undo.rs398 // Execute Trashed(TrashedEntry(1)) ────────> Restore(TrashedEntry(1))
MEDIUMcrates/gpui/src/window/a11y.rs8//! ┌────────────────────────────────┐ ┌─────────────────────┐
MEDIUMcrates/gpui/src/window/a11y.rs10//! │ └────────────────────────────────┘ └─────────────────────┘
MEDIUMcrates/gpui/src/window/a11y.rs12//! ┌──────┐ ┌───────────┐ │ ┌────────────────────────────────┐ ┌─────────────────────┐
MEDIUMcrates/gpui/src/window/a11y.rs14//! └──────┘ └───────────┘ │ └────────────────────────────────┘ └─────────────────────┘
MEDIUMcrates/gpui/src/window/a11y.rs16//! │ ┌────────────────────────────────┐ ┌─────────────────────┐
MEDIUMcrates/gpui/src/window/a11y.rs18//! └────────────────────────────────┘ └─────────────────────┘
MEDIUMcrates/eval_cli/zed_eval/agent.py126 # ── Non-essential tooling ─────────────────────────────────────
MEDIUMscript/triage_project_sync.py59# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py119# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py128# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py154# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py199# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py230# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py283# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py339# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py496# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py581# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py697# ---------------------------------------------------------------------------
MEDIUMscript/triage_project_sync.py833# ---------------------------------------------------------------------------
Hallucination Indicators8 hits · 80 pts
SeverityFileLineSnippet
CRITICALcrates/vim/src/normal/paste.rs735 settings.project.all_languages.languages.0.insert(
CRITICAL…lab_ui/src/notifications/incoming_call_notification.rs118 self.state.call.calling_user.avatar_uri.clone(),
CRITICALcrates/gpui_windows/src/window.rs1047 if let Some(mut func) = self.0.state.callbacks.input.take() {
CRITICALcrates/gpui_windows/src/window.rs1049 self.0.state.callbacks.input.set(Some(func));
CRITICALcrates/gpui_windows/src/platform.rs555 self.inner.state.callbacks.open_urls.set(Some(callback));
CRITICALcrates/gpui_windows/src/platform.rs625 self.inner.state.callbacks.quit.set(Some(callback));
CRITICALcrates/gpui_windows/src/platform.rs629 self.inner.state.callbacks.reopen.set(Some(callback));
CRITICALcrates/git_hosting_providers/src/providers/bitbucket.rs153 .map(|commit| commit.author.user.links.avatar.map(|link| link.href))
Verbosity Indicators48 hits · 76 pts
SeverityFileLineSnippet
LOWcrates/sidebar/src/sidebar_tests.rs11353 // Step 1: Create a linked worktree for the main project.
LOWcrates/sidebar/src/sidebar_tests.rs11393 // Step 2: Open the linked worktree as its own workspace.
LOWcrates/sidebar/src/sidebar_tests.rs11404 // Step 3: Add an unrelated project.
LOWcrates/sidebar/src/sidebar_tests.rs14574 // Step 1: activate the linked-worktree workspace. The MultiWorkspace
LOWcrates/sidebar/src/sidebar_tests.rs14590 // Step 2: switch to the workspace for group B. Group A's last-active
LOWcrates/sidebar/src/sidebar_tests.rs14603 // Step 3: simulate cmd-click on group A's header. The project group key
LOWcrates/agent_ui/src/agent_panel.rs12018 // Step 1: Open thread A and send a message.
LOWcrates/agent_ui/src/agent_panel.rs12038 // Step 2: Open thread B → A goes to retained_threads.
LOWcrates/agent_ui/src/agent_panel.rs12063 // Step 3: Set a thread_error on retained A's active thread view.
LOWcrates/agent_ui/src/agent_panel.rs12096 // Step 4: Emit AgentServersUpdated → retained A's
LOWcrates/agent_ui/src/agent_panel.rs12116 // Step 5: Immediately open thread X via open_thread, BEFORE
LOWcrates/agent_ui/src/agent_panel.rs12140 // Step 6: Force the retained ConversationView A to be dropped
LOWcrates/agent_ui/src/thread_metadata_store.rs3869 // Step 2: add cloud
LOWcrates/agent_ui/src/thread_metadata_store.rs3885 // Step 3: remove zed
LOWcrates/zed/src/visual_test_runner.rs1161 // Step 1: Initial draw to register mouse listeners
LOWcrates/zed/src/visual_test_runner.rs1167 // Step 2: Simulate mouse move into gutter area
LOWcrates/zed/src/visual_test_runner.rs1175 // Step 3: Advance clock past 200ms debounce
LOWcrates/zed/src/visual_test_runner.rs1179 // Step 4: Draw again to pick up the indicator state change
LOWcrates/zed/src/visual_test_runner.rs1185 // Step 5: Another mouse move to keep hover state active
LOWcrates/zed/src/visual_test_runner.rs1193 // Step 6: Final draw
LOWcrates/language_models/src/provider/bedrock.rs254 // Step 1: Check if settings specify an auth method (enterprise control)
LOWcrates/language_models/src/provider/bedrock.rs284 // Step 2: No settings auth method - try to load static credentials
LOW…es/debugger_ui/src/session/running/stack_frame_list.rs523 // we need to check if either the path is absolute as Posix or Windows.
LOWcrates/workspace/src/workspace.rs13701 // Step 1: Add a tab to the center pane then open a flexible panel in the left
LOWcrates/workspace/src/workspace.rs13726 // Step 2: Split the center pane left/right. The flexible panel is treated as one
LOWcrates/workspace/src/workspace.rs13749 // Step 3: Split the active center pane vertically (top/bottom). Vertical splits do
LOWcrates/workspace/src/workspace.rs13771 // Step 4: Open a fixed-width panel in the right dock. The right dock's default
LOWcrates/workspace/src/workspace.rs13797 // Step 5: Toggle the right dock's panel to flexible. Now both docks use
LOWcrates/collab/tests/integration/channel_buffer_tests.rs738 // Step 1: Client A makes an initial edit that syncs to B.
LOWcrates/collab/tests/integration/channel_buffer_tests.rs754 // Step 2: Disconnect client A. Do NOT advance past RECONNECT_TIMEOUT
LOWcrates/collab/tests/integration/channel_buffer_tests.rs760 // Step 3: While disconnected, client A makes an offline edit ("b").
LOWcrates/collab/tests/integration/channel_buffer_tests.rs777 // Step 4: Reconnect and make a racing edit in parallel.
LOWcrates/collab/tests/integration/channel_buffer_tests.rs814 // Step 7: Read final buffer text from both clients.
LOWcrates/collab/tests/integration/channel_buffer_tests.rs844 // Step 8: Verify the invariant directly — every operation known to
LOWcrates/outline/src/outline.rs1100 // Step 1: tree-sitter outlines by default
LOWcrates/outline/src/outline.rs1111 // Step 2: Switch to LSP document symbols
LOWcrates/outline/src/outline.rs1146 // Step 3: Switch back to tree-sitter
LOWcrates/outline_panel/src/outline_panel.rs7975 // Step 1: tree-sitter outlines by default
LOWcrates/outline_panel/src/outline_panel.rs7995 // Step 2: Switch to LSP document symbols
LOWcrates/outline_panel/src/outline_panel.rs8030 // Step 3: Switch back to tree-sitter
LOWcrates/editor/src/document_symbols.rs516 // Step 1: With tree-sitter (default), breadcrumbs use tree-sitter outline
LOWcrates/editor/src/document_symbols.rs525 // Step 2: Switch to LSP
LOWcrates/editor/src/document_symbols.rs540 // Step 3: Switch back to tree-sitter
LOWcrates/editor/src/inlays/inlay_hints.rs4299 // Step 1: Make an edit → triggers BufferEdited with 700ms debounce.
LOWcrates/editor/src/inlays/inlay_hints.rs4311 // Step 2: Scroll down to reveal a new chunk, then trigger NewLinesShown.
LOWcrates/editor/src/inlays/inlay_hints.rs4325 // Step 3: Advance clock past scroll debounce (50ms) but NOT past edit
LOWcrates/editor/src/inlays/inlay_hints.rs4345 // Step 4: Advance clock past the edit debounce (700ms). The edit task
LOWcrates/editor/src/inlays/inlay_hints.rs4359 // Step 5: Trigger NewLinesShown to give the system a chance to re-fetch
Fake / Example Data47 hits · 55 pts
SeverityFileLineSnippet
LOWcrates/action_log/src/action_log.rs1682 "file1": "Lorem ipsum dolor"
LOWcrates/action_log/src/action_log.rs1729 "Lorem ipsum dolor"
LOWcrates/action_log/src/action_log.rs1741 "file1": "Lorem ipsum dolor"
LOWcrates/action_log/src/action_log.rs1772 old_text: "Lorem ipsum dolor".into(),
LOWcrates/action_log/src/action_log.rs1810 "Lorem ipsum dolor"
LOWcrates/vim/test_data/test_selection_goal.json1{"Put":{"state":";;ˇ;\nLorem Ipsum"}}
LOWcrates/vim/test_data/test_selection_goal.json8{"Get":{"state":";;;;ˇ\nLorem Ipsum","mode":"Insert"}}
LOWcrates/vim/test_data/test_temporary_mode.json6{"Get":{"state":"lorem ipsumˇ","mode":"Insert"}}
LOWcrates/vim/src/test.rs862 Lorem Ipsum"})
LOWcrates/vim/src/test.rs868 Lorem Ipsum"});
LOWcrates/vim/src/normal.rs2472 cx.shared_state().await.assert_eq(indoc! {"lorem ipsumˇ"});
LOWcrates/agent_ui/src/completion_provider.rs2722 assert_eq!(SlashCommandCompletion::try_parse("Lorem Ipsum", 0), None);
LOWcrates/agent_ui/src/completion_provider.rs2775 MentionCompletion::try_parse("Lorem Ipsum", 0, &supported_modes),
LOWcrates/agent_ui/src/buffer_codegen.rs1919 assert_chunks("Lorem ipsum dolor", "Lorem ipsum dolor").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1920 assert_chunks("```\nLorem ipsum dolor", "Lorem ipsum dolor").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1921 assert_chunks("```\nLorem ipsum dolor\n```", "Lorem ipsum dolor").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1923 "```html\n```js\nLorem ipsum dolor\n```\n```",
LOWcrates/agent_ui/src/buffer_codegen.rs1924 "```js\nLorem ipsum dolor\n```",
LOWcrates/agent_ui/src/buffer_codegen.rs1927 assert_chunks("``\nLorem ipsum dolor\n```", "``\nLorem ipsum dolor\n```").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1928 assert_chunks("Lorem<|CURSOR|> ipsum", "Lorem ipsum").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1929 assert_chunks("Lorem ipsum", "Lorem ipsum").await;
LOWcrates/agent_ui/src/buffer_codegen.rs1930 assert_chunks("```\n<|CURSOR|>Lorem ipsum\n```", "Lorem ipsum").await;
LOWcrates/zed/src/visual_test_runner.rs1492 .args(["config", "user.email", "test@test.com"])
LOWcrates/agent_servers/src/e2e_tests.rs118 std::fs::write(&foo_path, "Lorem ipsum dolor").expect("failed to write file");
LOWcrates/csv_preview/src/parser.rs341"John Doe","A person with ""special"" characters"
LOWcrates/csv_preview/src/parser.rs4481,"John Doe","A person with ""quotes"" and, commas",active
LOWcrates/csv_preview/src/parser.rs482 // "John Doe": 58..68 (includes quotes)
LOWcrates/csv_preview/src/parser.rs483 assert_eq!(first_row[1].0.as_ref(), "John Doe");
LOW…rediction_context/src/edit_prediction_context_tests.rs960 street: "123 Main St".to_string(),
LOWcrates/markdown/src/markdown.rs4623 let sentence = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
LOWcrates/markdown/src/markdown.rs4623 let sentence = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
LOWcrates/workspace/src/theme_preview.rs381 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incidi
LOWcrates/workspace/src/theme_preview.rs381 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incidi
LOWcrates/workspace/src/theme_preview.rs389 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi
LOWcrates/workspace/src/theme_preview.rs389 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi
LOWcrates/workspace/src/theme_preview.rs391 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi
LOWcrates/workspace/src/theme_preview.rs391 .child(Label::new("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi
LOW…gent/src/tools/edit_session/streaming_fuzzy_matcher.rs525 " dolor sit amet\n",
LOW…gent/src/tools/edit_session/streaming_fuzzy_matcher.rs539 " dolor sit amet»\n",
LOW…gent/src/tools/edit_session/streaming_fuzzy_matcher.rs542 "ipsum\ndolor sit amet",
LOWcrates/edit_prediction/src/edit_prediction_tests.rs2718 let buffer = cx.new(|cx| Buffer::local("Lorem ipsum dolor", cx));
LOWcrates/edit_prediction/src/prediction.rs138 let buffer = cx.new(|cx| Buffer::local("Lorem ipsum dolor", cx));
LOW…tes/collab/tests/integration/db_tests/channel_tests.rs660 let admin = new_test_user(db, "admin@example.com").await;
LOWcrates/git_ui/src/git_panel.rs7142 author_name: "John Doe".into(),
LOWcrates/git_ui/src/git_panel.rs7160 author_name: "John Doe".into(),
LOWcrates/git/src/repository.rs4234 author_name: SharedString::new_static("John Doe"),
LOWcrates/git_hosting_providers/src/providers/github.rs623 let url = build_cdn_avatar_url("user@example.com").unwrap();
Hyper-Verbose Identifiers45 hits · 52 pts
SeverityFileLineSnippet
LOW…ction_cli/evals/flask--add-and-rename-test-function.md38+def test_static_file_not_found():
LOW…ction_cli/evals/flask--add-and-rename-test-function.md48def test_static_file_not_found():
LOW…ction_cli/evals/flask--add-and-rename-test-function.md62-def test_static_file_not_found():
LOW…ction_cli/evals/flask--add-and-rename-test-function.md64+def test_static_file_not_found(app, client):
LOW…ction_cli/evals/flask--add-and-rename-test-function.md74-def test_static_file_not_found():
LOW…ction_cli/evals/flask--add-and-rename-test-function.md76+def test_static_file_not_found(app, client):
LOW…ction_cli/evals/flask--add-and-rename-test-function.md86-def test_static_file_not_found():
LOW…ction_cli/evals/flask--add-and-rename-test-function.md88+def test_static_file_not_found(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md30+def test_session_cookie_httponly(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md51-def test_session_cookie_httponly(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md52+def test_session_cookie_secur(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md63def test_session_cookie_secur(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md85-def test_session_cookie_secur(app, client):
LOW…diction_cli/evals/flask--rename-accepted-prediction.md87+def test_session_cookie_secure(app, client):
LOW…/edit_prediction_cli/evals/flask--add-test-function.md171+def test_static_route_with_host_matching(app, client):
LOWcrates/edit_prediction_cli/src/prompts/teacher.md298+def calculate_rectangle_perimeter(width, height):
LOWcrates/edit_prediction_cli/src/prompts/teacher.md306-def calculate_rectangle_perimeter(width, height):
LOWcrates/edit_prediction_cli/src/prompts/teacher.md329def calculate_square_perimeter(side):
LOW…dit_prediction_cli/src/prompts/teacher_multi_region.md306+def calculate_rectangle_perimeter(width, height):
LOW…dit_prediction_cli/src/prompts/teacher_multi_region.md314-def calculate_rectangle_perimeter(width, height):
LOW…dit_prediction_cli/src/prompts/teacher_multi_region.md338def calculate_square_perimeter(side):
LOWcrates/languages/src/typescript.rs975 class DataHandler {
LOWcrates/languages/src/typescript.rs1014 ("class DataHandler", 0),
LOWcrates/git_ui/src/text_diff_view.rs502 "def process_incoming_inventory(items, warehouse_id):\n pass\n",
LOWcrates/git_ui/src/text_diff_view.rs503 "def process_outgoing_inventory(items, warehouse_id):\n passˇ\n",
LOWcrates/git_ui/src/text_diff_view.rs506 - def process_incoming_inventory(items, warehouse_id):
LOWcrates/git_ui/src/text_diff_view.rs507 + ˇdef process_outgoing_inventory(items, warehouse_id):
LOWcrates/git_ui/src/text_diff_view.rs525 "def process_incoming_inventory(items, warehouse_id):\n pass\n",
LOWcrates/git_ui/src/text_diff_view.rs526 "«def process_outgoing_inventory(items, warehouse_id):\n passˇ»\n",
LOWcrates/git_ui/src/text_diff_view.rs529 - def process_incoming_inventory(items, warehouse_id):
LOWcrates/git_ui/src/text_diff_view.rs530 + ˇdef process_outgoing_inventory(items, warehouse_id):
LOWcrates/eval_cli/zed_eval/agent.py348 def populate_context_post_run(self, context: AgentContext) -> None:
LOWscript/cargo-timing-info.js62function parseTimestampFromFilename(filePath) {
LOWscript/github-track-duplicate-bot-effectiveness.py127def get_bot_comment_with_time(issue_number):
LOWscript/github-track-duplicate-bot-effectiveness.py321def add_or_update_project_item(issue_node_id, outcome, closed_as=None, status="Auto-classified", notes=None, bot_comment
LOWscript/github-track-duplicate-bot-effectiveness.py401def classify_non_author_closed(issue, bot_comment, state_reason):
LOWscript/github-track-duplicate-bot-effectiveness.py449def classify_as_missed_opportunity(issue):
LOWscript/github-check-new-issue-for-duplicates.py256def format_taxonomy_for_claude(area_labels):
LOWscript/github-check-new-issue-for-duplicates.py422def search_for_similar_issues(issue, detected_areas, max_searches_per_state=6):
LOWscript/github-check-new-issue-for-duplicates.py764def critique_closed_candidates(anthropic_key, issue, proposed, search_results):
LOWscript/github-clean-issue-types.py36def get_open_issues_without_type(repo):
LOWscript/github-clean-issue-types.py64def replace_labels_with_types(issues, labels_to_types):
LOWscript/github-community-pr-board.py84def set_progress_status_on_assignment(pr, assignee_login, project_number):
LOWscript/triage_project_sync.py304def is_substantive_staff_comment(comment: dict, staff: set[str]) -> bool:
LOWscript/github-find-top-duplicated-bugs.py103def fetch_canonical_issues_with_duplicates(max_pages=100):
Synthetic Comment Markers6 hits · 40 pts
SeverityFileLineSnippet
HIGHcrates/edit_prediction_cli/src/prompts/teacher.md24- Auto-generated code can be modified: Hunks marked with `// User accepted prediction:` contain code from a previous pre
HIGH…dit_prediction_cli/src/prompts/teacher_multi_region.md24- Auto-generated code can be modified: Hunks marked with `// User accepted prediction:` contain code from a previous pre
HIGHcrates/gpui_macros/tests/derive_inspector_reflection.rs1//! This code was generated using Zed Agent with Claude Opus 4.
HIGHcrates/gpui_macros/src/derive_inspector_reflection.rs2//! that have the shape `fn method(self) -> Self`. This code was generated using Zed Agent with Claude Opus 4.
HIGHcrates/editor/src/editor.rs446 /// scroll margin as requested by user settings.
HIGH.github/workflows/docs_suggestions.yml400 // Sanitize AI-generated content
AI Slop Vocabulary8 hits · 23 pts
SeverityFileLineSnippet
MEDIUMcrates/zeta_prompt/src/zeta_prompt.rs20/// Larger values may result in more robust generation, but
MEDIUMcrates/dap_adapters/src/go.rs567// delve doesn't do anything with the envFile setting, so we intercept it
MEDIUMcrates/search/src/project_search.rs2811 // for normal search match and active one, which can make this test less robust.
MEDIUMcrates/theme/src/theme.rs273 /// Note: This is a tentative solution and may be replaced with a more robust color system.
MEDIUMcrates/gpui_shared_string/gpui_shared_string.rs11/// tasks. Essentially an abstraction over an `Arc<str>` and `&'static str`,
MEDIUMcrates/gpui/examples/testing.rs492 /// is robust to different execution orderings.
MEDIUMcrates/editor/src/element.rs9731 // For the minimap's thumb layout, we leverage this by setting the
MEDIUMdocs/theme/c15t@2.0.0-rc.3.js1(()=>{var ni=Object.defineProperty;var P=(n,e)=>()=>(n&&(e=n(n=0)),e);var Nt=(n,e)=>{for(var t in e)ni(n,t,{get:e[t],enu
Cross-Language Confusion3 hits · 20 pts
SeverityFileLineSnippet
HIGHcrates/eval_cli/zed_eval/agent.py149 command="chmod +x /usr/local/bin/eval-cli && eval-cli --help",
HIGHcrates/eval_cli/zed_eval/agent.py269 'cd "$ESLINT_DIR/vscode-eslint" && npm install && npm run compile'
HIGHcrates/eval_cli/zed_eval/agent.py279 "if go install golang.org/x/tools/gopls@latest 2>/dev/null; then "
Excessive Try-Catch Wrapping14 hits · 17 pts
SeverityFileLineSnippet
LOWcrates/eval_cli/zed_eval/agent.py202 except Exception as exc:
LOWcrates/eval_cli/zed_eval/agent.py216 except Exception:
LOWcrates/eval_cli/zed_eval/agent.py252 except Exception as exc:
LOWcrates/eval_cli/zed_eval/agent.py272 except Exception as exc:
LOWcrates/eval_cli/zed_eval/agent.py308 except Exception as exc:
LOWcrates/eval_cli/zed_eval/agent.py345 except Exception as exc:
LOWnix/tests/a11y_atspi_test.py203 except Exception as e:
LOWscript/github-track-duplicate-bot-effectiveness.py497 except Exception as error: # broad catch: one issue failing shouldn't stop the sweep
MEDIUMscript/github-track-duplicate-bot-effectiveness.py529 print("Error: GITHUB_TOKEN environment variable is required")
MEDIUMscript/github-track-duplicate-bot-effectiveness.py537 print(f"Error: PROJECT_NUMBER must be an integer, got '{raw_project_number}'")
LOWscript/github-assign-contributor-issue.py334 except Exception as exc:
LOWscript/github-assign-contributor-issue.py415 except Exception as exc:
LOWscript/triage_project_sync.py823 except Exception as e:
MEDIUMscript/github-find-top-duplicated-bugs.py210 print("Error: --github-token is required (or set GITHUB_TOKEN env var)")
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGHscript/github-track-duplicate-bot-effectiveness.py0mutation($projectid: id!, $contentid: id!) { addprojectv2itembyid(input: {projectid: $projectid, contentid: $contentid})
HIGHscript/github-assign-contributor-issue.py0mutation($projectid: id!, $contentid: id!) { addprojectv2itembyid(input: {projectid: $projectid, contentid: $contentid})
HIGHscript/github-community-pr-board.py0mutation($projectid: id!, $contentid: id!) { addprojectv2itembyid(input: {projectid: $projectid, contentid: $contentid})
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMcrates/repl/src/outputs/table.rs47//! # Create a DataFrame
MEDIUM.cargo/collab-config.toml1# This file is used to build collab in a Docker image.
MEDIUM.cargo/ci-config.toml2# This file is placed in ./../.cargo/config.toml on CI runs. Cargo then merges Zeds .cargo/config.toml with ./../.cargo/
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippet
LOWcrates/dev_container/src/devcontainer_manifest.rs6908 # Check if distro is supported
LOWcrates/dev_container/src/devcontainer_manifest.rs6986 # Check if moby packages are available in default repos
LOWscript/digital-ocean-db.sh4# Check if database name is provided
LOW.github/workflows/docs_suggestions.yml151 # Check if we got actionable suggestions (not "no updates needed")
LOW.github/workflows/docs_suggestions.yml377 # Check if we got actionable suggestions
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippet
LOWscript/github-assign-contributor-issue.py102
LOWscript/github-assign-contributor-issue.py256
LOWscript/github-check-new-issue-for-duplicates.py422
LOWscript/github-community-pr-board.py270
LOWscript/triage_project_sync.py203
LOWscript/triage_project_sync.py345
Unused Imports2 hits · 2 pts
SeverityFileLineSnippet
LOWcrates/eval_cli/zed_eval/__init__.py1
LOWscript/triage_project_sync.py47
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWcrates/editor/src/git/blame.rs1064 // Usage example