AI Slop Code Risk Monitor

CapSoftware/Cap

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

Open source Loom alternative. Beautiful, shareable screen recordings.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for CapSoftware/Cap, a Rust project with 24,185 GitHub stars. SynthScan examined 1,184,930 lines of code across 3378 source files, recording 1118 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
24.2K
Stars
Rust
Language
1.2M
Lines of Code
3.4K
Files
1.1K
Pattern Hits
2026-10-31
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-10-31.

Cognitive Ownership Risk 4.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

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

Agent Over-Engineering Ratio 2.7/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 50HIGH 32MEDIUM 20LOW 1016

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 1118 distinct pattern matches across 16 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 Identifiers550 hits · 571 pts
SeverityFileLineSnippetContext
LOWcapcodec/bench/corpus/generate.py568def focus_largest_chrome_window(disp):CODE
LOWscripts/test-audio-intelligibility.py13 def test_delayed_or_advanced_audio_scores_the_same_overlapping_speech(self):CODE
LOWscripts/test-audio-intelligibility.py30 def test_input_and_output_use_the_same_trimmed_reference(self):CODE
LOW⚡scripts/test-instant-mode-performance.py39 def test_cpu_includes_the_first_measured_interval(self):CODE
LOW⚡scripts/test-instant-mode-performance.py48 def test_cpu_weights_unequal_intervals_and_sums_processes(self):CODE
LOW⚡scripts/test-instant-mode-performance.py56 def test_single_sample_has_cpu_but_no_counter_rate(self):CODE
LOW⚡scripts/test-instant-mode-performance.py61 def test_missing_process_or_sample_cannot_be_complete(self):CODE
LOW⚡scripts/test-instant-mode-performance.py70 def test_incomplete_phases_do_not_enter_comparison_aggregates(self):CODE
LOW⚡scripts/test-instant-mode-performance.py79 def test_encoder_descendants_are_counted_once(self):CODE
LOW⚡scripts/test-recording-reliability.py42 def test_complete_events_require_order_and_saved_metadata(self):CODE
LOW⚡scripts/test-recording-reliability.py48 def test_error_event_cannot_be_hidden_by_successful_stop(self):CODE
LOW⚡scripts/test-recording-reliability.py53 def test_malformed_json_duplicate_keys_and_nonfinite_values_rejected(self):CODE
LOW⚡scripts/test-recording-reliability.py58 def test_success_event_cannot_reference_a_different_project(self):CODE
LOW⚡scripts/test-recording-reliability.py62 def test_zero_exit_and_error_log_is_not_clean_json(self):CODE
LOW⚡scripts/test-recording-reliability.py66 def test_missing_requested_tracks_fail_even_if_cli_valid_is_true(self):CODE
LOW⚡scripts/test-recording-reliability.py71 def test_existing_video_is_not_a_camera_or_audio_substitute(self):CODE
LOW⚡scripts/test-recording-reliability.py76 def test_invalid_project_report_cannot_pass_from_existing_files(self):CODE
LOW⚡scripts/test-recording-reliability.py81 def test_empty_artifact_and_path_escape_rejected(self):CODE
LOW⚡scripts/test-recording-reliability.py91 def test_symlink_inside_project_cannot_hide_outside_artifact(self):CODE
LOW⚡scripts/test-recording-reliability.py100 def test_duration_frozen_frame_count_and_missing_stream_rejected(self):CODE
LOW⚡scripts/test-recording-reliability.py106 def test_silent_audio_is_not_a_pass(self):CODE
LOW⚡scripts/test-recording-reliability.py112 def test_packet_timestamps_preserve_reordered_presentation_and_audio_preroll(self):CODE
LOW⚡scripts/test-recording-reliability.py122 def test_duplicate_reversed_and_missing_packet_timestamps_fail(self):CODE
LOW⚡scripts/test-recording-reliability.py134 def test_pending_and_failed_requirements_cannot_become_success(self):CODE
LOW⚡scripts/test-recording-reliability.py140 def test_existing_root_is_never_replaced(self):CODE
LOW⚡scripts/test-recording-reliability.py148 def test_owned_timeout_cannot_be_reported_as_success(self):CODE
LOWscripts/test-recording-reliability.py160 def test_nonzero_child_with_success_json_remains_failed(self):CODE
LOWscripts/test-capbench.py78 def test_playback_picks_full_and_scrub_totals(self):STRING
LOWscripts/test-capbench.py88 def test_playback_runs_with_failed_frames_are_invalid(self):STRING
LOWscripts/test-capbench.py100 def test_decode_runs_with_failed_reads_are_invalid(self):STRING
LOWscripts/test-capbench.py107 def test_fixture_inside_the_work_directory_is_not_deleted(self):STRING
LOWscripts/test-capbench.py120 def test_binaries_inside_the_work_directory_are_not_deleted(self):STRING
LOWscripts/test-capbench.py135 def test_labels_that_are_not_plain_file_names_are_rejected(self):STRING
LOWscripts/test-capbench.py147 def test_startup_check_finds_missing_helpers(self):STRING
LOWscripts/test-capbench.py156 def test_export_progress_timing(self):STRING
LOW⚡scripts/test-capbench.py169 def test_export_problem_rejects_broken_exports(self):STRING
LOW⚡scripts/test-capbench.py178 def test_exports_ffprobe_cannot_read_are_invalid(self):STRING
LOW⚡scripts/test-capbench.py187 def test_compare_flags_only_separated_changes(self):STRING
LOWscripts/test-capbench.py198 def test_invalid_recordings_fail_the_run(self):STRING
LOWscripts/test-capbench.py206 def test_runs_missing_a_metric_are_invalid(self):STRING
LOWscripts/test-capbench.py217 def test_variant_env_is_scoped_per_label(self):STRING
LOWscripts/test-capbench.py223 def test_job_accounts_child_process_cpu(self):STRING
LOWscripts/instant-mode-performance-macos.py391def set_camera_preview_state_action(state):CODE
LOWscripts/instant-mode-performance-macos.py395def load_camera_preview_state(recordings_dir):CODE
LOWscripts/instant-mode-performance-macos.py919def wait_for_recording_complete(project, timeout=45):CODE
LOWscripts/instant-mode-performance-macos.py1048def project_validation_errors(CODE
LOW⚡scripts/verify/test_diff.py50 def test_witness_frame_does_not_hide_new_classes_or_larger_deltas(self):CODE
LOW⚡scripts/verify/test_diff.py60 def test_continuous_metrics_require_three_independent_runs(self):CODE
LOW⚡scripts/verify/test_diff.py64 def test_continuous_overlap_and_one_resolution_step_are_not_worse(self):CODE
LOW⚡scripts/verify/test_diff.py70 def test_continuous_separated_ranges_are_worse(self):CODE
LOW⚡scripts/verify/test_diff.py73 def test_signed_offsets_compare_magnitude(self):CODE
LOW⚡scripts/verify/test_diff.py76 def test_timing_metric_outside_recording_cases_uses_distribution(self):CODE
LOW⚡scripts/verify/test_diff.py79 def test_reporter_precision_is_preserved_for_each_timing_unit(self):CODE
LOW⚡scripts/verify/test_diff.py92 def test_fresh_crash_counts_use_frame_resolution(self):CODE
LOW⚡scripts/verify/test_diff.py98 def test_missing_metric_is_insufficient_not_zero(self):CODE
LOW⚡scripts/verify/test_diff.py103 def test_new_fresh_class_needs_consistent_occurrence(self):CODE
LOW⚡scripts/verify/test_diff.py110 def test_legacy_instant_telemetry_preserves_signed_interval(self):CODE
LOW⚡scripts/verify/test_diff.py119 def test_legacy_normalization_does_not_override_measurements_or_invent_sources(self):CODE
LOW⚡scripts/verify/test_diff.py128 def test_legacy_and_current_instant_records_compare_equally(self):CODE
LOW⚡scripts/verify/test_diff.py135 def test_lost_coverage_is_worse_for_passing_and_failing_baselines(self):CODE
490 more matches not shown…
Hallucination Indicators50 hits · 440 pts
SeverityFileLineSnippetContext
CRITICALcrates/recording/src/studio_recording.rs981 let scope = self.lifetime.lifecycle.0.scope.child_transaction();CODE
CRITICALcrates/recording/src/studio_recording.rs982 let lifetime_completion = self.lifetime.lifecycle.0.scope.task_completion();CODE
CRITICALcrates/recording/src/instant_recording.rs397 self.lifetime.lifecycle.0.scope.cancel();CODE
CRITICALcrates/camera-directshow/src/lib.rs156 .then(|| OsString::from_wide(self.Anonymous.Anonymous.Anonymous.bstrVal.deref()))CODE
CRITICALcrates/editor/src/preparing_handoff.rs446 self.handoff.0.state.changed.send_replace(self.revision);CODE
CRITICALcrates/editor/src/preparing_audio/mixer.rs361 self.sources.project.audio.isolation.strength(),CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts982 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1042 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1126 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1133 storage.bucket.getObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1184 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1205 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1237 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1258 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1298 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1329 storage.bucket.headObject.mock.calls.filter(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1334 storage.bucket.getObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1345 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1350 storage.bucket.getObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1406 reads: storage.bucket.getObject.mock.calls.filter(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1429 storage.bucket.getObject.mock.calls.map(([key]) => key),CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1445 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1533 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1774 storage.bucket.multipart.copyPart.mock.calls.filter(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1798 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts1898 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2373 storage.bucket.getInternalSignedObjectUrl.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2648 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2665 const copied = storage.bucket.copyObject.mock.calls.at(-1)?.[1];CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2687 const preparedCopy = storage.bucket.copyObject.mock.calls.find(([, key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2714 storage.bucket.headObject.mock.calls.filter(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2724 const listedPrefixes = storage.bucket.listObjects.mock.calls.map(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2748 storage.bucket.getObject.mock.calls.filter(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2767 storage.bucket.getObject.mock.calls.some(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2792 storage.bucket.putObject.mock.calls.filter(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2819 storage.bucket.putObject.mock.calls.some(([key]) =>CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2865 storage.bucket.headObject.mock.calls.filter(CODE
CRITICAL…ps/web/__tests__/unit/desktop-recording-source.test.ts2881 storage.bucket.headObject.mock.calls.filter(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts348 mocks.stripe.checkout.sessions.retrieve.mockImplementation(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts356 mocks.stripe.checkout.sessions.create.mockImplementation(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts380 mocks.stripe.checkout.sessions.expire.mockImplementation(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts392 mocks.stripe.billingPortal.sessions.create.mockResolvedValue({CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts971 mocks.stripe.checkout.sessions.create.mockImplementationOnce(async () => {CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts1013 mocks.stripe.checkout.sessions.expire.mockImplementationOnce(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts1032 mocks.stripe.checkout.sessions.create.mockRejectedValueOnce(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts1049 const keys = mocks.stripe.checkout.sessions.create.mock.calls.map(CODE
CRITICALapps/web/__tests__/unit/sso-billing.test.ts1078 const keys = mocks.stripe.checkout.sessions.create.mock.calls.map(CODE
CRITICALapps/desktop-gpui/src/editor_window.rs12603 camera_x: editor.project.camera.position.x.clone(),CODE
CRITICALapps/desktop-gpui/src/editor_window.rs12604 camera_y: editor.project.camera.position.y.clone(),CODE
CRITICALapps/desktop-gpui/src/editor_sidebar.rs2350 .or_else(|| self.sidebar.animated_gradient.library.last_used.clone())CODE
Over-Commented Block370 hits · 368 pts
SeverityFileLineSnippetContext
LOW.config/hakari.toml1# This file contains settings for `cargo hakari`.COMMENT
LOWinfra/sst.config.ts241// namespaceId: "846b080b86914e2ba666d35acee35c9a",COMMENT
LOWcrates/cursor-info/src/windows.rs141 // Self::ScrollWE => todo!(),COMMENT
LOWcrates/d3d-adapter/src/lib.rs1// Pinned-adapter selection for D3D11 / MediaFoundation pipelines.COMMENT
LOWcrates/enc-avfoundation/src/mp4.rs81 AppendError(arc::R<ns::Exception>),COMMENT
LOWcrates/enc-avfoundation/src/mp4.rs941 // post-resume frame ties against its pts and gets bumped +1us —COMMENT
LOWcrates/verify/expectations.toml1# Strict expected failures for the engine verification suiteCOMMENT
LOWcrates/verify/expectations.toml21# machine stall during the case)COMMENT
LOWcrates/verify/expectations.toml281# reaches Cap's capture callback and Cap drops nothing. GitHub-hosted runnersCOMMENT
LOWcrates/verify/tests/editing.rs1//! Editing oracle: seeded random sequences of timeline edits (split, delete,COMMENT
LOWcrates/verify/tests/crash.rs1//! Crash safety of fragmented Studio recording: the out-of-process muxerCOMMENT
LOWcrates/verify/tests/recording.rs1//! Real-capture recording oracle (macOS).COMMENT
LOWcrates/verify/tests/recording.rs161const SYSTEM_AUDIO_STARTUP: f64 = 1.0;COMMENT
LOWcrates/verify/tests/recording.rs961 /// (before the recording started or after it stopped).COMMENT
LOWcrates/verify/tests/recording.rs1501 case.note(format!("artifacts kept at {}", scratch.display()));COMMENT
LOWcrates/verify/tests/recording.rs3081 kind: StreamKind,COMMENT
LOWcrates/verify/tests/recording.rs4261 .into_iter()COMMENT
LOWcrates/verify/tests/captions.rs1//! Captions oracle, with no transcription model anywhere:COMMENT
LOWcrates/verify/tests/captions.rs21//! - `editor_open`: opening a project in the editor engine migrates andCOMMENT
LOWcrates/verify/tests/edits/mod.rs1//! Random timeline edits shared by `editing.rs` and `captions.rs`.COMMENT
LOWcrates/verify/src/stimulus.rs1//! Real-capture stimulus: a helper process (`cap-verify-stimulus`) that showsCOMMENT
LOWcrates/verify/src/stimulus.rs21 /// (start, length) seconds after `go` during which the picture is held.COMMENT
LOWcrates/verify/src/fixture.rs1//! Fixture projects. Every fixture is generated by code from a spec and aCOMMENT
LOWcrates/verify/src/video_code.rs1//! Video frame markers.COMMENT
LOWcrates/verify/src/sentinel.rs1//! Machine-starvation sentinel for the engine suites.COMMENT
LOWcrates/verify/src/sched.rs1//! Real-time scheduling for the verification suite's input sources.COMMENT
LOWcrates/verify/src/model.rs1//! Reference timeline model: what every output frame must show.COMMENT
LOWcrates/verify/src/audio_model.rs1//! Reference model and oracle for audio: where every source marker must beCOMMENT
LOWcrates/verify/src/audio_model.rs21//! - Stale-startup repair: a track whose recording-meta gap summary reportsCOMMENT
LOWcrates/verify/src/audio_model.rs61/// residue can correlate. Real markers are heard at 0.05 or more.COMMENT
LOWcrates/camera/src/lib.rs181 }COMMENT
LOWcrates/camera/src/lib.rs201 Native(windows_core::Error),COMMENT
LOWcrates/recording/tests/hardware_studio_recording.rs1#![cfg(target_os = "macos")]COMMENT
LOWcrates/recording/tests/windows_loopback.rs1//! Real-endpoint validation of the WASAPI loopback capture path.COMMENT
LOWcrates/recording/tests/sync_matrix.rs1//! Synthetic device matrix for A/V sync.COMMENT
LOWcrates/recording/tests/sync_matrix.rs381 // a second or more either way. When the source over-delivers severalCOMMENT
LOWcrates/recording/tests/sync_matrix.rs441 // 5% absolute slack for boundary effects. The sent term stays as aCOMMENT
LOWcrates/recording/tests/sync_matrix.rs1301 });COMMENT
LOWcrates/recording/tests/sync_matrix.rs1321//COMMENT
LOWcrates/recording/tests/sync_matrix.rs1721/// One retry for a failed video case. A cold system pays one-time costsCOMMENT
LOWcrates/recording/examples/screenshot-pack-benchmark.rs1//! Compares the macOS fast-capture pixel packers in `src/screenshot.rs` before and after theCOMMENT
LOW…es/recording/examples/vt-hwframe-real-capture-check.rs1//! Real-hardware engagement check for the zero-copy VideoToolbox encoderCOMMENT
LOWcrates/recording/examples/recording-cli.rs21 let _ = std::fs::create_dir("/tmp/bruh");COMMENT
LOW…ates/recording/examples/vt-hwframe-encode-benchmark.rs1//! Fragmented-recording encoder benchmark: software-frame VideoToolbox inputCOMMENT
LOWcrates/recording/examples/linux-x11-e2e.rs1//! Headless end-to-end verification for the native x11rb screen-capture path.COMMENT
LOWcrates/recording/src/output_validation.rs101 ValidationResult {COMMENT
LOWcrates/recording/src/track_heal.rs1//! Load-time repair for recordings whose video tracks were stamped at theCOMMENT
LOWcrates/recording/src/track_heal.rs121/// Camera must exceed the reference span by at least this factor…COMMENT
LOWcrates/recording/src/track_heal.rs281COMMENT
LOWcrates/recording/src/log_redaction.rs1//! Scrubs credentials out of log text before it leaves the machine.COMMENT
LOWcrates/recording/src/sources/audio_mixer.rs901 #[cfg(not(any(target_os = "macos", windows)))]COMMENT
LOWcrates/recording/src/sources/screen_capture/cadence.rs1//! Caps a capture source's delivered frame rate at the pipeline's nominalCOMMENT
LOWcrates/recording/src/sources/screen_capture/cadence.rs21//! are admitted against a deadline ladder that advances one nominalCOMMENT
LOWcrates/recording/src/output_pipeline/core.rs1061 let gap = capture_elapsed.saturating_sub(sample_based_elapsed);COMMENT
LOWcrates/recording/src/output_pipeline/core.rs1241 (output, candidate > bound)COMMENT
LOWcrates/recording/src/output_pipeline/core.rs1401 }COMMENT
LOWcrates/recording/src/output_pipeline/core.rs1421 fn waited_for_frame(&mut self, waited: bool) {COMMENT
LOWcrates/recording/src/output_pipeline/core.rs7841COMMENT
LOWcrates/recording/src/output_pipeline/macos.rs1341 // The thread exited with an error: the encoder mutex isCOMMENT
LOWcrates/recording/src/output_pipeline/frame_pacing.rs1//! Repeats the last frame while a Windows video source is stalled, so theCOMMENT
310 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHcapcodec/bench/speedcmp.py122except OSError:CODE
HIGHcapcodec/bench/speedcmp.py135except OSError:CODE
HIGHcapcodec/bench/speedcmp.py159except OSError:CODE
HIGHcapcodec/bench/speedcmp.py97except OSError:CODE
HIGHcapcodec/bench/corpus/generate.py486except OSError:CODE
HIGHcapcodec/bench/harness/metrics.py337except BrokenPipeError:CODE
HIGHcapcodec/bench/harness/runner.py93except OSError:CODE
HIGHcapcodec/bench/harness/common.py165except psutil.Error:CODE
HIGHcapcodec/bench/harness/adapters/capcodec.py85except json.JSONDecodeError:CODE
HIGHcapcodec/bench/harness/adapters/__init__.py23except ImportError:CODE
HIGHcapcodec/bench/harness/adapters/__init__.py28except ImportError:CODE
HIGHcapcodec/bench/harness/adapters/browser.py48except psutil.Error:CODE
HIGHcapcodec/bench/harness/adapters/browser.py46except psutil.Error:CODE
HIGHscripts/verify/retry.py62except json.JSONDecodeError:CODE
HIGHapps/cli/skill/cap-demo/lib/treat.py326except Exception:CODE
AI Slop Vocabulary19 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMcrates/cap-test/src/main.rs20#[command(about = "Unified testing harness for Cap", long_about = None)]COMMENT
MEDIUMcrates/audio/src/bin/av-sync-check.rs184/// noise floor — does not swallow real events. `frac` of the robust p5..p95COMMENT
MEDIUMcrates/audio/src/bin/av-sync-check.rs193 // Floor from a low percentile (robust to a few dark/quiet outliers); peak fromCOMMENT
LOWcapcodec/bench/corpus/pages/data/inflate_c.js2 '/* inflate.c -- zlib decompression\n * Copyright (C) 1995-2022 Mark Adler\n * For conditions of distribution and use, CODE
LOWcapcodec/bench/corpus/pages/data/difflib_py.js2 "\"\"\"\nModule difflib -- helpers for computing deltas between objects.\n\nFunction get_close_matches(word, possibilitCODE
MEDIUMscripts/linux-desktop-harness/launch-cap.sh2# Launches Cap in a throwaway profile with the harness hooks. Usage:COMMENT
MEDIUMscripts/linux-desktop-harness/run-desktop.sh12# the vgem/vkms faux devices this harness renders with (Mesa 26.2 on Arch; onCOMMENT
MEDIUMscripts/linux-desktop-harness/run-desktop.sh14# the layer off). Real GPUs are not affected, so the harness (not Cap) turnsCOMMENT
MEDIUMscripts/linux-desktop-harness/gnome-up.sh19# a harness target to it the way gnome-session's own targets do.COMMENT
MEDIUMscripts/linux-desktop-harness/report.sh2# Summarise one harness run directory: results, harness actions, Cap's ownCOMMENT
MEDIUMscripts/linux-desktop-harness/scenario-start-stop.sh53 # entry of the menu it opens, with the pointer. Otherwise the harnessCOMMENT
MEDIUMscripts/verify/plan.py386# stimulus, their whole dependency closure, and the harness itself.COMMENT
MEDIUM.github/workflows/verify-recording.yml11# the stimulus's dependency closure or the harness (scripts/verify/plan.pyCOMMENT
MEDIUM.github/workflows/linux-desktop-reliability.yml5# containers (scripts/linux-desktop-harness). Each case starts a DisplayCOMMENT
MEDIUM.github/workflows/linux-desktop-reliability.yml42 # A pull request from a fork that changes only this workflow or the harnessCOMMENT
MEDIUM.github/workflows/linux-desktop-reliability.yml553 # two, the screen-share dialog waits for a pick the harness never makes.COMMENT
MEDIUMapps/cli/src/selftest/measure.rs6//! robust offset and drift statistics. Positive offset means audio is late.COMMENT
MEDIUMapps/cli/src/selftest/measure.rs319 /// robust to slope noise on short runs than the per-minute rate.COMMENT
MEDIUMapps/cli/src/selftest/measure.rs329/// and computes robust statistics. The first event after settle is dropped:COMMENT
Deep Nesting50 hits · 50 pts
SeverityFileLineSnippetContext
LOWcapcodec/bench/speedcmp.py89CODE
LOWcapcodec/bench/speedcmp.py127CODE
LOWcapcodec/bench/speedcmp.py305CODE
LOWcapcodec/bench/scoreboard.py45CODE
LOWcapcodec/bench/scoreboard.py73CODE
LOWcapcodec/bench/corpus/scenarios.py196CODE
LOWcapcodec/bench/corpus/playback.py167CODE
LOWcapcodec/bench/corpus/generate.py547CODE
LOWcapcodec/bench/corpus/generate.py767CODE
LOWcapcodec/bench/corpus/generate.py1333CODE
LOWcapcodec/bench/corpus/generate.py1420CODE
LOWcapcodec/bench/corpus/sideinfo.py60CODE
LOWcapcodec/bench/corpus/sideinfo.py196CODE
LOWcapcodec/bench/corpus/sideinfo.py251CODE
LOWcapcodec/bench/harness/metrics.py268CODE
LOWcapcodec/bench/harness/runner.py477CODE
LOWcapcodec/bench/harness/runner.py538CODE
LOWcapcodec/bench/harness/runner.py577CODE
LOWcapcodec/bench/harness/runner.py147CODE
LOWcapcodec/bench/harness/runner.py172CODE
LOWcapcodec/bench/harness/runner.py212CODE
LOWcapcodec/bench/harness/runner.py265CODE
LOWcapcodec/bench/harness/report.py29CODE
LOWcapcodec/bench/harness/report.py180CODE
LOWcapcodec/bench/harness/corpus.py142CODE
LOWcapcodec/bench/harness/browser/server.py53CODE
LOWcapcodec/tools/gen_tables.py98CODE
LOWscripts/test-audio-intelligibility.py13CODE
LOWscripts/capbench.py332CODE
LOWscripts/capbench.py631CODE
LOWscripts/capbench.py780CODE
LOWscripts/recording-reliability.py245CODE
LOWscripts/linux-desktop-harness/mutter-pointer.py37CODE
LOWscripts/verify/plan.py146CODE
LOWscripts/verify/floor.py34CODE
LOWscripts/verify/retry.py52CODE
LOWscripts/verify/retry.py67CODE
LOWscripts/verify/retry.py156CODE
LOWscripts/verify/perf-ab.py85CODE
LOWscripts/verify/summary.py21CODE
LOWscripts/verify/summary.py45CODE
LOWscripts/verify/summary.py64CODE
LOWscripts/verify/summary.py110CODE
LOWscripts/verify/summary.py127CODE
LOWscripts/verify/perf-build.py28CODE
LOWscripts/verify/diff.py56CODE
LOWscripts/verify/diff.py150CODE
LOWscripts/verify/diff.py219CODE
LOWscripts/verify/diff.py320CODE
LOWscripts/verify/mtime.py50CODE
Cross-Language Confusion (JS/TS)9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHapps/web/app/install-cli.sh/route.ts69 elif command -v sudo >/dev/null 2>&1; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts124 elif [ -f "$APP_PATH" ]; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts159 elif [ -n "$APP_PATH" ] && [ -w "$(dirname "$APP_PATH")" ]; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts161 elif [ -w "/Applications" ]; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts218 elif command -v dpkg >/dev/null 2>&1; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts274 elif [ ! -d "$APP_PATH" ]; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts294 elif ! find_linux_cli_target; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts319elif case ":$PATH:" in *:"$HOME_DIR/.local/bin":*) true ;; *) false ;; esac; thenCODE
HIGHapps/web/app/install-cli.sh/route.ts371 elif printf '\n# Added by the Cap CLI installer\n%s\n' "$EXPORT_LINE" >> "$PROFILE" 2>/dev/null; thenCODE
Cross-Language Confusion7 hits · 31 pts
SeverityFileLineSnippetContext
HIGHcapcodec/bench/corpus/scenarios.py407 "(() => { for (const a of document.querySelectorAll('#content p a')) { const r = a.getBoundingClientRect(); if (CODE
HIGHcapcodec/bench/corpus/scenarios.py415 "(() => { for (const p of document.querySelectorAll('#content p')) { const r = p.getBoundingClientRect(); if (r.CODE
HIGHcapcodec/bench/corpus/scenarios.py450 "(() => { for (const a of document.querySelectorAll('#content a')) { const r = a.getBoundingClientRect(); if (r.CODE
HIGH⚡capcodec/bench/corpus/sideinfo.py5 {"frame": i, "t_ms": float, "dirty": [[x,y,w,h],...], "cursor": [x,y] | null,STRING
HIGH⚡capcodec/bench/corpus/sideinfo.py6 "scroll": [{"rect": [x,y,w,h], "dx": int, "dy": int, "id": str, "valid": bool | null,STRING
HIGH⚡capcodec/bench/corpus/sideinfo.py7 "align": "latency" | "realigned", "match": float | null}, ...]}STRING
HIGHscripts/recording-reliability.py203$r = [ordered]@{exitCode=$null;timedOut=$false;forcedCleanup=$false;cleanupComplete=$false;error=$null}CODE
Fake / Example Data24 hits · 26 pts
SeverityFileLineSnippetContext
LOWcapcodec/bench/corpus/pages/common/board.js293 ph.className = "placeholder";CODE
LOWapps/web/__tests__/unit/space-page-round-trips.test.ts242 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/email-config.test.ts23 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/sso-settings.test.ts173 email: "admin@example.com",CODE
LOWapps/web/__tests__/unit/share-audience.test.ts65 audienceNames: ["Acme Inc", "Design", "Marketing", "Support"],CODE
LOWapps/web/__tests__/unit/folder-count.test.ts37 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/send-download-link.test.ts36 const result = await sendDownloadLink("user@example.com");CODE
LOWapps/web/__tests__/unit/send-download-link.test.ts47 const result = await sendDownloadLink("user@example.com");CODE
LOWapps/web/__tests__/unit/send-download-link.test.ts66 const result = await sendDownloadLink("user@example.com");CODE
LOWapps/web/__tests__/unit/folder-parent-location.test.ts70 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/signed-baa-card.test.ts109 entityAddress: "123 Main Street",CODE
LOW…ps/web/__tests__/unit/account-deletion-request.test.ts131 userEmail: "user@example.com",CODE
LOW…ps/web/__tests__/unit/account-deletion-request.test.ts139 replyTo: "user@example.com",CODE
LOW…ps/web/__tests__/unit/account-deletion-request.test.ts164 email: "user@example.com",CODE
LOW…ps/web/__tests__/unit/account-deletion-request.test.ts191 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/messenger-support-email.test.ts72 email: "user@example.com",CODE
LOW⚡apps/web/__tests__/unit/messenger-support-email.test.ts87 userEmail: "user@example.com",CODE
LOW⚡apps/web/__tests__/unit/messenger-support-email.test.ts96 replyTo: "user@example.com",CODE
LOW⚡apps/web/__tests__/unit/messenger-support-email.test.ts105 userEmail: "user@example.com",CODE
LOWapps/web/__tests__/unit/messenger-support-email.test.ts128 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/messenger-support-email.test.ts162 email: "user@example.com",CODE
LOWapps/web/__tests__/unit/messenger-support-email.test.ts182 email: "user@example.com",CODE
LOWapps/mobile/src/auth/SignInPanel.test.tsx223 expect(hasProp(tree, "placeholder", "tim@apple.com")).toBe(true);CODE
LOWapps/mobile/src/auth/SignInPanel.test.tsx310 expect(hasProp(tree, "placeholder", "Enter your Organization ID...")).toBe(CODE
Excessive Try-Catch Wrapping11 hits · 12 pts
SeverityFileLineSnippetContext
LOWcapcodec/bench/corpus/generate.py401 except Exception:CODE
LOWcapcodec/bench/corpus/generate.py531 except Exception as e:CODE
LOWcapcodec/bench/corpus/generate.py874 except Exception as e:CODE
LOWcapcodec/bench/corpus/generate.py1490 except Exception:CODE
MEDIUMcapcodec/bench/corpus/generate.py398def screen_size(disp):CODE
LOWcapcodec/bench/harness/runner.py310 except Exception:CODE
LOWscripts/benchmark-instant-audio.py120 except Exception as error:CODE
LOWscripts/linux-desktop-harness/atspi-press.py24 except Exception:CODE
LOWscripts/linux-desktop-harness/atspi-press.py45 except Exception:CODE
LOWapps/cli/skill/cap-demo/lib/treat.py326 except Exception:CODE
LOWapps/cli/skill/cap-demo/lib/treat.py336 except Exception:CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.config/hakari.toml1# This file contains settings for `cargo hakari`.COMMENT
MEDIUMcrates/workspace-hack/Cargo.toml1# This file is generated by `cargo hakari`.COMMENT
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWcapcodec/bench/harness/metrics.py8CODE
LOWcapcodec/bench/harness/metrics.py13CODE
LOWcapcodec/bench/harness/adapters/browser.py102CODE
LOWscripts/verify/perf-build.py9CODE
LOWscripts/hero-clouds/render.py11CODE
LOWscripts/og-sky/render.py12CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcapcodec/bench/corpus/pages/data/inflate_c.js2 '/* inflate.c -- zlib decompression\n * Copyright (C) 1995-2022 Mark Adler\n * For conditions of distribution and use, CODE
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/editor/PLAYBACK-BENCHMARKS.md70# Step 1: Create test recordings with outputs keptCOMMENT
LOWcrates/editor/PLAYBACK-BENCHMARKS.md73# Step 2: Validate playback of those recordingsCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/validate-migration-journal.yml24 # Check if journal exists in previous commitCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWapps/web/actions/videos/get-og-image.tsx69async function getData(videoId: Video.VideoId) {CODE