AI Slop Code Risk Monitor

0xPlaygrounds/rig

SlopCodeMonitor badge for 0xPlaygrounds/rig Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

⚙️🦀 Build modular and scalable LLM Applications in Rust

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for 0xPlaygrounds/rig, a Rust project with 9,029 GitHub stars. SynthScan examined 769,572 lines of code across 2849 source files, recording 2255 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 3.1 (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.

3.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.0K
Stars
Rust
Language
769.6K
Lines of Code
2.8K
Files
2.3K
Pattern Hits
2026-10-31
Scan Date
0.00
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 13.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 1.1/100 · LOW

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

PR Review Velocity Impact 14.4/100 · LOW

Which changes need focused human review? 2255 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 2HIGH 6MEDIUM 46LOW 2201

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 2255 distinct pattern matches across 12 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.

Over-Commented Block2068 hits · 2066 pts
SeverityFileLineSnippetContext
LOWCargo.toml21# `rig-test-support` dev dependency is path-only and Cargo strips it whenCOMMENT
LOWCargo.toml221# and a downstream resolves anywhere inside that range — usually to whateverCOMMENT
LOWCargo.toml521audio = ["rig-core/audio", "rig-agent?/audio"]COMMENT
LOWcrates/rig-http/src/runtime.rs1//! The tokio runtime the bundled transports poll their I/O in.COMMENT
LOWcrates/rig-http/src/ws_client.rs1//! Transport-independent websocket handshakes, connections, and frames.COMMENT
LOWcrates/rig-http/src/lib.rs1#![cfg_attr(docsrs, feature(doc_cfg))]COMMENT
LOWcrates/rig-http/src/lib.rs21//! use rig_http::http_client::{DynHttpClient, HttpClientExt};COMMENT
LOWcrates/rig-http/src/wasm_compat.rs21 "rig-http does not support threaded wasm (`+atomics`): its wasm-compat markers assume a \COMMENT
LOWcrates/rig-http/src/wasm_compat.rs81/// `Sync` on native targets, a no-op marker on browser wasm.COMMENT
LOWcrates/rig-http/src/http_client/multipart.rs1//! Transport-neutral multipart fields and byte encoding.COMMENT
LOWcrates/rig-http/src/http_client/mod.rs21pub use middleware::{Exchange, HttpMiddleware};COMMENT
LOWcrates/rig-http/src/http_client/mod.rs41 /// The failed response's headers, verbatim.COMMENT
LOWcrates/rig-http/src/http_client/mod.rs61 /// The transport's own error, without a response.COMMENT
LOWcrates/rig-http/src/http_client/mod.rs101 status,COMMENT
LOWcrates/rig-http/src/http_client/middleware.rs1//! Transport-boundary middleware for [`DynHttpClient`](super::DynHttpClient).COMMENT
LOWcrates/rig-http/src/http_client/middleware.rs21/// hook.COMMENT
LOWcrates/rig-http/src/http_client/middleware.rs41/// `rig-reqwest` does. Multipart requests skip body hooks.COMMENT
LOWcrates/rig-http/src/http_client/middleware.rs61 ///COMMENT
LOWcrates/rig-http/src/http_client/erased.rs1//! Type-erased HTTP transport with optional middleware.COMMENT
LOWcrates/rig-http/src/http_client/framing.rs1//! Incremental SSE and newline-delimited framing of response bytes.COMMENT
LOWcrates/rig-gemini-grpc/tests/streaming_conformance.rs1//! Wire-conformance suite for the Gemini gRPC typed-event wire.COMMENT
LOWcrates/rig-gemini-grpc/src/client.rs1//! The Gemini gRPC transport: the Gemini API's [`GeminiConfig`] on a tonicCOMMENT
LOWcrates/rig-gemini-grpc/src/client.rs41#[derive(Debug, thiserror::Error)]COMMENT
LOWcrates/rig-gemini-grpc/src/rest.rs1//! The canonical proto3 JSON of the Gemini messages, which is the RESTCOMMENT
LOWcrates/rig-gemini-grpc/src/embedding.rs1//! The Gemini text-embedding wire over gRPC: one `EmbedContent` call per text.COMMENT
LOWcrates/rig-gemini-grpc/src/lib.rs1#![cfg_attr(COMMENT
LOWcrates/rig-gemini-grpc/src/completion.rs1//! The Gemini `GenerateContent` completion wire over gRPC: `GenerateContent`COMMENT
LOWcrates/rig-gemini-grpc/src/extension.rs1//! Typed request options and reply extras for the Gemini gRPC API, keyed byCOMMENT
LOWcrates/rig-cassette/Cargo.toml1[package]COMMENT
LOWcrates/rig-cassette/tests/corpus_breadth.rs1//! Matrix N: provider breadth for the pass-2 shapes.COMMENT
LOWcrates/rig-cassette/tests/corpus_breadth.rs21//! unadvertised call; the mock's empty turn is the shape); the promptedCOMMENT
LOWcrates/rig-cassette/tests/cassette_history_survival.rs1//! Corpus guard: what a provider delivered must come back, and every toolCOMMENT
LOWcrates/rig-cassette/tests/cassette_history_survival.rs21//! 3. [`every_recorded_request_pairs_tool_calls_with_results`]: no requestCOMMENT
LOWcrates/rig-cassette/tests/corpus_invalid.rs1//! Matrix G: invalid tool calls, streamed and ignored.COMMENT
LOWcrates/rig-cassette/tests/corpus_invalid.rs21//! | resolution | hook `Retry` · hook `Repair` · hook `Skip` · policy `Ignore` · policy `Fail` |COMMENT
LOWcrates/rig-cassette/tests/corpus_invalid.rs41//! | `mock_invalid_streamed_retry_once` | `invalid_streamed_retry_once_…` | `[Completion, Completion, Tool, Completion]COMMENT
LOWcrates/rig-cassette/tests/corpus_header.rs1//! Matrix S: the header's new types.COMMENT
LOWcrates/rig-cassette/tests/corpus_header.rs21//!COMMENT
LOWcrates/rig-cassette/tests/corpus_outcome.rs1//! Matrix D: continuation, cancellation and failure outcomes.COMMENT
LOWcrates/rig-cassette/tests/corpus_outcome.rs21//!COMMENT
LOWcrates/rig-cassette/tests/corpus_outcome.rs41//! | `anthropic_outcome_model_error_streamed` | `model_error_streamed_…` | the same, streamed | the stream's one item iCOMMENT
LOWcrates/rig-cassette/tests/cassette_usage_census.rs1//! Corpus census: what rig's `Usage` reports for every recorded completion.COMMENT
LOWcrates/rig-cassette/tests/golden_replay.rs1//! The original effect corpus: nine golden effect logs, each recorded once by oneCOMMENT
LOWcrates/rig-cassette/tests/golden_replay.rs21//! divergence in what either interpreter *asks* fails the run at thatCOMMENT
LOWcrates/rig-cassette/tests/interpreters_agree.rs1//! Two interpreters of the agent program agree (Swierstra: any twoCOMMENT
LOWcrates/rig-cassette/tests/corpus_resume.rs1//! Matrix L: resumption under everything.COMMENT
LOWcrates/rig-cassette/tests/corpus_resume.rs21//! # DimensionsCOMMENT
LOWcrates/rig-cassette/tests/corpus_resume.rs41//!COMMENT
LOWcrates/rig-cassette/tests/corpus_resume.rs61//! | `gemini_retrieval_context_and_tools` | the head's retrievals; the tail retrieves again for its turn |COMMENT
LOWcrates/rig-cassette/tests/durable_execution.rs1//! Durable execution, as one property: a run interrupted after tool callCOMMENT
LOWcrates/rig-cassette/tests/corpus_shaping.rs1//! Matrix M: per-turn shaping.COMMENT
LOWcrates/rig-cassette/tests/corpus_shaping.rs21//!COMMENT
LOWcrates/rig-cassette/tests/corpus_shaping.rs41//! | `anthropic_shaping_extra_context_streamed` | `extra_context_streamed_…` | the same, events kept |COMMENT
LOWcrates/rig-cassette/tests/corpus_retrieval.rs1//! Matrix A: retrieval effects.COMMENT
LOWcrates/rig-cassette/tests/corpus_retrieval.rs21//! | `samples` | 1 · 2 · 5 over three documents |COMMENT
LOWcrates/rig-cassette/tests/corpus_retrieval.rs41//! | `gemini_retrieval_dynamic_context_two_streamed` | `dynamic_context_two_streamed_…` | the same with two documents, COMMENT
LOWcrates/rig-cassette/tests/corpus_delta.rs1//! Matrix K: the delta wire.COMMENT
LOWcrates/rig-cassette/tests/corpus_delta.rs21//! | argument order | after the name · before the name (buffered) |COMMENT
LOWcrates/rig-cassette/tests/corpus_delta.rs41//! | golden | producer | shape | ending |COMMENT
LOWcrates/rig-cassette/tests/corpus_delta.rs61//! emits and accepts them as steps of their own), sent a thoughtCOMMENT
2008 more matches not shown…
Hyper-Verbose Identifiers92 hits · 83 pts
SeverityFileLineSnippetContext
LOW…aude-cloak/tests/acceptance/test_failure_collection.py24 def test_known_refusal_and_semantic_failure_only_with_complete_wire_proof(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py46 def test_dispatch_and_terminal_bounds_are_not_semantic_failures(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py63 def test_collection_waits_for_effects_and_only_advances_fixed_next_phase(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py92 def test_semantic_failure_stays_failed_and_transport_unknown_never_advances(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py110 def test_scope_and_fixed_phase_sequence_bounds(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py123 def test_correct_facts_do_not_hide_unexpected_tool_dispatch(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py136 def test_passing_terminal_cancellation_requires_every_completion_proof(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py158 def test_retention_requires_real_failed_read_even_when_model_claims_it(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py179 def test_failed_read_history_requires_exact_target_delta_and_effects(self):CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py192 def test_completed_refusal_cancellation_is_collected_without_erasing_failure(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_comparison.py775 def test_final_budget_slot_is_a_nonforwarded_attempt(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_comparison.py783 def test_checksum_verifier_receives_the_original_bytes(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_comparison.py791 def test_wire_profile_never_exports_text_headers_or_schema_literals(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_comparison.py800 def test_auxiliary_guard_is_nonretryable_and_does_not_pass_primary_scenarios(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py25 def test_stop_details_export_closed_categories_without_explanation_or_unknown_values(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py49 def test_previous_request_metadata_stays_private_and_rejects_arbitrary_inputs(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py75 def test_collected_failure_journal_forces_failed_report_without_exporting_extra_text(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py94 def test_optional_profile_fields_missing_from_old_capture_are_unknown_without_backfill(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py118 def test_auto_controls_scope_reuses_the_unchanged_isolated_tail_and_keeps_other_checks_unknown(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py154 def test_read_refusal_continuation_rejects_every_transport_model_and_dispatch_gap(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py172 def test_explicit_continuation_waits_for_effects_and_advances_without_erasing_failure(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py208 def test_fallback_shape_and_models_are_checked_before_forwarding(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py233 def test_native_correlation_headers_export_only_presence_roles_and_pseudonyms(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py262 def test_tool_result_profile_distinguishes_missing_false_and_true_error_flags(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py270 def test_cross_run_header_comparison_ignores_per_run_pseudonym_values(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py293 def test_authorized_aggregate_extension_preserves_counts_time_and_legacy_limits(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py356 def test_claude_child_matches_rig_access_and_account_without_refresh_or_host_mutation(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py399 def test_private_capture_requires_owned_tmpfs_without_symlinks_or_public_files(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py419 def test_two_call_tool_result_probe_is_diagnostic_and_preserves_refusal(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py483 def test_tool_result_detail_rejects_arbitrary_fields_and_values(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py494 def test_tool_result_probe_keeps_the_read_only_proxy_guard(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py514 def test_private_pause_preserves_failed_result_and_waits_after_passing_read_phase(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py538 def test_native_system_tail_does_not_hide_a_tool_continuation_in_existing_profiles(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py556 def test_memory_record_accepts_clear_failure_synonyms_and_markdown_only(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py570 def test_memory_record_accepts_short_missing_file_reason_without_recovery_or_retries(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py584 def test_missing_or_invalid_phase_files_still_count_and_block_startup_messages(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py607 def test_startup_report_passes_only_ready_clients_without_messages(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py617 def test_ttl_report_requires_two_ready_wire_completions_and_test_success(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py630 def test_ttl_preflight_lists_exact_test_without_authentication(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py641 def test_read_target_is_reconstructed_across_sse_fragments_and_never_exported(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py656 def test_read_target_rejects_wrong_name_path_and_incomplete_tool_blocks(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py668 def test_read_phase_requires_exactly_one_new_invocation_and_expected_target(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py678 def test_claude_compaction_reanchors_fingerprint_then_requires_continuity(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py695 def test_nested_claude_runtime_launches_and_quits_with_synthetic_auth(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py718 def test_nested_claude_runtime_uses_rig_access_without_a_claude_token_store(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py738 def test_untracked_source_content_and_names_are_part_of_build_identity(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py753 def test_exact_stop_reasons_and_unknown_values_are_redacted(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py761 def test_ledger_is_shared_across_runs_and_refuses_unfinished_runs(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py819 def test_probe_scope_is_identical_except_tool_spelling(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py834 def test_claude_only_report_and_adjacent_profile_comparison(self):CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py851 def test_missing_effect_log_fails_build_preflight_before_launch(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py45 def test_terminal_then_cancel_is_not_truncation(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py53 def test_unknown_compression_rejected(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py58 def test_malformed_and_bounded_frames(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py66 def test_truncated_compression_is_visible(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py71 def test_clean_eof_requires_complete_compression_and_frame(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py196 def test_missing_live_phase_cannot_pass(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py206 def test_plan_is_offline_and_honest(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py213 def test_live_needs_both_consent_and_caps(self):CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py218 def test_child_environment_does_not_inherit_credentials(self):CODE
32 more matches not shown…
Decorative Section Separators26 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUMcrates/rig-core/src/driver/tests.rs111// ── the fake completion wire ────────────────────────────────────────────COMMENT
MEDIUM⚡crates/rig-core/src/driver/tests.rs379// ── the property the model exists for ───────────────────────────────────COMMENT
MEDIUM⚡crates/rig-core/src/driver/tests.rs383// ── the non-success funnel: four cells ──────────────────────────────────COMMENT
MEDIUM⚡crates/rig-core/src/driver/tests.rs385// ── the two paths read the same reply the same way ──────────────────────COMMENT
MEDIUMcrates/rig-core/src/driver/tests.rs417// ── streaming semantics ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/driver/tests.rs758// ── observation ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/driver/tests.rs932// ── paging ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/driver/tests.rs934// ── telemetry ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/driver/tests.rs1067// ── request validation ─────────────────────────────────────────────────COMMENT
MEDIUM…ates/rig-core/src/providers/gemini/completion/tests.rs542// ── the GenerateContent wire ────────────────────────────────────────────COMMENT
MEDIUM…ig-core/src/providers/gemini/interactions_api/tests.rs385// ── the Interactions wire ───────────────────────────────────────────────COMMENT
MEDIUM…/rig-core/src/providers/gemini/cached_content/tests.rs129// ── the resource API on a bound provider ────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/providers/copilot/wire/tests.rs72// ── routing ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/providers/copilot/wire/tests.rs193// ── the two completion routes, folded from recorded replies ─────────────COMMENT
MEDIUMcrates/rig-core/src/providers/copilot/wire/tests.rs277// ── the modality wires ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/rig-core/src/providers/copilot/wire/tests.rs355// ── the configuration is storable data ──────────────────────────────────COMMENT
MEDIUM…s/rig-core/src/providers/openai/wire/modality/tests.rs258// ── the dialect-specific modality bodies ────────────────────────────────COMMENT
MEDIUM…s/rig-core/src/providers/openai/wire/modality/tests.rs398// ── reranking ───────────────────────────────────────────────────────────COMMENT
MEDIUM…-core/src/providers/openai/responses_api/wire/tests.rs18// ── the cassettes, as bytes ─────────────────────────────────────────────COMMENT
MEDIUM…-core/src/providers/openai/responses_api/wire/tests.rs122// ── the property the model exists for ───────────────────────────────────COMMENT
MEDIUM…-core/src/providers/openai/responses_api/wire/tests.rs227// ── what each dialect sends ─────────────────────────────────────────────COMMENT
MEDIUM…rs/openai/responses_api/wire/tests/provider_options.rs76// ── the shared section ─────────────────────────────────────────────────COMMENT
MEDIUM…rs/openai/responses_api/wire/tests/provider_options.rs155// ── the Responses section ──────────────────────────────────────────────COMMENT
MEDIUM…rs/openai/responses_api/wire/tests/provider_options.rs403// ── ChatGPT ────────────────────────────────────────────────────────────COMMENT
MEDIUM…rs/openai/responses_api/wire/tests/provider_options.rs480// ── ported from the pull requests these options supersede ──────────────COMMENT
MEDIUM…rs/openai/responses_api/wire/tests/provider_options.rs521// ── extras from recorded replies ───────────────────────────────────────COMMENT
Modern AI Meta-Vocabulary11 hits · 31 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md485- *(openrouter)* model listings now report `context_length` and `max_output_tokens`. A stray `#[serde(rename_all = "cameCODE
MEDIUM…ig-cassette/tests/providers/ollama/cassette/agentic.rs1//! Ollama agentic structured-output coverage.COMMENT
MEDIUMcrates/rig-core/src/providers/anthropic/extension.rs286/// A token budget the model paces an agentic loop by, at least 20000COMMENT
MEDIUMcrates/rig-bedrock/CHANGELOG.md143- *(bedrock)* `CompletionModel::with_guardrail` attaches a [Bedrock guardrail](https://docs.aws.amazon.com/bedrock/latesCODE
MEDIUMcrates/rig-bedrock/src/extension.rs162/// A [Bedrock guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html)COMMENT
MEDIUMcorpus/ct/src/git_guardrails.rs1//! CT-02: git guardrails. Every `shell` call is read for the git commandsCOMMENT
MEDIUMexamples/complex_agentic_loop_claude/src/main.rs161 // Example query that will exercise the complex agentic loopCOMMENT
MEDIUMexamples/complex_agentic_loop_claude/src/main.rs180 // Print the chat history to show the agentic loopCOMMENT
MEDIUMtest-support/rig-defaults-test-support/tests/removal.rs12#[path = "../../../src/launcher/plugin/scaffold.rs"]COMMENT
MEDIUMsrc/launcher/plugins.toml60# Summarizing a conversation near the context window, and /compact.COMMENT
MEDIUMsrc/launcher/plugin/tests.rs50 // The scaffold's saved component derives from both Bevy crates, whichCOMMENT
Magic Placeholder Names4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHcrates/rig-gemini-grpc/src/lib.rs20//! let transport = GeminiGrpc::new("YOUR_API_KEY").await?;COMMENT
HIGHcrates/rig-qdrant/examples/qdrant_vector_search.rs3// export OPENAI_API_KEY=<YOUR-API-KEY>COMMENT
HIGHcrates/rig-qdrant/examples/qdrant_vector_search.rs3// export OPENAI_API_KEY=<YOUR-API-KEY>COMMENT
HIGHcrates/rig-sqlite/src/lib.rs1479/// let openai = OpenAI::new("YOUR_API_KEY");COMMENT
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml108# The launcher of the rig-harness agent (`cargo install rig`). It uses only std,COMMENT
MEDIUMCargo.toml119 # The rig agent's plugin crates, built on rig-harness's public API.COMMENT
MEDIUMCargo.toml261# version of its app, and rig-harness is the app. `bevy_tasks` is also theCOMMENT
MEDIUMCargo.toml307# 0.8.2: `Recording::export_async` (cassette harness).COMMENT
MEDIUMplugins/rig-claude-cloak/Cargo.toml10# The offline fixtures and the acceptance harness are for this repository'sCOMMENT
MEDIUMexamples/gemini_stream_kill_token_count/src/main.rs29//! To make that robust against all four shapes the consumer needs:COMMENT
MEDIUM.github/workflows/ci.yaml227 # kernel-only turn test. Builds no rig-harness.COMMENT
MEDIUMtest-support/rig-test-support/src/cache_conformance.rs650/// move; the ratio is both robust to the noise and the thing that actuallyCOMMENT
MEDIUMsrc/launcher/plugins.toml9# checkout the agent is built from (RIG_SOURCE). The harnessCOMMENT
Deep Nesting23 hits · 20 pts
SeverityFileLineSnippetContext
LOWplugins/rig-claude-cloak/tests/acceptance/matrix.py191CODE
LOWplugins/rig-claude-cloak/tests/acceptance/matrix.py205CODE
LOWplugins/rig-claude-cloak/tests/acceptance/matrix.py219CODE
LOWplugins/rig-claude-cloak/tests/acceptance/matrix.py347CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py92CODE
LOW…aude-cloak/tests/acceptance/test_failure_collection.py158CODE
LOWplugins/rig-claude-cloak/tests/acceptance/run.py70CODE
LOWplugins/rig-claude-cloak/tests/acceptance/audit.py74CODE
LOWplugins/rig-claude-cloak/tests/acceptance/audit.py424CODE
LOWplugins/rig-claude-cloak/tests/acceptance/audit.py469CODE
LOWplugins/rig-claude-cloak/tests/acceptance/audit.py265CODE
LOWplugins/rig-claude-cloak/tests/acceptance/proxy.py34CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py208CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py494CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py584CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_comparison.py678CODE
LOWplugins/rig-claude-cloak/tests/acceptance/comparison.py235CODE
LOW…s/rig-claude-cloak/tests/acceptance/test_acceptance.py229CODE
LOW…rig-claude-cloak/tests/acceptance/test_refusal_path.py103CODE
LOWscripts/check-dependency-floors.py172CODE
LOWscripts/check-dependency-floors.py261CODE
LOWscripts/test_dependency_floors.py27CODE
LOWscripts/test_dependency_floors.py60CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALcrates/rig-core/src/providers/anthropic/wire.rs727 let session = self.provider.dialect.quirks.session_header.map(|name| {CODE
CRITICALcrates/rig-core/src/providers/openai/wire/modality.rs530 let field = self.provider.dialect.quirks.embedding.dimensions.name()?;CODE
Fake / Example Data15 hits · 17 pts
SeverityFileLineSnippetContext
LOW…s/rig-cassette/tests/providers/groq/extractor_usage.rs60 anyhow::ensure!(person.name.as_deref() == Some("John Doe"));CODE
LOW…s/rig-cassette/tests/providers/groq/extractor_usage.rs108 anyhow::ensure!(response.output.street.as_deref() == Some("123 Main St"));CODE
LOW…ig-cassette/tests/providers/chatgpt/extractor_usage.rs54 anyhow::ensure!(person.name.as_deref() == Some("John Doe"));CODE
LOW…ig-cassette/tests/providers/chatgpt/extractor_usage.rs101 anyhow::ensure!(response.output.street.as_deref() == Some("123 Main St"));CODE
LOW…ig-cassette/tests/providers/mistral/extractor_usage.rs54 anyhow::ensure!(person.name.as_deref() == Some("John Doe"));CODE
LOW…ig-cassette/tests/providers/mistral/extractor_usage.rs98 anyhow::ensure!(response.output.street.as_deref() == Some("123 Main St"));CODE
LOW…s/rig-core/src/providers/openai/responses_api/tests.rs22 crate::providers::openai::OpenAIConfig::new("dummy-key").responses(model)CODE
LOWcrates/rig-core/src/completion/request/tests.rs228 additional_props.insert("author".to_string(), "John Doe".to_string());CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py254 fake_token = "sk-ant-" + "synthetic_12345678"CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py256 leaked = flow(100, fake_token)CODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py264 authenticated.request.headers["authorization"] = "Bearer " + fake_tokenCODE
LOW⚡…s/rig-claude-cloak/tests/acceptance/test_acceptance.py267 self.assertNotIn(fake_token, (root / "audit.jsonl").read_text())CODE
LOWplugins/rig-claude-cloak/src/transport/tests.rs179 credentials: Some(("fake-token".into(), None)),CODE
LOWplugins/rig-claude-cloak/src/transport/tests.rs716 credentials: Some(("fake-token".into(), None)),CODE
LOWtests/providers/azure/structured_output.rs30 result.name == "John Doe",CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHplugins/rig-claude-cloak/tests/acceptance/run.py235except (OSError, ValueError, TypeError):CODE
HIGHplugins/rig-claude-cloak/tests/acceptance/audit.py142except FileExistsError:CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/check-dependency-floors.py32CODE
LOWscripts/check-dependency-floors.py36CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWplugins/rig-claude-cloak/tests/acceptance/matrix.py31CODE