AI Slop Code Risk Monitor

strukto-ai/mirage

SlopCodeMonitor badge for strukto-ai/mirage Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The World's First Virtual Terminal for AI Agents

17.1 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for strukto-ai/mirage, a TypeScript project with 3,756 GitHub stars. SynthScan examined 2,175,698 lines of code across 10542 source files, recording 28741 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 17.1 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

17.1
Adjusted Signal
17.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.8K
Stars
TypeScript
Language
2.2M
Lines of Code
10.5K
Files
28.7K
Pattern Hits
2026-10-31
Scan Date
0.13
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 44.6/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 25045 finding(s).

Hallucinated Dependency & Supply Chain Risk 17.1/100 · LOW

Are imports declared and package/API names verified? 2177 finding(s).

Agent Over-Engineering Ratio 36.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 17850 finding(s).

PR Review Velocity Impact 57.3/100 · HIGH

Which changes need focused human review? 28741 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 1390MEDIUM 673LOW 26674

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 28741 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers16276 hits · 16549 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_types_fingerprint.py18def test_file_stat_has_fingerprint_field():CODE
LOWpython/tests/test_types_fingerprint.py28def test_file_stat_fingerprint_defaults_none():CODE
LOWpython/tests/test_lua_parity.py28def test_every_lua_script_exists_in_both_languages():CODE
LOWpython/tests/test_lua_parity.py40def test_lua_basenames_are_unique_within_each_tree():CODE
LOWpython/tests/test_lua_parity.py52def 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_tests_mirror_sources.py85def test_tests_declare_no_packages():CODE
LOWpython/tests/test_tests_mirror_sources.py103def test_every_test_directory_mirrors_a_source_package():CODE
LOWpython/tests/test_tests_mirror_sources.py117def test_no_stale_directory_exemption():CODE
LOWpython/tests/test_tests_mirror_sources.py130def test_module_mirror_coverage_holds_the_baseline():CODE
LOWpython/tests/test_nested_functions_are_closures.py90def test_nested_functions_capture_enclosing_state():CODE
LOW⚡python/tests/test_path_prefix_boundary.py60def test_mount_prefix_round_trips(mount, child):CODE
LOW⚡python/tests/test_path_prefix_boundary.py68def test_a_child_is_under_its_mount(mount, child):CODE
LOW⚡python/tests/test_path_prefix_boundary.py75def test_a_lookalike_sibling_is_not_under_the_mount(mount, child):CODE
LOW⚡python/tests/test_path_prefix_boundary.py83def test_event_helpers_lift_onto_the_mount(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py111def test_evictions_that_drop_a_listing_reach_the_real_key(mount, child, kind):CODE
LOWpython/tests/test_path_prefix_boundary.py133def test_a_write_drops_the_parent_listing_at_the_real_key(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py148def test_a_subtree_eviction_reaches_nested_listings(mount, child):CODE
LOWpython/tests/test_path_prefix_boundary.py160def test_the_hub_frames_a_lookalike_child_correctly(mount, child):CODE
LOWpython/tests/test_commit_sha_parity.py56def test_python_and_typescript_commit_sha_give_the_same_answer(sample):CODE
LOWpython/tests/test_init.py39def test_authoring_surface_is_stable():CODE
LOW⚡python/tests/test_types.py50def test_aggr_none_inputs_is_none():CODE
LOW⚡python/tests/test_types.py55def test_aggr_keeps_single_limit():CODE
LOW⚡python/tests/test_types.py62def test_aggr_takes_smallest_positive_timeout():CODE
LOW⚡python/tests/test_types.py70def test_aggr_nonpositive_timeout_is_unbounded():CODE
LOW⚡python/tests/test_types.py77def test_aggr_takes_smallest_caps():CODE
LOW⚡python/tests/test_types.py85def test_aggr_error_beats_truncate():CODE
LOW⚡python/tests/test_types.py92def test_aggr_all_truncate_stays_truncate():CODE
LOW⚡python/tests/test_types.py99def test_every_field_declares_an_aggr_rule():CODE
LOW⚡python/tests/test_types.py106def test_pathspec_requires_vfs_path():CODE
LOW⚡python/tests/test_types.py111def test_pathspec_raw_path_kept_when_given():CODE
LOW⚡python/tests/test_types.py121def test_pathspec_raw_path_defaults_to_virtual():CODE
LOW⚡python/tests/test_types.py126def test_word_text_passes_strings_through():CODE
LOW⚡python/tests/test_types.py130def test_word_text_renders_paths_as_typed():CODE
LOW⚡python/tests/test_types.py140def test_pathspec_dir_trims_vfs_path():CODE
LOW⚡python/tests/test_types.py223def test_pathspec_from_str_path_defaults_to_root_mounted():CODE
LOW⚡python/tests/test_types.py229def test_pathspec_from_str_path_explicit_vfs_path():CODE
LOW⚡python/tests/test_types.py234def test_parse_mount_mode_words_and_aliases():CODE
LOW⚡python/tests/test_types.py242def test_parse_mount_mode_rejects_bit_style_forms():CODE
LOWpython/tests/test_types.py153def test_pathspec_dir_at_mount_root():CODE
LOWpython/tests/test_types.py202def test_pathspec_from_str_path_resolves_user_spelling(CODE
LOWpython/tests/test_types.py254def test_read_spec_defaults_to_bounded_at_the_index_ttl():CODE
LOWpython/tests/test_types.py260def test_read_spec_carries_a_bound_under_fresh_too():CODE
LOWpython/tests/test_types.py271def test_cache_facts_is_frozen():CODE
LOWpython/tests/test_types.py301def test_derived_paths_preserve_or_reset_the_base_walk(CODE
LOWpython/tests/test_types.py313def test_parent_retains_spelled_ancestors():CODE
LOW⚡python/tests/vfs/test_registry.py92def test_unknown_vfs_raises_keyerror():CODE
LOW⚡python/tests/vfs/test_registry.py97def test_registry_module_import_is_free_of_vfs_deps():CODE
LOW⚡python/tests/vfs/test_registry.py106def test_build_hf_buckets_vfs():CODE
LOW⚡python/tests/vfs/test_registry.py160def test_register_vfs_class_and_config(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py167def test_register_vfs_kwargs_config(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py174def test_register_vfs_config_cls_attribute(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py180def test_register_vfs_rejects_builtin_shadow(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py185def test_register_vfs_spec_string(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py191def test_colon_reference_builds_without_a_registry(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py201def test_colon_reference_uses_the_config_cls_attribute(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py208def test_colon_reference_does_not_shadow_a_builtin_name(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py213def test_colon_reference_to_a_missing_attribute_raises(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py218def test_colon_reference_refuses_a_class_that_is_not_a_vfs(clean_registry):CODE
LOW⚡python/tests/vfs/test_registry.py228def test_colon_reference_refuses_a_vfs_with_no_name(clean_registry):CODE
16216 more matches not shown…
Over-Commented Block8096 hits · 8004 pts
SeverityFileLineSnippetContext
LOWruff.toml1# The repository's width since before Ruff formatted it. Ruff's default of 88COMMENT
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
LOWlicenses/dependency_exceptions.toml1# Shipped dependencies whose license scripts/check_dependency_licenses.pyCOMMENT
LOWpython/pyproject.toml281#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_tests_mirror_sources.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_commit_sha_parity.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_init.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/test_types.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_registry.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_state_round_trip.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_no_blocking_http.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_plugins.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_inventory.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_capacity.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_command_args.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_s3_alias.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_ram_store.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_listing_version.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_freshness.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_secrets.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_backend_name.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_read_range_roster.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_read_revalidatable.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_base.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_call.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/test_testing.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/langfuse/test_find.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/s3/test_s3_stat_dir.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/s3/test_s3_stream.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/s3/test_s3_stats.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/s3/test_s3.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/discord/test_discord.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/discord/test_functions.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/aliyun/test_aliyun.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/bin/test_bin.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_cat.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_redis.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_tail.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_ls.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_redis_provider.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_store.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_head.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_functions.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_glob.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/redis/test_redis_store.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/hf_models/test_hf_models.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/ceph/test_ceph.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/backblaze/test_backblaze.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/onedrive/test_read_fresh.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/hf_spaces/test_hf_spaces.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/digitalocean/test_digitalocean.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/linear/test_linear.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/gcal/test_event_entry.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
LOWpython/tests/vfs/gcal/test_gcal.py1# ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========COMMENT
8036 more matches not shown…
Cross-Language Confusion1112 hits · 6836 pts
SeverityFileLineSnippetContext
HIGHpython/tests/vfs/onedrive/test_read_fresh.py38CP = "cp /m/a.txt /r/x && cat /r/x"CODE
HIGH⚡…thon/tests/vfs/tidb_filesystem/test_tidb_filesystem.py69 assert await _run(ws, "mkdir /fs/d && echo hi > /fs/d/a.txt") == (CODE
HIGH⚡…thon/tests/vfs/tidb_filesystem/test_tidb_filesystem.py96 ws, "cp /fs/a.txt /fs/b.txt && echo two > /fs/b.txt && cat /fs/a.txt"CODE
HIGH…thon/tests/vfs/tidb_filesystem/test_tidb_filesystem.py144 "seq 1 50000 > /fs/big.txt && tail -n 1 /fs/big.txt && wc -c /fs/big.txt",CODE
HIGH⚡python/tests/vfs/github/test_listing_ttl.py245 ("/gh", "cd /gh && find . -name c.txt", "./docs/c.txt"),CODE
HIGH⚡python/tests/vfs/github/test_listing_ttl.py247 ("/gh", "cd /gh && du -a", "./docs/c.txt"),CODE
HIGH⚡python/tests/vfs/github/test_listing_ttl.py252 ("/gh", "cd /gh/docs && du -a", "./c.txt"),CODE
HIGHpython/tests/vfs/sharepoint/test_read_fresh.py68 pytest.param(True, "cp {v} /r/x && cat /r/x", id="scoped-bytes"),CODE
HIGH⚡python/tests/vfs/disk/test_local.py131 await ws.shell("echo hi > /data/f.txt && chmod 640 /data/f.txt")CODE
HIGHpython/tests/vfs/dev/test_dev.py49 'consume() { ls /dev/fd >/dev/null; hold; cat "$1"; }; 'CODE
HIGHpython/tests/vfs/dev/test_dev.py116 'consume() { echo "$1"; rm "$1" 2>/dev/null || echo kept; 'CODE
HIGH⚡python/tests/core/render/test_json.py53 '"meta":{"n":1,"ok":true,"none":null},"empty":{}}'CODE
HIGHpython/tests/core/render/test_json.py99 value_text({"a": 1.0, "b": [True, None]}) == '{"a":1,"b":[true,null]}'CODE
HIGH⚡python/tests/core/airtable/test_events.py116 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py120 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py121 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py122 fake.push({"changedTablesById": {"tblF": {"changedViewsById": {"v": {}}}}})CODE
HIGH⚡python/tests/core/airtable/test_events.py186 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py187 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py191 fake.push({"error": True, "code": "INVALID_HOOK"})CODE
HIGH⚡python/tests/core/airtable/test_events.py203 fake.push(_records(), hook_id="achNew")CODE
HIGH⚡python/tests/core/airtable/test_events.py214 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py215 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py219 fake.push(_records(), hook_id="achNew")CODE
HIGH⚡python/tests/core/airtable/test_events.py220 fake.push(_records(), hook_id="achNew")CODE
HIGH⚡python/tests/core/airtable/test_events.py261 fake.push(_records())CODE
HIGH⚡python/tests/core/airtable/test_events.py270 fake.push(CODE
HIGHpython/tests/core/airtable/test_events.py136 fake.push(CODE
HIGHpython/tests/core/airtable/test_events.py156 fake.push(CODE
HIGHpython/tests/core/airtable/test_events.py168 fake.push({"destroyedTableIds": ["tblF"]})CODE
HIGHpython/tests/core/airtable/test_events.py169 fake.push(_records("tblN"))CODE
HIGHpython/tests/core/airtable/test_events.py244 fake.push(_records())CODE
HIGHpython/tests/core/airtable/test_events.py245 fake.push(_records("tblOther"))CODE
HIGHpython/tests/core/airtable/test_events.py281 fake.push(_records())CODE
HIGHpython/tests/core/ssh/test_stream.py55 " && echo && exec tail -n 2 -f <&3 3<&-"CODE
HIGH⚡python/tests/core/ssh/test_stream.py79 " && echo && exec tail -n 3 -f <&3 3<&-"CODE
HIGH⚡python/tests/core/lancedb/test_search.py105# separator a leading space reaches into, a boolean or null, a digit.COMMENT
HIGH⚡python/tests/core/ram/test_pwrite.py80 await pwrite(RAMAccessor(store), null, b"x", 64 << 20)CODE
HIGH⚡python/tests/core/ram/test_write.py326 await write(RAMAccessor(store), null, _blocks(256))CODE
HIGH⚡python/tests/cache/index/test_redis.py85 '"fingerprint":"/a.txt","revision":null,"type":"file","content":null,'CODE
HIGH⚡python/tests/cache/index/test_redis.py86 '"mode":null,"uid":null,"gid":null,"atime":null,"ctime":null,'CODE
HIGH⚡python/tests/cache/index/test_redis.py87 '"birthtime":null,"dev":null,"extra":{}}'CODE
HIGH⚡python/tests/cache/index/test_config.py33 '"fingerprint":"v1","revision":null,"type":"file","content":"text",'CODE
HIGH⚡python/tests/cache/index/test_config.py34 '"mode":null,"uid":null,"gid":null,"atime":null,"ctime":null,'CODE
HIGH⚡python/tests/cache/index/test_config.py35 '"birthtime":null,"dev":null,"extra":{}}'CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py515 ('x=abc; [[ $x == "a*"* ]] && echo hit || echo miss', b"miss\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py516 ("x='a*c'; [[ $x == \"a*\"* ]] && echo hit || echo miss", b"hit\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py517 ('x=aXb; [[ $x == "a"*"b" ]] && echo hit || echo miss', b"hit\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py518 ('x=ab; [[ $x == "a*" ]] && echo hit || echo miss', b"miss\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py519 ("x=ab; [[ $x == a* ]] && echo hit || echo miss", b"hit\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py520 ('x=ab; [[ $x != "a*" ]] && echo hit || echo miss', b"hit\n"),CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py522 "x=$'a\\tb'; [[ $x == $'a\\tb' ]] && echo hit || echo miss",CODE
HIGH⚡python/tests/shell/test_quoting_coverage.py525 ("[[ abc < abd ]] && echo hit || echo miss", b"hit\n"),CODE
HIGHpython/tests/shell/test_node_kind.py29 NodeKind.LIST: "true && false",CODE
HIGH⚡python/tests/shell/test_set_e.py27 out = shell.mirage("set -e; false || echo recovered; echo done")CODE
HIGH⚡python/tests/shell/test_set_e.py32 out = shell.mirage("set -e; false && echo skipped; echo done")CODE
HIGH⚡python/tests/shell/test_set_e.py66 out = shell.mirage("set -e; true && false; echo unreached")CODE
HIGH⚡python/tests/shell/test_set_e.py71 out = shell.mirage("set -e; false || false; echo unreached")CODE
HIGH⚡python/tests/shell/test_arith.py68 assert evaluate_arith("3 && 4", {}).value == 1CODE
HIGH⚡python/tests/shell/test_arith.py145 ("0 && 1/0", 0),CODE
1052 more matches not shown…
Decorative Section Separators637 hits · 2081 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/vfs/test_state_round_trip.py27# ── RAM ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/vfs/test_state_round_trip.py54# ── Disk ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/vfs/test_state_round_trip.py89# ── Redis ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/vfs/test_state_round_trip.py129# ── S3 ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpython/tests/vfs/test_state_round_trip.py177# ── all remote/token VFS: cred redaction matrix ──────────────────COMMENT
MEDIUMpython/tests/vfs/test_state_round_trip.py429# ── database-backed VFS, built through the registry ──────────────COMMENT
MEDIUM⚡python/tests/core/object_store/test_copy.py70# ── the retraction record snapshot capture reads ─────────────────────────COMMENT
MEDIUM⚡python/tests/core/object_store/test_rename.py79# ── the retraction records snapshot capture reads ────────────────────────COMMENT
MEDIUMpython/tests/core/object_store/test_write.py389# ── the backend token the put answered reaches the op record ─────────────COMMENT
MEDIUMpython/tests/core/object_store/test_remove.py137# ── the retraction records snapshot capture reads ────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py62# ── paths with spaces ──────────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py89# ── paths with special chars ───────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py99# ── unicode in paths ───────────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py116# ── env vars in paths ──────────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py142# ── command substitution in args ──────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py159# ── escaping ───────────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py184# ── unquoted backslash escapes (POSIX §2.2.1) ──────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py222# ── edge cases ─────────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py683# ── quoted globs stay literal ──────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_quoting_coverage.py768# ── quoting is per character, not per word ─────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py262# ── whitespace between expansions inside double quotes ─────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py300# ── adjacent backtick substitutions ────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py337# ── ANSI-C quoting $'...' and locale quoting $"..." ────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py555# ── a bare $ is a literal word ─────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py576# ── a quoted "$@" splices into the word around it ──────────COMMENT
MEDIUMpython/tests/shell/test_quoting_coverage.py649# ── literal backslashes survive classification ─────────────COMMENT
MEDIUM⚡python/tests/shell/test_helpers.py473# ── expansion nodes ──────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_helpers.py501# ── edge cases ───────────────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_helpers.py531# ── quotes and escapes ──────────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_helpers.py590# ── multi-statement bodies ─────────────────────COMMENT
MEDIUM⚡python/tests/shell/test_helpers.py653# ── redirect target types ──────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py445# ── negated command ──────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py455# ── heredoc ──────────────────────────────────────COMMENT
MEDIUMpython/tests/shell/test_helpers.py783# ── python command parsing ─────────────────────COMMENT
MEDIUM⚡python/tests/shell/parse/test_parse.py324# ── heredoc operator lines the grammar cannot hold ───────────────────────COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py39# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py41# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py117# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py119# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py200# ═══════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_provider_integration.py202# ═══════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py70# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py72# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py74# ── rm ─────────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py154# ── mv ─────────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py280# ── mkdir ──────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py314# ── touch ─────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py336# ── ln ────────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py376# ── nested mount as a target ──────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py409# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py411# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py568# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡python/tests/workspace/test_mount_root_protection.py572# ════════════════════════════════════════════════════════════════════COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py41# ── fixtures ──────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_mount_root_protection.py552# ── ls / unchanged ────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_symlinks.py924# ── POSIX pathname resolution ────────────────────────────────────────COMMENT
MEDIUMpython/tests/workspace/test_symlinks.py1455# ── ln: GNU operand grammar, backups, and the hard-link tier ──────COMMENT
MEDIUM⚡python/tests/workspace/test_expand.py110# ── simple expansion $VAR ───────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_expand.py168# ── brace expansion ${VAR} ─────────────────────COMMENT
MEDIUM⚡python/tests/workspace/test_expand.py193# ── command substitution $(cmd) ─────────────────COMMENT
577 more matches not shown…
Unused Imports971 hits · 866 pts
SeverityFileLineSnippetContext
LOWpython/tests/vfs/gcal/test_gcal.py24CODE
LOWpython/tests/vfs/databricks_volume/conftest.py1CODE
LOWpython/tests/vfs/airtable/conftest.py15CODE
LOWpython/tests/core/linear/test_search.py24CODE
LOWpython/tests/core/gcal/conftest.py19CODE
LOWpython/tests/core/databricks_volume/conftest.py10CODE
LOWpython/tests/core/airtable/conftest.py15CODE
LOWpython/tests/core/github/conftest.py19CODE
LOWpython/tests/core/hf_buckets/conftest.py21CODE
LOWpython/tests/core/hf_buckets/conftest.py21CODE
LOWpython/tests/core/hf_buckets/conftest.py21CODE
LOWpython/tests/core/hf_buckets/conftest.py21CODE
LOWpython/tests/core/trello/test_search.py24CODE
LOWpython/tests/commands/cli/builtin/airtable/conftest.py26CODE
LOWpython/tests/commands/builtin/jq/conftest.py27CODE
LOWpython/mirage/config.py83CODE
LOWpython/mirage/__init__.py18CODE
LOWpython/mirage/__init__.py26CODE
LOWpython/mirage/__init__.py27CODE
LOWpython/mirage/__init__.py28CODE
LOWpython/mirage/__init__.py28CODE
LOWpython/mirage/__init__.py28CODE
LOWpython/mirage/__init__.py29CODE
LOWpython/mirage/__init__.py30CODE
LOWpython/mirage/__init__.py30CODE
LOWpython/mirage/__init__.py30CODE
LOWpython/mirage/__init__.py35CODE
LOWpython/mirage/__init__.py35CODE
LOWpython/mirage/__init__.py36CODE
LOWpython/mirage/__init__.py37CODE
LOWpython/mirage/__init__.py37CODE
LOWpython/mirage/__init__.py37CODE
LOWpython/mirage/__init__.py37CODE
LOWpython/mirage/__init__.py43CODE
LOWpython/mirage/__init__.py44CODE
LOWpython/mirage/__init__.py45CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py46CODE
LOWpython/mirage/__init__.py66CODE
LOWpython/mirage/__init__.py66CODE
LOWpython/mirage/__init__.py67CODE
LOWpython/mirage/__init__.py68CODE
LOWpython/mirage/__init__.py68CODE
LOWpython/mirage/__init__.py69CODE
911 more matches not shown…
Docstring Block Structure114 hits · 570 pts
SeverityFileLineSnippetContext
HIGHpython/mirage/config.py131Replace ``${VAR}`` placeholders with values from ``env``. Args: value (Any): scalar, dict, or list to walk.STRING
HIGHpython/mirage/config.py987A config with every mount and CLI pointer replaced by its secret. The async half of the YAML loader, and the reasonSTRING
HIGHpython/mirage/vfs/registry.py365Construct a VFS instance by its registry name. Resolves VFS and config classes lazily via importlib, so importiSTRING
HIGHpython/mirage/vfs/gcal/event_entry.py101Recover (event_id, day) from an event filename. Splitting on the first ``__`` is safe because a Google event id is STRING
HIGHpython/mirage/core/langfuse/client.py54Await a Langfuse fetch, translating a 404 into ENOENT. Every other status stays a LangfuseApiError: only "this resoSTRING
HIGHpython/mirage/core/langfuse/client.py171One trace: its root observation, the rest and its scores. Args: api (AsyncLangfuseAPI): the Langfuse API clSTRING
HIGHpython/mirage/core/object_store/write.py79Put one object, translating a missing container to ENOENT. The driver primitives speak keys, so a store error for aSTRING
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/notion/client.py211Refuse a list response Notion marked incomplete. Args: page (dict[str, Any]): one list response. ReturSTRING
HIGHpython/mirage/core/notion/pages.py106Query one page of rows, cursor envelope intact. ``ntn datasources query`` is explicitly one page at a time: it STRING
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/tree.py135Fetch one directory's tree (non-recursive), and whether GitHub cut it. Args: account (GitHubAccount): the tSTRING
HIGHpython/mirage/core/github/tree.py185Fetch a single directory's whole tree (non-recursive). Used as fallback when the recursive tree was truncated, wherSTRING
HIGHpython/mirage/core/github/client.py156One 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/stat.py41Stat one path in the repository. A path answers with its row, as its folder's listing names it. The gate's checSTRING
HIGHpython/mirage/core/github/repo.py172Split gh's repository argument. A URL (``https://HOST/OWNER/REPO``, ``git@HOST:OWNER/REPO.git``) or ``[HOST/]OWSTRING
HIGHpython/mirage/core/github/read.py44Read a file's blob and record the sha it was fetched by. The sha comes from the file's row, as its folder's listingSTRING
HIGHpython/mirage/core/hf_buckets/hub.py66The paths-info row of one bucket file, in one request. paths-info answers a missing path, a directory and a leadingSTRING
HIGHpython/mirage/core/hf_hub/tree.py165The listing row for one mount-relative path, in one request. The row is folded by ``collect``, the same as a tree pSTRING
HIGHpython/mirage/core/hf_hub/tree.py265Follow the cursor from one page to the last, folding as it goes. Args: accessor (HfHubAccessor): the mount'STRING
HIGHpython/mirage/core/hf_hub/tree.py312Every 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.py450Stream file content without holding it whole in memory. Routed through ``api_stream``, which retries opening the reSTRING
HIGHpython/mirage/core/hf_hub/commit.py222Apply one commit to the repository. Every addition is checked against the preupload endpoint first, and a file STRING
HIGHpython/mirage/core/hf_hub/stat.py36Stat one path in the repository. A path answers with its row, as its folder's listing names it. The gate's checSTRING
HIGHpython/mirage/core/email/client.py36Spell a value as an RFC 3501 quoted string. The two quoted-specials, ``"`` and ``\\``, are escaped with a backsSTRING
HIGHpython/mirage/cache/context.py232The conditions a move carries: the copy onto ``dst``, the source pin. Both versions come from one store lookup. STRING
HIGHpython/mirage/shell/arith.py751Evaluate a bash arithmetic expression. bash's grammar over 64-bit wrapping integers, read and evaluated in one STRING
HIGHpython/mirage/shell/parse/parse.py61What a line bash refuses yields: its diagnostic and status. Status 2 is a syntax error, 1 an array bash cannot read,STRING
HIGHpython/mirage/shell/job_table/table.py933Signal a process another workspace runs, named by a prefix of its owner's id and the owner's PID: its owner stopSTRING
HIGHpython/mirage/secrets/env.py23Read the host process environment as one secret. Args: config (EnvConfig): carries nothing; the process envSTRING
HIGHpython/mirage/secrets/aws.py83Fetch one secret from AWS Secrets Manager. Args: config (AWSSMConfig): auth settings for the aioboto3 sessiSTRING
HIGHpython/mirage/secrets/onepassword.py37Split a 1Password secret reference into vault, item and field. Both of 1Password's own ref shapes are accepted, andSTRING
HIGHpython/mirage/secrets/onepassword.py168Fetch one secret from 1Password. A field reference is one ``resolve`` call and returns that field alone, keyed STRING
HIGHpython/mirage/secrets/sources.py286A raw mount or CLI config with every pointer read from its source. The same `config_value` a source's own config goSTRING
HIGHpython/mirage/secrets/dotenv.py26Read one dotenv file as one secret. A key declared without a value (a bare ``NAME`` line) parses as None and isSTRING
HIGHpython/mirage/workspace/runner.py66Build a workspace on a loop of its own and pin it there. Constructing its mounts, importing their backends or rSTRING
HIGHpython/mirage/workspace/runner.py126Run ``coro`` on the workspace loop and await the result. Safe to call from any other event loop. The current loSTRING
HIGHpython/mirage/workspace/nfs.py66Serve the workspace's files over NFS, mount them, and return the live mountpoint. Args: filSTRING
HIGHpython/mirage/workspace/snapshot/api.py64Write all of the bytes to the target and count them. A target that takes fewer bytes than offered is written agSTRING
HIGHpython/mirage/workspace/tools/tool_operations.py527Run one tool by name with its JSON input. The one entry every entry point shares: MCP, the HTTP routes, the CLISTRING
HIGHpython/mirage/workspace/tools/file_version.py158Read a file the agent is about to rewrite. Args: path (str): Virtual path. Returns: STRING
HIGHpython/mirage/workspace/workspace/workspace.py1046Add a VFS to a running workspace, mirroring TS ``addMount``. The runtime entry point runs the same read-policy STRING
HIGHpython/mirage/workspace/mount/read_policy.py22Coerce a declared read-policy name into a ReadPolicy. Missing means bounded, everywhere: an absent ``read:`` in YAMSTRING
HIGHpython/mirage/workspace/mount/read_policy.py61Coerce a declared bound to a whole number of seconds. Every loader that reads a bound off a document runs this, so STRING
HIGHpython/mirage/workspace/mount/read_policy.py98Coerce a declared read policy and bound into a ReadSpec. Coercion only: an unknown name is refused here, but whetheSTRING
HIGH…thon/mirage/workspace/executor/builtins/unset/unset.py78Clear 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/declare/local.py229Declare one ``NAME``, ``NAME=value`` or ``NAME+=value`` operand and mark it. A ``-n`` declaration writes the reSTRING
HIGH…on/mirage/workspace/executor/builtins/declare/local.py364Aim a ``declare -n NAME=VALUE`` (or ``NAME+=VALUE``) reference once the name may take one. The reference is whaSTRING
HIGH…on/mirage/workspace/executor/builtins/declare/local.py433Start a new bare ``local NAME`` unset, as bash 5.2 does. Only a name the frame did not shadow yet: a second ``localSTRING
HIGH…/mirage/workspace/executor/builtins/declare/declare.py378Store a declaration's array literals through the session view, the first of bash's two passes over a declaration. STRING
HIGH…/mirage/workspace/executor/builtins/declare/declare.py1133Assign and mark one ``export`` / ``readonly`` word. A value of the other array kind is refused and the name is stilSTRING
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.py113Resolve 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.py111Assign 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/runtime/files.py1008The target of the symlink at `path`. Args: path (str): guest-absolute path of the link. ReSTRING
HIGHpython/mirage/runtime/sandbox/base.py219Stop a run a lapsed workspace left in the box: every process its ``EXEC_ID`` tag marks gets ``signum``, then KILSTRING
HIGHpython/mirage/server/multipart.py101A multipart body's part events, as the body arrives. A part begins once its headers end, before any of its data, anSTRING
54 more matches not shown…
Modern Structural Boilerplate497 hits · 500 pts
SeverityFileLineSnippetContext
LOWpython/tests/vfs/gcal/test_gcal.py26__all__ = ["gcal_api"]CODE
LOWpython/tests/vfs/airtable/conftest.py17__all__ = ["airtable_api"]CODE
LOWpython/tests/core/gcal/conftest.py21__all__ = ["gcal_api"]CODE
LOWpython/tests/core/airtable/conftest.py17__all__ = ["airtable_api"]CODE
LOWpython/tests/core/github/conftest.py21__all__ = ["github_config", "mock_github_api"]CODE
LOWpython/tests/core/hf_buckets/conftest.py30__all__ = [CODE
LOWpython/tests/accessor/test_google_api.py39logger = logging.getLogger(__name__)CODE
LOWpython/tests/workspace/test_find_unknown_predicate.py16async def _setup(ws: Workspace) -> None:CODE
LOW⚡…/tests/workspace/executor/test_find_action_dispatch.py52async def _setup_html_files(ws: Workspace) -> None:CODE
LOWpython/tests/io/test_gateway.py92async def _settled(ended: list[NetworkResultContext], count: int) -> None:CODE
LOWpython/tests/commands/cli/builtin/airtable/conftest.py28__all__ = ["airtable_api", "airtable_ws"]CODE
LOWpython/tests/e2e/gdrive_mock.py124 def set_modified(self, path: str, stamp: str) -> None:CODE
LOWpython/mirage/__init__.py222__all__ = [CODE
LOWpython/mirage/vfs/capacity.py28logger = logging.getLogger(__name__)CODE
LOWpython/mirage/vfs/registry.py28logger = logging.getLogger(__name__)CODE
LOWpython/mirage/vfs/__init__.py32__all__ = [CODE
LOWpython/mirage/vfs/langfuse/__init__.py23__all__ = ["LangfuseConfig", "LangfuseVFS"]CODE
LOWpython/mirage/vfs/nextcloud/__init__.py23__all__ = ["NextcloudConfig", "NextcloudVFS"]CODE
LOWpython/mirage/vfs/s3/__init__.py23__all__ = ["S3Config", "S3VFS"]CODE
LOWpython/mirage/vfs/chroma/__init__.py9__all__ = ["ChromaConfig", "ChromaVFS"]CODE
LOWpython/mirage/vfs/box/__init__.py23__all__ = ["BoxConfig", "BoxVFS"]CODE
LOWpython/mirage/vfs/discord/__init__.py23__all__ = ["DiscordConfig", "DiscordVFS"]CODE
LOWpython/mirage/vfs/aliyun/__init__.py18__all__ = ["AliyunConfig", "AliyunVFS"]CODE
LOWpython/mirage/vfs/bin/__init__.py17__all__ = ["BinViewVFS"]CODE
LOWpython/mirage/vfs/redis/store.py142 async def set_file(self, path: str, data: bytes) -> None:CODE
LOWpython/mirage/vfs/redis/store.py220 async def set_modified(self, path: str, ts: str) -> None:CODE
LOWpython/mirage/vfs/redis/store.py286 async def set_attrs(self, path: str, fields: dict[str, str]) -> None:CODE
LOWpython/mirage/vfs/redis/__init__.py23__all__ = ["RedisVFS", "RedisStore"]CODE
LOWpython/mirage/vfs/hf_models/__init__.py23__all__ = ["HfModelsConfig", "HfModelsVFS"]CODE
LOWpython/mirage/vfs/ceph/__init__.py18__all__ = ["CephConfig", "CephVFS"]CODE
LOWpython/mirage/vfs/backblaze/__init__.py18__all__ = ["BackblazeConfig", "BackblazeVFS"]CODE
LOWpython/mirage/vfs/jaeger/__init__.py23__all__ = ["JaegerConfig", "JaegerVFS"]CODE
LOWpython/mirage/vfs/onedrive/__init__.py18__all__ = ["OneDriveVFS", "OneDriveConfig"]CODE
LOWpython/mirage/vfs/hf_spaces/__init__.py23__all__ = ["HfSpacesConfig", "HfSpacesVFS"]CODE
LOWpython/mirage/vfs/digitalocean/__init__.py18__all__ = ["DigitalOceanConfig", "DigitalOceanVFS"]CODE
LOWpython/mirage/vfs/linear/__init__.py23__all__ = ["LinearConfig", "LinearVFS"]CODE
LOWpython/mirage/vfs/gcal/__init__.py24__all__ = ["GCalConfig", "make_event_filename", "GCalVFS"]CODE
LOWpython/mirage/vfs/wasabi/__init__.py18__all__ = ["WasabiConfig", "WasabiVFS"]CODE
LOWpython/mirage/vfs/oci/__init__.py18__all__ = ["OCIConfig", "OCIVFS"]CODE
LOWpython/mirage/vfs/gdrive/__init__.py23__all__ = ["GoogleDriveConfig", "GoogleDriveVFS"]CODE
LOWpython/mirage/vfs/minio/__init__.py18__all__ = ["MinIOConfig", "MinIOVFS"]CODE
LOWpython/mirage/vfs/databricks_volume/__init__.py25__all__ = ["DatabricksVolumeConfig", "DatabricksVolumeVFS"]CODE
LOWpython/mirage/vfs/mongodb/__init__.py23__all__ = ["MongoDBConfig", "MongoDBVFS"]CODE
LOWpython/mirage/vfs/notion/__init__.py23__all__ = ["NotionConfig", "NotionVFS"]CODE
LOWpython/mirage/vfs/supabase/__init__.py18__all__ = ["SupabaseConfig", "SupabaseVFS"]CODE
LOWpython/mirage/vfs/airtable/__init__.py23__all__ = ["AirtableConfig", "AirtableVFS"]CODE
LOWpython/mirage/vfs/tidb_filesystem/__init__.py23__all__ = ["TiDBFilesystemConfig", "TiDBFilesystemVFS"]CODE
LOWpython/mirage/vfs/qingstor/__init__.py18__all__ = ["QingStorConfig", "QingStorVFS"]CODE
LOWpython/mirage/vfs/postgres/__init__.py23__all__ = ["PostgresConfig", "PostgresVFS"]CODE
LOWpython/mirage/vfs/hf_datasets/__init__.py23__all__ = ["HfDatasetsConfig", "HfDatasetsVFS"]CODE
LOWpython/mirage/vfs/ssh/__init__.py23__all__ = ["SSHConfig", "SSHVFS"]CODE
LOWpython/mirage/vfs/github/__init__.py19__all__ = ["GitHubConfig", "GitHubVFS", "TreeEntry"]CODE
LOWpython/mirage/vfs/gridfs/__init__.py23__all__ = ["GridFSConfig", "GridFSVFS"]CODE
LOWpython/mirage/vfs/history/__init__.py17__all__ = ["HISTORY_PREFIX", "HistoryViewVFS"]CODE
LOWpython/mirage/vfs/sharepoint/__init__.py4__all__ = ["SharePointVFS", "SharePointConfig"]CODE
LOWpython/mirage/vfs/gsheets/__init__.py23__all__ = ["GSheetsConfig", "GSheetsVFS"]CODE
LOWpython/mirage/vfs/scaleway/__init__.py18__all__ = ["ScalewayConfig", "ScalewayVFS"]CODE
LOWpython/mirage/vfs/qdrant/__init__.py23__all__ = ["QdrantConfig", "QdrantVFS"]CODE
LOWpython/mirage/vfs/hf_buckets/__init__.py23__all__ = ["HfBucketsConfig", "HfBucketsVFS"]CODE
LOWpython/mirage/vfs/dropbox/__init__.py23__all__ = ["DropboxConfig", "DropboxVFS"]CODE
437 more matches not shown…
Deep Nesting481 hits · 470 pts
SeverityFileLineSnippetContext
LOWpython/tests/vfs/test_read_revalidatable.py780CODE
LOWpython/tests/vfs/onedrive/test_read_fresh.py139CODE
LOWpython/tests/vfs/github/test_listing_ttl.py542CODE
LOWpython/tests/core/nextcloud/conftest.py146CODE
LOWpython/tests/core/s3/test_client.py74CODE
LOWpython/tests/core/box/test_stat.py150CODE
LOWpython/tests/core/onedrive/test_stat.py186CODE
LOWpython/tests/core/linear/test_queries.py18CODE
LOWpython/tests/core/mongodb/test_stream.py503CODE
LOWpython/tests/core/msgraph/test_drive.py498CODE
LOWpython/tests/core/msgraph/test_drive.py514CODE
LOWpython/tests/core/msgraph/test_paths.py74CODE
LOWpython/tests/core/msgraph/test_paths.py323CODE
LOWpython/tests/core/sharepoint/test_stat.py231CODE
LOWpython/tests/core/dropbox/test_stat.py237CODE
LOWpython/tests/core/dropbox/test_paths.py84CODE
LOWpython/tests/core/dropbox/test_rename.py59CODE
LOWpython/tests/core/dropbox/test_rename.py92CODE
LOWpython/tests/core/dropbox/test_rmdir.py37CODE
LOWpython/tests/core/generic/test_rewrite.py285CODE
LOWpython/tests/cache/index/test_redis_client.py1403CODE
LOWpython/tests/cache/index/test_redis_client.py1423CODE
LOWpython/tests/cache/index/test_redis_client.py1427CODE
LOWpython/tests/cache/index/test_warm.py198CODE
LOWpython/tests/accessor/test_google_api.py148CODE
LOWpython/tests/workspace/test_reconcile.py327CODE
LOWpython/tests/workspace/test_ungated_attr_writes.py71CODE
LOWpython/tests/workspace/test_files.py464CODE
LOWpython/tests/workspace/test_session_link_reads.py98CODE
LOWpython/tests/workspace/snapshot/test_state.py89CODE
LOWpython/tests/workspace/snapshot/test_state.py1864CODE
LOWpython/tests/workspace/dispatcher/test_dispatcher.py672CODE
LOWpython/tests/workspace/dispatcher/test_dispatcher.py1401CODE
LOWpython/tests/workspace/dispatcher/test_dispatcher.py3831CODE
LOWpython/tests/workspace/dispatcher/test_dispatcher.py4018CODE
LOWpython/tests/workspace/executor/test_redirect.py501CODE
LOWpython/tests/server/test_rate_limit.py248CODE
LOWpython/tests/utils/test_ids.py351CODE
LOWpython/tests/utils/test_clock.py221CODE
LOWpython/tests/cli/test_login.py71CODE
LOWpython/tests/cli/test_login.py87CODE
LOWpython/tests/commands/test_no_object_annotations.py64CODE
LOWpython/tests/commands/test_no_dead_flag_params.py33CODE
LOWpython/tests/commands/native/test_cross_mount.py71CODE
LOWpython/tests/commands/cli/builtin/git/conftest.py85CODE
LOWpython/tests/commands/builtin/test_multifile_guard.py114CODE
LOWpython/tests/commands/builtin/general/test_date.py78CODE
LOWpython/tests/commands/builtin/jq/conftest.py53CODE
LOWpython/tests/e2e/test_cross_mount_matrix.py61CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py101CODE
LOWpython/tests/e2e/mounts.py80CODE
LOWpython/tests/sim/seam.py651CODE
LOWpython/tests/sim/seam.py652CODE
LOWpython/tests/sim/model.py114CODE
LOWpython/tests/sim/test_lost_update.py193CODE
LOWpython/mirage/config.py502CODE
LOWpython/mirage/vfs/secrets.py59CODE
LOWpython/mirage/vfs/disk/disk.py290CODE
LOWpython/mirage/core/s3/driver.py603CODE
LOWpython/mirage/core/s3/driver.py879CODE
421 more matches not shown…
Cross-Language Confusion (JS/TS)69 hits · 405 pts
SeverityFileLineSnippetContext
HIGH…packages/core/src/workspace/state_entry_points.test.ts2144 print(json.dumps({'kind': 'deny', 'reason': reason}))CODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts28 return NoneCODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts30print(json.dumps(answer()))CODE
HIGH⚡…/packages/core/src/workspace/scripted_profiles.test.ts44 return NoneCODE
HIGH⚡…/packages/core/src/workspace/scripted_profiles.test.ts46print(json.dumps(answer()))CODE
HIGH⚡…/packages/core/src/workspace/scripted_profiles.test.ts54 print(json.dumps({CODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts378 print(json.dumps({'kind': 'deny', 'reason': 'frozen by ' + ctx['profile']}))CODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts383 print(json.dumps({'kind': 'deny', 'reason': reason}))CODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts452 print(json.dumps({'kind': 'deny', 'reason': 'saw ' + body.strip()}))CODE
HIGH…/packages/core/src/workspace/scripted_profiles.test.ts491 print(json.dumps({'kind': 'deny', 'reason': 'directory says no'}))CODE
HIGH…ipt/packages/core/src/workspace/workspace/fill.test.ts2217 print(json.dumps({'kind': 'deny'}))CODE
HIGH…pt/packages/core/src/workspace/workspace/spawn.test.ts113print(subprocess.run(['printf', '%s', '$(literal)'], capture_output=True, text=True).stdout)`CODE
HIGH…pt/packages/core/src/workspace/workspace/spawn.test.ts190print('ok')`CODE
HIGH…pt/packages/core/src/workspace/workspace/spawn.test.ts263print('done')`CODE
HIGH…pt/packages/core/src/workspace/workspace/spawn.test.ts283 print('denied', error.errno == errno.EAGAIN)CODE
HIGH…ages/core/src/runtime/python/pyodide/execution.test.ts583print('main identity works')CODE
HIGH…ages/core/src/runtime/python/pyodide/execution.test.ts726print(sys.flags.optimize, __debug__, sys.flags.safe_path, '' in sys.path)CODE
HIGH…ages/core/src/runtime/python/pyodide/execution.test.ts774print(optimize_helper.debug)`,CODE
HIGH…/packages/core/src/runtime/python/pyodide/seal.test.ts59print(F('return [typeof process, typeof require, typeof fetch, typeof WebSocket].join(",")')())CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts216print(F('py', 'return typeof py.FS.filesystems.NODEFS + "," + typeof py._module.NODEFS')(pyodide_js))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts217print(refusal(lambda: pyodide_js.mountNodeFS('/host', ${JSON.stringify(dir)})))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts218print(refusal(lambda: pyodide_js._api.loadBinaryFile(${JSON.stringify(file)})))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts219print(refusal(lambda: pyodide_js._api.loadBinaryFile(${JSON.stringify(`file://${file}`)})))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts220print(refusal(lambda: pyodide_js._module.asyncLoad(${JSON.stringify(file)})))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts221print(refusal(lambda: F('fs', 'path', 'return fs.forceLoadFile({url: path})')(pyodide_js.FS, ${JSON.stringify(file)})))CODE
HIGH⚡…/packages/core/src/runtime/python/pyodide/seal.test.ts222print(refusal(lambda: pyodide_js._module.FS_createPreloadedFile('/', 'host', ${JSON.stringify(file)}, True, False)))CODE
HIGH…/packages/core/src/runtime/python/pyodide/seal.test.ts253print(base64.b64encode(buffer.getvalue()).decode())CODE
HIGH…/packages/core/src/runtime/python/pyodide/seal.test.ts336 print(restored.size, restored.getpixel((1, 2)))CODE
HIGH…/packages/core/src/runtime/python/pyodide/seal.test.ts337print(_imaging.__file__.endswith('.so'))CODE
HIGH…ages/core/src/runtime/python/pyodide/jsglobals.test.ts34print(",".join(flags))CODE
HIGHtypescript/packages/core/src/policy/script.test.ts851print(json.dumps(verdict))CODE
HIGHinteg/hosting/mounts.ts28print(identity + ':' + argv[1] + ':ram,s3,redis,slack')CODE
HIGHinteg/wandb/schema.ts120 print(parse(pyQueries[name]!)),CODE
HIGHinteg/wandb/schema.ts121 print(parse(query)),CODE
HIGHexamples/typescript/vfs/s3/python_s3.ts47 print(f"[{i}] {json.dumps(rec)[:120]}...")CODE
HIGHexamples/typescript/vfs/redis/redis.ts30 print(res.stdout)CODE
HIGH⚡examples/typescript/vfs/redis/redis.ts82 print(cpOut.stdout)CODE
HIGH⚡examples/typescript/vfs/redis/redis.ts87 print(mvOut.stdout)CODE
HIGH⚡examples/typescript/vfs/redis/redis.ts92 print(rmOut.stdout)CODE
HIGH⚡examples/typescript/vfs/redis/redis.ts101 print(uniqOut.stdout)CODE
HIGHexamples/typescript/vfs/ram/ram.ts29 print(res.stdout)CODE
HIGH⚡examples/typescript/vfs/ram/ram.ts66 print(cpOut.stdout)CODE
HIGH⚡examples/typescript/vfs/ram/ram.ts71 print(mvOut.stdout)CODE
HIGH⚡examples/typescript/vfs/ram/ram.ts76 print(rmOut.stdout)CODE
HIGH⚡examples/typescript/vfs/ram/ram.ts85 print(uniqOut.stdout)CODE
HIGHexamples/typescript/vfs/ram/ram.ts109 print(mvMeta.stdout)CODE
HIGH⚡examples/typescript/runtime/pyodide/ram.ts32print(f'hello, {name}!')CODE
HIGH⚡examples/typescript/runtime/pyodide/ram.ts33print(f'args: {sys.argv[1:]}')CODE
HIGH⚡examples/typescript/runtime/pyodide/ram.ts34print(f'sum(1..10): {sum(range(1, 11))}')CODE
HIGHexamples/typescript/runtime/pyodide/ram.ts74 print(f'{user}: {n}')CODE
HIGHexamples/typescript/runtime/pyodide/ram.ts87print('script was replaced!')CODE
HIGH⚡examples/typescript/runtime/pyodide/script.ts28print(f"count: {len(records)}")CODE
HIGH⚡examples/typescript/runtime/pyodide/script.ts29print(f"keys: {sorted({k for r in records for k in r})}")CODE
HIGH⚡examples/typescript/runtime/pyodide/script.ts31 print(f" - {json.dumps(r)}")CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts89 print('read:', f.read())CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts92print('wrote /ram/out.txt')CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts105print('listdir:', os.listdir('/ram/synth/today'))CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts106print('read:', open('/ram/synth/today/note.md').read())CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts120 print('team:', team.get('name'), team.get('id'))CODE
HIGHexamples/typescript/runtime/pyodide/vfs.ts133 print('doc:', data.get('title') or list(data.keys())[:5])CODE
9 more matches not shown…
Excessive Try-Catch Wrapping276 hits · 288 pts
SeverityFileLineSnippetContext
LOW⚡python/tests/workspace/test_path_axis.py364 except Exception as exc:CODE
LOWpython/tests/runtime/python/host/test_file.py438 except Exception as exc:CODE
LOWpython/tests/runtime/wasm/test_slab.py49 except Exception as exc:CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py84 except Exception:CODE
LOWpython/tests/e2e/test_snapshot_drift_live.py123 except Exception:CODE
MEDIUMpython/tests/e2e/test_snapshot_drift_live.py81def _versioning_enabled() -> bool:CODE
LOWpython/tests/sim/seam.py532 except Exception as exc:CODE
LOWpython/tests/sim/world.py384 except Exception as exc:CODE
LOWpython/mirage/core/nextcloud/write.py80 except Exception:CODE
LOWpython/mirage/core/s3/checksum.py71 except Exception as exc:CODE
LOWpython/mirage/core/s3/copy.py84 except Exception as exc:CODE
LOWpython/mirage/core/s3/stream.py63 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py165 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py266 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py388 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py402 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py422 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py432 except Exception:CODE
LOWpython/mirage/core/s3/driver.py486 except Exception:CODE
LOWpython/mirage/core/s3/driver.py559 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py629 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py635 except Exception:CODE
LOWpython/mirage/core/s3/driver.py711 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py874 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py904 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py936 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py980 except Exception as exc:CODE
LOWpython/mirage/core/s3/driver.py1050 except Exception as exc:CODE
LOWpython/mirage/core/s3/read.py100 except Exception as exc:CODE
LOWpython/mirage/core/chroma/tree.py30 except Exception as exc:CODE
LOWpython/mirage/core/box/client.py474 except Exception:CODE
LOWpython/mirage/core/object_store/write.py119 except Exception as exc:CODE
LOWpython/mirage/core/object_store/write.py166 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/write.py40 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/write.py46 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/write.py77 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/client.py70 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rmdir.py37 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rmdir.py45 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/rm.py64 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stream.py44 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/mkdir.py42 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stat.py56 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/stat.py72 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/unlink.py36 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/readdir.py45 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/readdir.py87 except Exception as exc:CODE
LOWpython/mirage/core/databricks_volume/read.py41 except Exception as exc:CODE
LOWpython/mirage/core/msgraph/drive.py406 except Exception:CODE
LOWpython/mirage/core/tidb_filesystem/exists.py28 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/rename.py56 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/client.py316 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/rmdir.py28 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/rm.py38 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/stream.py43 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/mkdir.py49 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/stat.py71 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/unlink.py30 except Exception as exc:CODE
LOWpython/mirage/core/tidb_filesystem/read.py70 except Exception as exc:CODE
LOWpython/mirage/core/ssh/write.py70 except Exception:CODE
216 more matches not shown…
Cross-File Repetition55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHpython/tests/core/gsheets/test_readdir.py0drive reporting a corpus it skipped means the listing is short. keeping 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. keeping 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. keeping it would pin the short listing until it expires,STRING
HIGHpython/tests/shell/job_table/test_redis.py0a runner that never finishes on its own. args: job (job): the job being run.STRING
HIGHpython/tests/shell/job_table/test_table.py0a runner that never finishes on its own. args: job (job): the job being run.STRING
HIGHpython/tests/workspace/executor/test_jobs.py0a runner that never finishes on its own. args: job (job): the job being run.STRING
HIGHpython/tests/workspace/mount/test_mount.py0yields its bytes once, then waits until it is closed, once.STRING
HIGHpython/tests/workspace/executor/command/test_cli.py0yields its bytes once, then waits until it is closed, once.STRING
HIGH…mands/builtin/generic/crossmount/stream/test_stream.py0yields its bytes once, then waits until it is closed, once.STRING
HIGHpython/tests/runtime/sandbox/ssh/test_sdk.py0every name comes from the sdk, or every name is none; never a mix.STRING
HIGHpython/tests/runtime/sandbox/daytona/test_sdk.py0every name comes from the sdk, or every name is none; never a mix.STRING
HIGHpython/tests/runtime/sandbox/e2b/test_sdk.py0every name comes from the sdk, or every name is none; never a mix.STRING
HIGHpython/tests/runtime/sandbox/ssh/test_sdk.py0ci installs every extra, so this is the only run of the except arm.STRING
HIGHpython/tests/runtime/sandbox/daytona/test_sdk.py0ci installs every extra, so this is the only run of the except arm.STRING
HIGHpython/tests/runtime/sandbox/e2b/test_sdk.py0ci installs every extra, so this is the only run of the except arm.STRING
HIGHpython/tests/commands/cli/builtin/git/conftest.py0run one git line against the mounted repository. args: git_ws (workspace): workspace with the repository and cli. line (STRING
HIGHpython/tests/commands/cli/builtin/git/test_add.py0run one git line against the mounted repository. args: git_ws (workspace): workspace with the repository and cli. line (STRING
HIGHpython/tests/commands/cli/builtin/git/test_status.py0run one git line against the mounted repository. args: git_ws (workspace): workspace with the repository and cli. line (STRING
HIGHpython/mirage/vfs/box/box.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/onedrive/onedrive.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gcal/gcal.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gdrive/gdrive.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/github/github.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/sharepoint/sharepoint.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gsheets/gsheets.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/dropbox/dropbox.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/slack/slack.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/trello/trello.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gdocs/gdocs.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gslides/gslides.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gmail/gmail.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/email/email.py0whether this vfs answers ``name``; with no walk limit it reads every file rather than ask the service's search. args: naSTRING
HIGHpython/mirage/vfs/gsheets/gsheets.py0render a presentation as the json its ``.gslide.json`` file holds. args: path (pathspec): the file. offset (int): the wiSTRING
HIGHpython/mirage/vfs/gdocs/gdocs.py0render a presentation as the json its ``.gslide.json`` file holds. args: path (pathspec): the file. offset (int): the wiSTRING
HIGHpython/mirage/vfs/gslides/gslides.py0render a presentation as the json its ``.gslide.json`` file holds. args: path (pathspec): the file. offset (int): the wiSTRING
HIGHpython/mirage/core/box/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/gcal/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/airtable/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/dropbox/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/gmail/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/google/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/gdrive/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/core/msgraph/events.py0return the changes under ``root`` since ``checkpoint``. args: root (pathspec): event root. checkpoint (str | none): the STRING
HIGHpython/mirage/runtime/files.py0read at an explicit offset without moving the position. args: offset (int): byte offset to read from. size (int): byte bSTRING
HIGHpython/mirage/runtime/handles/chunked.py0read at an explicit offset without moving the position. args: offset (int): byte offset to read from. size (int): byte bSTRING
HIGHpython/mirage/runtime/wasm/fs.py0read at an explicit offset without moving the position. args: offset (int): byte offset to read from. size (int): byte bSTRING
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/mv.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/rm.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/switch.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/restore.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/unexpand.py0run expand over resolved operands; mirrors expandgeneric. args: paths (list[pathspec]): glob-resolved operands, empty foSTRING
HIGHpython/mirage/commands/builtin/generic/rev.py0run expand over resolved operands; mirrors expandgeneric. args: paths (list[pathspec]): glob-resolved operands, empty foSTRING
HIGHpython/mirage/commands/builtin/generic/expand.py0run expand over resolved operands; mirrors expandgeneric. args: paths (list[pathspec]): glob-resolved operands, empty foSTRING
Empty Error Handlers39 hits · 195 pts
SeverityFileLineSnippetContext
HIGHpython/tests/core/disk/test_errors.py63except FileNotFoundError:CODE
HIGHpython/tests/workspace/test_command_timeout.py604except MirageAbortError:CODE
HIGHpython/tests/utils/test_abort.py183except asyncio.CancelledError:CODE
HIGHpython/tests/commands/native/conftest.py313except (FileExistsError, ValueError):CODE
HIGHpython/tests/commands/native/test_cross_mount.py82except (FileExistsError, ValueError):CODE
HIGHpython/tests/e2e/conftest.py251except (FileExistsError, ValueError):CODE
HIGHpython/tests/e2e/test_snapshot_drift_live.py123except Exception:CODE
HIGHpython/mirage/vfs/testing.py248except FileNotFoundError:CODE
HIGHpython/mirage/vfs/testing.py257except FileNotFoundError:CODE
HIGHpython/mirage/core/disk/write.py81except FileNotFoundError:CODE
HIGHpython/mirage/workspace/documentation/documents.py173except FileNotFoundError:CODE
HIGHpython/mirage/workspace/record/disk.py96except FileNotFoundError:CODE
HIGHpython/mirage/workspace/record/disk.py117except FileNotFoundError:CODE
HIGHpython/mirage/workspace/record/disk.py262except FileNotFoundError:CODE
HIGHpython/mirage/workspace/workspace/explainer.py426except Explained:CODE
HIGHpython/mirage/workspace/executor/builtins/links/ln.py712except CycleError:CODE
HIGHpython/mirage/workspace/executor/builtins/links/ln.py837except (FileNotFoundError, NotADirectoryError):CODE
HIGHpython/mirage/io/writer.py56except asyncio.CancelledError:CODE
HIGHpython/mirage/cli/daemon.py146except ProcessLookupError:CODE
HIGHpython/mirage/cli/daemon.py174except httpx.RequestError:CODE
HIGHpython/mirage/cli/daemon.py188except ProcessLookupError:CODE
HIGHpython/mirage/commands/cli/builtin/hf/download.py259except MISS_ERRORS:CODE
HIGH…ckages/core/src/runtime/python/pyodide/py/execution.py357except BrokenPipeError:CODE
HIGHinteg/access/adapters.py1832except httpx.TimeoutException:CODE
HIGHinteg/access/adapters.py2200except TimeoutError:CODE
HIGHinteg/runtime/microsandbox/guest_ops.py146except FileNotFoundError:CODE
HIGHinteg/runtime/microsandbox/live.py443except asyncio.CancelledError:CODE
HIGHinteg/runtime/microsandbox/live.py602except asyncio.CancelledError:CODE
HIGHinteg/events/run.py290except (asyncio.CancelledError, StopAsyncIteration):CODE
HIGHinteg/wandb/sdk.py106except (ValueError, wandb.errors.CommError):CODE
HIGHexamples/python/configuration/cross/cross_fuse.py169except EOFError:CODE
HIGHexamples/python/vfs/s3/s3_fuse.py98except EOFError:CODE
HIGHexamples/python/vfs/hf_models/hf_models_fuse.py55except EOFError:CODE
HIGHexamples/python/vfs/hf_spaces/hf_spaces_fuse.py58except EOFError:CODE
HIGHexamples/python/vfs/hf_datasets/hf_datasets_fuse.py59except EOFError:CODE
HIGHexamples/python/vfs/hf_buckets/hf_buckets_fuse.py76except EOFError:CODE
HIGHexamples/python/vfs/seaweedfs/seaweedfs_fuse.py91except EOFError:CODE
HIGHscripts/check_vfs_md_parity.py187except ValueError:CODE
HIGHscripts/check_cli_cold_start.py394except UnresolvedImport:CODE
AI Structural Patterns55 hits · 52 pts
SeverityFileLineSnippetContext
LOWpython/tests/commands/native/test_curl.py52CODE
LOWpython/tests/commands/native/test_curl.py264CODE
LOWpython/tests/commands/builtin/test_net.py80CODE
LOWpython/tests/sim/world.py392CODE
LOWpython/mirage/vfs/base.py203CODE
LOWpython/mirage/core/google/client.py285CODE
LOWpython/mirage/core/google/drive.py77CODE
LOWpython/mirage/core/api/client.py583CODE
LOWpython/mirage/core/email/search.py121CODE
LOWpython/mirage/workspace/files.py119CODE
LOWpython/mirage/workspace/expand/types.py70CODE
LOWpython/mirage/workspace/workspace/execute.py462CODE
LOWpython/mirage/workspace/workspace/workspace.py258CODE
LOWpython/mirage/workspace/workspace/workspace.py1859CODE
LOWpython/mirage/workspace/workspace/workspace.py1983CODE
LOWpython/mirage/workspace/workspace/workspace.py2125CODE
LOWpython/mirage/workspace/workspace/workspace.py2951CODE
LOWpython/mirage/workspace/workspace/workspace.py2973CODE
LOWpython/mirage/workspace/workspace/workspace.py2995CODE
LOWpython/mirage/workspace/workspace/workspace.py3016CODE
LOWpython/mirage/workspace/workspace/workspace.py3177CODE
LOW…thon/mirage/workspace/executor/find_action_dispatch.py443CODE
LOWpython/mirage/workspace/executor/redirect.py503CODE
LOWpython/mirage/workspace/executor/redirect.py577CODE
LOWpython/mirage/workspace/executor/pipes.py407CODE
LOWpython/mirage/workspace/node/execute_node.py918CODE
LOWpython/mirage/workspace/node/explain.py446CODE
LOWpython/mirage/workspace/node/command_dispatch.py717CODE
LOWpython/mirage/io/types.py301CODE
LOWpython/mirage/server/registry.py234CODE
LOWpython/mirage/server/app.py287CODE
LOWpython/mirage/cli/tools.py143CODE
LOWpython/mirage/commands/spec/types.py159CODE
LOWpython/mirage/commands/builtin/utils/http.py134CODE
LOWpython/mirage/commands/builtin/utils/http.py222CODE
LOWpython/mirage/commands/builtin/generic/tree.py291CODE
LOWpython/mirage/commands/builtin/generic/gzip.py62CODE
LOWpython/mirage/commands/builtin/generic/tail.py305CODE
LOWpython/mirage/commands/builtin/generic/wc.py260CODE
LOWpython/mirage/commands/builtin/generic/checksum.py538CODE
LOWpython/mirage/commands/builtin/generic/decompress.py286CODE
LOWpython/mirage/commands/builtin/generic/comm.py24CODE
LOWpython/mirage/commands/builtin/generic/mktemp.py113CODE
LOWpython/mirage/commands/builtin/generic/shuf.py337CODE
LOWpython/mirage/commands/builtin/generic/ls.py934CODE
LOWpython/mirage/commands/builtin/generic/ls.py1391CODE
LOWpython/mirage/commands/builtin/generic/awk.py112CODE
LOWpython/mirage/commands/builtin/generic/stat.py673CODE
LOWpython/mirage/commands/builtin/generic/cmp.py92CODE
LOWpython/mirage/commands/builtin/generic/find.py49CODE
LOWpython/mirage/commands/builtin/generic/numfmt.py17CODE
LOWpython/mirage/commands/builtin/generic/xxd.py293CODE
LOW…on/mirage/commands/builtin/generic/crossmount/route.py51CODE
LOW…age/commands/builtin/generic/crossmount/relay/relay.py47CODE
LOW…ckages/core/src/runtime/python/pyodide/py/execution.py152CODE
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…amples/python/agents/openai_agents_api/redis_report.py81 with client.beta.agents.sessions.events.stream(session.id) as stream:CODE
CRITICAL…amples/python/agents/openai_agents_api/redis_report.py82 client.beta.agents.sessions.events.create(CODE
CRITICAL…es/typescript/agents/openai_agents_api/redis_report.ts79 const stream = await client.beta.agents.sessions.events.stream(session.id)CODE
CRITICAL…es/typescript/agents/openai_agents_api/redis_report.ts80 await client.beta.agents.sessions.events.create(session.id, {CODE
AI Slop Vocabulary10 hits · 35 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/vfs/test_listing_version.py208# A declarer gets a harness proving that its check and its fill agree, soCOMMENT
MEDIUM⚡python/tests/vfs/test_read_revalidatable.py1237 # The write rows run each family's own harness through _fake, so aCOMMENT
MEDIUM⚡python/tests/vfs/test_read_revalidatable.py1238 # writable family is covered exactly when it has a harness; theCOMMENT
MEDIUM⚡python/tests/workspace/test_execute_options.py472# ── agent harness pattern ─────────────────────────────────────────COMMENT
MEDIUM⚡python/tests/commands/cli/builtin/ntn/test_api.py226 # The conformance harness closes stdin and every other line wouldCOMMENT
MEDIUMpython/tests/commands/cli/builtin/ntn/test_serde.py25# harness.COMMENT
MEDIUMpython/tests/commands/builtin/test_expand_unexpand.py190# differential harness ran 1548 more combinations of these lists againstCOMMENT
LOW⚡python/tests/commands/builtin/test_bc.py1321 # then the 16 in the base it just set.COMMENT
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
Dead Code15 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/core/hf_hub/test_stream.py139CODE
MEDIUMpython/tests/commands/builtin/generic/test_sed.py39CODE
MEDIUMpython/tests/commands/builtin/generic/test_rg.py154CODE
MEDIUMpython/tests/commands/builtin/generic/test_cut.py74CODE
MEDIUMpython/tests/commands/builtin/generic/test_cut.py190CODE
MEDIUMpython/tests/commands/builtin/generic/test_tail.py1162CODE
MEDIUMpython/tests/commands/builtin/generic/test_tail.py1203CODE
MEDIUMpython/tests/commands/builtin/generic/test_join.py240CODE
MEDIUMpython/tests/commands/builtin/generic/test_tee.py320CODE
MEDIUMpython/tests/commands/builtin/generic/test_checksum.py110CODE
MEDIUMpython/tests/commands/builtin/generic/test_file.py52CODE
MEDIUMpython/tests/commands/builtin/generic/test_file.py57CODE
MEDIUMpython/tests/commands/builtin/generic/test_jq.py93CODE
MEDIUMpython/tests/commands/builtin/generic/test_cmp.py137CODE
MEDIUMpython/mirage/shell/descriptors.py82CODE
Fake / Example Data21 hits · 22 pts
SeverityFileLineSnippetContext
LOWpython/tests/core/google/test_drive.py47 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/conftest.py42 manager._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/conftest.py55 manager._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_checksum.py37 manager._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_stat.py46 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_read.py56 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdrive/test_readdir.py53 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdocs/test_write.py32 mgr._access_token = "fake-token"CODE
LOWpython/tests/core/gdocs/test_read.py42 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.py40 mgr._access_token = "fake-token"CODE
LOWpython/tests/sim/world.py319 token=SecretStr("fake-token"),CODE
LOW⚡python/tests/sim/test_multi_backend.py720 token=SecretStr("fake-token"), owner="test-owner", repo="test-repo"CODE
LOWpython/mirage/core/slack/search.py254 "placeholder",CODE
LOWtypescript/packages/core/src/core/slack/search.ts243 'placeholder',CODE
LOW…ipt/packages/core/src/workspace/workspace/fill.test.ts288 registerSecrets('fake-key', FakeConfig, fetch)CODE
LOW…ipt/packages/core/src/workspace/workspace/fill.test.ts289 const ws = makeWs({ API: { from: 'fake-key', ref: 'r' } })CODE
LOWtypescript/packages/browser/tests/test-utils.ts528 const token = options.token ?? 'fake-token'CODE
LOW…/packages/node/src/runtime/sandbox/ssh/runtime.test.ts171 await writeFile(keyPath, 'fake-key')CODE
LOW…/packages/node/src/runtime/sandbox/ssh/runtime.test.ts183 { type: 'publickey', username: userInfo().username, key: Buffer.from('fake-key') },CODE
Overly Generic Function Names9 hits · 10 pts
SeverityFileLineSnippetContext
LOWpython/tests/vfs/test_call.py86 async def helper(self, path: PathSpec) -> None:CODE
LOW⚡python/tests/commands/cli/builtin/git/test_combined.py86 lines[4] = "function handleRequest(request, response) {\n"CODE
LOW⚡python/tests/commands/cli/builtin/git/test_combined.py91 "@@@ -12,7 -12,7 +12,7 @@@ function handleRequest(request, respons\n"CODE
LOWpython/tests/e2e/test_find_pipe_while.py23 "src/utils/helpers.py": b"def helper(): pass\n",CODE
LOWpython/tests/sim/test_multi_backend.py474 assert b"def helper():" in res.stdoutCODE
LOWtypescript/packages/core/src/core/langfuse/client.ts125function 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
LOW…ges/core/src/commands/cli/builtin/git/combined.test.ts82 lines[4] = 'function handleRequest(request, response) {\n'CODE
LOW…ges/core/src/commands/cli/builtin/git/combined.test.ts90 '@@@ -12,7 -12,7 +12,7 @@@ function handleRequest(request, respons\n',CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHrust/mirage-rs/src/nfs/nfs.rs300/// (FALSE), the server cannot set times as requested.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/test_integ.yml90 # and runtime; workspace/abort owns only line orchestration.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtypescript/scripts/load-env.sh7# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/python/vfs/s3/s3.py187 # Read file to populate cache (cat declares cache, wc materializes)COMMENT