Repository Analysis

eigent-ai/eigent

Eigent: The Open Source Cowork Desktop to Unlock Your Exceptional Productivity. Local and Free Alternative to Claude Cowork.

14.0 Low AI signal View on GitHub
14.0
Adjusted Score
14.0
Raw Score
100%
Time Factor
2026-05-29
Last Push
14,158
Stars
TypeScript
Language
185,616
Lines of Code
901
Files
2134
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 78MEDIUM 81LOW 1975

Pattern Findings

2134 matches across 17 categories. Click a row to expand file-level details.

Over-Commented Block712 hits · 708 pts
SeverityFileLineSnippet
LOWvite.config.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWvitest.config.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/vitest-jest-dom.d.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/setup.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/utils.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/basic.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/components/SearchInput.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/components/ChatBox.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/components/Terminal.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/components/Folder/FileTree.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…/unit/components/WorkFlow/workflowWheelHandler.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/components/Setting/utils.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/hooks/useInstallationSetup.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/hooks/useTriggerTaskExecutor.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/examples/installationFlow.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/lib/htmlFontStyles.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/githubReleaseCdnProvider.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/install-deps.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/install-deps.test.ts341// })
LOWtest/unit/electron/install-deps.test.ts361// expect(status.isInstalling).toBe(false)
LOWtest/unit/electron/install-deps.test.ts381// it('should successfully install dependencies with default settings', async () => {
LOWtest/unit/electron/install-deps.test.ts401
LOWtest/unit/electron/install-deps.test.ts421
LOWtest/unit/electron/install-deps.test.ts441// )
LOWtest/unit/electron/install-deps.test.ts461// // Reset the module-level state variables
LOWtest/unit/electron/install-deps.test.ts481// expect(() => installDeps.detectInstallationLogs(pattern)).not.toThrow()
LOWtest/unit/electron/install-deps.test.ts501// 'installation failed'
LOWtest/unit/electron/install-deps.test.ts521// isDestroyed: vi.fn().mockReturnValue(false)
LOWtest/unit/electron/install-deps.test.ts541// })) as any
LOWtest/unit/electron/install-deps.test.ts561// // Should handle empty version string gracefully
LOWtest/unit/electron/install-deps.test.ts581// it('should handle complete fresh installation workflow', async () => {
LOWtest/unit/electron/install-deps.test.ts601// })
LOWtest/unit/electron/install-deps.test.ts621
LOWtest/unit/electron/main/domReadyHandlers.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/main/index.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/main/installationStateLogic.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/main/windowLifecycle.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/main/fileReader.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/electron/main/processUtilsDemo.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/store/chatStore.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/unit/store/installationStore.test.ts1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/integration/chatStore/replayComplete.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/integration/chatStore/activeQueue.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/integration/chatStore/deadWorkforce.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWtest/integration/chatStore/newProject.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…st/integration/components/ChatBox.integration.test.tsx1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWlicenses/license_template_py.txt1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWlicenses/license_template_ts.txt1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWlicenses/update_license.js1// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…-skills/skill-security-auditor/scripts/scan_secrets.py1#!/usr/bin/env python3
LOW…-skills/skill-security-auditor/scripts/scan_project.py1#!/usr/bin/env python3
LOWresources/example-skills/xlsx/scripts/recalc.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWresources/example-skills/xlsx/scripts/office/pack.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…sources/example-skills/xlsx/scripts/office/validate.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWresources/example-skills/xlsx/scripts/office/unpack.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOWresources/example-skills/xlsx/scripts/office/soffice.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…/example-skills/xlsx/scripts/office/validators/docx.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…mple-skills/xlsx/scripts/office/validators/__init__.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py1# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
652 more matches not shown…
Hyper-Verbose Identifiers612 hits · 615 pts
SeverityFileLineSnippet
LOW…/example-skills/xlsx/scripts/office/validators/docx.py80 def validate_whitespace_preservation(self):
LOW…/example-skills/xlsx/scripts/office/validators/docx.py177 def count_paragraphs_in_unpacked(self):
LOW…/example-skills/xlsx/scripts/office/validators/docx.py193 def count_paragraphs_in_original(self):
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py212 def _remove_author_tracked_changes(self, root):
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py118 def validate_slide_layout_ids(self):
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py186 def validate_no_duplicate_slide_layouts(self):
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py224 def validate_notes_slide_references(self):
LOW…/example-skills/xlsx/scripts/office/validators/base.py129 def repair_whitespace_preservation(self) -> int:
LOW…/example-skills/xlsx/scripts/office/validators/base.py399 def validate_all_relationship_ids(self):
LOW…/example-skills/xlsx/scripts/office/validators/base.py483 def _get_expected_relationship_type(self, element_name):
LOW…/example-skills/xlsx/scripts/office/validators/base.py612 def validate_file_against_xsd(self, xml_file, verbose=False):
LOW…/example-skills/xlsx/scripts/office/validators/base.py717 def _clean_ignorable_namespaces(self, xml_doc):
LOW…/example-skills/xlsx/scripts/office/validators/base.py737 def _remove_ignorable_elements(self, root):
LOW…/example-skills/xlsx/scripts/office/validators/base.py756 def _preprocess_for_mc_ignorable(self, xml_doc):
LOW…/example-skills/xlsx/scripts/office/validators/base.py764 def _validate_single_file_xsd(self, xml_file, base_path):
LOW…/example-skills/xlsx/scripts/office/validators/base.py801 def _get_original_file_errors(self, xml_file):
LOW…/example-skills/xlsx/scripts/office/validators/base.py828 def _remove_template_tags_from_text_nodes(self, xml_doc):
LOW…kills/xlsx/scripts/office/helpers/simplify_redlines.py61def _merge_tracked_changes_in(container, tag: str) -> int:
LOW…kills/xlsx/scripts/office/helpers/simplify_redlines.py140def get_tracked_change_authors(doc_xml_path: Path) -> dict[str, int]:
LOW…ces/example-skills/pdf/scripts/fill_fillable_fields.py69def validation_error_for_field_value(field_info, field_value):
LOW…/example-skills/pdf/scripts/extract_form_field_info.py23def get_full_annotation_field_id(annotation):
LOW…ces/example-skills/pdf/scripts/check_bounding_boxes.py29def get_bounding_box_messages(fields_json_stream) -> list[str]:
LOW…e-skills/pdf/scripts/fill_pdf_form_with_annotations.py24def transform_from_image_coords(bbox, image_width, image_height, pdf_width, pdf_height):
LOW…e-skills/pdf/scripts/fill_pdf_form_with_annotations.py37def transform_from_pdf_coords(bbox, pdf_height):
LOWresources/example-skills/pptx/scripts/clean.py120def get_slide_referenced_files(unpacked_dir: Path) -> set:
LOWresources/example-skills/pptx/scripts/clean.py142def remove_orphaned_rels_files(unpacked_dir: Path) -> list[str]:
LOWresources/example-skills/pptx/scripts/add_slide.py155def _add_to_presentation_rels(unpacked_dir: Path, dest: str) -> str:
LOWresources/example-skills/pptx/scripts/thumbnail.py163def create_hidden_placeholder(size: tuple[int, int]) -> Image.Image:
LOW…/example-skills/pptx/scripts/office/validators/docx.py80 def validate_whitespace_preservation(self):
LOW…/example-skills/pptx/scripts/office/validators/docx.py177 def count_paragraphs_in_unpacked(self):
LOW…/example-skills/pptx/scripts/office/validators/docx.py193 def count_paragraphs_in_original(self):
LOW…ple-skills/pptx/scripts/office/validators/redlining.py212 def _remove_author_tracked_changes(self, root):
LOW…/example-skills/pptx/scripts/office/validators/pptx.py118 def validate_slide_layout_ids(self):
LOW…/example-skills/pptx/scripts/office/validators/pptx.py186 def validate_no_duplicate_slide_layouts(self):
LOW…/example-skills/pptx/scripts/office/validators/pptx.py224 def validate_notes_slide_references(self):
LOW…/example-skills/pptx/scripts/office/validators/base.py129 def repair_whitespace_preservation(self) -> int:
LOW…/example-skills/pptx/scripts/office/validators/base.py399 def validate_all_relationship_ids(self):
LOW…/example-skills/pptx/scripts/office/validators/base.py483 def _get_expected_relationship_type(self, element_name):
LOW…/example-skills/pptx/scripts/office/validators/base.py612 def validate_file_against_xsd(self, xml_file, verbose=False):
LOW…/example-skills/pptx/scripts/office/validators/base.py717 def _clean_ignorable_namespaces(self, xml_doc):
LOW…/example-skills/pptx/scripts/office/validators/base.py737 def _remove_ignorable_elements(self, root):
LOW…/example-skills/pptx/scripts/office/validators/base.py756 def _preprocess_for_mc_ignorable(self, xml_doc):
LOW…/example-skills/pptx/scripts/office/validators/base.py764 def _validate_single_file_xsd(self, xml_file, base_path):
LOW…/example-skills/pptx/scripts/office/validators/base.py801 def _get_original_file_errors(self, xml_file):
LOW…/example-skills/pptx/scripts/office/validators/base.py828 def _remove_template_tags_from_text_nodes(self, xml_doc):
LOW…kills/pptx/scripts/office/helpers/simplify_redlines.py61def _merge_tracked_changes_in(container, tag: str) -> int:
LOW…kills/pptx/scripts/office/helpers/simplify_redlines.py140def get_tracked_change_authors(doc_xml_path: Path) -> dict[str, int]:
LOWresources/example-skills/docx/scripts/comment.py151def _ensure_comment_relationships(unpacked_dir: Path) -> None:
LOWresources/example-skills/docx/scripts/comment.py193def _ensure_comment_content_types(unpacked_dir: Path) -> None:
LOW…/example-skills/docx/scripts/office/validators/docx.py80 def validate_whitespace_preservation(self):
LOW…/example-skills/docx/scripts/office/validators/docx.py177 def count_paragraphs_in_unpacked(self):
LOW…/example-skills/docx/scripts/office/validators/docx.py193 def count_paragraphs_in_original(self):
LOW…ple-skills/docx/scripts/office/validators/redlining.py212 def _remove_author_tracked_changes(self, root):
LOW…/example-skills/docx/scripts/office/validators/pptx.py118 def validate_slide_layout_ids(self):
LOW…/example-skills/docx/scripts/office/validators/pptx.py186 def validate_no_duplicate_slide_layouts(self):
LOW…/example-skills/docx/scripts/office/validators/pptx.py224 def validate_notes_slide_references(self):
LOW…/example-skills/docx/scripts/office/validators/base.py129 def repair_whitespace_preservation(self) -> int:
LOW…/example-skills/docx/scripts/office/validators/base.py399 def validate_all_relationship_ids(self):
LOW…/example-skills/docx/scripts/office/validators/base.py483 def _get_expected_relationship_type(self, element_name):
LOW…/example-skills/docx/scripts/office/validators/base.py612 def validate_file_against_xsd(self, xml_file, verbose=False):
552 more matches not shown…
Excessive Try-Catch Wrapping310 hits · 324 pts
SeverityFileLineSnippet
MEDIUM…-skills/skill-security-auditor/scripts/scan_secrets.py180 print(f"Error: {project_dir} is not a directory", file=sys.stderr)
MEDIUM…-skills/skill-security-auditor/scripts/scan_project.py251 print(f"Error: {project_dir} is not a directory", file=sys.stderr)
LOWresources/example-skills/xlsx/scripts/recalc.py80 except Exception:
LOWresources/example-skills/xlsx/scripts/recalc.py174 except Exception as e:
MEDIUMresources/example-skills/xlsx/scripts/recalc.py46def has_gtimeout():
LOWresources/example-skills/xlsx/scripts/office/pack.py140 except Exception as e:
MEDIUM…sources/example-skills/xlsx/scripts/office/validate.py108 print(f"Error: Validation not supported for file type {file_extension}")
LOWresources/example-skills/xlsx/scripts/office/unpack.py92 except Exception as e:
LOWresources/example-skills/xlsx/scripts/office/unpack.py101 except Exception:
LOWresources/example-skills/xlsx/scripts/office/unpack.py111 except Exception:
LOW…/example-skills/xlsx/scripts/office/validators/docx.py188 except Exception as e:
MEDIUM…/example-skills/xlsx/scripts/office/validators/docx.py189 print(f"Error counting paragraphs in unpacked document: {e}")
LOW…/example-skills/xlsx/scripts/office/validators/docx.py211 except Exception as e:
MEDIUM…/example-skills/xlsx/scripts/office/validators/docx.py212 print(f"Error counting paragraphs in original document: {e}")
LOW…/example-skills/xlsx/scripts/office/validators/docx.py301 except Exception:
LOW…/example-skills/xlsx/scripts/office/validators/docx.py453 except Exception:
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py70 except Exception:
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py79 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py209 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/base.py152 except Exception:
LOW…/example-skills/xlsx/scripts/office/validators/base.py168 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/base.py371 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/base.py468 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/base.py578 except Exception:
LOW…/example-skills/xlsx/scripts/office/validators/base.py597 except Exception as e:
LOW…/example-skills/xlsx/scripts/office/validators/base.py798 except Exception as e:
LOW…kills/xlsx/scripts/office/helpers/simplify_redlines.py57 except Exception as e:
LOW…ample-skills/xlsx/scripts/office/helpers/merge_runs.py52 except Exception as e:
LOWresources/example-skills/pdf/reference.md484 except Exception as e:
LOWresources/example-skills/pdf/reference.md504 except Exception as e:
LOWresources/example-skills/pdf/reference.md578except Exception as e:
LOW…ces/example-skills/skill-creator/scripts/init_skill.py231 except Exception as e:
LOW…ces/example-skills/skill-creator/scripts/init_skill.py246 except Exception as e:
LOW…ces/example-skills/skill-creator/scripts/init_skill.py273 except Exception as e:
LOW…/example-skills/skill-creator/scripts/package_skill.py94 except Exception as e:
MEDIUMresources/example-skills/pptx/scripts/clean.py290 print(f"Error: {unpacked_dir} not found", file=sys.stderr)
MEDIUMresources/example-skills/pptx/scripts/add_slide.py54 print(f"Error: {layout_path} not found", file=sys.stderr)
MEDIUMresources/example-skills/pptx/scripts/add_slide.py111 print(f"Error: {source_slide} not found", file=sys.stderr)
MEDIUMresources/example-skills/pptx/scripts/add_slide.py201 print(f"Error: {unpacked_dir} not found", file=sys.stderr)
MEDIUMresources/example-skills/pptx/scripts/thumbnail.py80 print(f"Error: Invalid PowerPoint file: {args.input}", file=sys.stderr)
MEDIUMresources/example-skills/pptx/scripts/thumbnail.py93 print("Error: No slides found", file=sys.stderr)
LOWresources/example-skills/pptx/scripts/thumbnail.py104 except Exception as e:
MEDIUMresources/example-skills/pptx/scripts/thumbnail.py105 print(f"Error: {e}", file=sys.stderr)
LOWresources/example-skills/pptx/scripts/thumbnail.py260 except Exception:
LOWresources/example-skills/pptx/scripts/office/pack.py140 except Exception as e:
MEDIUM…sources/example-skills/pptx/scripts/office/validate.py108 print(f"Error: Validation not supported for file type {file_extension}")
LOWresources/example-skills/pptx/scripts/office/unpack.py92 except Exception as e:
LOWresources/example-skills/pptx/scripts/office/unpack.py101 except Exception:
LOWresources/example-skills/pptx/scripts/office/unpack.py111 except Exception:
LOW…/example-skills/pptx/scripts/office/validators/docx.py188 except Exception as e:
MEDIUM…/example-skills/pptx/scripts/office/validators/docx.py189 print(f"Error counting paragraphs in unpacked document: {e}")
LOW…/example-skills/pptx/scripts/office/validators/docx.py211 except Exception as e:
MEDIUM…/example-skills/pptx/scripts/office/validators/docx.py212 print(f"Error counting paragraphs in original document: {e}")
LOW…/example-skills/pptx/scripts/office/validators/docx.py301 except Exception:
LOW…/example-skills/pptx/scripts/office/validators/docx.py453 except Exception:
LOW…ple-skills/pptx/scripts/office/validators/redlining.py70 except Exception:
LOW…ple-skills/pptx/scripts/office/validators/redlining.py79 except Exception as e:
LOW…/example-skills/pptx/scripts/office/validators/pptx.py209 except Exception as e:
LOW…/example-skills/pptx/scripts/office/validators/base.py152 except Exception:
LOW…/example-skills/pptx/scripts/office/validators/base.py168 except Exception as e:
250 more matches not shown…
Cross-File Repetition36 hits · 180 pts
SeverityFileLineSnippet
HIGHresources/example-skills/xlsx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the
HIGHresources/example-skills/pptx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the
HIGHresources/example-skills/docx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the
HIGH…sources/example-skills/xlsx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.
HIGH…sources/example-skills/pptx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.
HIGH…sources/example-skills/docx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.
HIGHresources/example-skills/xlsx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -
HIGHresources/example-skills/pptx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -
HIGHresources/example-skills/docx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -
HIGHresources/example-skills/xlsx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). det
HIGHresources/example-skills/pptx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). det
HIGHresources/example-skills/docx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). det
HIGHresources/example-skills/xlsx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #in
HIGHresources/example-skills/pptx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #in
HIGHresources/example-skills/docx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #in
HIGH…/example-skills/xlsx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.
HIGH…/example-skills/pptx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.
HIGH…/example-skills/docx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.
HIGH…/example-skills/xlsx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.
HIGH…/example-skills/pptx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.
HIGH…/example-skills/docx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.
HIGH…/example-skills/xlsx/scripts/office/validators/base.py0base validator with common validation logic for document files.
HIGH…/example-skills/pptx/scripts/office/validators/base.py0base validator with common validation logic for document files.
HIGH…/example-skills/docx/scripts/office/validators/base.py0base validator with common validation logic for document files.
HIGH…kills/xlsx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same aut
HIGH…kills/pptx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same aut
HIGH…kills/docx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same aut
HIGH…ample-skills/xlsx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> proper
HIGH…ample-skills/pptx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> proper
HIGH…ample-skills/docx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> proper
HIGHbackend/tests/app/utils/test_single_agent_worker.py0tests that require llm backend (marked for selective running).
HIGHbackend/tests/app/agent/test_listen_chat_agent.py0tests that require llm backend (marked for selective running).
HIGHbackend/tests/app/controller/test_chat_controller.py0tests that require llm backend (marked for selective running).
HIGHbackend/tests/app/controller/test_task_controller.py0tests that require llm backend (marked for selective running).
HIGHbackend/tests/app/service/test_task.py0tests that require llm backend (marked for selective running).
HIGHbackend/tests/app/service/test_chat_service.py0tests that require llm backend (marked for selective running).
Unused Imports144 hits · 144 pts
SeverityFileLineSnippet
LOW…mple-skills/xlsx/scripts/office/validators/__init__.py19
LOW…mple-skills/xlsx/scripts/office/validators/__init__.py20
LOW…mple-skills/xlsx/scripts/office/validators/__init__.py21
LOW…mple-skills/xlsx/scripts/office/validators/__init__.py22
LOW…example-skills/skill-creator/scripts/quick_validate.py21
LOW…mple-skills/pptx/scripts/office/validators/__init__.py19
LOW…mple-skills/pptx/scripts/office/validators/__init__.py20
LOW…mple-skills/pptx/scripts/office/validators/__init__.py21
LOW…mple-skills/pptx/scripts/office/validators/__init__.py22
LOW…mple-skills/docx/scripts/office/validators/__init__.py19
LOW…mple-skills/docx/scripts/office/validators/__init__.py20
LOW…mple-skills/docx/scripts/office/validators/__init__.py21
LOW…mple-skills/docx/scripts/office/validators/__init__.py22
LOWserver/app/domains/trigger/service/__init__.py17
LOWserver/app/domains/trigger/service/__init__.py17
LOWserver/app/domains/trigger/service/__init__.py18
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOWserver/app/domains/trigger/service/__init__.py19
LOW…pp/domains/trigger/service/trigger_schedule_service.py20
LOW…er/app/domains/trigger/service/trigger_crud_service.py19
LOW…er/app/domains/trigger/service/trigger_crud_service.py28
LOW…er/app/domains/trigger/service/trigger_crud_service.py29
LOWserver/app/domains/trigger/service/slack_service.py50
LOWserver/app/domains/oauth/schema/__init__.py17
LOWserver/app/domains/oauth/schema/__init__.py17
LOWserver/app/domains/oauth/schema/__init__.py17
LOWserver/app/domains/oauth/service/__init__.py15
LOWserver/app/domains/chat/schema/__init__.py17
LOWserver/app/domains/chat/schema/__init__.py17
LOWserver/app/domains/chat/schema/__init__.py17
LOWserver/app/domains/chat/api/step_controller.py30
LOWserver/app/domains/chat/api/history_controller.py24
LOWserver/app/domains/chat/api/history_controller.py27
LOWserver/app/domains/chat/api/history_controller.py31
LOWserver/app/domains/chat/service/chat_service.py18
LOWserver/app/domains/chat/service/chat_service.py19
LOWserver/app/domains/chat/service/chat_service.py21
LOWserver/app/domains/chat/service/__init__.py17
LOWserver/app/domains/config/service/__init__.py15
LOWserver/app/domains/config/service/config_service.py18
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/schema/__init__.py17
LOWserver/app/domains/user/service/__init__.py15
LOWserver/app/domains/user/service/__init__.py16
LOWserver/app/domains/mcp/service/__init__.py15
LOWserver/app/domains/model_provider/service/__init__.py15
LOWserver/app/core/trigger_utils.py27
LOWserver/app/core/trigger_utils.py28
LOWserver/app/shared/middleware/trace.py25
84 more matches not shown…
Deep Nesting132 hits · 120 pts
SeverityFileLineSnippet
LOWresources/example-skills/xlsx/scripts/recalc.py84
LOWresources/example-skills/xlsx/scripts/office/pack.py38
LOWresources/example-skills/xlsx/scripts/office/pack.py122
LOW…/example-skills/xlsx/scripts/office/validators/docx.py80
LOW…/example-skills/xlsx/scripts/office/validators/docx.py126
LOW…/example-skills/xlsx/scripts/office/validators/docx.py268
LOW…/example-skills/xlsx/scripts/office/validators/docx.py312
LOW…/example-skills/xlsx/scripts/office/validators/docx.py405
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py141
LOW…ple-skills/xlsx/scripts/office/validators/redlining.py212
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py76
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py118
LOW…/example-skills/xlsx/scripts/office/validators/pptx.py224
LOW…/example-skills/xlsx/scripts/office/validators/base.py129
LOW…/example-skills/xlsx/scripts/office/validators/base.py213
LOW…/example-skills/xlsx/scripts/office/validators/base.py303
LOW…/example-skills/xlsx/scripts/office/validators/base.py399
LOW…/example-skills/xlsx/scripts/office/validators/base.py483
LOW…/example-skills/xlsx/scripts/office/validators/base.py506
LOW…/example-skills/xlsx/scripts/office/validators/base.py650
LOW…/example-skills/xlsx/scripts/office/validators/base.py717
LOW…kills/xlsx/scripts/office/helpers/simplify_redlines.py163
LOW…ample-skills/xlsx/scripts/office/helpers/merge_runs.py192
LOW…ces/example-skills/pdf/scripts/fill_fillable_fields.py25
LOW…ces/example-skills/pdf/scripts/fill_fillable_fields.py69
LOW…/example-skills/pdf/scripts/extract_form_field_info.py33
LOW…/example-skills/pdf/scripts/extract_form_field_info.py61
LOW…s/example-skills/pdf/scripts/extract_form_structure.py34
LOW…ces/example-skills/pdf/scripts/check_bounding_boxes.py29
LOW…/example-skills/skill-creator/scripts/package_skill.py33
LOWresources/example-skills/pptx/scripts/clean.py63
LOWresources/example-skills/pptx/scripts/clean.py185
LOWresources/example-skills/pptx/scripts/office/pack.py38
LOWresources/example-skills/pptx/scripts/office/pack.py122
LOW…/example-skills/pptx/scripts/office/validators/docx.py80
LOW…/example-skills/pptx/scripts/office/validators/docx.py126
LOW…/example-skills/pptx/scripts/office/validators/docx.py268
LOW…/example-skills/pptx/scripts/office/validators/docx.py312
LOW…/example-skills/pptx/scripts/office/validators/docx.py405
LOW…ple-skills/pptx/scripts/office/validators/redlining.py141
LOW…ple-skills/pptx/scripts/office/validators/redlining.py212
LOW…/example-skills/pptx/scripts/office/validators/pptx.py76
LOW…/example-skills/pptx/scripts/office/validators/pptx.py118
LOW…/example-skills/pptx/scripts/office/validators/pptx.py224
LOW…/example-skills/pptx/scripts/office/validators/base.py129
LOW…/example-skills/pptx/scripts/office/validators/base.py213
LOW…/example-skills/pptx/scripts/office/validators/base.py303
LOW…/example-skills/pptx/scripts/office/validators/base.py399
LOW…/example-skills/pptx/scripts/office/validators/base.py483
LOW…/example-skills/pptx/scripts/office/validators/base.py506
LOW…/example-skills/pptx/scripts/office/validators/base.py650
LOW…/example-skills/pptx/scripts/office/validators/base.py717
LOW…kills/pptx/scripts/office/helpers/simplify_redlines.py163
LOW…ample-skills/pptx/scripts/office/helpers/merge_runs.py192
LOWresources/example-skills/docx/scripts/comment.py112
LOWresources/example-skills/docx/scripts/office/pack.py38
LOWresources/example-skills/docx/scripts/office/pack.py122
LOW…/example-skills/docx/scripts/office/validators/docx.py80
LOW…/example-skills/docx/scripts/office/validators/docx.py126
LOW…/example-skills/docx/scripts/office/validators/docx.py268
72 more matches not shown…
Magic Placeholder Names22 hits · 110 pts
SeverityFileLineSnippet
HIGHsrc/i18n/locales/zh-Hans/setting.json74 "enter-your-api-key": "输入您的 API",
HIGHsrc/i18n/locales/zh-Hant/setting.json71 "enter-your-api-key": "輸入您的 API",
HIGHsrc/i18n/locales/ja/setting.json73 "enter-your-api-key": "APIキーを入力",
HIGHsrc/i18n/locales/ja/setting.json134 "enter-your-api-key": "APIキーを入力",
HIGHsrc/i18n/locales/it/setting.json73 "enter-your-api-key": "Inserisci la tua API",
HIGHsrc/i18n/locales/it/setting.json133 "enter-your-api-key": "Inserisci la tua API",
HIGHsrc/i18n/locales/ru/setting.json73 "enter-your-api-key": "Введите ваш API",
HIGHsrc/i18n/locales/ru/setting.json133 "enter-your-api-key": "Введите ваш API",
HIGHsrc/i18n/locales/ar/setting.json73 "enter-your-api-key": "أدخل مفتاح واجهة برمجة التطبيقات الخاص بك",
HIGHsrc/i18n/locales/ar/setting.json259 "enter-your-api-key": "أدخل مفتاح واجهة برمجة التطبيقات الخاص بك",
HIGHsrc/i18n/locales/de/setting.json73 "enter-your-api-key": "Geben Sie Ihren API-",
HIGHsrc/i18n/locales/de/setting.json133 "enter-your-api-key": "Geben Sie Ihren API-",
HIGHsrc/i18n/locales/ko/setting.json73 "enter-your-api-key": "API 키 입력",
HIGHsrc/i18n/locales/ko/setting.json134 "enter-your-api-key": "API 키 입력",
HIGHsrc/i18n/locales/fr/setting.json73 "enter-your-api-key": "Enter your API",
HIGHsrc/i18n/locales/fr/setting.json133 "enter-your-api-key": "Enter your API",
HIGHsrc/i18n/locales/es/setting.json73 "enter-your-api-key": "Ingresa tu API",
HIGHsrc/i18n/locales/es/setting.json133 "enter-your-api-key": "Ingresa tu API",
HIGHsrc/i18n/locales/en-us/setting.json73 "enter-your-api-key": "Enter your API",
HIGHsrc/i18n/locales/en-us/setting.json288 "enter-your-api-key": "Enter your API",
HIGHsrc/pages/Agents/Models.tsx1603 placeholder={` ${t('setting.enter-your-api-key')} ${
HIGHsrc/pages/Agents/SubAgents.tsx290 placeholder={`${t('setting.enter-your-api-key')} Gemini ${t(
Decorative Section Separators34 hits · 101 pts
SeverityFileLineSnippet
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts32// ─── Mock external dependencies ───────────────────────────────────
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts73// ─── Helpers ──────────────────────────────────────────────────────
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts92// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts94// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts171// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts173// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts214// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts216// ═══════════════════════════════════════════════════════════════════
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts245 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts247 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts296 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts299 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts322 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts324 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts381 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts383 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts491 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts493 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts615 // ╔═══════════════════════════════════════════════════════════════╗
MEDIUMtest/unit/hooks/useTriggerTaskExecutor.test.ts617 // ╚═══════════════════════════════════════════════════════════════╝
MEDIUMbackend/app/service/chat_service.py2142 # ========================================================================
MEDIUMbackend/app/service/chat_service.py2144 # ========================================================================
MEDIUMbackend/app/service/chat_service.py2249 # ========================================================================
MEDIUMbackend/app/service/chat_service.py2251 # ========================================================================
MEDIUMbackend/app/service/chat_service.py2291 # ========================================================================
MEDIUMbackend/app/service/chat_service.py2293 # ========================================================================
MEDIUMbackend/tests/app/utils/test_workforce.py480# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/test_workforce.py482# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/test_workforce.py599# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/test_workforce.py601# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/test_workforce.py739# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/test_workforce.py741# ---------------------------------------------------------------------------
MEDIUMbackend/tests/app/utils/listen/test_toolkit_listen.py184# =============================================================================
MEDIUMbackend/tests/app/utils/listen/test_toolkit_listen.py186# =============================================================================
Verbosity Indicators44 hits · 68 pts
SeverityFileLineSnippet
LOWtest/integration/chatStore/replayComplete.test.tsx317 // Step 1: Complete a replay first
LOWtest/integration/chatStore/replayComplete.test.tsx366 // Step 2: Setup new SSE events for post-replay startTask
LOWtest/integration/chatStore/replayComplete.test.tsx398 // Step 3: Call startTask on replay project after replay completes
LOWtest/integration/chatStore/replayComplete.test.tsx420 // Step 4: Verify new chatStore was created for post-replay task
LOWtest/integration/chatStore/replayComplete.test.tsx514 // Step 1: Start replay
LOWtest/integration/chatStore/replayComplete.test.tsx537 // Step 2: While replay is running, start parallel task on same project
LOWtest/integration/chatStore/replayComplete.test.tsx556 // Step 3: Verify both tasks completed independently
LOWtest/integration/chatStore/replayComplete.test.tsx615 // Step 0: First simulate a replay mechanism to set up the scenario
LOWtest/integration/chatStore/replayComplete.test.tsx713 // Step 1: Start first task
LOWtest/integration/chatStore/replayComplete.test.tsx761 // Step 7: Verify final state
LOWtest/integration/chatStore/replayComplete.test.tsx787 // Step 1: Create initial task with specific user message
LOWtest/integration/chatStore/replayComplete.test.tsx827 // Step 2: Setup replay sequence that should have same first question
LOWtest/integration/chatStore/replayComplete.test.tsx887 // Step 3: Start initial task
LOWtest/integration/chatStore/replayComplete.test.tsx918 // Step 4: Get the completed chatStore for replay
LOWtest/integration/chatStore/replayComplete.test.tsx927 // Step 5: Call replayActiveTask using the completed chatStore
LOWtest/integration/chatStore/replayComplete.test.tsx933 // Step 6: Wait for replay to complete and verify first question matches
LOWtest/integration/chatStore/activeQueue.test.tsx229 // Step 1: Start first task
LOWtest/integration/chatStore/activeQueue.test.tsx260 // Step 2: Add messages to queue while task is busy
LOWtest/integration/chatStore/activeQueue.test.tsx294 // Step 3: Verify messages are in queue
LOWtest/integration/chatStore/activeQueue.test.tsx307 // Step 4: Wait for task completion
LOWtest/integration/chatStore/activeQueue.test.tsx321 // Step 5: Wait for new_task_state event to process queue
LOWtest/integration/chatStore/activeQueue.test.tsx340 // Step 6: Wait for remove_task event to clear queue
LOWtest/integration/chatStore/activeQueue.test.tsx371 // Step 7: Verify final state
LOWtest/integration/chatStore/activeQueue.test.tsx704 // Step 1: Start the main task
LOWtest/integration/chatStore/activeQueue.test.tsx716 // Step 2: Wait for confirmed event
LOWtest/integration/chatStore/activeQueue.test.tsx734 // Step 3: Wait for subtasks event
LOWtest/integration/chatStore/activeQueue.test.tsx753 // Step 4: Add messages to queue while task is in subtasks phase
LOWtest/integration/chatStore/activeQueue.test.tsx787 // Step 5: Verify messages are properly queued
LOWtest/integration/chatStore/activeQueue.test.tsx805 // Step 6: Wait for task completion
LOWtest/integration/chatStore/activeQueue.test.tsx819 // Step 7: Wait for new_task_state event (new chat creation)
LOWtest/integration/chatStore/activeQueue.test.tsx837 // Step 8: Wait for remove_task event to process queue
LOWtest/integration/chatStore/activeQueue.test.tsx868 // Step 9: Final verification
LOWtest/integration/chatStore/deadWorkforce.test.tsx546 // Step 1: Start first task
LOWtest/integration/chatStore/deadWorkforce.test.tsx620 // Step 2: Wait for project append to complete before starting second task
LOWtest/integration/chatStore/deadWorkforce.test.tsx644 // Step 3: Start second task on the same chatStore
LOWtest/integration/chatStore/newProject.test.tsx74 // Step 1: Create new project
LOWtest/integration/chatStore/newProject.test.tsx110 // Step 2: Verify chatStore created automatically
LOWtest/integration/chatStore/newProject.test.tsx148 // Step 3: User sends message
LOWtest/integration/chatStore/newProject.test.tsx191 // Step 4: Start task
LOWelectron/main/init.ts452 // Step 1: Ensure Python is installed (fixes corrupted/missing Python)
LOWelectron/main/init.ts459 // Step 2: Sync dependencies
LOWelectron/main/index.ts2524 // Step 1: Extract zip into temp directory
LOWelectron/main/index.ts2555 // Step 2: Recursively find all SKILL.md files
LOWelectron/main/index.ts2578 // Step 3: Copy each skill directory into SKILLS_ROOT
Redundant / Tautological Comments43 hits · 65 pts
SeverityFileLineSnippet
LOW…ces/example-skills/skill-creator/scripts/init_skill.py222 # Check if directory already exists
LOWserver/start_server.sh14# Check if running in correct directory
LOWserver/start_server.sh21# Check if uv is installed
LOWserver/start_server.sh62# Check if Chinese translation files exist
LOWserver/app/domains/trigger/api/webhook_controller.py238 # Check if user has any active WebSocket sessions
LOWserver/app/domains/trigger/service/trigger_service.py170 # Check if auto-disable should happen
LOW…ver/app/domains/trigger/service/app_handler_service.py316 # Check if schedule should execute
LOW…pp/domains/trigger/service/trigger_schedule_service.py324 # Check if we've hit the per-tick limit (if enabled)
LOW…pp/domains/trigger/service/trigger_schedule_service.py374 # Check if schedule has expired
LOW…pp/domains/trigger/service/trigger_schedule_service.py401 # Check if schedule is expired before updating next run
LOWserver/app/model/chat/chat_share.py53 # Set expiration to 1 day
LOW…1-d74ab2a44600_drop_mcp_user_foreign_key_constraint.py71 # Check if the constraint already exists before creating it
LOW…1-d74ab2a44600_drop_mcp_user_foreign_key_constraint.py78 # Check if the constraint already exists
LOWbackend/main.py61# Check if debug mode is enabled via environment variable
LOWbackend/app/component/environment.py113 # Check if it's already within env_base_dir
LOWbackend/app/component/environment.py329 # Check if router attribute exists in module
LOWbackend/app/utils/listen/toolkit_listen.py486 # Check if method is overridden in the subclass
LOWbackend/app/utils/listen/toolkit_listen.py492 # Check if already decorated by looking for
LOWbackend/app/utils/listen/toolkit_listen.py520 # Check if the unwrapped method is a coroutine function
LOWbackend/app/utils/telemetry/workforce_metrics.py245 # Check if telemetry is enabled
LOWbackend/app/agent/listen_chat_agent.py441 # Check if tool is wrapped by @listen_toolkit decorator
LOWbackend/app/agent/listen_chat_agent.py594 # Check if tool is wrapped by @listen_toolkit decorator
LOWbackend/app/agent/listen_chat_agent.py621 # Check if this is a sync tool to avoid run_in_executor
LOWbackend/app/agent/toolkit/terminal_toolkit.py138 # Check if terminal_base exists
LOWbackend/app/agent/toolkit/terminal_toolkit.py153 # Check if cloned env already exists
LOWbackend/app/agent/toolkit/notion_mcp_toolkit.py121 # Check if we actually got tools
LOWbackend/app/agent/toolkit/hybrid_browser_toolkit.py194 # Check if it's a connection issue
LOWbackend/app/agent/toolkit/hybrid_browser_toolkit.py323 # Check if we have an existing connection for this session
LOWbackend/app/agent/toolkit/linkedin_toolkit.py84 # Check if token is expired before loading
LOWbackend/app/agent/toolkit/linkedin_toolkit.py121 # Check if token is expired before loading
LOWbackend/app/agent/toolkit/google_calendar_toolkit.py220 # Check if there's an existing authorization and force stop it
LOWbackend/app/controller/chat_controller.py78 # Check if task_lock still exists before attempting cleanup
LOWbackend/app/controller/tool_controller.py168 # Check if LinkedIn is already authenticated
LOWbackend/app/controller/tool_controller.py170 # Check if token is expired
LOWbackend/app/controller/tool_controller.py194 # Check if token is expiring soon
LOWbackend/app/controller/tool_controller.py690 # Check if browser is already running on this port
LOWbackend/app/service/chat_service.py579 # Check if folder is empty
LOWbackend/app/service/chat_service.py629 # Check if workforce exists - reuse
LOWbackend/app/service/chat_service.py852 # Check if this might be a misrouted second question
LOWbackend/app/service/chat_service.py1724 # Check if this might be a misrouted second question
LOWbackend/tests/app/component/test_environment.py128 # Check if resolved path is under base directory
LOWbackend/scripts/init_skills_config.py48 # Check if config already exists
LOWbackend/scripts/init_skills_config.py115 # Check if config already exists
Cross-Language Confusion12 hits · 60 pts
SeverityFileLineSnippet
HIGHresources/example-skills/xlsx/scripts/office/soffice.py130 if (sv[0] >= 0 && sv[0] < 1024) {
HIGHresources/example-skills/xlsx/scripts/office/soffice.py149 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/xlsx/scripts/office/soffice.py158 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/xlsx/scripts/office/soffice.py172 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {
HIGHresources/example-skills/pptx/scripts/office/soffice.py130 if (sv[0] >= 0 && sv[0] < 1024) {
HIGHresources/example-skills/pptx/scripts/office/soffice.py149 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/pptx/scripts/office/soffice.py158 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/pptx/scripts/office/soffice.py172 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {
HIGHresources/example-skills/docx/scripts/office/soffice.py130 if (sv[0] >= 0 && sv[0] < 1024) {
HIGHresources/example-skills/docx/scripts/office/soffice.py149 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/docx/scripts/office/soffice.py158 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
HIGHresources/example-skills/docx/scripts/office/soffice.py172 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {
Self-Referential Comments16 hits · 47 pts
SeverityFileLineSnippet
MEDIUMbackend/app/agent/toolkit/terminal_toolkit.py171 # Create the cloned venv directory
MEDIUMbackend/app/agent/toolkit/terminal_toolkit.py305 # Create the coroutine
MEDIUMbackend/app/agent/toolkit/notion_mcp_toolkit.py99 # Create a fresh toolkit instance for each retry
MEDIUMbackend/app/agent/toolkit/hybrid_browser_toolkit.py377 # Create a new connection
MEDIUMbackend/tests/app/component/test_environment.py111 # Create a symlink pointing outside base_dir
MEDIUMbackend/tests/app/utils/test_single_agent_worker.py350 # Create main task and dependencies
MEDIUMbackend/tests/app/agent/test_listen_chat_agent.py232 # Create a mock tool and add it to _internal_tools
MEDIUMbackend/tests/app/agent/test_listen_chat_agent.py282 # Create a mock tool and add it to _internal_tools
MEDIUMbackend/tests/app/agent/factory/test_browser.py56 # Create a proper terminal toolkit mock
MEDIUMbackend/tests/app/service/test_task.py492 # Create a task lock with old last_accessed time
MEDIUMbackend/tests/app/service/test_task.py496 # Create a fresh task lock
MEDIUMbackend/tests/app/service/test_task.py524 # Create a stale task lock
MEDIUMbackend/tests/app/service/test_chat_service.py117 # Create a subdirectory with files
MEDIUMbackend/tests/app/service/test_chat_service.py1029 # Create a test file
MEDIUM.github/workflows/build-view.yml313 # Create a version using timestamp for test builds
MEDIUM.github/workflows/pre-build-view.yml318 # Create a version using timestamp for test builds
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippet
HIGH…pp/domains/trigger/service/trigger_schedule_service.py99 Calculate the next run time for a trigger based on its cron expression. Args: trig
HIGHserver/app/model/trigger/app_configs/base_config.py159 Check if all activation requirements are met for this trigger. Args: user_id: The
HIGHserver/app/model/trigger/app_configs/config_registry.py83 Validate config data against the registered config class. Args: trigger_type: The trigger type to
HIGHserver/app/model/chat/chat_share.py63 Verify token and return task_id Args: token: The token to verify check_expirat
HIGHbackend/app/component/model_validation.py209Create an agent for model validation. Args: model_platform: The model platform model_type: The mode
HIGHbackend/app/utils/file_utils.py123Resolve path and verify it stays under base. Raises if it escapes. Args: path (str): Path to resolve (relat
HIGHbackend/app/utils/file_utils.py157 Normalize and validate a working directory path using pathlib. Requires a non-empty path; raises ValueError if
HIGHbackend/app/agent/listen_chat_agent.py171Generator that wraps a streaming response. Sends chunks to frontend. Args: response_gen: T
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippet
MEDIUMbackend/app/utils/file_utils.py15"""File system utilities with robust path handling and edge-case safety."""
MEDIUMbackend/app/service/chat_service.py2352 r"""Format a comprehensive agent description including name, tools, and
MEDIUMsrc/store/chatStore.ts2771 // Clean up AbortController on error with robust error handling
MEDIUMsrc/store/chatStore.ts2797 // Clean up AbortController when connection closes with robust error handling
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/codeql.yml58 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/components/ui/input.stories.tsx177 <Input title="Full Name" placeholder="John Doe" required />
LOWsrc/components/ui/dialog.stories.tsx476 await userEvent.type(nameInput, 'John Doe');
LOWsrc/components/ui/dialog.stories.tsx480 await expect(nameInput).toHaveValue('John Doe');
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWbackend/tests/app/service/test_chat_service.py120 (sub_dir / "helper.py").write_text("def helper(): pass")