AI Slop Code RIsk Monitor

AlexsJones/llmfit

Hundreds of models & providers. One command to find what runs on your hardware.

7.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for AlexsJones/llmfit, a Rust project with 37,782 GitHub stars. SynthScan examined 112,662 lines of code across 615 source files, recording 429 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 7.0 (Moderate 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.

7.0
Adjusted Signal
7.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
37.8K
Stars
Rust
Language
112.7K
Lines of Code
615
Files
429
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 5.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 26.1/100 · MEDIUM

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

PR Review Velocity Impact 33.0/100 · MEDIUM

Which changes need focused human review? 429 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 0HIGH 4MEDIUM 226LOW 199

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 429 distinct pattern matches across 13 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.

Decorative Section Separators222 hits · 608 pts
SeverityFileLineSnippetContext
MEDIUMllmfit-tui/src/tui_ui.rs5351// ── Live inference-bench view ─────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/display.rs497// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/display.rs499// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/display.rs1058// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/display.rs1060// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs1467// ── hardware profiles ──────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs2567 // ── --status ──────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs2601 // ── --clear ───────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs2611 // ── fetch ─────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs3078// ── bench helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/main.rs3775// ── main ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs1386 // ── Restore persisted filters ────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs2508 // ── Benchmarks view ──────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3393 // ── Visual mode ──────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3462 // ── Select mode ─────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3603 // ── Quant popup ─────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3637 // ── RunMode popup ───────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3672 // ── Params bucket popup ─────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3707 // ── License popup ───────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3792 // ── Hardware simulation ──────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3956 // ── Advanced Config Popup ──────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs3987 // ── Filter Popup ─────────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs4983 // ── Live inference-bench view ─────────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs5528 // ── sort direction regression ────────────────────────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs5588 // ── matched GGUF source attribution (issue #569) ─────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs5588 // ── matched GGUF source attribution (issue #569) ─────────────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs5675 // ── available_download_providers MLX gating (issue #294) ─────────COMMENT
MEDIUMllmfit-tui/src/tui_app.rs5675 // ── available_download_providers MLX gating (issue #294) ─────────COMMENT
MEDIUM⚡scripts/scrape_hf_models.py2160# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/scrape_hf_models.py2162# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py1674# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py1676# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py2006# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/scrape_hf_models.py2008# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/verify_models.py42# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/verify_models.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/verify_models.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/verify_models.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/verify_models.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/verify_models.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMllmfit-core/tests/estimator_accuracy.rs341 // ── localmaxxing leaderboard cache ────────────────────────────────COMMENT
MEDIUMllmfit-core/tests/estimator_accuracy.rs439 // ── community submissions ─────────────────────────────────────────COMMENT
MEDIUMllmfit-core/tests/estimator_accuracy.rs584 // ── aggregate, report, and gate ───────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs1422// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs1424// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs1818 // ── Bandwidth-based estimation (preferred) ─────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2042 // ── Fallback: fixed-constant approach ──────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2123// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2125// ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2394 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2396 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2461 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2463 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2687 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2689 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2970 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs2972 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMllmfit-core/src/fit.rs3102 // ────────────────────────────────────────────────────────────────────COMMENT
162 more matches not shown…
Over-Commented Block98 hits · 64 pts
SeverityFileLineSnippetContext
LOWllmfit-tui/src/main.rs61 #[value(alias = "tokens", alias = "toks", alias = "throughput")]COMMENT
LOWllmfit-tui/src/main.rs121 selection: StorageSelectionArg,COMMENT
LOWllmfit-tui/src/main.rs221 /// Use this percentage of detected GPU VRAM (e.g. "90", "87.5").COMMENT
LOWllmfit-tui/src/main.rs241 /// Score models against a hardware profile instead of this machine:COMMENT
LOWllmfit-tui/src/main.rs821 /// Specific GGUF quantization to download (e.g. "Q4_K_M", "Q8_0").COMMENT
LOWllmfit-tui/src/main.rs861 /// Search query (model name, architecture, etc.)COMMENT
LOWllmfit-tui/src/main.rs1041 /// Contribute results back to the project as a GitHub pull requestCOMMENT
LOWllmfit-tui/src/main.rs1101 profile: None,COMMENT
LOWllmfit-tui/src/tui_app.rs361 /// Failed — error message is displayed.COMMENT
LOWscripts/record_demo.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/scrape_hf_models.py41COMMENT
LOWscripts/scrape_hf_models.py2001 print(f" Cache: {cache_hits} hits, {len(to_check)} API checks, "COMMENT
LOWllmfit-core/tests/estimator_accuracy.rs1//! Replay the embedded benchmark data through the fit estimator and gate theCOMMENT
LOWllmfit-core/tests/estimator_accuracy.rs21//! replay is deliberately loose; a class-level median catches a systematicCOMMENT
LOWllmfit-core/tests/estimator_accuracy.rs61/// [`MAX_MEDIAN_ERROR`].COMMENT
LOWllmfit-core/src/concurrency.rs1//! Concurrent-session capacity estimation (issue #140).COMMENT
LOWllmfit-core/src/concurrency.rs41 /// window, or the smaller `--max-context` cap).COMMENT
LOWllmfit-core/src/analysis.rs181/// speculative-decoding draft head, a size/name divergence, or anCOMMENT
LOWllmfit-core/src/analysis.rs321 .collect();COMMENT
LOWllmfit-core/src/fit.rs1use crate::hardware::{GpuBackend, QuantKernelSupport, SystemSpecs};COMMENT
LOWllmfit-core/src/fit.rs21#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]COMMENT
LOWllmfit-core/src/fit.rs41 /// once per process, otherwise a conservative 50 GB/s.COMMENT
LOWllmfit-core/src/fit.rs221/// Multi-dimensional score components (0-100 each).COMMENT
LOWllmfit-core/src/fit.rs241 /// `"backend_constant"` — GPU not in the bandwidth table, per-backendCOMMENT
LOWllmfit-core/src/fit.rs261}COMMENT
LOWllmfit-core/src/fit.rs361 /// after weights and overhead, capped at the model's native window.COMMENT
LOWllmfit-core/src/fit.rs501 prefill_tps: None,COMMENT
LOWllmfit-core/src/fit.rs921 /// `estimate_basis`, ignoring the stored field.COMMENT
LOWllmfit-core/src/fit.rs981 }COMMENT
LOWllmfit-core/src/fit.rs1421COMMENT
LOWllmfit-core/src/fit.rs1441/// original per-backend constant `K`.COMMENT
LOWllmfit-core/src/fit.rs1461/// Calibration for the Tier-2 (metadata-poor) MoE decode estimate.COMMENT
LOWllmfit-core/src/fit.rs1481/// the model it names.COMMENT
LOWllmfit-core/src/fit.rs1501 // Calibration reference: ~50 tok/s decode for the 120B on 256 GB/s-classCOMMENT
LOWllmfit-core/src/fit.rs1541/// the attention, router, shared-expert and head parameters into the bandwidthCOMMENT
LOWllmfit-core/src/fit.rs1601 if std::env::var("LLMFIT_DEBUG").is_ok() {COMMENT
LOWllmfit-core/src/fit.rs1641/// Returns `(None, None)` unless the GPU's fp16 throughput is configured, andCOMMENT
LOWllmfit-core/src/fit.rs1701 {COMMENT
LOWllmfit-core/src/fit.rs1821 // principles instead of using a fixed constant.COMMENT
LOWllmfit-core/src/fit.rs1861 //COMMENT
LOWllmfit-core/src/fit.rs1901COMMENT
LOWllmfit-core/src/fit.rs1921 // - OLMoE Q2_K: est 281, meas 293 (0.96x)COMMENT
LOWllmfit-core/src/fit.rs4861 //COMMENT
LOWllmfit-core/src/fit.rs5041COMMENT
LOWllmfit-core/src/fit.rs5121 active_experts: u32,COMMENT
LOWllmfit-core/src/fit.rs5421 "default tier should be the low outlier this entry fixes \COMMENT
LOWllmfit-core/src/fit.rs5481 /// takes (Tier 1, architecture-aware), against 256 GB/s-class unifiedCOMMENT
LOWllmfit-core/src/models.rs661 #[serde(default)]COMMENT
LOWllmfit-core/src/models.rs681 #[serde(default)]COMMENT
LOWllmfit-core/src/models.rs701 #[serde(default)]COMMENT
LOWllmfit-core/src/models.rs781 /// fp16 / bf16, the inference default for most runtimes.COMMENT
LOWllmfit-core/src/models.rs901/// The model stays in [`ModelDatabase`] either way — sanitization onlyCOMMENT
LOWllmfit-core/src/models.rs1161 /// still never falls back to a default: callers that use the size toCOMMENT
LOWllmfit-core/src/models.rs1241 if v > 0.0 && best.is_none_or(|b| v > b) {COMMENT
LOWllmfit-core/src/models.rs1301COMMENT
LOWllmfit-core/src/models.rs1361 /// Approximate on-disk size (GB) for a given quantization level.COMMENT
LOWllmfit-core/src/models.rs1441 let kv_cache = self.kv_cache_gb(ctx, kv);COMMENT
LOWllmfit-core/src/models.rs1741 }COMMENT
LOWllmfit-core/src/models.rs2081/// Matched on architecture plus expert geometry rather than repo name, so theCOMMENT
LOWllmfit-core/src/update.rs1//! Online model database updates via the HuggingFace Hub API.COMMENT
38 more matches not shown…
Hyper-Verbose Identifiers60 hits · 47 pts
SeverityFileLineSnippetContext
LOWllmfit-python/tests/test_llmfit.py15def test_find_llmfit_bin_raises_when_missing(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/validate_generation_scoring.py15def qwen_minor_generation_from_name(name_lower: str) -> float | None:CODE
LOWscripts/test_preserve_catalog_metadata.py35def test_preserves_architecture_when_config_fetch_misses():CODE
LOWscripts/test_preserve_catalog_metadata.py61def test_does_not_invent_heads_the_catalog_never_had():CODE
LOWscripts/test_preserve_catalog_metadata.py137def test_parses_hf_ratelimit_header():CODE
LOWscripts/test_preserve_catalog_metadata.py174def test_retry_after_wins_over_ratelimit_reset():CODE
LOWscripts/test_preserve_catalog_metadata.py200def test_buckets_pause_independently():CODE
LOWscripts/test_preserve_catalog_metadata.py238def test_bucket_named_by_the_response_drives_the_retry_wait():CODE
LOWscripts/test_preserve_catalog_metadata.py251def test_wait_is_capped_against_bogus_reset_values():CODE
LOWscripts/test_preserve_catalog_metadata.py262def test_in_flight_threads_report_one_pause_not_eight():CODE
LOWscripts/test_preserve_catalog_metadata.py302def test_exhausted_gguf_probe_is_not_cached_as_a_miss():CODE
LOWscripts/test_preserve_catalog_metadata.py315def test_rate_limited_base_lookup_is_not_cached_as_no_size():CODE
LOWscripts/test_preserve_catalog_metadata.py354def test_failed_lookup_is_unknown_not_a_miss():CODE
LOWscripts/test_preserve_catalog_metadata.py380def test_missing_gguf_repo_is_still_cached_as_a_miss():CODE
LOWscripts/test_preserve_catalog_metadata.py389def test_yarn_context_is_not_scaled_twice():CODE
LOWscripts/test_preserve_catalog_metadata.py406def test_rope_factor_still_scales_a_pre_scaling_window():CODE
LOWscripts/test_preserve_catalog_metadata.py418def test_detects_moe_under_family_specific_key_names():CODE
LOWscripts/test_preserve_catalog_metadata.py430def test_arch_metadata_drops_unset_sentinels():CODE
LOWscripts/test_preserve_catalog_metadata.py453def test_param_estimate_sees_the_same_experts_as_detection():CODE
LOWscripts/test_preserve_catalog_metadata.py464def test_revalidation_ranks_uncorrectable_packed_counts_first():CODE
LOWscripts/test_preserve_catalog_metadata.py482def test_revalidation_flags_suspect_context_but_not_a_missing_date():CODE
LOWscripts/test_preserve_catalog_metadata.py491def test_revalidation_selection_respects_budget_and_skips_fresh_entries():CODE
LOWscripts/test_preserve_catalog_metadata.py526def test_packed_count_is_rescued_by_the_architecture_estimate():CODE
LOWscripts/test_preserve_catalog_metadata.py544def test_hybrid_ssm_models_are_never_sized_by_the_estimator():CODE
LOWscripts/test_preserve_catalog_metadata.py583def test_estimate_is_capped_by_the_size_the_name_declares():CODE
LOWscripts/test_preserve_catalog_metadata.py594def test_name_declared_params():CODE
LOWscripts/test_preserve_catalog_metadata.py613def test_revalidation_keeps_the_retained_entry_on_a_sharp_parameter_drop():CODE
LOWscripts/test_preserve_catalog_metadata.py622def test_revalidation_cooldown_stops_failures_holding_the_budget():CODE
LOWscripts/test_preserve_catalog_metadata.py645def test_unquantized_in_the_name_is_not_prequantized():CODE
LOWscripts/test_preserve_catalog_metadata.py691def test_gguf_probe_budget_goes_to_sourceless_popular_models_first():CODE
LOWscripts/test_preserve_catalog_metadata.py713def test_deferred_model_falls_back_to_its_expired_cache_entry():CODE
LOWscripts/test_preserve_catalog_metadata.py725def test_gguf_cache_is_saved_during_the_run_not_only_at_the_end():CODE
LOWscripts/test_preserve_catalog_metadata.py737def test_negative_gguf_probe_budget_probes_nothing():CODE
LOWscripts/test_preserve_catalog_metadata.py744def test_list_valued_expert_counts_do_not_crash_or_leak():CODE
LOWscripts/test_preserve_catalog_metadata.py761def test_a_failing_estimate_keeps_the_reported_count():CODE
LOWscripts/test_preserve_catalog_metadata.py773def test_malformed_text_config_does_not_abort():CODE
LOWscripts/test_preserve_catalog_metadata.py781def test_one_broken_repo_is_skipped_not_fatal():CODE
LOWscripts/test_preserve_catalog_metadata.py835def test_discovery_listing_expands_created_at():CODE
LOWscripts/test_preserve_catalog_metadata.py842def test_backfill_fills_dates_most_downloaded_first_and_never_guesses():CODE
LOWscripts/test_preserve_catalog_metadata.py869def test_backfill_respects_the_per_run_limit():CODE
LOWscripts/test_preserve_catalog_metadata.py883def test_backfill_uses_the_cache_before_asking_hf():CODE
LOWscripts/test_preserve_catalog_metadata.py909def test_stale_negative_is_asked_again():CODE
LOWscripts/test_preserve_catalog_metadata.py925def test_a_repo_without_created_at_stays_null_and_is_remembered():CODE
LOWscripts/test_preserve_catalog_metadata.py937def test_transient_errors_are_not_cached_as_no_date():CODE
LOWscripts/test_preserve_catalog_metadata.py958def test_malformed_success_responses_do_not_abort_the_run_or_get_cached():CODE
LOWscripts/scrape_docker_models.py194def ollama_tag_to_docker_repo(ollama_tag: str) -> str:CODE
LOWscripts/scrape_hf_models.py131def _schedule_rate_limit_pause(bucket: str, seconds: float, reason: str) -> None:CODE
LOWscripts/scrape_hf_models.py153def _wait_for_rate_limit_window(bucket: str) -> None:CODE
LOWscripts/scrape_hf_models.py774def preserve_existing_metadata(old_model: dict, fresh_model: dict) -> list[str]:CODE
LOWscripts/scrape_hf_models.py976def estimate_params_from_arch(config: dict | None) -> int | None:CODE
LOWscripts/scrape_hf_models.py1517def correct_packed_param_count(repo_id: str, total_params: int,CODE
LOWscripts/scrape_hf_models.py1583def revalidation_lost_parameters(before: dict, after: dict) -> bool:CODE
LOWscripts/scrape_hf_models.py1604def select_retained_for_revalidation(CODE
LOWscripts/scrape_hf_models.py1717def _model_gguf_repo_candidates(repo_id: str) -> list[tuple[str, str]]:CODE
LOWscripts/scrape_hf_models.py2237def _estimate_params_from_config(config: dict) -> int | None:CODE
LOWscripts/scrape_hf_models.py2510def _build_discovered_model_safely(listing: dict) -> dict | None:CODE
LOWscripts/scrape_hf_models.py2615def drop_secret_bearing_models(models: list[dict]) -> tuple[list[dict], list[str]]:CODE
LOW⚡scripts/test_api.py74def test_models_envelope_and_limit(base_url: str) -> None:CODE
LOW⚡scripts/test_api.py83def test_top_endpoint_excludes_too_tight(base_url: str) -> None:CODE
LOW⚡scripts/test_api.py91def test_filters_runtime_and_use_case(base_url: str) -> None:CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/scrape_hf_models.py3971except (json.JSONDecodeError, KeyError):CODE
HIGHscripts/test_api.py183except Exception:CODE
HIGHscripts/test_api.py271except Exception:CODE
Excessive Try-Catch Wrapping12 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMscripts/scrape_docker_models.py168 print(f"Error fetching {url}: {e}", file=sys.stderr)CODE
MEDIUMscripts/scrape_hf_models.py2030def _load_release_date_cache() -> dict:CODE
LOWscripts/scrape_hf_models.py675 except Exception as e:CODE
LOWscripts/scrape_hf_models.py1124 except Exception:CODE
LOWscripts/scrape_hf_models.py1840 except Exception:CODE
LOWscripts/scrape_hf_models.py2421 except Exception as e:CODE
LOWscripts/scrape_hf_models.py2516 except Exception as e: # noqa: BLE001 - any one repo may be malformedCODE
LOWscripts/test_api.py183 except Exception:CODE
LOWscripts/test_api.py263 except Exception as exc:CODE
LOWscripts/test_api.py271 except Exception:CODE
LOW⚡scripts/verify_models.py38 except Exception:CODE
LOWscripts/scrape_benchmarks.py103 except Exception as e:CODE
Deep Nesting13 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/validate_generation_scoring.py32CODE
LOWscripts/validate_generation_scoring.py188CODE
LOWscripts/validate_generation_scoring.py223CODE
LOWscripts/validate_generation_scoring.py260CODE
LOWscripts/scrape_hf_models.py171CODE
LOWscripts/scrape_hf_models.py1229CODE
LOWscripts/scrape_hf_models.py1259CODE
LOWscripts/scrape_hf_models.py1788CODE
LOWscripts/scrape_hf_models.py1892CODE
LOWscripts/scrape_hf_models.py2348CODE
LOWscripts/scrape_hf_models.py2523CODE
LOWscripts/scrape_hf_models.py2633CODE
LOWscripts/test_api.py235CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWllmfit-python/hatch_build.py27CODE
LOWllmfit-python/tests/test_llmfit.py3CODE
LOWllmfit-python/src/llmfit/__init__.py1CODE
LOWllmfit-python/src/llmfit/__main__.py1CODE
LOWscripts/validate_generation_scoring.py11CODE
LOWscripts/test_api.py13CODE
LOWscripts/validate_community_benchmarks.py25CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWinstall.sh171 # Check if install dir is in PATHCOMMENT
LOWscripts/update_models.sh27# Check if Python 3 is availableCOMMENT
LOWscripts/update_models.sh75# Check if cargo is availableCOMMENT
LOWscripts/scrape_hf_models.py941 # Check if architecture is in known MoE configsCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscripts/scrape_hf_models.py451 # Embeddings (useful for RAG sizing)COMMENT
MEDIUM⚡scripts/scrape_hf_models.py2169 "feature-extraction", # Embedding models (useful for RAG sizing)CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/providers.md134export LMSTUDIO_API_KEY="your-api-key-here"CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWllmfit-desktop/ui/i18n.js252 node.setAttribute('placeholder', t(node.getAttribute('data-i18n-placeholder')));CODE
LOWllmfit-core/src/quality.rs889 r#"{"name": "John Smith", "age": 34, "company": "Acme Corp", "email": "john@acme.com", "phone": "555-012CODE
LOWllmfit-core/src/quality.rs889 r#"{"name": "John Smith", "age": 34, "company": "Acme Corp", "email": "john@acme.com", "phone": "555-012CODE
Verbosity Indicators2 hits · 2 pts
SeverityFileLineSnippetContext
LOW⚡llmfit-core/src/fit.rs559 // Step 1: pick the best available execution pathCOMMENT
LOW⚡llmfit-core/src/fit.rs560 // Step 2: score memory fit purely on headroom in that path's memory poolCOMMENT
Structural Annotation Overuse2 hits · 2 pts
SeverityFileLineSnippetContext
LOW⚡llmfit-core/src/fit.rs559 // Step 1: pick the best available execution pathCOMMENT
LOW⚡llmfit-core/src/fit.rs560 // Step 2: score memory fit purely on headroom in that path's memory poolCOMMENT