Repository Analysis

strukto-ai/mirage

The World's First Unified Virtual Filesystem For AI Agents

24.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of strukto-ai/mirage, a TypeScript project with 3,579 GitHub stars. SynthScan v2.0 examined 1,115,454 lines of code across 8710 source files, recording 20811 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 24.0 places this repository in the Moderate 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).

24.0
Adjusted Score
24.0
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.6K
Stars
TypeScript
Language
1.1M
Lines of Code
8.7K
Files
20.8K
Pattern Hits
2026-08-29
Scan Date
0.07
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 0HIGH 623MEDIUM 617LOW 19571

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

Hyper-Verbose Identifiers10730 hits · 12204 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_types_fingerprint.py18def test_file_stat_has_fingerprint_field():CODE
LOWpython/tests/test_types_fingerprint.py26def test_file_stat_fingerprint_defaults_none():CODE
LOWpython/tests/test_lua_parity.py27def test_every_lua_script_exists_in_both_languages():CODE
LOWpython/tests/test_lua_parity.py39def test_lua_basenames_are_unique_within_each_tree():CODE
LOWpython/tests/test_lua_parity.py51def test_each_lua_pair_is_byte_identical():CODE
LOWpython/tests/test_filestat_split.py10def test_content_is_rejected_on_a_non_file_kind(kind):CODE
LOWpython/tests/test_sdk.py23def test_blessed_surface_is_stable():CODE
LOWpython/tests/test_tests_mirror_sources.py81def test_tests_declare_no_packages():CODE
LOWpython/tests/test_tests_mirror_sources.py96def test_every_test_directory_mirrors_a_source_package():CODE
LOWpython/tests/test_tests_mirror_sources.py108def test_no_stale_directory_exemption():CODE
LOWpython/tests/test_tests_mirror_sources.py120def test_module_mirror_coverage_holds_the_baseline():CODE
LOWpython/tests/test_dry_run_types.py62def test_dry_run_result_serialization():CODE
LOWpython/tests/test_nested_functions_are_closures.py84def test_nested_functions_capture_enclosing_state():CODE
LOWpython/tests/test_path_prefix_boundary.py57def test_mount_prefix_round_trips(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py65def test_a_child_is_under_its_mount(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py71def test_a_lookalike_sibling_is_not_under_the_mount(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py79def test_event_helpers_lift_onto_the_mount(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py106def test_evictions_that_drop_a_listing_reach_the_real_key(mount, child, kind):CODE
LOWpython/tests/test_path_prefix_boundary.py124def test_a_write_drops_the_parent_listing_at_the_real_key(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py139def test_a_subtree_eviction_reaches_nested_listings(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py151def test_the_watcher_frames_a_lookalike_child_correctly(mount, child):CODE
LOWpython/tests/test_types.py35def test_aggr_none_inputs_is_none():CODE
LOWpython/tests/test_types.py40def test_aggr_keeps_single_limit():CODE
LOWpython/tests/test_types.py47def test_aggr_takes_smallest_positive_timeout():CODE
LOWpython/tests/test_types.py55def test_aggr_nonpositive_timeout_is_unbounded():CODE
LOWpython/tests/test_types.py62def test_aggr_takes_smallest_caps():CODE
LOWpython/tests/test_types.py70def test_aggr_error_beats_truncate():CODE
LOWpython/tests/test_types.py77def test_aggr_all_truncate_stays_truncate():CODE
LOWpython/tests/test_types.py84def test_every_field_declares_an_aggr_rule():CODE
LOWpython/tests/test_types.py91def test_pathspec_requires_resource_path():CODE
LOWpython/tests/test_types.py96def test_pathspec_raw_path_kept_when_given():CODE
LOWpython/tests/test_types.py104def test_pathspec_raw_path_defaults_to_virtual():CODE
LOWpython/tests/test_types.py111def test_word_text_passes_strings_through():CODE
LOWpython/tests/test_types.py115def test_word_text_renders_paths_as_typed():CODE
LOWpython/tests/test_types.py123def test_pathspec_dir_trims_resource_path():CODE
LOWpython/tests/test_types.py134def test_pathspec_dir_at_mount_root():CODE
LOWpython/tests/test_types.py141def test_pathspec_from_str_path_defaults_to_root_mounted():CODE
LOWpython/tests/test_types.py147def test_pathspec_from_str_path_explicit_resource_path():CODE
LOWpython/tests/test_types.py152def test_parse_mount_mode_words_and_aliases():CODE
LOWpython/tests/test_types.py160def test_parse_mount_mode_rejects_bit_style_forms():CODE
LOWpython/tests/provision/test_provision_types.py18def test_plan_result_defaults():CODE
LOWpython/tests/provision/test_provision_types.py25def test_plan_result_network_read_range():CODE
LOWpython/tests/provision/test_provision_types.py30def test_plan_result_network_read_exact():CODE
LOWpython/tests/provision/test_provision_types.py41def test_scaled_multiplies_cost():CODE
LOWpython/tests/provision/test_rollup.py35def test_rollup_pipe_unknown_cascades():CODE
LOWpython/tests/provision/test_rollup.py45def test_rollup_list_and_sums():CODE
LOWpython/tests/provision/test_rollup.py54def test_rollup_list_or_uses_range():CODE
LOWpython/tests/context/test_session_context.py50def test_no_session_is_unrestricted():CODE
LOWpython/tests/context/test_session_context.py56def test_unrestricted_session_keeps_mount_mode():CODE
LOWpython/tests/context/test_session_context.py64def test_a_role_narrows_the_mount_mode(bound_session):CODE
LOWpython/tests/context/test_session_context.py69def test_a_role_cannot_widen_the_mount_mode(bound_session):CODE
LOWpython/tests/context/test_session_context.py74def test_prefix_normalization(bound_session):CODE
LOWpython/tests/context/test_session_context.py78def test_a_mount_the_role_does_not_name_keeps_its_own_mode(bound_session):CODE
LOWpython/tests/context/test_session_context.py87def test_ownership_gates_the_binding():CODE
LOWpython/tests/context/test_session_context.py101def test_a_nested_binding_keeps_the_owner():CODE
LOWpython/tests/context/test_session_context.py115def test_an_unowned_binding_answers_nobody():CODE
LOWpython/tests/context/test_session_context.py124def test_a_roles_hides_reach_the_predicate_as_paths_and_patterns():CODE
LOWpython/tests/context/test_session_context.py145def test_the_explicit_session_predicate_answers_without_a_binding():CODE
LOWpython/tests/context/test_session_context.py167def test_a_hide_activates_the_gate_and_a_role_without_one_does_not():CODE
LOWpython/tests/context/test_session_context.py201def test_the_admission_binding_is_scoped_to_one_command():CODE
10670 more matches not shown…
Over-Commented Block6962 hits · 6914 pts
SeverityFileLineSnippetContext
LOWlicenses/license_template_py.txt1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWlicenses/license_template_ts.txt1// ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWlicenses/update_license.js1// ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_types_fingerprint.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/conftest.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_lua_parity.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_sdk.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_tests_mirror_sources.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_tests_mirror_sources.py41 "conformance":COMMENT
LOWpython/tests/test_dry_run_types.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_nested_functions_are_closures.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_types.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/provision/test_provision_types.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/provision/test_rollup.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/context/test_session_context.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/test_timeutil.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/langfuse/test_scope.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/langfuse/test_stat.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/langfuse/test_read.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/langfuse/test_readdir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_stat_directory.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_index_metadata.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_rename_directory.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_same_key_guard.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_find.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_readdir_paths.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_write.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_stat_fingerprint.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_rmdir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/s3/test_readdir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_find.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_stat.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_walk.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_client.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_path.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/chroma/test_readdir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/conftest.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_search.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_stat.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_write.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_api.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_read.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_client.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/test_readdir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/du/test_size.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/box/du/test_entries.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_streams.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/conftest.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_guilds.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_members.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_entry.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_post.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_search.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_scope.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_channels.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_stat.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_files.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_threads.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_read.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/core/discord/test_client.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
6902 more matches not shown…
Cross-Language Confusion472 hits · 3053 pts
SeverityFileLineSnippetContext
HIGHpython/tests/core/render/test_json.py47 '"meta":{"n":1,"ok":true,"none":null},"empty":{}}')CODE
HIGHpython/tests/shell/test_quoting_coverage.py500 ('x=abc; [[ $x == "a*"* ]] && echo hit || echo miss', b"miss\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py501 ("x='a*c'; [[ $x == \"a*\"* ]] && echo hit || echo miss", b"hit\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py502 ('x=aXb; [[ $x == "a"*"b" ]] && echo hit || echo miss', b"hit\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py503 ('x=ab; [[ $x == "a*" ]] && echo hit || echo miss', b"miss\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py504 ('x=ab; [[ $x == a* ]] && echo hit || echo miss', b"hit\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py505 ('x=ab; [[ $x != "a*" ]] && echo hit || echo miss', b"hit\n"),CODE
HIGHpython/tests/shell/test_quoting_coverage.py506 ("x=$'a\\tb'; [[ $x == $'a\\tb' ]] && echo hit || echo miss",CODE
HIGHpython/tests/shell/test_quoting_coverage.py508 ('[[ abc < abd ]] && echo hit || echo miss', b"hit\n"),CODE
HIGHpython/tests/shell/test_node_kind.py28 NodeKind.LIST: "true && false",CODE
HIGHpython/tests/shell/test_set_e.py27 out = shell.mirage("set -e; false || echo recovered; echo done")CODE
HIGHpython/tests/shell/test_set_e.py32 out = shell.mirage("set -e; false && echo skipped; echo done")CODE
HIGHpython/tests/shell/test_set_e.py64 out = shell.mirage("set -e; true && false; echo unreached")CODE
HIGHpython/tests/shell/test_set_e.py69 out = shell.mirage("set -e; false || false; echo unreached")CODE
HIGHpython/tests/shell/test_arith.py69 assert evaluate_arith("3 && 4", {}).value == 1CODE
HIGHpython/tests/shell/test_parse.py74 node = parse("cmd1 && cmd2").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py81 node = parse("cmd1 || cmd2").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py98 node = parse("a || echo x > /out.txt").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py107 node = parse("a && echo x > /out.txt").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py246 node = parse("cmd1 && cmd2 || cmd3").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py246 node = parse("cmd1 && cmd2 || cmd3").named_children[0]CODE
HIGHpython/tests/shell/test_parse.py92 """tree-sitter parses 'a || echo x > file' with > on the list.STRING
HIGHpython/tests/shell/test_parse.py106 """tree-sitter hoists > from 'a && echo x > file'."""STRING
HIGHpython/tests/shell/test_operators.py22 assert shell.mirage("true && echo yes") == shell.native("true && echo yes")CODE
HIGHpython/tests/shell/test_operators.py26 assert shell.mirage("false && echo yes") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py27 "false && echo yes")CODE
HIGHpython/tests/shell/test_operators.py31 assert shell.mirage("true || echo fallback") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py32 "true || echo fallback")CODE
HIGHpython/tests/shell/test_operators.py36 assert shell.mirage("false || echo fallback") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py37 "false || echo fallback")CODE
HIGHpython/tests/shell/test_operators.py41 assert shell.mirage("true && echo a || echo b") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py41 assert shell.mirage("true && echo a || echo b") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py42 "true && echo a || echo b")CODE
HIGHpython/tests/shell/test_operators.py42 "true && echo a || echo b")CODE
HIGHpython/tests/shell/test_operators.py46 assert shell.mirage("false && echo a || echo b") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py46 assert shell.mirage("false && echo a || echo b") == shell.native(CODE
HIGHpython/tests/shell/test_operators.py47 "false && echo a || echo b")CODE
HIGHpython/tests/shell/test_operators.py47 "false && echo a || echo b")CODE
HIGHpython/tests/shell/test_operators.py64 cmd = "true && true && echo all_true"CODE
HIGHpython/tests/shell/test_operators.py69 cmd = "false || false || echo last_resort"CODE
HIGHpython/tests/shell/test_operators.py74 cmd = "echo a; false && echo b; echo c"CODE
HIGHpython/tests/shell/test_operators.py85 m = shell.mirage("grep hello /data/f.txt && echo found")CODE
HIGHpython/tests/shell/test_operators.py86 n = shell.native("grep hello f.txt && echo found")CODE
HIGHpython/tests/shell/test_operators.py92 m = shell.mirage("grep nope /data/f.txt || echo missing")CODE
HIGHpython/tests/shell/test_operators.py93 n = shell.native("grep nope f.txt || echo missing")CODE
HIGHpython/tests/shell/test_barrier.py34 cmd_m = "grep -q hello /data/f.txt && echo yes"CODE
HIGHpython/tests/shell/test_barrier.py35 cmd_n = "grep -q hello f.txt && echo yes"CODE
HIGHpython/tests/shell/test_barrier.py41 cmd_m = "grep -q missing /data/f.txt && echo yes"CODE
HIGHpython/tests/shell/test_barrier.py42 cmd_n = "grep -q missing f.txt && echo yes"CODE
HIGHpython/tests/shell/test_barrier.py48 cmd_m = "grep -q missing /data/f.txt || echo fallback"CODE
HIGHpython/tests/shell/test_barrier.py49 cmd_n = "grep -q missing f.txt || echo fallback"CODE
HIGHpython/tests/shell/test_barrier.py77 cmd = "echo a && echo b"CODE
HIGHpython/tests/shell/test_barrier.py82 cmd = "echo a || echo b"CODE
HIGHpython/tests/shell/test_barrier.py87 assert shell.mirage_exit("false && echo yes") == shell.native_exit(CODE
HIGHpython/tests/shell/test_barrier.py88 "false && echo yes")CODE
HIGHpython/tests/shell/test_barrier.py92 assert shell.mirage_exit("true || echo no") == shell.native_exit(CODE
HIGHpython/tests/shell/test_barrier.py93 "true || echo no")CODE
HIGHpython/tests/shell/test_brace_expansion.py96 out = shell.mirage("touch bf{1..3}.txt && ls")CODE
HIGHpython/tests/shell/test_dev.py27 cmd = "cat /data/nope.txt 2>/dev/null || echo recovered"CODE
HIGHpython/tests/shell/test_dev.py32 cmd = ("if cat /data/nope.txt 2>/dev/null; "CODE
412 more matches not shown…
Decorative Section Separators600 hits · 1917 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/cache/file/test_io.py165# ── cache invalidation ──────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/cache/file/test_io.py177# ── edge cases ───────────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/cache/file/test_io.py41# ── cache population via apply_io ────────────────────────────────────────COMMENT
MEDIUMpython/tests/cache/file/test_io.py93# ── backend fingerprint threading ───────────────────────────────────────COMMENT
MEDIUMpython/tests/cache/file/test_io.py195# ── background drain ────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/cache/file/test_io.py238# ── max_drain_bytes (cancellable cache drain) ───────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py60# ── paths with spaces ──────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py87# ── paths with special chars ───────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py97# ── unicode in paths ───────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py113# ── env vars in paths ──────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py139# ── command substitution in args ──────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py156# ── escaping ───────────────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py181# ── unquoted backslash escapes (POSIX §2.2.1) ──────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py219# ── edge cases ─────────────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py652# ── quoted globs stay literal ──────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py731# ── quoting is per character, not per word ─────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py258# ── whitespace between expansions inside double quotes ─────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py295# ── adjacent backtick substitutions ────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py331# ── ANSI-C quoting $'...' and locale quoting $"..." ────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py534# ── a bare $ is a literal word ─────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py554# ── a quoted "$@" splices into the word around it ──────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py619# ── literal backslashes survive classification ─────────────COMMENT
MEDIUMpython/tests/shell/test_parse.py267# ── `((` reparse: subshell that immediately opens a subshell ────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py326# ── expansion nodes ──────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py394# ── quotes and escapes ──────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py453# ── multi-statement bodies ─────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py510# ── redirect target types ──────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py642# ── python command parsing ─────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py286# ── negated command ──────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py296# ── heredoc ──────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py308# ── process substitution ─────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py364# ── edge cases ───────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py39# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py41# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py115# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py117# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py196# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py198# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py63# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py65# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py67# ── rm ─────────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py215# ── touch ─────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py239# ── ln ────────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py317# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py319# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py478# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py482# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py38# ── fixtures ──────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py153# ── mv ─────────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py179# ── mkdir ──────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py281# ── nested mount as a target ──────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py462# ── ls / unchanged ────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_symlinks.py873# ── POSIX pathname resolution ────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py97# ── simple expansion $VAR ───────────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py143# ── brace expansion ${VAR} ─────────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py166# ── command substitution $(cmd) ─────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py202# ── arithmetic expansion $((expr)) ──────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py217# ── concatenation $VAR/file.txt ─────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py227# ── string "hello $VAR" ────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_expand.py243# ── raw string 'no expansion' ──────────────────COMMENT
540 more matches not shown…
Unused Imports1115 hits · 1045 pts
SeverityFileLineSnippetContext
LOWpython/tests/commands/builtin/chroma/conftest.py15CODE
LOWpython/tests/commands/builtin/chroma/conftest.py15CODE
LOWpython/tests/commands/builtin/chroma/conftest.py15CODE
LOWpython/tests/commands/builtin/chroma/conftest.py15CODE
LOWpython/tests/commands/builtin/chroma/conftest.py15CODE
LOW…n/tests/commands/builtin/databricks_volume/conftest.py20CODE
LOW…n/tests/commands/builtin/databricks_volume/conftest.py20CODE
LOWpython/tests/commands/builtin/github/conftest.py18CODE
LOWpython/tests/commands/builtin/hf_buckets/conftest.py15CODE
LOWpython/mirage/sdk.py15CODE
LOWpython/mirage/sdk.py16CODE
LOWpython/mirage/sdk.py16CODE
LOWpython/mirage/sdk.py16CODE
LOWpython/mirage/sdk.py17CODE
LOWpython/mirage/sdk.py17CODE
LOWpython/mirage/sdk.py19CODE
LOWpython/mirage/sdk.py20CODE
LOWpython/mirage/sdk.py21CODE
LOWpython/mirage/sdk.py21CODE
LOWpython/mirage/sdk.py21CODE
LOWpython/mirage/sdk.py21CODE
LOWpython/mirage/sdk.py21CODE
LOWpython/mirage/sdk.py22CODE
LOWpython/mirage/sdk.py23CODE
LOWpython/mirage/sdk.py23CODE
LOWpython/mirage/sdk.py24CODE
LOWpython/mirage/sdk.py24CODE
LOWpython/mirage/sdk.py25CODE
LOWpython/mirage/sdk.py26CODE
LOWpython/mirage/sdk.py27CODE
LOWpython/mirage/sdk.py27CODE
LOWpython/mirage/sdk.py27CODE
LOWpython/mirage/sdk.py29CODE
LOWpython/mirage/sdk.py29CODE
LOWpython/mirage/sdk.py30CODE
LOWpython/mirage/sdk.py30CODE
LOWpython/mirage/__init__.py16CODE
LOWpython/mirage/__init__.py17CODE
LOWpython/mirage/__init__.py18CODE
LOWpython/mirage/__init__.py19CODE
LOWpython/mirage/__init__.py19CODE
LOWpython/mirage/__init__.py19CODE
LOWpython/mirage/__init__.py20CODE
LOWpython/mirage/__init__.py20CODE
LOWpython/mirage/__init__.py21CODE
LOWpython/mirage/__init__.py21CODE
LOWpython/mirage/__init__.py21CODE
LOWpython/mirage/__init__.py22CODE
LOWpython/mirage/__init__.py22CODE
LOWpython/mirage/__init__.py22CODE
LOWpython/mirage/__init__.py22CODE
LOWpython/mirage/__init__.py23CODE
LOWpython/mirage/__init__.py23CODE
LOWpython/mirage/__init__.py23CODE
LOWpython/mirage/__init__.py24CODE
LOWpython/mirage/__init__.py25CODE
LOWpython/mirage/__init__.py26CODE
LOWpython/mirage/__init__.py27CODE
LOWpython/mirage/__init__.py27CODE
LOWpython/mirage/__init__.py27CODE
1055 more matches not shown…
Modern Structural Boilerplate381 hits · 382 pts
SeverityFileLineSnippetContext
LOWpython/tests/workspace/test_find_unknown_predicate.py16async def _setup(ws: Workspace) -> None:CODE
LOW…/tests/workspace/executor/test_find_action_dispatch.py43async def _setup_html_files(ws: Workspace) -> None:CODE
LOWpython/tests/commands/builtin/chroma/conftest.py19__all__ = [CODE
LOW…n/tests/commands/builtin/databricks_volume/conftest.py25__all__ = [CODE
LOWpython/tests/commands/builtin/github/conftest.py20__all__ = ["github_config", "mock_github_api"]CODE
LOWpython/tests/commands/builtin/hf_buckets/conftest.py17__all__ = ["make_acc"]CODE
LOWpython/mirage/sdk.py32__all__ = [CODE
LOWpython/mirage/__init__.py30__all__ = [CODE
LOWpython/mirage/provision/__init__.py19__all__ = [CODE
LOWpython/mirage/context/__init__.py27__all__ = [CODE
LOWpython/mirage/core/nextcloud/find.py18logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/nextcloud/readdir.py15logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/nextcloud/du/__init__.py19__all__ = ["entries", "size", "stat_or_null"]CODE
LOWpython/mirage/core/nextcloud/du/entries.py24logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/nextcloud/search/client.py18logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/nextcloud/search/__init__.py6__all__ = [CODE
LOWpython/mirage/core/opendal/__init__.py18__all__ = ["OperatorAccessor", "OpendalWalk", "build_delta_hook"]CODE
LOWpython/mirage/core/s3/__init__.py33__all__ = [CODE
LOWpython/mirage/core/s3/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/chroma/__init__.py1__all__ = []CODE
LOWpython/mirage/core/box/stat.py30logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/box/search.py26logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/box/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/discord/readdir.py36logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/object_store/readdir.py26logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/redis/__init__.py35__all__ = [CODE
LOWpython/mirage/core/redis/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/redis/watch/__init__.py17__all__ = ["RedisEventHook"]CODE
LOWpython/mirage/core/onedrive/client.py34__all__ = [CODE
LOWpython/mirage/core/onedrive/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/linear/__init__.py15__all__ = []CODE
LOWpython/mirage/core/gcal/client.py22__all__ = [CODE
LOWpython/mirage/core/gcal/day.py22logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/gdrive/resolve.py31logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/gdrive/readdir.py27logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/gdrive/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/databricks_volume/readdir.py31logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/postgres/client.py22__all__ = ["canonicalize_row", "canonicalize_value"]CODE
LOWpython/mirage/core/ssh/readdir.py29logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/ssh/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/github/stat.py25logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/github/search.py24logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/gridfs/__init__.py33__all__ = [CODE
LOWpython/mirage/core/gridfs/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/history/__init__.py21__all__ = [CODE
LOWpython/mirage/core/sharepoint/client.py15__all__ = [CODE
LOWpython/mirage/core/sharepoint/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/gsheets/client.py23__all__ = [CODE
LOWpython/mirage/core/qdrant/query.py25logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/qdrant/readdir.py34logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/hf_buckets/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/dropbox/stat.py29logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/dropbox/search.py25logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/dropbox/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/api/client.py32logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/disk/__init__.py33__all__ = [CODE
LOWpython/mirage/core/disk/du/__init__.py18__all__ = ["entries", "size"]CODE
LOWpython/mirage/core/disk/watch/__init__.py18__all__ = ["DiskEventHook", "DiskWalk", "build_delta_hook"]CODE
LOWpython/mirage/core/slack/readdir.py32logger = logging.getLogger(__name__)CODE
LOWpython/mirage/core/slack/readdir.py286__all__ = ["readdir", "VIRTUAL_ROOTS"]CODE
321 more matches not shown…
Cross-File Repetition65 hits · 325 pts
SeverityFileLineSnippetContext
HIGHpython/tests/core/gsheets/test_readdir.py0drive reporting a corpus it skipped means the listing is short. caching it would pin the short listing until it expires,STRING
HIGHpython/tests/core/gdocs/test_readdir.py0drive reporting a corpus it skipped means the listing is short. caching it would pin the short listing until it expires,STRING
HIGHpython/tests/core/gslides/test_readdir.py0drive reporting a corpus it skipped means the listing is short. caching it would pin the short listing until it expires,STRING
HIGHpython/tests/accessor/test_hf_models.py0the hub resolves a bare name against whoever the token belongs to, and the real cli relies on it: `hf repo create widgetSTRING
HIGHpython/tests/accessor/test_hf_spaces.py0the hub resolves a bare name against whoever the token belongs to, and the real cli relies on it: `hf repo create widgetSTRING
HIGHpython/tests/accessor/test_hf_datasets.py0the hub resolves a bare name against whoever the token belongs to, and the real cli relies on it: `hf repo create widgetSTRING
HIGHpython/tests/workspace/test_state_doors.py0ram resource with the native setattr op stripped, standing in for an api backend that has no attribute slot.STRING
HIGHpython/tests/workspace/mount/namespace/test_redis.py0ram resource with the native setattr op stripped, standing in for an api backend that has no attribute slot.STRING
HIGH…/workspace/executor/builtins/metadata/test_metadata.py0ram resource with the native setattr op stripped, standing in for an api backend that has no attribute slot.STRING
HIGH…sts/workspace/executor/builtins/metadata/test_chgrp.py0ram resource with the native setattr op stripped, standing in for an api backend that has no attribute slot.STRING
HIGH…sts/workspace/executor/builtins/metadata/test_chmod.py0ram resource with the native setattr op stripped, standing in for an api backend that has no attribute slot.STRING
HIGHpython/tests/workspace/session/test_redis.py0read-modify-cas one counter, retrying until each round lands.STRING
HIGHpython/tests/workspace/session/test_disk.py0read-modify-cas one counter, retrying until each round lands.STRING
HIGHpython/tests/workspace/session/test_s3.py0read-modify-cas one counter, retrying until each round lands.STRING
HIGHpython/tests/commands/cli/builtin/git/test_add.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/cli/builtin/git/test_status.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/cli/builtin/git/test_reset.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/cli/builtin/git/test_commit.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/cli/builtin/git/test_branch.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/cli/builtin/git/test_checkout.py0run one git line against the mounted repository. args: ws (workspace): workspace with the repository and cli. line (str)STRING
HIGHpython/tests/commands/builtin/redis/test_du.py0gnu du with no operand summarises '.', dot-spelled; no error.STRING
HIGHpython/tests/commands/builtin/disk/test_du.py0gnu du with no operand summarises '.', dot-spelled; no error.STRING
HIGHpython/tests/commands/builtin/ram/test_du.py0gnu du with no operand summarises '.', dot-spelled; no error.STRING
HIGHpython/mirage/core/opendal/watch.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/s3/watch.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/ssh/watch.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/gridfs/watch.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/dropbox/watch.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/disk/watch/walk.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/watch/walk.py0yield every entry under ``root``. args: root (pathspec): watch root (mount-virtual path).STRING
HIGHpython/mirage/core/redis/du/entries.py0per-file sizes under a path plus their total. paths are mount-relative and leaf files only; the caller lifts them onto vSTRING
HIGHpython/mirage/core/disk/du/entries.py0per-file sizes under a path plus their total. paths are mount-relative and leaf files only; the caller lifts them onto vSTRING
HIGHpython/mirage/core/ram/du/entries.py0per-file sizes under a path plus their total. paths are mount-relative and leaf files only; the caller lifts them onto vSTRING
HIGHpython/mirage/ops/gcal/read.py0read the rendered document, optionally only a byte range of it. a backend that registers its own read op does not go thrSTRING
HIGHpython/mirage/ops/gsheets/read.py0read the rendered document, optionally only a byte range of it. a backend that registers its own read op does not go thrSTRING
HIGHpython/mirage/ops/gdocs/read.py0read the rendered document, optionally only a byte range of it. a backend that registers its own read op does not go thrSTRING
HIGHpython/mirage/ops/gslides/read.py0read the rendered document, optionally only a byte range of it. a backend that registers its own read op does not go thrSTRING
HIGHpython/mirage/commands/cli/builtin/git/show.py0read the raw awk flag kwargs into a frozen struct. args: fl (flagview): spec-validated view over the raw flag kwargs.STRING
HIGHpython/mirage/commands/cli/builtin/git/add.py0read the raw awk flag kwargs into a frozen struct. args: fl (flagview): spec-validated view over the raw flag kwargs.STRING
HIGHpython/mirage/commands/cli/builtin/git/history.py0read the raw awk flag kwargs into a frozen struct. args: fl (flagview): spec-validated view over the raw flag kwargs.STRING
HIGHpython/mirage/commands/builtin/generic/awk.py0read the raw awk flag kwargs into a frozen struct. args: fl (flagview): spec-validated view over the raw flag kwargs.STRING
HIGHpython/mirage/commands/builtin/generic/zgrep.py0convert the raw flag bag into grepflags, the only string-keyed reads. args: fl (flagview): spec-validated view over the STRING
HIGHpython/mirage/commands/builtin/generic/rg.py0convert the raw flag bag into grepflags, the only string-keyed reads. args: fl (flagview): spec-validated view over the STRING
HIGHpython/mirage/commands/builtin/generic/grep.py0convert the raw flag bag into grepflags, the only string-keyed reads. args: fl (flagview): spec-validated view over the STRING
HIGHpython/mirage/commands/builtin/generic/unexpand.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/fmt.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/rev.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/cut.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/nl.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/tac.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/strings.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/expand.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/commands/builtin/generic/zcat.py0run zcat over resolved operands; mirrors zcatgeneric. args: paths (list[pathspec]): glob-resolved operands, empty for stSTRING
HIGHpython/mirage/resource/aliyun/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/ceph/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/backblaze/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/digitalocean/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/wasabi/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/minio/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
HIGHpython/mirage/resource/qingstor/prompt.py0\ {prefix} remote scaleway object storage bucket (s3-compatible). important: this is a remote mount. prefer targeted reaSTRING
5 more matches not shown…
Docstring Block Structure48 hits · 240 pts
SeverityFileLineSnippetContext
HIGHpython/mirage/config.py104Replace ``${VAR}`` placeholders with values from ``env``. Args: value (Any): scalar, dict, or list to walk.STRING
HIGHpython/mirage/core/langfuse/client.py28Await a Langfuse fetch, translating a 404 into ENOENT. Every other status stays an ApiError: only "this resource doSTRING
HIGHpython/mirage/core/jaeger/client.py103Call the Jaeger query API and return the decoded body. Args: accessor (JaegerAccessor): jaeger accessor. STRING
HIGHpython/mirage/core/jaeger/client.py197Fetch one trace by id. Args: accessor (JaegerAccessor): jaeger accessor. trace_id (str): 16 or 32 hSTRING
HIGHpython/mirage/core/github/placeholder.py25One placeholder's expansion from the install. Args: name (str): the placeholder word, without braces. STRING
HIGHpython/mirage/core/github/placeholder.py48Expand gh's repository placeholders in an endpoint or field value. Real gh fills `{owner}`, `{repo}` and `{branch}`STRING
HIGHpython/mirage/core/github/client.py82One arbitrary API call, the shape `gh api` needs. A GET carries its fields in the query string and every other methSTRING
HIGHpython/mirage/core/github/repo.py95Split gh's `[HOST/]OWNER/REPO`. The host is optional and leading, so the owner and the repository are always thSTRING
HIGHpython/mirage/core/hf_hub/tree.py180Follow the cursor from one page to the last, folding as it goes. Args: accessor (HfHubAccessor): the mount'STRING
HIGHpython/mirage/core/hf_hub/tree.py216Every path under the mount's subtree, in one paged walk. ``recursive=true`` returns the whole subtree. Size, oid anSTRING
HIGHpython/mirage/core/hf_hub/client.py354Stream file content without holding it whole in memory. Not routed through ``api_request``: that reads the body to STRING
HIGHpython/mirage/core/hf_hub/commit.py177Apply one commit to the repository. Every addition is checked against the preupload endpoint first, and a file STRING
HIGHpython/mirage/core/hf_hub/stat.py71Stat one path in the repository. Args: accessor (HfHubAccessor): backend handle. path_spec (PathSpeSTRING
HIGHpython/mirage/core/hf_hub/readdir.py33List one directory of the repository. Args: accessor (HfHubAccessor): backend handle. path_spec (PaSTRING
HIGHpython/mirage/core/hf_hub/read.py33The tree row for a path, or the error that says why there is none. Shared by every content read so a file, a directSTRING
HIGHpython/mirage/shell/arith.py515Evaluate a bash arithmetic expression. Implements bash's arithmetic grammar over 64-bit wrapping integers: commSTRING
HIGH…thon/mirage/workspace/executor/builtins/unset/unset.py54Clear one array element, or a scalar addressed as ``base[0]``. Clearing an element keeps the indices of the elementSTRING
HIGH…on/mirage/workspace/executor/builtins/printf/printf.py35Assign ``value`` to a ``printf -v`` target (scalar or ``name[idx]``). A delegation to the one element writer: a barSTRING
HIGH…/mirage/workspace/executor/builtins/declare/declare.py71Store a declaration's array literals through the session door. The builtin owns the store; readonly is the shell's STRING
HIGHpython/mirage/workspace/executor/builtins/dirs/dirs.py121Resolve a combined ``cd`` path, following symlinks per mode. Logical (``-L``, default) simplifies ``..`` textually STRING
HIGH…irage/workspace/executor/builtins/metadata/metadata.py78Resolve touch -t/-d into an ISO timestamp. The -t stamp is the POSIX ``[[CC]YY]MMDDhhmm[.ss]`` form; strptime dSTRING
HIGHpython/mirage/workspace/session/elements.py88Assign one element (or a bare name resolved as element 0). The element mechanics are computed on a copy and the lanSTRING
HIGHpython/mirage/fuse/backend.py31Coerce a user-supplied backend name into a MountBackend. Missing means VFS, everywhere: an absent ``backend`` in YASTRING
HIGHpython/mirage/fuse/core.py327POSIX attributes for a path, optionally through an open handle. Args: path (str): mount path to staSTRING
HIGHpython/mirage/fuse/core.py377Entry names under a directory, including "." and "..". Args: path (str): mount path of the directorSTRING
HIGHpython/mirage/fuse/core.py479The stored target of a namespace link. Args: path (str): mount path to read. Returns: STRING
HIGHpython/mirage/fuse/core.py577Read an advisory extended attribute. Args: path (str): mount path the attribute belongs to. STRING
HIGHpython/mirage/fuse/core.py617Open a path, hydrating it when its size is unknown. Args: path (str): mount path to open. STRING
HIGHpython/mirage/runtime/vfs.py314The target of the symlink at `path`. Args: path (str): guest-absolute path of the link. ReSTRING
HIGHpython/mirage/runtime/script.py63Build the engine a config script runs on: the one the config named, and the config always names one. There is nSTRING
HIGHpython/mirage/agents/file_version.py122Read a file the agent is about to rewrite. Args: path (str): Virtual path. Returns: STRING
HIGHpython/mirage/agents/mcp/server.py172Run one tool call. Args: name (str): The tool being called. arguments (dict[str, Any]):STRING
HIGHpython/mirage/server/daemon_config.py66Read the ``[daemon]`` table from ``home/config.toml``. Args: home (Path): the ``.mirage`` base directory. TSTRING
HIGHpython/mirage/server/registry.py84Wrap ``workspace`` in a runner and register it. Args: workspace (Workspace): freshly-constructed woSTRING
HIGHpython/mirage/server/registry.py106Stop the runner for ``workspace_id`` and drop it. Args: workspace_id (str): id to remove. STRING
HIGHpython/mirage/server/workspace_config.py45Find the workspace config a command should load. An explicit path wins, then the first environment variable that isSTRING
HIGHpython/mirage/server/auth/config.py143Resolve daemon auth configuration from environment and config. Per key the environment variable wins over the ``[daSTRING
HIGHpython/mirage/server/auth/jwt.py30Verify a JWT against ``cfg`` and return its claims on success. Performs signature verification, algorithm pinning, STRING
HIGHpython/mirage/utils/path.py169Resolve symlink prefixes in ``path`` until stable. Repeatedly replaces the longest dict key that is a path-boundarySTRING
HIGHpython/mirage/cli/settings.py175Return the ``[daemon]`` table as written in the config file. Args: path (Path | None): config file. DefaultSTRING
HIGHpython/mirage/commands/cli/builtin/himalaya/deliver.py61APPEND a message to a mailbox, seen, the way upstream saves one. Args: config (EmailConfig): the account. STRING
HIGHpython/mirage/commands/cli/builtin/gh/accessor.py33The repository a line is about. The operand when it named one, the install's own otherwise. Real gh resolves thSTRING
HIGHpython/mirage/commands/cli/builtin/hf/accessor.py28The repo kind a line names, defaulting the way upstream does. Args: fl (FlagView): the invocation's flags. STRING
HIGHpython/mirage/commands/cli/builtin/hf/upload.py36Read a workspace file, or every file under a workspace directory. Read through the op dispatcher rather than any fiSTRING
HIGHpython/mirage/commands/cli/builtin/hf/upload.py106The repo-relative directory an upload's third operand names. A Hub path is repo-relative with no leading slash and STRING
HIGHpython/mirage/resource/registry.py325Construct a resource instance by its registry name. Resolves resource and config classes lazily via importlib, so STRING
HIGHpython/mirage/resource/gcal/event_entry.py77Recover (event_id, hhmm) from an event filename. Splitting on the first ``__`` is safe because a Google event id isSTRING
HIGHpython/mirage/resource/gcal/event_entry.py125Recover the calendar id a directory name addresses. Args: name (str): the directory name as rendered. STRING
Cross-Language Confusion (JS/TS)38 hits · 225 pts
SeverityFileLineSnippetContext
HIGHtypescript/packages/core/src/runtime/python/wrapper.ts57elif _codeobj is not False:CODE
HIGHtypescript/packages/core/src/runtime/python/wrapper.ts70 elif isinstance(_code, bool):CODE
HIGHtypescript/packages/core/src/runtime/python/wrapper.ts72 elif isinstance(_code, int):CODE
HIGHtypescript/packages/core/src/runtime/python/wrapper.ts239 elif isinstance(_code, bool):CODE
HIGHtypescript/packages/core/src/runtime/python/wrapper.ts241 elif isinstance(_code, int):CODE
HIGH…ipt/packages/core/src/runtime/python/jsglobals.test.ts33print(",".join(flags))CODE
HIGHexamples/typescript/s3/s3_write.ts198 print(res.stdout)CODE
HIGHexamples/typescript/redis/redis.ts43 print(res.stdout)CODE
HIGHexamples/typescript/redis/redis.ts96 print(cpOut.stdout)CODE
HIGHexamples/typescript/redis/redis.ts101 print(mvOut.stdout)CODE
HIGHexamples/typescript/redis/redis.ts106 print(rmOut.stdout)CODE
HIGHexamples/typescript/redis/redis.ts115 print(uniqOut.stdout)CODE
HIGHexamples/typescript/pyodide/ram.ts32print(f'hello, {name}!')CODE
HIGHexamples/typescript/pyodide/ram.ts33print(f'args: {sys.argv[1:]}')CODE
HIGHexamples/typescript/pyodide/ram.ts34print(f'sum(1..10): {sum(range(1, 11))}')CODE
HIGHexamples/typescript/pyodide/ram.ts74 print(f'{user}: {n}')CODE
HIGHexamples/typescript/pyodide/ram.ts87print('script was replaced!')CODE
HIGHexamples/typescript/pyodide/script.ts28print(f"count: {len(records)}")CODE
HIGHexamples/typescript/pyodide/script.ts29print(f"keys: {sorted({k for r in records for k in r})}")CODE
HIGHexamples/typescript/pyodide/script.ts31 print(f" - {json.dumps(r)}")CODE
HIGHexamples/typescript/pyodide/vfs.ts85 print('read:', f.read())CODE
HIGHexamples/typescript/pyodide/vfs.ts88print('wrote /ram/out.txt')CODE
HIGHexamples/typescript/pyodide/vfs.ts101print('listdir:', os.listdir('/ram/synth/today'))CODE
HIGHexamples/typescript/pyodide/vfs.ts102print('read:', open('/ram/synth/today/note.md').read())CODE
HIGHexamples/typescript/pyodide/vfs.ts116 print('team:', team.get('name'), team.get('id'))CODE
HIGHexamples/typescript/pyodide/vfs.ts129 print('doc:', data.get('title') or list(data.keys())[:5])CODE
HIGHexamples/typescript/pyodide/vfs.ts140print('entries:', entries)CODE
HIGHexamples/typescript/pyodide/vfs.ts146 print(f'{p}:', data[:60])CODE
HIGHexamples/typescript/pyodide/vfs.ts160print('saved /ram/icon.png')CODE
HIGHexamples/typescript/pyodide/vfs.ts181print(f'wrote {len(out)} teams to /ram/summary.json')CODE
HIGHexamples/typescript/pyodide/basic.ts26 print(res.stdout)CODE
HIGHexamples/typescript/pyodide/basic.ts56 print(stdinRes.stdout)CODE
HIGHexamples/typescript/ram/ram.ts29 print(res.stdout)CODE
HIGHexamples/typescript/ram/ram.ts62 print(cpOut.stdout)CODE
HIGHexamples/typescript/ram/ram.ts67 print(mvOut.stdout)CODE
HIGHexamples/typescript/ram/ram.ts72 print(rmOut.stdout)CODE
HIGHexamples/typescript/ram/ram.ts81 print(uniqOut.stdout)CODE
HIGHexamples/typescript/ram/ram.ts105 print(mvMeta.stdout)CODE
Deep Nesting224 hits · 224 pts
SeverityFileLineSnippetContext
LOWpython/tests/core/nextcloud/conftest.py136CODE
LOWpython/tests/core/chroma/conftest.py21CODE
LOWpython/tests/core/box/test_stat.py125CODE
LOWpython/tests/core/onedrive/test_stat.py132CODE
LOWpython/tests/core/sharepoint/test_stat.py209CODE
LOWpython/tests/core/dropbox/test_stat.py85CODE
LOWpython/tests/core/dropbox/test_rename.py53CODE
LOWpython/tests/core/dropbox/test_rename.py77CODE
LOWpython/tests/core/dropbox/test_rmdir.py37CODE
LOWpython/tests/workspace/test_ungated_attr_writes.py61CODE
LOWpython/tests/workspace/dispatcher/test_dispatcher.py332CODE
LOWpython/tests/commands/test_no_object_annotations.py55CODE
LOWpython/tests/commands/test_no_dead_flag_params.py35CODE
LOWpython/tests/commands/native/test_cross_mount.py67CODE
LOWpython/tests/commands/cli/builtin/git/conftest.py75CODE
LOWpython/tests/commands/builtin/test_multifile_guard.py89CODE
LOWpython/tests/e2e/test_cross_mount_matrix.py101CODE
LOWpython/tests/e2e/test_cross_mount_matrix.py127CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py95CODE
LOWpython/mirage/core/nextcloud/search/query.py54CODE
LOWpython/mirage/core/nextcloud/search/query.py81CODE
LOWpython/mirage/core/chroma/grep.py102CODE
LOWpython/mirage/core/chroma/search.py55CODE
LOWpython/mirage/core/box/rename.py25CODE
LOWpython/mirage/core/box/mkdir.py39CODE
LOWpython/mirage/core/gcal/readdir.py209CODE
LOWpython/mirage/core/gdrive/mkdir.py27CODE
LOWpython/mirage/core/gdrive/readdir.py41CODE
LOWpython/mirage/core/msgraph/drive_ops.py309CODE
LOWpython/mirage/core/msgraph/drive_ops.py352CODE
LOWpython/mirage/core/disk/find.py34CODE
LOWpython/mirage/core/jq/eval.py33CODE
LOWpython/mirage/core/dify/tree.py113CODE
LOWpython/mirage/core/dify/tree.py171CODE
LOWpython/mirage/core/dify/search.py119CODE
LOWpython/mirage/core/gmail/messages.py123CODE
LOWpython/mirage/core/email/client.py154CODE
LOWpython/mirage/core/email/_parse.py51CODE
LOWpython/mirage/cache/file/io.py70CODE
LOWpython/mirage/shell/arith.py25CODE
LOWpython/mirage/shell/parse.py27CODE
LOWpython/mirage/shell/parse.py132CODE
LOWpython/mirage/shell/parse.py377CODE
LOWpython/mirage/shell/helpers.py40CODE
LOWpython/mirage/shell/helpers.py65CODE
LOWpython/mirage/shell/helpers.py229CODE
LOWpython/mirage/shell/helpers.py293CODE
LOWpython/mirage/shell/helpers.py377CODE
LOWpython/mirage/shell/helpers.py455CODE
LOWpython/mirage/shell/helpers.py497CODE
LOWpython/mirage/workspace/provision/command.py82CODE
LOWpython/mirage/workspace/snapshot/manifest.py156CODE
LOWpython/mirage/workspace/expand/brace.py107CODE
LOWpython/mirage/workspace/expand/brace.py129CODE
LOWpython/mirage/workspace/expand/globs.py463CODE
LOWpython/mirage/workspace/expand/variable.py271CODE
LOWpython/mirage/workspace/expand/variable.py408CODE
LOWpython/mirage/workspace/expand/variable.py692CODE
LOWpython/mirage/workspace/expand/redirects.py69CODE
LOWpython/mirage/workspace/expand/redirects.py136CODE
164 more matches not shown…
Excessive Try-Catch Wrapping88 hits · 92 pts
SeverityFileLineSnippetContext
LOWpython/tests/workspace/test_path_axis.py229 except Exception as exc:CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py78 except Exception:CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py117 except Exception:CODE
MEDIUMpython/tests/e2e/test_snapshot_drift_live.py75def _versioning_enabled() -> bool:CODE
LOWpython/mirage/core/s3/stream.py67 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py109 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py127 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py174 except Exception as exc:CODE
LOWpython/mirage/core/s3/read.py92 except Exception as exc:CODE
LOWpython/mirage/core/chroma/tree.py37 except Exception as exc:CODE
LOWpython/mirage/core/object_store/write.py43 except Exception as exc:CODE
LOWpython/mirage/core/gdrive/resolve.py185 except Exception:CODE
LOWpython/mirage/core/gdrive/readdir.py138 except Exception:CODE
LOWpython/mirage/core/databricks_volume/write.py39 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/write.py45 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/write.py81 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rmdir.py54 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rmdir.py62 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rm.py87 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stream.py70 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/mkdir.py56 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stat.py61 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stat.py98 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/unlink.py48 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/readdir.py46 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/readdir.py79 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/read.py100 except Exception as exc:CODE
LOWpython/mirage/core/github/search.py87 except Exception as exc:CODE
LOWpython/mirage/cache/file/io.py138 except Exception:CODE
LOWpython/mirage/shell/job_table/table.py93 except Exception as exc:CODE
LOWpython/mirage/accessor/pool.py152 except Exception as exc:CODE
LOWpython/mirage/accessor/pool.py179 except Exception as exc:CODE
LOWpython/mirage/workspace/runner.py120 except Exception:CODE
LOWpython/mirage/workspace/reconcile.py130 except Exception as exc:CODE
LOWpython/mirage/workspace/record/s3.py78 except Exception as exc:CODE
LOWpython/mirage/workspace/record/s3.py115 except Exception as exc:CODE
LOWpython/mirage/workspace/workspace/kernel_mounts.py72 except Exception:CODE
LOWpython/mirage/workspace/workspace/execute.py271 except Exception as exc:CODE
LOWpython/mirage/workspace/dispatcher/dispatcher.py503 except Exception as exc:CODE
LOWpython/mirage/workspace/dispatcher/dispatcher.py523 except Exception as exc:CODE
LOWpython/mirage/workspace/executor/command/run.py437 except Exception as exc:CODE
LOWpython/mirage/workspace/executor/command/cli.py371 except Exception as exc:CODE
LOWpython/mirage/workspace/node/program.py206 except Exception as exc:CODE
LOWpython/mirage/fuse/fs.py70 except Exception as err:CODE
LOWpython/mirage/io/stream.py103 except Exception as exc:CODE
LOWpython/mirage/runtime/python/monty/runtime.py299 except Exception as exc:CODE
LOWpython/mirage/agents/openhands/workspace.py191 except Exception as e:CODE
LOWpython/mirage/agents/openhands/workspace.py219 except Exception as e:CODE
LOWpython/mirage/server/registry.py134 except Exception:CODE
LOWpython/mirage/server/workspace_config.py101 except Exception:CODE
LOWpython/mirage/server/routers/workspaces.py76 except Exception:CODE
LOWpython/mirage/ops/file.py223 except Exception:CODE
MEDIUMpython/mirage/ops/file.py220def __del__(self) -> None:CODE
LOWpython/mirage/ops/generic/factory.py72 except Exception as exc:CODE
LOWpython/mirage/commands/cli/builtin/himalaya/deliver.py130 except Exception as exc:CODE
LOWpython/mirage/commands/builtin/generic_bind/adapter.py517 except Exception as listing:CODE
LOWpython/mirage/commands/builtin/generic_bind/adapter.py527 except Exception as cascade:CODE
LOWpython/mirage/commands/builtin/generic_bind/adapter.py1276 except Exception:CODE
LOWpython/mirage/commands/builtin/generic_bind/adapter.py1285 except Exception:CODE
LOWpython/mirage/commands/builtin/generic_bind/adapter.py1304 except Exception as exc:CODE
28 more matches not shown…
AI Structural Patterns53 hits · 52 pts
SeverityFileLineSnippetContext
LOWpython/tests/core/gdrive/conftest.py79CODE
LOWpython/tests/core/databricks_volume/conftest.py163CODE
LOW…s/resource/databricks_volume/test_databricks_volume.py165CODE
LOWpython/tests/e2e/gdrive_mock.py197CODE
LOWpython/mirage/core/nextcloud/find.py314CODE
LOWpython/mirage/core/chroma/grep.py13CODE
LOWpython/mirage/core/object_store/find.py29CODE
LOWpython/mirage/core/object_store/find.py63CODE
LOWpython/mirage/core/redis/find.py24CODE
LOWpython/mirage/core/onedrive/find.py34CODE
LOWpython/mirage/core/google/drive.py65CODE
LOWpython/mirage/core/gdrive/find.py24CODE
LOWpython/mirage/core/notion/find.py49CODE
LOWpython/mirage/core/msgraph/client.py121CODE
LOWpython/mirage/core/msgraph/drive_ops.py433CODE
LOWpython/mirage/core/ssh/find.py27CODE
LOWpython/mirage/core/github/find.py23CODE
LOWpython/mirage/core/history/find.py23CODE
LOWpython/mirage/core/sharepoint/find.py132CODE
LOWpython/mirage/core/api/client.py255CODE
LOWpython/mirage/core/disk/find.py34CODE
LOWpython/mirage/core/disk/find.py154CODE
LOWpython/mirage/core/generic/find.py160CODE
LOWpython/mirage/core/email/search.py50CODE
LOWpython/mirage/core/ram/find.py24CODE
LOWpython/mirage/workspace/workspace/workspace.py92CODE
LOWpython/mirage/workspace/workspace/workspace.py890CODE
LOWpython/mirage/workspace/workspace/workspace.py906CODE
LOWpython/mirage/workspace/workspace/workspace.py922CODE
LOW…on/mirage/workspace/executor/builtins/declare/local.py34CODE
LOW…/mirage/workspace/executor/builtins/declare/declare.py57CODE
LOWpython/mirage/io/types.py127CODE
LOWpython/mirage/server/app.py80CODE
LOWpython/mirage/commands/builtin/generic/tree.py245CODE
LOWpython/mirage/commands/builtin/generic/fmt.py91CODE
LOWpython/mirage/commands/builtin/generic/csplit.py36CODE
LOWpython/mirage/commands/builtin/generic/checksum.py263CODE
LOWpython/mirage/commands/builtin/generic/shuf.py22CODE
LOWpython/mirage/commands/builtin/generic/unzip.py77CODE
LOWpython/mirage/commands/builtin/generic/sort.py77CODE
LOWpython/mirage/commands/builtin/generic/ls.py390CODE
LOWpython/mirage/commands/builtin/generic/ls.py516CODE
LOWpython/mirage/commands/builtin/generic/ls.py659CODE
LOWpython/mirage/commands/builtin/generic/join.py134CODE
LOWpython/mirage/commands/builtin/generic/du.py596CODE
LOWpython/mirage/commands/builtin/generic/uniq.py172CODE
LOWpython/mirage/commands/builtin/generic/nl.py158CODE
LOWpython/mirage/commands/builtin/generic/split.py183CODE
LOWpython/mirage/commands/builtin/generic/find.py30CODE
LOWpython/mirage/commands/builtin/generic/find.py456CODE
LOWpython/mirage/commands/builtin/generic/xxd.py111CODE
LOWpython/mirage/commands/builtin/generic/tar/tar.py291CODE
LOWpython/mirage/resource/generic.py170CODE
AI Slop Vocabulary7 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/workspace/test_execute_options.py245# ── agent harness pattern ─────────────────────────────────────────COMMENT
MEDIUMpython/tests/commands/cli/builtin/ntn/test_api.py211 # The conformance harness closes stdin and every other line wouldCOMMENT
MEDIUMpython/tests/commands/cli/builtin/ntn/test_serde.py25# harness.COMMENT
MEDIUMpython/mirage/runtime/js/quickjs.py52# The one-shot eval harness: inputs bind as globals, the source runsCOMMENT
MEDIUMinteg/metadata.py18# scenarios the declarative harness cannot express: it can run commands andCOMMENT
MEDIUMinteg/metadata.py21# and namespace support in the harness, not another case file.COMMENT
MEDIUMexamples/python/runtimes/docker/docker_eval.py27# harness to its stock `python3 -`: the value comes back as JSONCOMMENT
Fake / Example Data14 hits · 14 pts
SeverityFileLineSnippetContext
LOWpython/tests/core/google/test_drive.py38 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/conftest.py212 manager._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/conftest.py225 manager._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_stat.py40 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_read.py49 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_readdir.py41 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdocs/test_read.py38 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gmail/test_send.py33 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gmail/test_labels.py32 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gmail/test_messages.py35 mgr._access_token = "fake-token"CODE
LOWpython/tests/commands/builtin/gdrive/test_sed.py44 mgr._access_token = "fake-token"CODE
LOWpython/tests/commands/builtin/gdrive/test_read.py40 mgr._access_token = "fake-token"CODE
LOW…/packages/node/src/runtime/sandbox/ssh/runtime.test.ts137 await writeFile(keyPath, 'fake-key')CODE
LOW…/packages/node/src/runtime/sandbox/ssh/runtime.test.ts146 privateKey: Buffer.from('fake-key'),CODE
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/io/test_sync_bridge.py32CODE
MEDIUM…hon/tests/commands/builtin/generic_bind/test_search.py163CODE
MEDIUMpython/tests/commands/builtin/utils/test_operands.py111CODE
MEDIUMpython/tests/commands/builtin/generic/test_tee.py238CODE
MEDIUMpython/tests/commands/builtin/generic/test_checksum.py115CODE
MEDIUMpython/mirage/io/stream.py166CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpython/tests/shell/test_parse.py183def test_function():CODE
LOWpython/tests/e2e/test_find_pipe_while.py23 "src/utils/helpers.py": b"def helper(): pass\n",CODE
LOWtypescript/packages/core/src/core/langfuse/client.ts137function getData(body: unknown): Record<string, unknown>[] {CODE
LOW…core/src/workspace/integration_find_pipe_while.test.ts22 'src/utils/helpers.py': 'def helper(): pass\n',CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMinteg/runners/python/adapters.py800 # Sync imaplib is fine here: this is test scaffolding runningCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/python/runtimes/daytona/create_sandbox.py15# Create a sandbox from the mirage-fuse snapshot, provision theCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtypescript/scripts/load-env.sh7# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/python/s3/s3.py246 # Read file to populate cache (cat declares cache, wc materializes)COMMENT