experimental quip protocol network node
This report presents the forensic synthetic code analysis of QuipNetwork/quip-protocol, a Python project with 11,612 GitHub stars. SynthScan v2.0 examined 95,854 lines of code across 302 source files, recording 2538 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 44.4 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2538 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | quip_cli.py | 2193 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | quip_cli.py | 2203 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | quip_cli.py | 1128 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | quip_cli.py | 1138 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | quip.network.qpu.example.toml | 22 | # ── Proof submission ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip.network.qpu.example.toml | 40 | # ── D-Wave annealer ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip.network.qpu.example.toml | 77 | # ── Gate-model providers ────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip-miner.example.toml | 80 | # ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip-miner.example.toml | 89 | # ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip.network.gpu.example.toml | 30 | # ── CUDA / NVIDIA ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | quip.network.gpu.example.toml | 39 | # ── Apple Silicon (Metal) ───────────────────────────────────────────── | COMMENT |
| MEDIUM | quip.network.gpu.example.toml | 56 | # ── Modal cloud GPU ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .gitlab-ci.yml | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 198 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 200 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 227 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab-ci.yml | 229 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/cuda_auto_profiler.py | 187 | # ── AST helpers ──────────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_auto_profiler.py | 276 | # ── Region collection ────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_auto_profiler.py | 391 | # ── Code generation ──────────────────────────────────── | COMMENT |
| MEDIUM | tools/download_and_validate_wins.py | 474 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/download_and_validate_wins.py | 476 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/check-node.sh | 13 | # ── Args ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 34 | # ── Colors ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 48 | # ── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 90 | # ── Header ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 97 | # ── Phase 1: Reachability ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 111 | # ── Phase 2: Endpoint checks ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 119 | # ── Phase 3: Telemetry content ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 162 | # ── Phase 4: Peer count ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/check-node.sh | 184 | # ── Summary ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 83 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 85 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 553 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 555 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 744 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/qpu_throughput_canary.py | 746 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/cuda_profile_regions.py | 92 | # ── Tree building from manifest ──────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 43 | # ── Manifest loading ─────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 136 | # ── GPU info ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 170 | # ── Problem generation ───────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 188 | # ── Profiling runners ────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 220 | # ── Text profile printing ───────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 287 | # ── Topology stats ───────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 304 | # ── Matplotlib flamegraph (legacy) ───────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 411 | # ── Tree layout ──────────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 462 | # ── Interactive HTML flamegraph ──────────────────────── | COMMENT |
| MEDIUM | tools/cuda_profile_regions.py | 1213 | # ── Matplotlib plot (legacy) ─────────────────────────── | STRING |
| MEDIUM | tools/cuda_profile_regions.py | 1280 | # ── Main ─────────────────────────────────────────────── | STRING |
| MEDIUM | tools/cuda_benchmark_compare.py | 112 | # ── Batched kernel dispatch ───────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_benchmark_compare.py | 197 | # ── Profile aggregation ───────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_benchmark_compare.py | 229 | # ── Plotting ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/cuda_benchmark_compare.py | 420 | # ── Test orchestration ─────────────────────────────────────── | COMMENT |
| MEDIUM | docker/entrypoint.sh | 38 | # ── Privilege-drop setup ───────────────────────────────────────── | COMMENT |
| MEDIUM | docker/entrypoint.sh | 74 | # ── First run: seed config from template ────────────────────────── | COMMENT |
| 558 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | quip_cli.py | 2206 | def _load_identify_miners_toml(path: Path) -> dict: | CODE |
| LOW | quip_cli.py | 278 | async def _submit_descriptor_remark( | CODE |
| LOW | quip_cli.py | 581 | async def _ensure_registered_or_fail(client: SubstrateClient, keystore) -> None: | CODE |
| LOW | quip_cli.py | 1019 | def quip_miner_register_solver( | CODE |
| LOW | quip_cli.py | 1085 | def quip_miner_deregister_solver( | CODE |
| LOW | quip_cli.py | 1238 | def _load_submission_config_or_default( | CODE |
| LOW | quip_cli.py | 1302 | def _telemetry_external_via_env() -> bool: | CODE |
| LOW | quip_cli.py | 1314 | def _qpu_miner_kind_from_backends(backends: dict, fallback: str) -> str: | CODE |
| LOW | QPU/dwave_sampler.py | 494 | def reconstruct_full_sampleset( | CODE |
| LOW | QPU/dwave_sampler.py | 656 | def _sample_ising_async_inner( | CODE |
| LOW | QPU/dwave_sampler.py | 751 | def _best_effort_cancel_future(fut: Any, fidx: int) -> None: | CODE |
| LOW | tools/visualize_qpu_results.py | 177 | def create_line_plots_per_seed(data: Dict[str, Any], output_dir: str = '.') -> None: | CODE |
| LOW | tools/visualize_qpu_results.py | 269 | def create_summary_comparison(data: Dict[str, Any], output_dir: str = '.') -> None: | CODE |
| LOW | tools/cuda_auto_profiler.py | 263 | def _find_enclosing_statement(node): | CODE |
| LOW | tools/cuda_auto_profiler.py | 359 | def _assign_parents_and_depth(regions): | CODE |
| LOW | tools/cuda_auto_profiler.py | 394 | def _generate_profiled_source( | CODE |
| LOW | tools/cuda_auto_profiler.py | 577 | def _instrument_device_functions( | CODE |
| LOW | tools/generate_all_topologies_json.py | 17 | def generate_generic_topology_json(topology_type: str, params: dict, output_dir: str): | CODE |
| LOW | tools/calibrate_gibbs_curve.py | 416 | def print_calibration_summary(results: Dict) -> None: | CODE |
| LOW | tools/benchmark_gibbs_curve.py | 570 | def plot_runtime_settings_overlay(results, output_path): | CODE |
| LOW | tools/sweep_reads_grid.py | 598 | def plot_blocks_vs_threshold_cmp(results, output_path): | CODE |
| LOW | tools/sweep_reads_grid.py | 654 | def plot_success_probability_cmp(results, output_path): | CODE |
| LOW | tools/analyze_topology_sizes.py | 160 | def test_embedding_feasibility(config: Dict[str, Any]) -> Dict[str, Any]: | CODE |
| LOW | tools/analyze_topology_sizes.py | 324 | def _find_native_subgraph_seed(source_graph: nx.Graph, target_graph: nx.Graph, max_m: int, max_t: int) -> Optional[Dict] | CODE |
| LOW | tools/visualize_comparative_performance.py | 106 | def get_normalization_single_unit(device_counts: Dict[str, int]) -> Dict[str, int]: | CODE |
| LOW | tools/visualize_comparative_performance.py | 245 | def plot_energy_distributions(ax, df: pd.DataFrame): | CODE |
| LOW | tools/visualize_prefilter_correlation.py | 158 | def plot_progressive_correlation( | CODE |
| LOW | tools/visualize_prefilter_correlation.py | 350 | def plot_energy_distributions( | CODE |
| LOW | tools/qpu_throughput_canary.py | 117 | def _make_energy_only_validator(threshold: float) -> Callable: | CODE |
| LOW⚡ | tools/solution_explorer.py | 50 | def extract_quantum_proof_from_block(block_data: Dict[str, Any]) -> Dict[str, Any]: | CODE |
| LOW | tools/solution_explorer.py | 79 | def explore_solutions_interactive(h: Dict[int, float], J: Dict, nodes: List[int], solutions: List[List[int]]): | CODE |
| LOW | tools/qpu_param_optimizer.py | 296 | def max_annealing_time_for_reads( | CODE |
| LOW | tools/qpu_param_optimizer.py | 326 | def max_num_reads_for_annealing_time( | CODE |
| LOW | tools/qpu_param_optimizer.py | 634 | def check_diminishing_returns( | CODE |
| LOW | tools/qpu_param_optimizer.py | 922 | def run_extra_annealing_times( | CODE |
| LOW | tools/visualize_benchmark_results.py | 74 | def plot_performance_comparison( | CODE |
| LOW | tools/visualize_benchmark_results.py | 172 | def plot_greedy_mined_vs_random( | CODE |
| LOW | tools/visualize_benchmark_results.py | 211 | def plot_energy_distributions( | CODE |
| LOW | tools/analyze_topology_minimum_energy.py | 75 | def calculate_theoretical_minimum_energy( | CODE |
| LOW | tools/analyze_topology_minimum_energy.py | 232 | def calculate_sa_theoretical_bounds(topology_data: Dict, energy_data: Dict) -> Dict: | CODE |
| LOW⚡ | tools/cuda_profile_regions.py | 83 | def _region_names_from_manifest(manifest): | CODE |
| LOW⚡ | tools/cuda_profile_regions.py | 95 | def _build_tree_from_manifest(manifest, avg): | CODE |
| LOW | tools/cuda_profile_regions.py | 70 | def _source_map_from_manifest(manifest): | CODE |
| LOW | tools/visualize_mining_performance.py | 41 | def _add_difficulty_annotations( | CODE |
| LOW | tools/visualize_mining_performance.py | 111 | def calculate_threshold_probabilities( | CODE |
| LOW | tools/visualize_mining_performance.py | 140 | def plot_threshold_probabilities( | CODE |
| LOW | tools/visualize_mining_performance.py | 252 | def plot_proportion_by_threshold( | CODE |
| LOW | tools/visualize_mining_performance.py | 596 | def plot_win_rate_by_threshold( | CODE |
| LOW | tools/visualize_mining_performance.py | 665 | def plot_win_rate_by_threshold_projection( | CODE |
| LOW | tools/visualize_mining_performance.py | 763 | def plot_expected_time_by_threshold( | CODE |
| LOW | tools/metal_gibbs_baseline.py | 26 | def metal_gibbs_baseline_test( | CODE |
| LOW | tools/find_block_time_threshold.py | 44 | def _mine_with_timeout_worker(miner, prev_block, node_info, requirements, prev_timestamp, stop_event, result_queue): | CODE |
| LOW | tools/find_block_time_threshold.py | 157 | def sequential_adaptive_threshold( | CODE |
| LOW | tools/metal_splash_baseline.py | 26 | def metal_splash_baseline_test( | CODE |
| LOW | GPU/gpu_scheduler.py | 127 | def configure_mps_thread_limit( | CODE |
| LOW | GPU/gpu_scheduler.py | 433 | def count_external_gpu_processes(self) -> int: | CODE |
| LOW⚡ | GPU/macos_sensors.py | 175 | def _raw_active_display_count() -> int: | CODE |
| LOW⚡ | GPU/macos_sensors.py | 227 | def _query_iokit_gpu_utilization() -> int: | CODE |
| LOW | GPU/metal_sa.py | 78 | def reads_per_buffer_for_budget(budget: int, num_problems: int, num_reads: int) -> int: | CODE |
| LOW | GPU/cuda_gibbs_sa.py | 418 | def _get_cached_beta_schedule( | CODE |
| 1028 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | quip_cli.py | 593 | def _attempt(): | CODE |
| LOW | quip_cli.py | 178 | except Exception as exc: # noqa: BLE001 — observability path | CODE |
| LOW | quip_cli.py | 252 | except Exception as exc: # noqa: BLE001 — translated to a fatal CLI code | CODE |
| LOW | quip_cli.py | 316 | except Exception as exc: # noqa: BLE001 — observability path; caller retries | CODE |
| LOW | quip_cli.py | 505 | except Exception as exc: # noqa: BLE001 — surfaced via exception code | CODE |
| LOW | quip_cli.py | 569 | except Exception as exc: # noqa: BLE001 — translated to a CLI error code | CODE |
| LOW | quip_cli.py | 598 | except Exception as exc: # noqa: BLE001 — retryable, surfaced in detail | CODE |
| LOW | quip_cli.py | 1423 | except Exception: # noqa: BLE001 -- signal handler must not raise | CODE |
| LOW | quip_cli.py | 1476 | except Exception as drain_exc: | CODE |
| LOW | quip_cli.py | 1484 | except Exception as drain_exc: | CODE |
| LOW | quip_cli.py | 1577 | except Exception as exc: # noqa: BLE001 — surfaced as a CLI code | CODE |
| LOW | quip_cli.py | 2425 | except Exception as exc: | CODE |
| LOW | ARCHITECTURE.md | 317 | except Exception: | CODE |
| MEDIUM | ARCHITECTURE.md | 312 | def supervise(coro, name, on_failure): | CODE |
| LOW | QPU/dwave_miner.py | 219 | except Exception as e: | CODE |
| LOW | QPU/dwave_miner.py | 303 | except Exception as e: | CODE |
| LOW | QPU/stream_driver.py | 197 | except Exception: | CODE |
| LOW | QPU/stream_driver.py | 209 | except Exception: | CODE |
| LOW | QPU/dwave_sampler.py | 209 | except Exception as e: | CODE |
| LOW | QPU/dwave_sampler.py | 363 | except Exception: | CODE |
| LOW | QPU/dwave_sampler.py | 757 | except Exception as exc: # noqa: BLE001 — advisory; log and continue | CODE |
| MEDIUM⚡ | tools/visualize_qpu_results.py | 374 | print(f"Error: Input file not found: {args.input_file}") | CODE |
| MEDIUM⚡ | tools/visualize_qpu_results.py | 382 | print(f"Error: Invalid JSON in {args.input_file}: {e}") | CODE |
| MEDIUM⚡ | tools/visualize_qpu_results.py | 385 | print(f"Error: {e}") | CODE |
| LOW | tools/calibrate_gibbs_curve.py | 763 | except Exception as e: | STRING |
| LOW | tools/benchmark_gibbs_curve.py | 45 | except Exception: | CODE |
| LOW⚡ | tools/benchmark_gibbs_curve.py | 115 | except Exception: | CODE |
| LOW | tools/dump_solver_ranges.py | 119 | except Exception as exc: # noqa: BLE001 - SAPI raises a wide variety | CODE |
| LOW | tools/cuda_gibbs_baseline.py | 86 | except Exception as e: | CODE |
| LOW | tools/cuda_gibbs_baseline.py | 318 | except Exception as e: | CODE |
| LOW | tools/sweep_reads_grid.py | 1209 | except Exception as e: | CODE |
| LOW | tools/validate_mined_topology.py | 153 | except Exception as e: | STRING |
| MEDIUM | tools/process_mining_comparison.py | 260 | print(f"Error: Input directory '{args.input_dir}' not found") | STRING |
| MEDIUM | tools/process_mining_comparison.py | 269 | print(f"Error: No mining.log files found in {args.input_dir}") | STRING |
| MEDIUM | tools/process_mining_comparison.py | 286 | print("Error: No mining attempts found in log files") | STRING |
| LOW | tools/qpu_consumer_livefire.py | 63 | except Exception: # noqa: BLE001 — .env is optional if env is already set | CODE |
| LOW | tools/qpu_consumer_livefire.py | 248 | except Exception: # noqa: BLE001 — pgrep absent → orphans simply leak | CODE |
| LOW | tools/qpu_consumer_livefire.py | 304 | except Exception as exc: # noqa: BLE001 — count + continue the run | CODE |
| LOW | tools/qpu_consumer_livefire.py | 564 | except Exception as exc: # noqa: BLE001 — log + continue the run | CODE |
| LOW | tools/qpu_baseline.py | 43 | except Exception as e: | CODE |
| LOW⚡ | tools/qpu_baseline.py | 215 | except Exception as e: | CODE |
| LOW | tools/compare_mining_rates.py | 136 | except Exception as e: | CODE |
| LOW | tools/compare_mining_rates.py | 140 | except Exception as e: | CODE |
| LOW⚡ | tools/compare_mining_rates.py | 315 | except Exception as e: | CODE |
| LOW⚡ | tools/compare_mining_rates.py | 322 | except Exception as e: | CODE |
| LOW⚡ | tools/compare_mining_rates.py | 331 | except Exception as e: | CODE |
| LOW⚡ | tools/compare_mining_rates.py | 341 | except Exception as e: | CODE |
| LOW⚡ | tools/compare_mining_rates.py | 350 | except Exception as e: | CODE |
| LOW | tools/compare_mining_rates.py | 387 | except Exception as e: | CODE |
| LOW | tools/compare_mining_rates.py | 523 | except Exception as e: | CODE |
| LOW | tools/compare_mining_rates.py | 762 | except Exception: | CODE |
| LOW | tools/visualize_canary.py | 258 | except Exception as e: | CODE |
| LOW | tools/calibrate_difficulty_curve.py | 480 | except Exception as e: | STRING |
| LOW | tools/download_and_validate_wins.py | 260 | except Exception as exc: # noqa: BLE001 — record & skip this win | CODE |
| LOW | tools/download_and_validate_wins.py | 373 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tools/download_and_validate_wins.py | 387 | except Exception as exc: # noqa: BLE001 — record & stop the walk | CODE |
| LOW | tools/benchmark_pipeline.py | 127 | except Exception: | CODE |
| LOW | tools/benchmark_pipeline.py | 174 | except Exception as exc: | CODE |
| LOW | tools/cpu_baseline.py | 359 | except Exception as e: | CODE |
| LOW | tools/analyze_topology_sizes.py | 244 | except Exception as e: | CODE |
| 197 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | quip_cli.py | 11 | CODE | |
| LOW | QPU/qpu_time_manager.py | 15 | CODE | |
| LOW | QPU/dwave_miner.py | 2 | CODE | |
| LOW | QPU/stream_driver.py | 11 | CODE | |
| LOW | QPU/dwave_sampler.py | 19 | CODE | |
| LOW | QPU/__init__.py | 3 | CODE | |
| LOW | QPU/__init__.py | 5 | CODE | |
| LOW | QPU/__init__.py | 6 | CODE | |
| LOW | QPU/__init__.py | 6 | CODE | |
| LOW | QPU/__init__.py | 6 | CODE | |
| LOW | QPU/__init__.py | 6 | CODE | |
| LOW | tools/visualize_qpu_results.py | 11 | CODE | |
| LOW | tools/benchmark_gibbs_curve.py | 30 | CODE | |
| LOW | tools/benchmark_gibbs_curve.py | 30 | CODE | |
| LOW | tools/cuda_gibbs_baseline.py | 20 | CODE | |
| LOW | tools/sweep_reads_grid.py | 30 | CODE | |
| LOW | tools/validate_mined_topology.py | 17 | CODE | |
| LOW | tools/process_mining_comparison.py | 18 | CODE | |
| LOW | tools/benchmark_gibbs_vs_sa.py | 15 | CODE | |
| LOW | tools/qpu_consumer_livefire.py | 43 | CODE | |
| LOW | tools/lint_no_inline_sampling.py | 14 | CODE | |
| LOW | tools/chart_wins.py | 12 | CODE | |
| LOW | tools/benchmark_diversity.py | 13 | CODE | |
| LOW | tools/calibrate_difficulty_curve.py | 15 | CODE | |
| LOW | tools/download_and_validate_wins.py | 40 | CODE | |
| LOW | tools/benchmark_pipeline.py | 243 | CODE | |
| LOW | tools/cpu_baseline.py | 39 | CODE | |
| LOW | tools/visualize_comparative_performance.py | 22 | CODE | |
| LOW | tools/visualize_prefilter_correlation.py | 11 | CODE | |
| LOW | tools/visualize_prefilter_correlation.py | 27 | CODE | |
| LOW | tools/visualize_prefilter_correlation.py | 29 | CODE | |
| LOW | tools/test_qpu.py | 46 | CODE | |
| LOW | tools/benchmark_prefilter_mining.py | 18 | CODE | |
| LOW | tools/dump_solver_topology.py | 19 | CODE | |
| LOW | tools/dump_solver_topology.py | 24 | CODE | |
| LOW | tools/print_topology_nodes.py | 1 | CODE | |
| LOW | tools/print_topology_nodes.py | 15 | CODE | |
| LOW | tools/print_topology_nodes.py | 15 | CODE | |
| LOW | tools/qpu_throughput_canary.py | 40 | CODE | |
| LOW | tools/qpu_throughput_canary.py | 66 | CODE | |
| LOW | tools/qpu_param_optimizer.py | 17 | CODE | |
| LOW | tools/qpu_param_optimizer.py | 36 | CODE | |
| LOW | tools/visualize_benchmark_results.py | 12 | CODE | |
| LOW | tools/metal_tester.py | 4 | CODE | |
| LOW | tools/metal_tester.py | 7 | CODE | |
| LOW | tools/cuda_profile_regions.py | 28 | CODE | |
| LOW | tools/test_canary.py | 14 | CODE | |
| LOW | tools/test_canary.py | 19 | CODE | |
| LOW | tools/test_canary.py | 19 | CODE | |
| LOW | tools/test_canary.py | 43 | CODE | |
| LOW | tools/test_canary.py | 43 | CODE | |
| LOW | tools/test_canary.py | 44 | CODE | |
| LOW | tools/test_canary.py | 48 | CODE | |
| LOW | tools/cuda_baseline.py | 13 | CODE | |
| LOW | tools/fetch_winning_energies.py | 23 | CODE | |
| LOW | tools/cuda_benchmark_compare.py | 47 | CODE | |
| LOW | tools/cuda_benchmark_compare.py | 50 | CODE | |
| LOW | tools/cuda_benchmark_compare.py | 50 | CODE | |
| LOW | tools/find_block_time_threshold.py | 7 | CODE | |
| LOW | tools/find_block_time_threshold.py | 31 | CODE | |
| 199 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | quip_cli.py | 2044 | CODE | |
| LOW | QPU/qpu_time_manager.py | 25 | CODE | |
| LOW | QPU/stream_driver.py | 50 | CODE | |
| LOW | QPU/stream_driver.py | 121 | CODE | |
| LOW | QPU/dwave_sampler.py | 128 | CODE | |
| LOW | QPU/dwave_sampler.py | 705 | CODE | |
| LOW | tools/visualize_qpu_results.py | 64 | CODE | |
| LOW | tools/visualize_qpu_results.py | 177 | CODE | |
| LOW | tools/visualize_qpu_results.py | 269 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 197 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 212 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 238 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 279 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 359 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 394 | CODE | |
| LOW | tools/cuda_auto_profiler.py | 577 | CODE | |
| LOW | tools/calibrate_gibbs_curve.py | 142 | CODE | |
| LOW | tools/sweep_reads_grid.py | 343 | CODE | |
| LOW | tools/sweep_reads_grid.py | 797 | CODE | |
| LOW | tools/process_mining_comparison.py | 85 | CODE | |
| LOW | tools/process_mining_comparison.py | 167 | CODE | |
| LOW | tools/process_mining_comparison.py | 217 | CODE | |
| LOW | tools/qpu_consumer_livefire.py | 487 | CODE | |
| LOW | tools/qpu_baseline.py | 27 | CODE | |
| LOW | tools/lint_no_inline_sampling.py | 30 | CODE | |
| LOW | tools/compare_mining_rates.py | 64 | CODE | |
| LOW | tools/compare_mining_rates.py | 154 | CODE | |
| LOW | tools/compare_mining_rates.py | 268 | CODE | |
| LOW | tools/compare_mining_rates.py | 527 | CODE | |
| LOW | tools/compare_mining_rates.py | 562 | CODE | |
| LOW | tools/visualize_canary.py | 136 | CODE | |
| LOW | tools/calibrate_difficulty_curve.py | 42 | CODE | |
| LOW | tools/download_and_validate_wins.py | 221 | CODE | |
| LOW | tools/download_and_validate_wins.py | 405 | CODE | |
| LOW | tools/cpu_baseline.py | 45 | CODE | |
| LOW | tools/analyze_topology_sizes.py | 36 | CODE | |
| LOW | tools/analyze_topology_sizes.py | 160 | CODE | |
| LOW | tools/analyze_topology_sizes.py | 324 | CODE | |
| LOW | tools/analyze_topology_sizes.py | 362 | CODE | |
| LOW | tools/sa_gibbs_baseline.py | 99 | CODE | |
| LOW | tools/visualize_comparative_performance.py | 245 | CODE | |
| LOW | tools/visualize_comparative_performance.py | 301 | CODE | |
| LOW | tools/visualize_comparative_performance.py | 526 | CODE | |
| LOW | tools/test_qpu.py | 73 | CODE | |
| LOW | tools/test_qpu.py | 335 | CODE | |
| LOW | tools/test_qpu.py | 464 | CODE | |
| LOW | tools/test_qpu.py | 524 | CODE | |
| LOW | tools/benchmark_prefilter_mining.py | 66 | CODE | |
| LOW | tools/benchmark_prefilter_mining.py | 340 | CODE | |
| LOW | tools/print_topology_nodes.py | 48 | CODE | |
| LOW | tools/qpu_throughput_canary.py | 149 | CODE | |
| LOW | tools/qpu_throughput_canary.py | 953 | CODE | |
| LOW | tools/solution_explorer.py | 79 | CODE | |
| LOW | tools/qpu_param_optimizer.py | 475 | CODE | |
| LOW | tools/metal_tester.py | 87 | CODE | |
| LOW | tools/visualize_mining_performance.py | 484 | CODE | |
| LOW | tools/visualize_mining_performance.py | 820 | CODE | |
| LOW | tools/metal_gibbs_baseline.py | 26 | CODE | |
| LOW | tools/test_canary.py | 57 | CODE | |
| LOW | tools/test_canary.py | 104 | CODE | |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/cuda_profile_regions.py | 924 | var selectedBar = null; | CODE |
| HIGH⚡ | tools/cuda_profile_regions.py | 934 | selectedBar = null; | CODE |
| HIGH⚡ | tools/cuda_profile_regions.py | 940 | if (ln >= start && ln <= end) | CODE |
| HIGH | tools/cuda_profile_regions.py | 989 | zoomStack.push(vb.join(" ")); | CODE |
| HIGH | tools/cuda_profile_regions.py | 1074 | if (direct && direct.length > 0) { | CODE |
| HIGH | GPU/metal_utils.py | 58 | if buf is None or buf.length() < nbytes: | CODE |
| HIGH | substrate/client.py | 1559 | MultiAddress::Id || AccountId32(32 bytes) || | STRING |
| HIGH | substrate/client.py | 1564 | The signing payload is `call || extra || additional`, blake2_256-hashed | STRING |
| HIGH⚡ | tests/test_difficulty_decay.py | 112 | """Mirrors the Rust ``if num_nodes == 0 || num_edges == 0`` guard.""" | STRING |
| HIGH | tests/test_substrate_miner_controller.py | 802 | Self-contained — works against a fresh `docker compose down -v && up -d` | STRING |
| HIGH⚡ | tests/test_hybrid_signer.py | 115 | """M' = 0x01 || label || 0x00 (empty ctx len) || msg.""" | STRING |
| HIGH | tests/test_deferred_reconstruction.py | 68 | attempt_log=null, # type: ignore[arg-type] | CODE |
| HIGH | tests/test_deferred_reconstruction.py | 69 | solution_store=null, # type: ignore[arg-type] | CODE |
| HIGH | shared/hybrid_signer.py | 15 | - Message prep M' = 0x01 || b"hybrid-sr25519-mldsa44-v1\\x00" || 0x00 || msg | STRING |
| HIGH | shared/hybrid_signer.py | 102 | """Domain-prepared message: M' = version || label || len(ctx) || ctx || msg. | STRING |
| HIGH | shared/hybrid_signer.py | 118 | """AccountId32 derivation: blake2_256(domain || pubkey). | STRING |
| HIGH | shared/hybrid_signer.py | 209 | identifies accounts by `blake2_256(domain || hybrid_pubkey)`. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | quip_cli.py | 1121 | return 0 | COMMENT |
| LOW | quip.network.qpu.example.toml | 1 | # quip-miner qpu — v0.2 example config | COMMENT |
| LOW | quip.network.qpu.example.toml | 21 | COMMENT | |
| LOW | quip.network.qpu.example.toml | 41 | # QPU access-time budget (per UTC day) is the main knob — it sets the rate | COMMENT |
| LOW | quip.network.qpu.example.toml | 61 | # solver = "Advantage2_system1" | COMMENT |
| LOW | quip.network.qpu.example.toml | 81 | # [ibm] | COMMENT |
| LOW | quip-miner.example.toml | 1 | # quip-miner example config — v0.2 schema | COMMENT |
| LOW | quip-miner.example.toml | 21 | COMMENT | |
| LOW | quip-miner.example.toml | 41 | # Set rest_host = "0.0.0.0" to expose on all interfaces inside a container. | COMMENT |
| LOW | quip-miner.example.toml | 61 | # ipify / icanhazip / checkip.amazonaws.com / ident.me as fallbacks) | COMMENT |
| LOW | quip-miner.example.toml | 81 | # Hardware inventory (v0.1-shape backend tables). | COMMENT |
| LOW | quip-miner.example.toml | 101 | COMMENT | |
| LOW | quip-miner.example.toml | 121 | # active_util = 85 # % of max GPU threads while present (default 85) | COMMENT |
| LOW | quip-miner.example.toml | 141 | # Gate-model providers — token from environment, never inline. | COMMENT |
| LOW | quip.network.gpu.example.toml | 1 | # quip-miner gpu — v0.2 example config | COMMENT |
| LOW | quip.network.gpu.example.toml | 21 | # rest_host = "127.0.0.1" | COMMENT |
| LOW | quip.network.gpu.example.toml | 41 | # [metal] | COMMENT |
| LOW | .gitlab-ci.yml | 21 | # Backstop only — must exceed (pip install + the inner 300s pytest | COMMENT |
| LOW | quip.network.cpu.example.toml | 1 | # quip-miner cpu — v0.2 example config | COMMENT |
| LOW | tools/check-node.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/quip-miner.cuda.toml | 1 | # quip-miner CUDA image — v0.2 [miner] schema. | COMMENT |
| LOW | docker/quip-miner.cuda.toml | 21 | # env: QUIP_SIGNER_KEY. | COMMENT |
| LOW | docker/quip-miner.cuda.toml | 41 | # utilization = 100 | COMMENT |
| LOW | docker/docker-compose.yml | 1 | # Docker Compose for quip-miner (v0.2 substrate-attached). | COMMENT |
| LOW | docker/quip-miner.cpu.toml | 1 | # quip-miner CPU image — v0.2 [miner] schema. | COMMENT |
| LOW | docker/quip-miner.cpu.toml | 21 | # startup. Without this, an underfunded wallet fails fast with | COMMENT |
| LOW | docker/entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/entrypoint.sh | 141 | # Telemetry: in a multi-process container the operator-facing | COMMENT |
| LOW | GPU/metal_miner.py | 61 | FEEDER_BUFFER_SIZE = 16 | COMMENT |
| LOW | substrate/client.py | 241 | self._current_index: int = 0 | COMMENT |
| LOW | substrate/miner_controller.py | 241 | # Upper bound on the write-once participation dedup set. Generous because | COMMENT |
| LOW | substrate/miner_controller.py | 261 | # A "work key" uniquely identifies the puzzle a context is mining | COMMENT |
| LOW | substrate/miner_controller.py | 321 | # "no work right now" from "actively failing submissions". | COMMENT |
| LOW | substrate/miner_controller.py | 341 | # the per-header-lookup bug in subscribe_new_heads. | COMMENT |
| LOW | substrate/miner_controller.py | 361 | # subscription path is lagging the rpc path; we refresh actively | COMMENT |
| LOW | substrate/miner_controller.py | 381 | # returning a head <= the block we just won at — possible when the | COMMENT |
| LOW | substrate/miner_controller.py | 501 | # in ``run()`` once the pool's URL list is known. | COMMENT |
| LOW | substrate/miner_controller.py | 521 | COMMENT | |
| LOW | substrate/miner_controller.py | 541 | # = count(WinningSolutions) + 1) per work key. Resolved once per | COMMENT |
| LOW | substrate/miner_controller.py | 561 | # MinerHandle.set_live_threshold_milli(). Used to suppress | COMMENT |
| LOW | substrate/miner_controller.py | 581 | # Latest live QPU budget snapshot per miner id (worker-initiated | COMMENT |
| LOW | substrate/miner_controller.py | 601 | # Cached decay schedule per work key (tuple of schedule, last_proof_block, | COMMENT |
| LOW | substrate/miner_controller.py | 641 | # `snapshot_kind` tags the per-process snapshot file so a | COMMENT |
| LOW | substrate/miner_controller.py | 1281 | outcome="chain_error", | COMMENT |
| LOW | substrate/miner_controller.py | 1381 | # Resolve the receipt's block hash → block number so the | COMMENT |
| LOW | substrate/miner_controller.py | 1401 | # Mark this work key as won and cancel sibling handles | COMMENT |
| LOW | substrate/miner_controller.py | 2481 | # with a winning result and the worker is now idle at the | COMMENT |
| LOW | substrate/miner_controller.py | 2521 | # work key it was dispatched against. Do NOT build a | COMMENT |
| LOW | tests/test_system_info.py | 361 | # subcommands' miner_config dict (which `_auto_identify` then feeds | COMMENT |
| LOW | shared/energy_utils.py | 121 | # --------------------------- | COMMENT |
| LOW | shared/energy_utils.py | 141 | # - N nodes each have local h bias | COMMENT |
| LOW | shared/energy_utils.py | 161 | # - Binary h ∈ {-1, +1}: observed -671 units better than h=0 | COMMENT |
| LOW | shared/miner_worker.py | 281 | except Exception as exc: # noqa: BLE001 — best-effort | COMMENT |
| LOW | shared/quantum_proof_of_work.py | 801 | if strict_energy and best_energy > difficulty_energy: | COMMENT |
| LOW | shared/quantum_proof_of_work.py | 881 | # the live decayed threshold using chain-recomputed energies; see | COMMENT |
| LOW | shared/quantum_proof_of_work.py | 961 | if diversity < min_diversity: | COMMENT |
| LOW | shared/base_miner.py | 201 | top_k: List[StashEntry] | COMMENT |
| LOW | shared/base_miner.py | 361 | self._driver_proc: Optional[Any] = None | COMMENT |
| LOW | shared/base_miner.py | 481 | # so the submit gate has multiple shots when the chain's live decay | COMMENT |
| LOW | shared/base_miner.py | 821 | # take meaningful time on dense graphs; if cancel | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | QPU/qpu_time_manager.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | QPU/dwave_sampler.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | QPU/__init__.py | 8 | __all__ = [ | CODE |
| LOW | tools/dump_solver_ranges.py | 205 | def update_markdown_file(path: Path, generated: str) -> None: | CODE |
| LOW | GPU/gpu_scheduler.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | GPU/metal_scheduler.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | GPU/metal_scheduler.py | 40 | __all__ = [ | CODE |
| LOW | GPU/__init__.py | 51 | __all__ = [ | CODE |
| LOW | dwave_topologies/embedded_topology.py | 152 | __all__ = [ | CODE |
| LOW | dwave_topologies/topologies/__init__.py | 42 | __all__ = [ | CODE |
| LOW | dwave_topologies/topologies/pegasus.py | 113 | __all__ = [ | CODE |
| LOW | dwave_topologies/topologies/chimera.py | 119 | __all__ = [ | CODE |
| LOW | dwave_topologies/topologies/zephyr.py | 120 | __all__ = [ | CODE |
| LOW | CPU/__init__.py | 7 | __all__ = ['SimulatedAnnealingStructuredSampler', 'SimulatedAnnealingMiner'] | CODE |
| LOW | substrate/client.py | 1928 | __all__ = [ | CODE |
| LOW | substrate/url_failover.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | substrate/validator_handle.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | substrate/miner_controller.py | 2661 | __all__ = [ | CODE |
| LOW | substrate/submitter.py | 435 | __all__ = [ | CODE |
| LOW | substrate/pool.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | substrate/difficulty_decay.py | 305 | __all__ = [ | CODE |
| LOW | substrate/event_manager.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_substrate_miner_controller.py | 112 | def _set_current(controller, ctx) -> None: | CODE |
| LOW | tests/test_miner_controller_on_new_head.py | 27 | def set_live_threshold_milli(self, value: int) -> None: | CODE |
| LOW | shared/asyncio_supervise.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/mempool_types.py | 572 | __all__ = [ | CODE |
| LOW | shared/ising_feeder.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/ising_feeder.py | 596 | __all__ = [ | CODE |
| LOW | shared/keystore_hybrid.py | 196 | __all__ = [ | CODE |
| LOW | shared/hybrid_signer.py | 286 | __all__ = [ | CODE |
| LOW | shared/miner_config.py | 569 | __all__ = [ | CODE |
| LOW | shared/telemetry_process.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/telemetry_process.py | 819 | __all__ = ["telemetry_main"] | CODE |
| LOW | shared/miner_survey.py | 282 | __all__ = ["build_miner_survey", "SCHEMA_NAME", "SCHEMA_VERSION"] | CODE |
| LOW | shared/system_info.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/system_info.py | 898 | __all__ = [ | CODE |
| LOW | shared/miner_worker.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/miner_worker.py | 481 | def set_live_threshold_milli(self, max_energy_milli: int) -> None: | CODE |
| LOW | shared/time_utils.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/allowed_value_spec.py | 304 | __all__ = [ | CODE |
| LOW | shared/stats_snapshot.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | shared/miner_bootstrap.py | 635 | __all__ = [ | CODE |
| LOW | shared/mempool_miner_controller.py | 917 | __all__ = [ | CODE |
| LOW | shared/topology_hash.py | 73 | __all__ = ["topology_hash"] | CODE |
| LOW | shared/mining_attempt_log.py | 707 | __all__ = [ | CODE |
| LOW⚡ | shared/miner_core.py | 324 | def _setup_multiprocess_logging(self) -> None: | CODE |
| LOW | shared/miner_core.py | 559 | __all__ = [ | CODE |
| LOW | shared/work_context.py | 84 | __all__ = [ | CODE |
| LOW | shared/packed_solution.py | 134 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/find_native_zephyr.py | 216 | # Print results | STRING |
| LOW | tools/cuda_auto_profiler.py | 109 | # Check if parent is also a sub-region of | COMMENT |
| LOW | tools/cuda_auto_profiler.py | 120 | # Set parent to the first call region | COMMENT |
| LOW⚡ | tools/qpu_baseline.py | 210 | # Check if runtime was too short - we'll add more reads in next iteration | COMMENT |
| LOW⚡ | tools/qpu_baseline.py | 219 | # Check if we need to extend the read counts based on minimum runtime | COMMENT |
| LOW | tools/compare_mining_rates.py | 678 | # Check if requested hardware is available | COMMENT |
| LOW | tools/compare_mining_rates.py | 851 | # Print results | COMMENT |
| LOW | tools/analyze_topology_sizes.py | 75 | # Check if fits on Advantage2-System1.6 | COMMENT |
| LOW | tools/analyze_topology_sizes.py | 279 | # Check if we've exceeded worker timeout | COMMENT |
| LOW | tools/analyze_topology_sizes.py | 344 | # Check if all nodes and edges exist in target | COMMENT |
| LOW | tools/visualize_comparative_performance.py | 382 | # Check if 'model' column exists | COMMENT |
| LOW | tools/metal_tester.py | 161 | # Display results | COMMENT |
| LOW | tools/test_canary.py | 744 | # Check if relationship is roughly constant offset vs non-linear | COMMENT |
| LOW | tools/test_canary.py | 947 | # Print results | COMMENT |
| LOW | tools/find_block_time_threshold.py | 383 | # Check if behavior is consistent (all or most outcomes are the same) | COMMENT |
| LOW | tools/find_block_time_threshold.py | 546 | # Check if within tolerance | COMMENT |
| LOW | tools/find_block_time_threshold.py | 778 | # Print results | COMMENT |
| LOW | docker/mining_rates/test_local.sh | 46 | # Check if output file was created | COMMENT |
| LOW | docker/mining_rates/test_local.sh | 77 | # Check if output file was created | COMMENT |
| LOW | GPU/base_cuda_sampler.py | 964 | # Check if any kernels still have work | COMMENT |
| LOW | GPU/__init__.py | 48 | # Check if GPU functionality is available | COMMENT |
| LOW | dwave_topologies/smart_embedding.py | 86 | # Check if any qubit in u's chain connects to any qubit in v's chain | COMMENT |
| LOW | dwave_topologies/embedding_loader.py | 64 | # Check if file exists | COMMENT |
| LOW | minertest/build_images.sh | 25 | # Check if buildx is available for cross-platform builds | COMMENT |
| LOW | minertest/entrypoint.sh | 53 | # Check if CUDA libraries are accessible | COMMENT |
| LOW | minertest/entrypoint.sh | 564 | # Check if all uploads succeeded | COMMENT |
| LOW | shared/ising_feeder.py | 353 | # Check if any future is already done | COMMENT |
| LOW | shared/energy_utils.py | 607 | # Check if energy is suspiciously good | COMMENT |
| LOW | shared/time_utils.py | 73 | # Check if timestamp is too far in the future | COMMENT |
| LOW | shared/time_utils.py | 78 | # Check if timestamp is too far in the past (allow reasonable historical blocks) | COMMENT |
| LOW | shared/base_miner.py | 420 | # Check if sampling was started | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | QPU/qpu_time_manager.py | 26 | Parse duration string to seconds. Supports: 30s, 5m, 2h, 1d, 1w Examples: "30s" -> 30.0 (seconds) | STRING |
| HIGH | QPU/dwave_miner.py | 38 | Build the persistent QPU context (the expensive D-Wave connect). Constructs a connected :class:`DWaveMiner` ONCE (f | STRING |
| HIGH | dwave_topologies/topologies/json_loader.py | 117 | Parse a topology name or filename and return the appropriate topology object. This function handles: - Zep | STRING |
| HIGH | substrate/client.py | 519 | Resolve the chain mining snapshot + local↔chain topology hashes. Fetches the current head and mining snapshot, | STRING |
| HIGH | substrate/remark.py | 33 | Submit ``payload`` as a ``System`` remark on ``client``. Prefers ``System.remark_with_event``; degrades to plain `` | STRING |
| HIGH | shared/asyncio_supervise.py | 33 | Await `coro`; if it raises, call `on_failure()` and re-raise. Args: coro: The awaitable to supervise (typic | STRING |
| HIGH | shared/ising_feeder.py | 547 | Build an IsingFeeder from a switch ``feeder_spec`` tuple. ``("pow", last_proof_block_hash, miner_bytes)`` -> ``Rand | STRING |
| HIGH | shared/energy_utils.py | 28 | Calculate expected ground state energy for random Ising problems on a given topology. Based on empirical observatio | STRING |
| HIGH | shared/base_miner.py | 1269 | Write the order's fixed (h, J) into a ProblemView slot for the driver. The mempool model is fixed per order, so | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/parse_threshold_log.py | 15 | # Compiled regex patterns - key off text, not emojis (more robust to encoding issues) | COMMENT |
| MEDIUM⚡ | tests/test_miner_core.py | 177 | # don't ship with the test harness. Instead they pin the *spec shape*, | COMMENT |
| MEDIUM | tests/test_substrate_miner_controller.py | 106 | # Solution number the test harness seeds for the active round. Submissions | COMMENT |
| MEDIUM | shared/ising_feeder.py | 182 | # fires first — which is why robust teardown lives in stop(). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | QPU/dwave_miner.py | 151 | CODE | |
| LOW | tools/cuda_gibbs_baseline.py | 40 | CODE | |
| LOW | tools/qpu_param_optimizer.py | 1145 | CODE | |
| LOW | tools/qpu_param_optimizer.py | 1294 | CODE | |
| LOW | tools/metal_gibbs_baseline.py | 26 | CODE | |
| LOW | tools/metal_splash_baseline.py | 26 | CODE | |
| LOW | GPU/cuda_gibbs_sa.py | 509 | CODE | |
| LOW | GPU/cuda_sa.py | 113 | CODE | |
| LOW | substrate/miner_controller.py | 472 | CODE | |
| LOW | shared/system_info.py | 758 | CODE | |
| LOW | shared/mining_attempt_log.py | 193 | CODE | |
| LOW | shared/mining_attempt_log.py | 529 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ARCHITECTURE.md | 122 | ### 2.3 CLI orchestration (`quip_cli.py:_run_concurrent_miner`) | COMMENT |
| MEDIUM | tools/cuda_benchmark_compare.py | 420 | # ── Test orchestration ─────────────────────────────────────── | COMMENT |
| MEDIUM | shared/miner_worker.py | 58 | # so the second-process scaffolding is no longer needed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/benchmark_gibbs_curve.py | 102 | dummy_key = b'\x00' * 32 | CODE |
| LOW⚡ | tools/benchmark_gibbs_curve.py | 106 | reward_address=dummy_key, | CODE |
| LOW⚡ | tools/benchmark_gibbs_curve.py | 107 | ecdsa_public_key=dummy_key, | CODE |
| LOW⚡ | tools/benchmark_gibbs_curve.py | 108 | wots_public_key=dummy_key, | CODE |
| LOW⚡ | tools/benchmark_gibbs_curve.py | 109 | next_wots_public_key=dummy_key, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 424 | # Step 1: Analyze topology structure | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 427 | # Step 2: Calculate theoretical energy bounds | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 432 | # Step 3: Calculate SA theoretical bounds | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 435 | # Step 4: Final summary | STRING |
| LOW | tools/visualize_mining_performance.py | 509 | # Step 1: Get per-miner statistics using shared function | COMMENT |
| LOW | tools/visualize_mining_performance.py | 521 | # Step 2: Calculate win rates for each threshold via Monte Carlo | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 424 | # Step 1: Analyze topology structure | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 427 | # Step 2: Calculate theoretical energy bounds | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 432 | # Step 3: Calculate SA theoretical bounds | STRING |
| LOW⚡ | tools/analyze_topology_minimum_energy.py | 435 | # Step 4: Final summary | STRING |
| LOW | tools/visualize_mining_performance.py | 509 | # Step 1: Get per-miner statistics using shared function | COMMENT |
| LOW | tools/visualize_mining_performance.py | 521 | # Step 2: Calculate win rates for each threshold via Monte Carlo | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | minertest/AWS.md | 90 | export IPFS_API_KEY="your-api-key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check-node.sh | 4 | # Usage: | COMMENT |