AI Slop Code Risk Monitor

ashhart/TensorFold

SlopCodeMonitor badge for ashhart/TensorFold Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

LLM Inference Engine for Metal, CUDA and Vulkan.

2.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ashhart/TensorFold, a Zig project with 1,917 GitHub stars. SynthScan examined 1,147,428 lines of code across 4145 source files, recording 2350 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 2.7 (Low 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.

2.7
Adjusted Signal
2.7
Raw Pattern Score
100%
Time Factor
2026-11-12
Last Push
1.9K
Stars
Zig
Language
1.1M
Lines of Code
4.1K
Files
2.4K
Pattern Hits
2026-11-12
Scan Date
0.02
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-11-12.

Cognitive Ownership Risk 8.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.8/100 · LOW

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

Agent Over-Engineering Ratio 8.8/100 · LOW

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

PR Review Velocity Impact 12.2/100 · LOW

Which changes need focused human review? 2350 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 16HIGH 71MEDIUM 74LOW 2189

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 2350 distinct pattern matches across 19 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 Identifiers1547 hits · 1721 pts
SeverityFileLineSnippetContext
LOW⚡zig/tests/server/test_memory_http.py52 def test_warning_and_port_in_one_write(self):CODE
LOW⚡zig/tests/server/test_memory_http.py56 def test_eof_without_port_is_refused(self):CODE
LOW⚡zig/tests/server/test_memory_http.py61 def test_silent_child_times_out(self):CODE
LOWzig/tests/server/test_memory_http.py101 def test_both_routes_are_gated_even_with_metrics_open(self):CODE
LOWzig/tests/server/test_memory_http.py113 def test_health_redaction_is_preserved(self):CODE
LOWzig/tests/server/test_memory_http.py118 def test_process_peak_scope_and_metrics(self):CODE
LOWtools/evidence_index.py249def read_conformance_profiles(root):CODE
LOWtools/test_memory_receipts.py27 def test_both_ranks_require_complete_lifecycle(self):CODE
LOWtools/test_memory_receipts.py35 def test_invalid_identity_clock_peak_and_missing_fields(self):CODE
LOW⚡tools/test_memory_receipts.py46 def test_resets_are_retained_as_separate_intervals(self):CODE
LOW⚡tools/test_memory_receipts.py54 def test_invalid_interval_never_launches(self):CODE
LOW⚡tools/test_memory_receipts.py63 def test_actual_child_memory_exit_and_missing_native_status(self):CODE
LOWtools/test_memory_receipts.py78 def test_forwarding_is_disarmed_before_child_can_be_reaped(self):CODE
LOWtools/test_memory_receipts.py91 def test_failed_child_cannot_record_qualified_native_result(self):CODE
LOWtools/test_fsr_profile.py24 def test_synthetic_routes_are_complete_repeatable_and_preserve_raw_rows(self):CODE
LOWtools/test_fsr_profile.py38 def test_uniform_component_io_model_counts_coalescing_and_labels_predictions(self):CODE
LOWtools/test_fsr_profile.py53 def test_malformed_io_geometry_and_unmeasured_rates_refuse(self):CODE
LOWtools/test_fsr_profile.py63 def test_hit_observations_preserve_union_and_whole_budget(self):CODE
LOWtools/test_fsr_profile.py77 def test_native_batch_rows_and_streams_remain_visible(self):CODE
LOWtools/test_fsr_profile.py89 def test_truncation_missing_layer_duplicate_and_false_close_refuse(self):CODE
LOWtools/test_fsr_profile.py101 def test_bad_metadata_and_forecasts_cannot_claim_actual_union(self):CODE
LOW⚡tools/test_pr_check.py16 def test_touched_source_limit_including_inherited_long_file(self):CODE
LOW⚡tools/test_pr_check.py22 def test_home_paths_warn_without_echoing_the_value(self):CODE
LOW⚡tools/test_pr_check.py31 def test_parent_patch_warns_and_regular_relative_path_is_allowed(self):CODE
LOW⚡tools/test_pr_check.py41 def test_documentation_examples_only_warn_and_main_stays_successful(self):CODE
LOW⚡tools/test_pr_check.py53 def test_only_new_top_level_markdown_warns(self):CODE
LOW⚡tools/test_pr_check.py58 def test_unreleased_pr_warning_never_uses_an_old_release(self):CODE
LOW⚡tools/test_pr_check.py65 def test_added_diff_lines_keep_numbers_and_ignore_removed_private_text(self):CODE
LOW⚡tools/test_pr_check.py69 def test_same_current_lean_checker_counts_baseline_and_planted_new_comment(self):CODE
LOW⚡tools/test_pr_check.py80 def test_duplicate_lean_findings_count_and_line_moves_do_not(self):CODE
LOW⚡tools/test_pr_check.py86 def test_merge_base_uses_local_ref_and_common_ancestor(self):CODE
LOW⚡tools/test_pr_check.py96 def test_staged_unstaged_untracked_and_deleted_are_in_the_check(self):CODE
LOWtools/test_pr_check.py119 def test_advisories_exit_zero_errors_exit_one_and_incomplete_exit_two(self):CODE
LOW⚡tools/test_draft_vocab_responses.py31 def test_frequency_ties_use_global_id_and_receipt_order_is_irrelevant(self):CODE
LOW⚡tools/test_draft_vocab_responses.py37 def test_selection_and_heldout_never_train_the_list(self):CODE
LOW⚡tools/test_draft_vocab_responses.py45 def test_split_leakage_is_refused_for_prompt_template_and_source(self):CODE
LOW⚡tools/test_draft_vocab_responses.py52 def test_same_vocab_wrong_checkpoint_tokenizer_or_head_receipt_refuses(self):CODE
LOW⚡tools/test_draft_vocab_responses.py61 def test_empty_negative_bool_float_string_and_outside_ids_refuse(self):CODE
LOW⚡tools/test_draft_vocab_responses.py68 def test_checksum_settings_collector_prompt_and_uncommitted_receipts_refuse(self):CODE
LOW⚡tools/test_draft_vocab_responses.py77 def test_missing_duplicate_unplanned_and_extra_fields_refuse(self):CODE
LOW⚡tools/test_draft_vocab_responses.py87 def test_mandatory_controls_are_complete_without_low_id_fill(self):CODE
LOWtools/test_draft_vocab_responses.py101 def test_every_split_and_bucket_has_exact_independent_counts(self):CODE
LOW⚡tools/test_draft_vocab_responses.py119 def test_duplicate_json_keys_nonfinite_numbers_and_unknown_metadata_refuse(self):CODE
LOW⚡tools/test_draft_vocab_responses.py129 def test_output_is_the_artifact_the_zig_parser_actually_loads(self):CODE
LOW⚡tools/test_draft_vocab_responses.py139 def test_cli_needs_no_tokenizer_and_failure_preserves_existing_output(self):CODE
LOWtools/test_draft_vocab_responses.py156 def test_atomic_write_failure_removes_its_temporary(self):CODE
LOWtools/test_draft_vocab_responses.py165 def test_legacy_text_mode_keeps_its_existing_cli_and_low_id_fill(self):CODE
LOWtools/pipeline/test_pipe_receipt.py79 def test_table_ratio_against_the_best_box(self):STRING
LOW⚡tools/pipeline/test_pipe_receipt.py97 def test_ring_env_names_both_link_addresses(self):STRING
LOW⚡tools/pipeline/test_pipe_receipt.py105 def test_remote_command_quotes_and_never_carries_the_key(self):STRING
LOW⚡tools/zig/check_cuda_symbols.py35 def test_missing_entry_and_arch_are_refused(self):CODE
LOW⚡tools/zig/check_cuda_symbols.py39 def test_declaration_or_substring_is_not_a_function(self):CODE
LOW⚡tools/zig/check_cuda_symbols.py42 def test_each_sm_must_hold_each_function(self):CODE
LOW⚡tools/zig/cuda_common_check_test.py34 def test_baseline_and_planted_ldmatrix(self):CODE
LOW⚡tools/zig/cuda_common_check_test.py39 def test_duplicate_definition(self):CODE
LOW⚡tools/zig/cuda_common_check_test.py47 def test_comment_and_whitespace_are_not_new_copies(self):CODE
LOW⚡tools/zig/cuda_common_check_test.py51 def test_multiline_asm_and_constraint_change(self):CODE
LOWtools/zig/cuda_common_check_test.py65 def test_removed_copy_is_stale(self):CODE
LOWtools/zig/cuda_common_check_test.py75 def test_every_requested_instruction_and_definition(self):CODE
LOWtools/zig/cuda_sass_identity_test.py52 def test_second_encoding_word(self):CODE
1487 more matches not shown…
Unused Imports227 hits · 227 pts
SeverityFileLineSnippetContext
LOWzig/tests/cuda/aot_fallback_kernels.py10CODE
LOWzig/tests/cuda/flashnext/capture_rows.py4CODE
LOWzig/tests/cuda/flashnext/capture_mtp.py4CODE
LOWzig/tests/cuda/flashnext/capture.py4CODE
LOWzig/tests/cuda/flashnext/capture_sparse.py4CODE
LOWzig/tests/cuda/flashnext/capture_sparse.py27CODE
LOWzig/tests/cuda/oracle/sass_compare.py3CODE
LOWzig/tests/cuda/oracle/oracle.py3CODE
LOWzig/tests/cuda/nemotron/sass_compare.py3CODE
LOWzig/tests/cuda/nemotron/capture.py4CODE
LOWzig/tests/cuda/nemotron/gate.py4CODE
LOWzig/tests/cuda/nemotron/test_aot_manifest.py6CODE
LOWzig/tests/server/security_cases.py2CODE
LOWzig/tests/server/fake_text.py3CODE
LOWzig/tests/server/wire.py3CODE
LOWzig/tests/server/freeze_cases.py3CODE
LOWzig/tests/server/freeze_cases.py7CODE
LOWzig/tests/server/corpus.py3CODE
LOWtools/zig_gate.py3CODE
LOWtools/draft_vocab_responses.py2CODE
LOWtools/step5_fp8_to_mlx.py28CODE
LOWtools/step5_fp8_to_mlx.py39CODE
LOWtools/draft_vocab.py10CODE
LOWtools/clef_head_gate.py12CODE
LOWtools/clef_head_gate.py12CODE
LOWtools/glm5_q8_0_gguf_to_mlx.py19CODE
LOWtools/draft_vocab_extend.py14CODE
LOWtools/test_draft_vocab_responses.py4CODE
LOWtools/clef_e2e.py11CODE
LOWtools/zig/llama_teacher_judge.py2CODE
LOWtools/zig/gate_judge.py3CODE
LOWtools/zig/check_prefill_model.py3CODE
LOWtools/zig/spark25_convert.py3CODE
LOWtools/zig/vision_urls_served.py3CODE
LOWtools/zig/gemma4_e4b_toolcmp.py4CODE
LOWtools/zig/step5_check_ref.py5CODE
LOWtools/zig/record_lanes.py3CODE
LOWtools/zig/mlx_op_cases.py3CODE
LOWtools/zig/lanes_units.py3CODE
LOWtools/zig/xpu_fixtures_qmv.py2CODE
LOWtools/zig/glm_compare.py3CODE
LOWtools/zig/vision_served.py3CODE
LOWtools/zig/gemma4_12b_convert.py3CODE
LOWtools/zig/grammar_masks.py3CODE
LOWtools/zig/grammar_masks.py145CODE
LOWtools/zig/check_mlx_ops.py3CODE
LOWtools/zig/metal_source.py3CODE
LOWtools/zig/step5_vision_ref.py5CODE
LOWtools/zig/lighton_ocr_pixels.py3CODE
LOWtools/zig/qwen27_gate.py2CODE
LOWtools/zig/lighton_ocr_reference.py3CODE
LOWtools/zig/flashnext_check_dump.py3CODE
LOWtools/zig/qwen27_http_gate.py2CODE
LOWtools/zig/gemma4_e4b_reference.py4CODE
LOWtools/zig/capture_qwen35.py2CODE
LOWtools/zig/gemma4_e4b_layers.py3CODE
LOWtools/zig/picture_webp_fixtures.py3CODE
LOWtools/zig/oracle_nemotron_rows.py3CODE
LOWtools/zig/oracle_nemotron_rows.py18CODE
LOWtools/zig/triton_aot_pack.py4CODE
167 more matches not shown…
Hallucination Indicators16 hits · 205 pts
SeverityFileLineSnippetContext
CRITICALzig/src/server/slide_bloom.js99 this.blur.uniforms.step.value.set(0.5 / this.half[0].width, 0.5 / this.half[0].height);CODE
CRITICALapp/electron/agent/tool-parallel-search.test.ts81 assert.ok(schema.function.parameters.properties.provider.enum.includes('parallel'), 'the maintained tool schema expoCODE
CRITICALapp/electron/main/host/bot-polling-runtime.ts214 const token = store.settings.botControl.telegram.botToken.trim()CODE
CRITICALapp/electron/main/host/bot-polling-runtime.ts228 const token = store.settings.botControl.telegram.botToken.trim()CODE
CRITICAL⚡app/electron/main/host/whatsapp-lifecycle-ipc.test.ts64 assert.equal(state.store.settings.whatsapp.sources.find((item) => item.id === 'missing')!.paired, false, 'missing protCODE
CRITICAL⚡app/electron/main/host/whatsapp-lifecycle-ipc.test.ts69 assert.equal(state.store.settings.whatsapp.sources.find((item) => item.id === 'paired')!.enabled, false)CODE
CRITICAL⚡app/electron/main/host/whatsapp-lifecycle-ipc.test.ts74 assert.equal(state.store.settings.whatsapp.sources.find((item) => item.id === 'paired')!.enabled, true)CODE
CRITICALapp/electron/main/host/whatsapp-lifecycle-ipc.test.ts85 state.store.settings = { ...state.store.settings, whatsapp: { ...state.store.settings.whatsapp, sources: state.storeCODE
CRITICALapp/electron/main/host/whatsapp-lifecycle-ipc.test.ts95 state.beforeAuthRead = (id) => { if (id === 'paired') state.store.settings.whatsapp.sources = state.store.settings.whaCODE
CRITICAL⚡app/src/lib/mock/connectors.ts64 const telegramOptedIn = mockState.settings.botControl.telegram.enabled && Boolean(mockState.settings.botControl.telegrCODE
CRITICAL⚡app/src/lib/mock/connectors.ts72 && Boolean(mockState.settings.botControl.whatsapp.accessToken.trim())CODE
CRITICAL⚡app/src/lib/mock/connectors.ts73 && Boolean(mockState.settings.botControl.whatsapp.phoneNumberId.trim())CODE
CRITICAL⚡app/src/lib/mock/connectors.ts74 && Boolean(mockState.settings.botControl.whatsapp.verifyToken.trim())CODE
CRITICAL⚡app/src/lib/mock/connectors.ts75 && Boolean(mockState.settings.botControl.whatsapp.appSecret.trim())CODE
CRITICAL⚡web/tensorfold_web/ui_dist/assets/index-cck1M0ft.js64`,y="/",x="*",g="",v="comment",j="declaration";function T(R,D){if(typeof R!="string")throw new TypeError("First argumentCODE
CRITICALweb/tensorfold_web/ui_dist/assets/index-cck1M0ft.js91`))}function p(j,T,_,R){const D=_.enter("tableCell"),$=_.enter("phrasing"),U=_.containerPhrasing(j,{...R,before:f,after:CODE
Deep Nesting187 hits · 186 pts
SeverityFileLineSnippetContext
LOWzig/tests/hip_affine_fixtures.py14CODE
LOWzig/tests/qwen35/serve_prefix.py14CODE
LOWzig/tests/qwen35/serve_prefill.py23CODE
LOWzig/tests/cuda/flashnext/capture.py154CODE
LOWzig/tests/cuda/oracle/oracle.py81CODE
LOWzig/tests/cuda/nemotron/capture.py118CODE
LOWzig/tests/cuda/nemotron/capture.py160CODE
LOWzig/tests/cuda/nemotron/capture.py125CODE
LOWzig/tests/server/security_check.py123CODE
LOWzig/tests/server/wire.py50CODE
LOWtools/fsr_profile.py35CODE
LOWtools/evidence_index.py271CODE
LOWtools/bench_image_session.py57CODE
LOWtools/shared_prefix_load.py19CODE
LOWtools/bench_concurrent.py203CODE
LOWtools/startup_receipt.py85CODE
LOWtools/step5_fp8_to_mlx.py160CODE
LOWtools/image_cache_turns.py53CODE
LOWtools/conformance.py435CODE
LOWtools/conformance.py302CODE
LOWtools/conformance.py396CODE
LOWtools/pr_check.py40CODE
LOWtools/fsr_synthetic.py8CODE
LOWtools/clef_e2e.py53CODE
LOWtools/clef_e2e.py149CODE
LOWtools/memory_receipts.py14CODE
LOWtools/memory_receipts.py39CODE
LOWtools/pipeline/pipe_receipt.py308CODE
LOWtools/zig/llama_teacher_judge.py50CODE
LOWtools/zig/glm_ocr_reference.py298CODE
LOWtools/zig/gate_judge.py106CODE
LOWtools/zig/bench_sessions.py282CODE
LOWtools/zig/bench_sessions.py109CODE
LOWtools/zig/check_cuda_sources.py46CODE
LOWtools/zig/check_prefill_model.py86CODE
LOWtools/zig/spark25_convert.py89CODE
LOWtools/zig/flashnext_mtp_chain.py13CODE
LOWtools/zig/k3_check.py131CODE
LOWtools/zig/mlx_op_cases.py165CODE
LOWtools/zig/mlx_op_cases.py309CODE
LOWtools/zig/mlx_op_cases.py351CODE
LOWtools/zig/lanes_units.py41CODE
LOWtools/zig/lanes_units.py154CODE
LOWtools/zig/lanes_units.py252CODE
LOWtools/zig/xpu_soak_server.py72CODE
LOWtools/zig/reuse_served.py346CODE
LOWtools/zig/reuse_served.py410CODE
LOWtools/zig/reuse_served.py468CODE
LOWtools/zig/drama_reference_cache_check.py44CODE
LOWtools/zig/drama_reference_cache_check.py58CODE
LOWtools/zig/xpu_compare_ref.py50CODE
LOWtools/zig/gemma4_e4b_mstreams.py19CODE
LOWtools/zig/grammar_masks.py137CODE
LOWtools/zig/check_mlx_ops.py215CODE
LOWtools/zig/metal_source.py78CODE
LOWtools/zig/test_flashnext_constraint_gate.py14CODE
LOWtools/zig/test_flashnext_constraint_gate.py29CODE
LOWtools/zig/keep_rate_records.py7CODE
LOWtools/zig/qwen27_gate.py115CODE
LOWtools/zig/lighton_ocr_reference.py445CODE
127 more matches not shown…
Cross-Language Confusion31 hits · 171 pts
SeverityFileLineSnippetContext
HIGHzig/tests/server/security_check.py80 decision = b'{"state":null,"questions":{"q":{"instructions":"Choose one","criteria":{"A":"Alpha","B":"Beta"}}}}'CODE
HIGHtools/evidence_index.py35is ``unknown`` (null).STRING
HIGHtools/clef_e2e.py123 """KL(p || q), strict: a term with p > 0 and q == 0 is infinite; only terms where p is 0 drop out."""STRING
HIGH⚡tools/pipeline/test_pipe_receipt.py109 self.assertTrue(cmd.startswith("cd /r/TensorFold && env "))STRING
HIGHtools/pipeline/pipe_receipt.py213 cmd = f"umask 077 && cat > {shlex.quote(self.a.peer_secret)}"CODE
HIGH⚡tools/zig/lean_check_test.py31 'const c = @import("sys").getenv("TF_NEW_KNOB") != null and sys.getenv("TF_OTHER") == null;\n')CODE
HIGH⚡tools/zig/lean_check_test.py48 ("zig/src/platform/sys.zig", "return std.mem.span(c.getenv(name) orelse return null);\n"),CODE
HIGH⚡tools/zig/lean_check_test.py49 ("zig/src/platform/win_c.zig", "const wide = getenv(key) orelse return null;\n"),CODE
HIGH⚡tools/zig/lean_check_test.py63 'const off = envOff("TF_NEW") or getenv("NCCL_DEBUG") != null;\n')CODE
HIGHtools/zig/flashnext_dump.py82 (" if (m < M && nn < N)\n"CODE
HIGHtools/zig/flashnext_checked.py24 (" if (m < M && nn < N)\n"CODE
HIGHtools/zig/tokenizer_parity.py19 'pub fn main() !void {\n std.debug.print("{d}\\n", .{42});\n}\n// x+=1; y--; z->w; a<=b && c!=d || e>=f\n'CODE
HIGHtools/zig/tokenizer_parity.py19 'pub fn main() !void {\n std.debug.print("{d}\\n", .{42});\n}\n// x+=1; y--; z->w; a<=b && c!=d || e>=f\n'CODE
HIGHtools/zig/minimax_m3_kl.py10Row r is the distribution of token r + 1 given tokens 0..r. Per row: KL(release || served) in float64 over the wholeCODE
HIGHtools/zig/minimax_m3_kl.py106 print(f"{rows} rows: KL(release || served) mean {rep['kl_mean']:.5f}, median {rep['kl_median']:.5f}, "CODE
HIGHtools/xpu/a8_study.py2against the same rows in fp16, both through the GPTQ checkpoint's fp16 head: top-1 agreement and KL(fp16 || int8).STRING
HIGHweb/tensorfold_web/series.py69 db.execute("create table if not exists series (id text primary key, created real not null, doc text not nullCODE
HIGHweb/tensorfold_web/suites.py119 db.execute("create table if not exists suites (id text primary key, created real not null, doc text not nullCODE
HIGHweb/tensorfold_web/kl.py129 """A lower bound of KL(P || Q), from the tokens each side lists."""STRING
HIGH⚡web/tensorfold_web/conversations.py131 db.execute("create table if not exists conversations (id text primary key, created real not null, "CODE
HIGH⚡web/tensorfold_web/conversations.py132 "updated real not null, title text, doc text not null)")CODE
HIGH⚡web/tensorfold_web/conversations.py134 db.execute("create table if not exists folders (name text primary key, created real not null)")CODE
HIGH⚡web/tensorfold_web/conversations.py136 db.execute("create table if not exists presets (name text primary key, created real not null, "CODE
HIGH⚡web/tensorfold_web/conversations.py137 "doc text not null)")CODE
HIGH⚡web/tensorfold_web/bench_store.py20 create table if not exists runs (id text primary key, created real not null, finished real,CODE
HIGH⚡web/tensorfold_web/bench_store.py21 mode text not null, status text not null, model text, doc text not null);CODE
HIGH⚡web/tensorfold_web/bench_store.py23 seq integer not null, suite text not null, prompt text not null, draft integer not null,CODE
HIGH⚡web/tensorfold_web/bench_store.py24 doc text not null, primary key (run_id, seq));CODE
HIGHweb/tests/test_storage.py27 db.execute("create table if not exists series (id text primary key, created real not null, doc text not null)")CODE
HIGHdocs/receipts/glm-fp4local-80517fc3/tools/s5_compare.py6 - KL(bf16 || engine) over bf16's top 20 only, an approximation: sum p_bf16 (lp_bf16 - lp_engine) over bf16's 20, theSTRING
HIGH…s/receipts/glm-fp4local-80517fc3/tools/s5_prompt_lp.py4A reply's row t scores the sequence's token t from tokens 0..t-1 (row 0 is null): the given token's logprob and rank,STRING
Empty Error Handlers29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHtools/shared_prefix_load.py97except ValueError:CODE
HIGHtools/startup_receipt.py82except queue.Full:CODE
HIGHtools/bench_thinking.py27except (OSError, ValueError, TypeError):CODE
HIGHtools/conformance.py257except threading.BrokenBarrierError:CODE
HIGHtools/conformance.py418except (urllib.error.URLError, OSError):CODE
HIGHtools/pr_check.py33except subprocess.CalledProcessError:CODE
HIGHtools/memory_receipts.py34except (OSError, ValueError):CODE
HIGHtools/memory_receipts.py99except ProcessLookupError:CODE
HIGHtools/zig/drama_reference_cache_check.py52except (urllib.error.URLError, OSError):CODE
HIGHtools/zig/gate_cells.py68except OSError:CODE
HIGHtools/zig/flashnext_batch_serve.py74except (OSError, ValueError):CODE
HIGHtools/zig/flashnext_batch_serve.py92except (OSError, ValueError):CODE
HIGHtools/zig/gate_serve.py107except ProcessLookupError:CODE
HIGHtools/zig/mcdma_pair/compare_log.py111except ValueError:CODE
HIGHtools/lfm3/serve_check.py66except (urllib.error.URLError, TimeoutError):CODE
HIGHtools/tests/test_startup_receipt.py253except subprocess.TimeoutExpired:CODE
HIGHweb/tensorfold_web/catalog.py81except OSError:CODE
HIGHweb/tensorfold_web/living.py140except OSError:CODE
HIGHweb/tensorfold_web/bench_modes.py43except (httpx.HTTPError, ValueError):CODE
HIGHweb/tensorfold_web/engine_child.py47except psutil.Error:CODE
HIGHweb/tensorfold_web/storage.py59except sqlite3.Error:CODE
HIGHweb/tensorfold_web/living_versions.py80except (ValueError, OSError):CODE
HIGHweb/tensorfold_web/living_versions.py376except (ValueError, OSError):CODE
HIGHweb/tensorfold_web/httpread.py47except (httpx.HTTPError, OSError, RuntimeError):CODE
HIGHweb/tensorfold_web/mock_engine.py175except (BrokenPipeError, ConnectionResetError):CODE
HIGHweb/tensorfold_web/mock_engine.py330except (BrokenPipeError, ConnectionResetError):CODE
HIGHweb/tensorfold_web/living_teacher.py140except OSError:CODE
HIGHweb/tensorfold_web/living_teacher.py62except OSError:CODE
HIGHweb/tensorfold_web/living_teacher.py239except OSError:CODE
Decorative Section Separators46 hits · 142 pts
SeverityFileLineSnippetContext
MEDIUMapp/experiments/agent/calendar-ics.test.ts15// ── create ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts60// ── all-day ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts71// ── reschedule ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts92// ── cancel ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts108// ── line folding ──────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts121// ── icsInputFromMutation ──────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.test.ts149// ── assembleMeetingPrep ───────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/kg-memory.ts80// ── Entities ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/kg-memory.ts105// ── Facts (insert-with-supersede) ─────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/kg-memory.ts204// ── Point-in-time queries ─────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/kg-memory.ts263// ── Connected recall ──────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.ts136// ── Meeting prep ────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/experiments/agent/calendar-ics.ts236// ── helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/main-app.ts1208// ── Phase 6: production incident mode ────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.ts18// ── Request kinds ────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.ts40// ── Resolutions ──────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.ts218// ── Validation (pure) ────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/export.test.ts17// ── redactText ───────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/export.test.ts104// ── buildRunExport ───────────────────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts44// ── capture: counts + fingerprint + fields ───────────────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts59// ── fingerprint is order-stable + content-sensitive ──────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts84// ── immutability: snapshot is frozen + isolated from live mutation ───────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts104// ── restore returns a fresh mutable clone (rewind) ───────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts119// ── fork creates an alternate branch off a past snapshot ─────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts137// ── nextForkBranch avoids collisions ─────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts144// ── log: capture chain, dedup, rewind, fork, lineage ─────────────────────────COMMENT
MEDIUMapp/electron/agent/conversation-checkpoints.test.ts188// ── fileSha correlation carries through capture + fork ───────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts25// ── park returns a pending promise that stays pending until resolved ──────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts40// ── allow (no edit) resolves with the original args, edited=false ─────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts52// ── allow WITH edited args resolves with the edit, edited=true ────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts64// ── deny rejects with InterruptDeniedError carrying id + reason ───────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts79// ── question → answer resolves with the free-form value ───────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts101// ── kind/resolution mismatch is rejected both ways ────────────────────────────COMMENT
MEDIUM⚡app/electron/agent/interrupt-registry.test.ts114// ── unknown id and double-resolve both throw ──────────────────────────────────COMMENT
MEDIUM⚡app/electron/agent/interrupt-registry.test.ts124// ── invalid requests are rejected at park time ────────────────────────────────COMMENT
MEDIUM⚡app/electron/agent/interrupt-registry.test.ts133// ── list()/peek() reflect parked state deterministically (oldest first) ───────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts147// ── cancelAll denies every parked interrupt and empties the registry ──────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts162// ── onEvent observes the lifecycle deterministically ──────────────────────────COMMENT
MEDIUMapp/electron/agent/interrupt-registry.test.ts179// ── a throwing observer never breaks the registry ────────────────────────────COMMENT
MEDIUMapp/electron/agent/types/timeline.ts473// ── Phase 7: Run export & sharing ────────────────────────────────────────────COMMENT
MEDIUMapp/electron/agent/types/timeline.ts576// ── Phase 6: Production incident mode ────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/activity-grouping.test.ts19// ── groupToolRuns ───────────────────────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/activity-grouping.test.ts79// ── activityGroupLabel ──────────────────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/activity-grouping.test.ts94// ── activityGroupStateSummary ───────────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/activity-grouping.test.ts128// ── reasoningDisplayState (Task #34) ────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/activity-grouping.test.ts128// ── reasoningDisplayState (Task #34) ────────────────────────────────────────COMMENT
Over-Commented Block126 hits · 126 pts
SeverityFileLineSnippetContext
LOWzig/kernels/cuda/w4a8_normalize.h1// Shared finite normalization, compiled by CUDA and by the CPU regression without CUDA headers.COMMENT
LOWzig/kernels/cuda/window_fallback.h1// The exceptional prompt path replaces only a head whose ordinary output is nonfinite.COMMENT
LOWzig/kernels/xpu/qwen27/shape.h1// Qwen3.8-27B sizes for the qwen27 kernels; other qwen3_5 models pass each with -D.COMMENT
LOWzig/kernels/xpu/qwen27/shape.h21#define Q27_NQK 2048 // Q27_GK * 128COMMENT
LOWzig/kernels/xpu/qwen27/shape.h41#ifndef Q27_AKVCOMMENT
LOWzig/kernels/xpu/qwen27/shape.h61#endifCOMMENT
LOWzig/kernels/hip/quant/mlx_tiles.hpp1#pragma onceCOMMENT
LOWzig/kernels/hip/common/arch.hpp41#elseCOMMENT
LOWzig/tests/rpc_library_mock.c1#include <stdint.h>COMMENT
LOWzig/tests/rpc_library_mock.c21#endifCOMMENT
LOWzig/tests/qwen4/weight_only_host.cpp1// Execute the shared device arithmetic over owned CPU buffers with the kernels' exact shuffle tree.COMMENT
LOWtools/zig/mcdma_pair/loop_fabric.c1// loop_fabric: a stand-in libmcdma-fabric (ABI 1), not MCDMA, for stub_proof.sh's two-process cases (README.md)COMMENT
LOWtools/zig/cuda_host/math_constants.h1#pragma onceCOMMENT
LOWtools/zig/cuda_host/cuda_runtime.h1#pragma onceCOMMENT
LOWtools/zig/cuda_host/cuda_runtime_api.h1#pragma onceCOMMENT
LOWtools/glm_index_emulate/cuda_runtime.h1// Host stand-ins for the CUDA names glm_index_*.cuh use: a block's threads are OS threads, __syncthreads a barrier.COMMENT
LOWapp/experiments/agent/prompt-registry.ts1// Prompt / config version registry + run linkage.COMMENT
LOWapp/experiments/agent/semantic-code-index.ts1// Semantic / symbol codebase index — the CONTAINED, pure core.COMMENT
LOWapp/experiments/agent/ambient-reactions.ts1// Event-triggered ambient reactions. The connector spine (connector-spine.ts) alreadyCOMMENT
LOWapp/experiments/agent/memory-consolidate.ts1// Sleep-time memory consolidation (Wave 7+). A PURE consolidation pass over a set of durableCOMMENT
LOWapp/experiments/agent/managed-tunnel.ts1// Supervise a cloudflared/ngrok child so a TensorFold remote-control server (see remote-control.ts) canCOMMENT
LOWapp/experiments/agent/provider-session.ts1// Uniform ProviderSession SPI. Owned-loop providers (OpenAI-compatible HTTP /COMMENT
LOWapp/experiments/agent/approval-queue.ts1// Durable batch-approval queue — a PURE reducer that sits on top of the per-jobCOMMENT
LOWapp/experiments/agent/difficulty-router.ts1// Pure, dependency-free difficulty / cost-aware model tiering.COMMENT
LOWapp/experiments/agent/trajectory-regression.ts1// Golden trajectory regression tests — pure capture + comparison.COMMENT
LOWapp/experiments/agent/guided-decoding.ts1// Schema-constrained decoding + validate-then-retry.COMMENT
LOWapp/experiments/agent/guided-decoding.ts61// ---------------------------------------------------------------------------COMMENT
LOWapp/experiments/agent/semantic-recall.ts1// Embedding-based memory recall — replaces literal token/phrase overlapCOMMENT
LOWapp/experiments/agent/procedural-distiller.ts1// Distill reusable, repo-specific procedural notes from recorded run trajectories.COMMENT
LOWapp/experiments/agent/procedural-distiller.ts21// - Recurrence = confidence: a reason seen once is 'low', a few times 'medium', manyCOMMENT
LOWapp/experiments/agent/online-evals.ts1// Online eval scoring + threshold alerts on live runs.COMMENT
LOWapp/experiments/agent/mcp-oauth-registry.ts1// OAuth 2.1 + PKCE request builder and MCP registry search/install descriptor parser —COMMENT
LOWapp/experiments/agent/env-snapshots.ts1// Reusable environment snapshots — the PURE PLANNING CORE.COMMENT
LOWapp/experiments/agent/kg-memory.ts1// Bi-temporal knowledge-graph memory (contained core).COMMENT
LOWapp/experiments/agent/mcp-sampling-elicitation.ts1// MCP client-side handlers for the two SERVER→CLIENT requests an MCP server can make once theCOMMENT
LOWapp/electron/agent/mcp-server-main.ts1// Standalone entry: run TensorFold's tools as an MCP server over stdio, so Codex/ClaudeCOMMENT
LOWapp/electron/agent/whatsapp-media-ingest.ts1// WhatsApp incoming-media ingest: turn an ENCRYPTED Baileys media message into a LOCAL cachedCOMMENT
LOWapp/electron/agent/acp-server.ts1// TensorFold-Studio-as-ACP-agent: a REAL Agent Client Protocol server that hosts TensorFold'sCOMMENT
LOWapp/electron/agent/acp-server.ts61COMMENT
LOWapp/electron/agent/draft-throttle.ts1// Rate-limit for streaming-draft edits. Telegram's editMessageText is rate-limited (a burst ofCOMMENT
LOWapp/electron/agent/best-of-n.ts1// Best-of-N attempts + verifier auto-select — the pure orchestration core.COMMENT
LOWapp/electron/agent/outlook-connector.ts21// The new Outlook for Mac ("Outlook 15") stores mail in a SQLite file, but the table/columnCOMMENT
LOWapp/electron/agent/instruction-graph.ts1// Instruction Graph (build.md P0).COMMENT
LOWapp/electron/agent/whatsapp-media.test.ts1// Run: jiti electron/agent/whatsapp-media.test.tsCOMMENT
LOWapp/electron/agent/cursor-agent-cli.ts1// Cursor Agent engine (VST-033): drive `cursor-agent` headless as a thread engine. WireCOMMENT
LOWapp/electron/agent/model-context-windows.ts1// Task #41: model-aware context window registry.COMMENT
LOWapp/electron/agent/codex-app-server.ts1// JSON-RPC-over-stdio client for a PERSISTENT `codex app-server` session.COMMENT
LOWapp/electron/agent/googlechat-connector.ts21// • SEND : POST the webhook URL with { text } (+ { thread: { threadKey } } and aCOMMENT
LOWapp/electron/agent/automation-scheduler.ts1// Automation scheduler kernel (VST-038): the pure decisions for scheduler leases and eachCOMMENT
LOWapp/electron/agent/diff.ts1import { diffLines } from 'diff'COMMENT
LOWapp/electron/agent/ssh-config.ts1// OpenSSH client-config parsing for SSH host discovery and effective-settingsCOMMENT
LOWapp/electron/agent/loop.ts161): Promise<Awaited<ReturnType<typeof resolveInstructionGraph>>> {COMMENT
LOWapp/electron/agent/loop.ts181// "succeeds") earns a stop-repeating nudge. Catches small local models that loop.COMMENT
LOWapp/electron/agent/loop.ts361COMMENT
LOWapp/electron/agent/loop.ts481COMMENT
LOWapp/electron/agent/loop.ts501// during a streaming turn aborts + re-requests; cap so a user mashing GuideCOMMENT
LOWapp/electron/agent/loop.ts1381 // Intra-generation doom-loop breaker (#63 follow-up): a local model can streamCOMMENT
LOWapp/electron/agent/orchestration-journal.ts1// Durable, append-only NDJSON lifecycle journal for missions and rooms.COMMENT
LOWapp/electron/agent/orchestration-journal.ts381COMMENT
LOWapp/electron/agent/event-spine.ts1// Ordered event spine v2 (VST-034): the pure core of an event-sourced store with orderedCOMMENT
66 more matches not shown…
Excessive Try-Catch Wrapping69 hits · 74 pts
SeverityFileLineSnippetContext
LOWtools/bench_image_session.py155 except Exception as exc: # noqa: BLE001 - a failed turn is recorded, not fatalCODE
LOWtools/shared_prefix_load.py67 except Exception as exc: # noqa: BLE001 - a failed request is reportedCODE
LOWtools/bench_concurrent.py63 except Exception as exc: # noqa: BLE001 - a failed request is reported, not fatalCODE
LOWtools/bench_concurrent.py146 except Exception as exc: # noqa: BLE001 - retain failures outside the HTTP request tooCODE
LOWtools/image_cache_turns.py82 except Exception as exc: # noqa: BLE001 - a failed request is reported, not fatalCODE
LOWtools/image_cache_turns.py100 except Exception: # noqa: BLE001 - optional evidenceCODE
LOWtools/bench_openai.py117 except Exception as exc:CODE
LOWtools/conformance.py204 except Exception as exc: # noqa: BLE001 - a failed request is evidence, not a crashCODE
LOWtools/conformance.py214 except Exception: # noqa: BLE001 - an unanswered probe is evidence, not a crashCODE
LOWtools/zig/bench_sessions.py137 except Exception as exc: # noqa: BLE001 - a failed request is recorded, not fatalCODE
LOWtools/zig/xpu_soak_server.py110 except Exception as e:CODE
LOWtools/zig/lighton_ocr_reference.py514 except Exception as error:CODE
LOWtools/zig/keep_rate_ab.py97 except Exception as error:CODE
LOWtools/zig/keep_rate_ab.py109 except Exception as error:CODE
LOWtools/zig/keep_rate_ab.py119 except Exception as error:CODE
LOWtools/zig/gate_visit.py121 except Exception as exc: # noqa: BLE001 - a failed visit is a receipt; SIGTERM still ends the runCODE
LOWtools/zig/gate_visit.py126 except Exception as exc: # noqa: BLE001 - a server that will not go away fails the visitCODE
LOWtools/zig/template_parity.py357 except Exception as err: # every failure is compared: the native engine must fail tooCODE
LOWtools/zig/gate_serve.py45 except Exception: # noqa: BLE001 - not listening yetCODE
LOWtools/zig/cuda_sass_compare.py246 except Exception as error:CODE
LOWtools/lfm3/serve_check.py127 except Exception as exc:CODE
LOWtools/lfm3/serve_check.py302 except Exception as exc:CODE
LOWapp/scripts/youtube_video_research.py151 except Exception:CODE
LOWapp/scripts/youtube_video_research.py301 except Exception as exc:CODE
LOWapp/scripts/public_post_research.py183 except Exception as exc:CODE
LOWapp/electron/agent/bot-vm/guest.ts148except Exception as e:CODE
LOWweb/tensorfold_web/catalog.py92 except Exception: # noqa: BLE001 - offline, gated, moved: the curated size standsCODE
LOWweb/tensorfold_web/catalog.py116 except Exception: # noqa: BLE001CODE
LOWweb/tensorfold_web/catalog.py232 except Exception: # noqa: BLE001 - a binary that hangs or fails says nothingCODE
LOWweb/tensorfold_web/catalog.py252 except Exception: # noqa: BLE001 - an engine that cannot say keeps the catalog's flagCODE
MEDIUMweb/tensorfold_web/catalog.py69def _read_sizes_cache() -> dict[str, Any]:CODE
LOWweb/tensorfold_web/server_living.py147 except Exception as exc: # noqa: BLE001 - any failure undoes the whole forgettingCODE
LOWweb/tensorfold_web/server.py506 except Exception as exc: # noqa: BLE001 - said on the pageCODE
MEDIUMweb/tensorfold_web/server.py275def until_done() -> None:CODE
LOWweb/tensorfold_web/living_checks.py125 except Exception as exc: # noqa: BLE001 - a question that fails is said in its cellCODE
LOWweb/tensorfold_web/living.py185 except Exception as exc: # not downloaded, or a cache the library cannot readCODE
LOWweb/tensorfold_web/living.py228 except Exception: # noqa: BLE001 - not downloaded hereCODE
LOWweb/tensorfold_web/living.py251 except Exception: # noqa: BLE001CODE
LOWweb/tensorfold_web/living.py422 except Exception: # noqa: BLE001 - a question that fails says nothing of the lessonCODE
MEDIUMweb/tensorfold_web/living.py419def _safe(ask) -> str | None:CODE
LOWweb/tensorfold_web/server_lessons.py68 except Exception:CODE
LOWweb/tensorfold_web/server_lessons.py157 except Exception as exc: # noqa: BLE001 - said on the pageCODE
MEDIUMweb/tensorfold_web/server_lessons.py153def go() -> None:CODE
LOWweb/tensorfold_web/series.py158 except Exception as exc: # noqa: BLE001 - a configuration that does not start is said, the next goes onCODE
LOWweb/tensorfold_web/series.py181 except Exception as exc: # noqa: BLE001 - the comparison is kept and says why it stoppedCODE
LOWweb/tensorfold_web/series.py189 except Exception as exc: # noqa: BLE001CODE
MEDIUMweb/tensorfold_web/series.py133def _go(self) -> None:CODE
LOWweb/tensorfold_web/bench.py292 except Exception as exc: # noqa: BLE001 - a power source that cannot open: the run goes on without itCODE
LOWweb/tensorfold_web/bench.py347 except Exception as exc: # noqa: BLE001 - whatever stopped it, the run is kept and says whyCODE
LOWweb/tensorfold_web/bench.py352 except Exception as exc: # noqa: BLE001 - a summary that cannot be made leaves a failed run, not a live oneCODE
LOWweb/tensorfold_web/machine.py110 except Exception: # noqa: BLE001 - no MLX in this environment: the verdict uses the RAM fractions aloneCODE
LOWweb/tensorfold_web/server_engine_control.py106 except Exception as exc:CODE
LOWweb/tensorfold_web/engine.py409 except Exception as exc: # noqa: BLE001CODE
LOWweb/tensorfold_web/replay.py159 except Exception as exc: # noqa: BLE001 - the replay keeps what it has and says why it stoppedCODE
LOWweb/tensorfold_web/storage.py131 except Exception: # noqa: BLE001 - no cache yet, or one the library cannot readCODE
LOWweb/tensorfold_web/bench_sampling.py44 except Exception: # noqa: BLE001 - a missed reading is not a failed runCODE
LOWweb/tensorfold_web/bench_sampling.py52 except Exception: # noqa: BLE001CODE
LOWweb/tensorfold_web/living_versions.py65 except Exception: # noqa: BLE001 - the base was removed from the cache: every file is kept in the storeCODE
LOWweb/tensorfold_web/living_versions.py430 except Exception:CODE
LOWweb/tensorfold_web/living_teacher.py105 except Exception as exc: # noqa: BLE001 - one fact failing does not stop the othersCODE
9 more matches not shown…
Modern AI Meta-Vocabulary15 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md2598 decode to their schema types, Gemma 4's bare tool calls parse (#121), and a prompt past the context window getsCODE
MEDIUMzig/tests/server/golden/cancel/metrics-after.json16 "body": "# HELP tensorfold:requests_running Requests in prefill or decode.\n# TYPE tensorfold:requests_running gauge\CODE
MEDIUMzig/tests/server/golden/metrics-open/metrics.json16 "body": "# HELP tensorfold:requests_running Requests in prefill or decode.\n# TYPE tensorfold:requests_running gauge\CODE
MEDIUMzig/tests/server/golden/metrics-open/v1-metrics.json16 "body": "# HELP tensorfold:requests_total HTTP replies by API key label and status.\n# TYPE tensorfold:requests_totalCODE
MEDIUMzig/tests/server/golden/keys/metrics-counted.json16 "body": "# HELP tensorfold:requests_total HTTP replies by API key label and status.\n# TYPE tensorfold:requests_totalCODE
MEDIUMapp/experiments/agent/difficulty-router.ts216 // Many tool calls / many files => harder, agentic work.COMMENT
MEDIUMapp/experiments/agent/mcp-sampling-elicitation.ts5// (agentic MCP servers that want an LLM completion without holding their own API key). TheCOMMENT
MEDIUMapp/electron/agent/model-context-windows.ts1// Task #41: model-aware context window registry.COMMENT
MEDIUMapp/electron/agent/room-cli-seat.ts41// One-shot, non-agentic dispatch: no resume cursor and no steering channel, so every turnCOMMENT
MEDIUMapp/electron/agent/model-context-windows.test.ts2// Task #41: model-aware context window scaling. Proves the registry returns realCOMMENT
MEDIUMapp/electron/agent/pi-cli.ts11// - `agent_end` marks the whole agentic run complete; stdin EOF then exits the processCOMMENT
MEDIUMapp/src/components/Board.tsx421 // Build routes by the ticket's chosen execution mode (#55): room → multi-agentCOMMENT
MEDIUMapp/src/components/WorkspaceDock.tsx411 {/* Loop Mode is rooms-only (rescope #56): multi-agent surfaces loop; a soloCODE
MEDIUMapp/src/lib/workbench-verdict.ts6// Pure derivation over the agentic run contract; ThreadPanel renders it.COMMENT
MEDIUMweb/tensorfold_web/recipes.py36 window: int | None = None # the context window the engine serves now, when it saysCODE
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtools/zig/glm_ocr_reference.py0check the snapshot and the transformers sources against the pins and print their hashes; no model loads.STRING
HIGHtools/zig/lighton_ocr_reference.py0check the snapshot and the transformers sources against the pins and print their hashes; no model loads.STRING
HIGHtools/rerank/qwen3_reranker_oracle.py0check the snapshot and the transformers sources against the pins and print their hashes; no model loads.STRING
HIGHtools/zig/lighton_ocr_reference.py0refuse, before any model code runs, a snapshot or transformers install whose sources differ from the pins.STRING
HIGHtools/zig/oracle_qwen3_embedding.py0refuse, before any model code runs, a snapshot or transformers install whose sources differ from the pins.STRING
HIGHtools/rerank/qwen3_reranker_oracle.py0refuse, before any model code runs, a snapshot or transformers install whose sources differ from the pins.STRING
Cross-Language Confusion (JS/TS)5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHapp/electron/agent/bot-vm/guest.ts9 elif value.startswith('/workspace/'): value=value[11:]CODE
HIGHapp/electron/agent/bot-vm/guest.ts10 elif value.startswith('/'): raise ValueError('Files must stay inside /workspace.')CODE
HIGHapp/electron/agent/bot-vm/guest.ts65 elif stat.S_ISREG(info.st_mode) and info.st_nlink==1: yield relCODE
HIGHapp/electron/agent/bot-vm/guest.ts81 elif len(data)<MAX: data.extend(chunk[:MAX-len(data)])CODE
HIGHapp/electron/agent/bot-vm/guest.ts149 print(json.dumps({'ok':False,'output':'VM tool refused: '+str(e)[:500]}))CODE
Fake / Example Data21 hits · 21 pts
SeverityFileLineSnippetContext
LOWapp/native/computer-use/Elements.swift75 if let placeholder = node.placeholder { out["placeholder"] = placeholder }CODE
LOWapp/electron/agent/planning-guard.test.ts15configurePlanningGuard({ confidentialTerms: () => ['Acme Corp'] })CODE
LOWapp/electron/agent/planning-guard.test.ts56 for (const leaked of ['jane.roe@example.com', 'Acme Corp', workspace, 'FILE BODY', 'secret.txt']) assert.ok(!sent.inCODE
LOWapp/electron/agent/outbound-redaction.test.ts11 terms: ['Acme Corp', 'Project Falcon'],CODE
LOWapp/electron/agent/approval-policy.test.ts29 recipientOrPerson: 'user@example.com',CODE
LOWapp/electron/agent/approval-policy.test.ts42 recipientOrPerson: 'user@example.com',CODE
LOWapp/electron/agent/approval-policy.test.ts182 const draft = approvalPolicyScope('tool', 'email_compose', { mode: 'draft', to: 'user@example.com', subject: 'Update' CODE
LOWapp/electron/agent/approval-policy.test.ts183 const send = approvalPolicyScope('tool', 'email_compose', { mode: 'send', to: 'user@example.com', subject: 'Update' })CODE
LOWapp/electron/agent/approval-policy.test.ts222 const send = approvalPolicyScope('connector', 'email:send_requested', { actor: 'user@example.com', threadKey: 'email:tCODE
LOWapp/electron/agent/approval-policy.test.ts224 const reply = approvalPolicyScope('connector', 'email:reply_requested', { actor: 'user@example.com', threadKey: 'emailCODE
LOWapp/electron/agent/export.test.ts59 assert.ok(!r.text.includes('user@example.com'), 'email removed')CODE
LOWapp/electron/agent/git-hygiene.ts29const PLACEHOLDER_PATH_USERS = new Set(['example', 'demo', 'sample', 'placeholder', 'test'])CODE
LOWapp/electron/agent/git-hygiene.ts129 if (lower.includes('placeholder')) return falseCODE
LOWapp/electron/agent/cli-auth.test.ts17const cIn = parseAuthStatus('claude-cli', JSON.stringify({ loggedIn: true, email: 'user@example.com', subscriptionType: CODE
LOWapp/electron/agent/cli-auth.test.ts19assert.ok((cIn.detail || '').includes('user@example.com'), 'claude detail includes the account email')CODE
LOWapp/electron/agent/planning-sandbox.test.ts101 writeFileSync(path.join(authDir, 'oauth_creds.json'), '{"token":"placeholder"}')CODE
LOWapp/electron/agent/engine/hub-network.test.ts79 await assert.rejects(() => scoped('https://mirror.example.test/api/models', { headers: { Cookie: 'placeholder' } }), /CODE
LOWapp/electron/agent/engine/hub-network.test.ts80 await assert.rejects(() => scoped(new Request('https://mirror.example.test/api/models', { headers: { Authorization: 'pCODE
LOWapp/electron/agent/engine/hub-endpoint.test.ts41 const env = { HOME: '/placeholder', PATH: '/bin', HF_ENDPOINT: `${ENDPOINT}/`, HF_TOKEN: 'placeholder', OPENAI_API_KEYCODE
LOWapp/electron/agent/engine/hub-endpoint.test.ts70 const h = await makeHarness({ HF_ENDPOINT: `${ENDPOINT}/`, HF_TOKEN: 'placeholder', FAKE_PULL_FILES: '1', FAKE_PULL_SICODE
LOWapp/electron/main/host/browser-automation.ts392 || el.getAttribute('placeholder')CODE
AI Slop Vocabulary7 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUMtools/zig/oracle_nemotron_chunked.py59 _, first = once(ids, 1, drafts) # the harness's rule: decode time is the run past its first tokenCODE
MEDIUMapp/electron/local-crypto.ts78 // Retain a read-only fallback for a seamless one-time migration from theCOMMENT
MEDIUMweb/tensorfold_web/ui_dist/assets/index-cck1M0ft.js49`).replace(Rv,"")}function Up(e,n){return n=$p(n),$p(e)===n}function kt(e,n,a,i,u,h){switch(a){case"children":if(typeof CODE
MEDIUM⚡web/tensorfold_web/ui_dist/assets/index-cck1M0ft.js63`).map(B=>B.trim()).filter(Boolean),w=(M=s==null?void 0:s.startup)==null?void 0:M.streams,z=async(B,Y)=>{var ie,ge,fe,E,CODE
MEDIUM⚡web/tensorfold_web/ui_dist/assets/index-cck1M0ft.js63`).map(B=>B.trim()).filter(Boolean),w=(M=s==null?void 0:s.startup)==null?void 0:M.streams,z=async(B,Y)=>{var ie,ge,fe,E,CODE
MEDIUM.github/workflows/no-gpu.yml139 # Cortheon's readers of untrusted web bytes under the fuzz harness: seeds, 100,000 edits, linear time.COMMENT
MEDIUM.github/workflows/no-gpu.yml195 # The server goldens and the Cortheon fuzz harness on Windows too; the goldens skip the signal-driven cases.COMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWapp/electron/agent/compaction-prepass.ts99 // Step 3: strip stale image parts (array content only). Recent messages skip this.COMMENT
LOW⚡app/electron/agent/compaction-prepass.ts113 // Step 1: dedupe byte-identical tool results (applies regardless of recency —COMMENT
LOW⚡app/electron/agent/compaction-prepass.ts123 // Step 2: collapse old (non-recent) large tool results into a one-liner.COMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOWapp/electron/agent/compaction-prepass.ts99 // Step 3: strip stale image parts (array content only). Recent messages skip this.COMMENT
LOW⚡app/electron/agent/compaction-prepass.ts113 // Step 1: dedupe byte-identical tool results (applies regardless of recency —COMMENT
LOW⚡app/electron/agent/compaction-prepass.ts123 // Step 2: collapse old (non-recent) large tool results into a one-liner.COMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/zig/prefill_swap.py111CODE
LOWtools/zig/test_bench_sessions.py43CODE
LOWweb/tensorfold_web/bench.py158CODE
LOWweb/tensorfold_web/bench.py169CODE
LOWweb/tensorfold_web/engine_metrics.py135CODE
LOWweb/tests/test_usage.py7CODE
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWweb/tensorfold_web/server.py546__all__ = ['ENGINE_SETTINGS', 'LOGS_COOKIE', 'LOGS_STREAM', 'LOOPBACK_NAMES', 'REDEEM_BYTES', 'TOKEN_HEADER', 'UI_DIST',CODE
LOWweb/tensorfold_web/living.py428__all__ = ['FACTS_SCHEMA', 'KEPT', 'LEARNABLE', 'NAME', 'ONLY', 'PREFIX', 'PREVIEW_SYSTEM', 'Item', 'Job', 'Target', 'TeCODE
LOWweb/tensorfold_web/bench.py405__all__ = ['GROWTH', 'LEVELS', 'LOAD_LIMIT_S', 'LOAD_MIN_REQUESTS', 'LOAD_SHARE', 'LOAD_TOKENS', 'LOAD_TTFT_LIMIT_S', 'MCODE
LOWweb/tensorfold_web/engine.py560__all__ = ['COUNTERS', 'GIB', 'KV_FILL', 'LIMIT_ENV', 'LINE_MAX', 'LOG_LINES', 'LOG_MAX_BYTES', 'METRICS', 'Engine', 'HeCODE
LOWweb/tensorfold_web/report.py342__all__ = ['CSS', 'KIND', 'LOGO', 'STATUS', '_bars', '_e', '_identical', '_load_chart', '_logo', '_power_chart', '_sweepCODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMweb/tests/test_living_storage.py128CODE