Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

sequential-parameter-optimization/spotforecast2-safe

https://github.com/sequential-parameter-optimization/spotforecast2-safe · scanned 2026-06-16 00:07 UTC (2 months, 2 weeks ago)

82 raw signals (0 security + 82 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 64 actionable findings from 1 signal source. 18 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 77.7/100 with 66.7% coverage. It contains 4550 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 82 findings — concentrated in quality (69), software (8), cicd (4). Risk profile is low: 0 critical, 0 high, 6 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 35 of 64 actionable findings. 82 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
4 files, 4 locations
.github/workflows/ci.yml
.github/workflows/docs.yml
.github/workflows/release.yml
.github/workflows/scorecard.yml
CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — docs/quartodoc_build.py:107
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 890 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 13 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/spotforecast2_safe/exceptions.py:format_warning_handler, src/spotforecast2_safe/exceptions.py:rich_warning_handler This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or d…
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/spotforecast2_safe/multitask/strategies.py:prepare_forecaster, src/spotforecast2_safe/multitask/strategies.py:prepare_forecaster, src/spotforecast2_safe/multitask/strategies.py:prepare_forecaster This is *the* AI-coder failure mode (4× more dupli…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: src/spotforecast2_safe/calendar/holiday.py:create_holiday_df, src/spotforecast2_safe/calendar/holiday.py:create_holiday_adjacency_df, src/spotforecast2_safe/calendar/holiday.py:create_day_type_df, src/spotforecast2_safe/calendar/holiday.py:create_scho…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: src/spotforecast2_safe/forecaster/recursive/_forecaster_recursive_multiseries.py:create_predict_X, src/spotforecast2_safe/forecaster/recursive/_forecaster_recursive_multiseries.py:predict, src/spotforecast2_safe/forecaster/recursive/_forecaster_recurs…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 7 places
Functions with the same first-5-line body hash: src/spotforecast2_safe/preprocessing/exog_providers.py:build, src/spotforecast2_safe/preprocessing/exog_providers.py:build, src/spotforecast2_safe/preprocessing/exog_providers.py:build, src/spotforecast2_safe/preprocessing/exog_providers.py:build Thi…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_empty_features_returns_copy` in tests/test_weather_derived.py:239
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_finalize_fill_missing_true_restores_legacy` in tests/test_weather_client.py:626
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_max_age_days_filters_old` in tests/multitask/test_multitask_persistence.py:343
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_raises_coverage_error_when_actual_too_old` in tests/test_submission_helpers.py:580
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `ts_old` in tests/test_snapshot_store.py:220
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `very_old` in tests/test_preprocessing_coverage.py:221
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: backtest
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/forecaster/wrappers/model.py:764
low System graph software Dead code conf 1.00 Possibly dead Python function: combine_step
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
benchmarks/bench_exog_pipeline.py:217
low System graph software Dead code conf 1.00 Possibly dead Python function: cv_ts
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/multitask/base.py:1509
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/preprocessing/_common.py:29
low System graph software Dead code conf 1.00 Possibly dead Python function: exog_to_direct
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/forecaster/utils.py:276
low System graph software Dead code conf 1.00 Possibly dead Python function: mean_pinball_loss_q
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/forecaster/metrics.py:511
low System graph software Dead code conf 1.00 Possibly dead Python function: run_task_predict
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/spotforecast2_safe/multitask/multi.py:223
low System graph software Dead code conf 1.00 Possibly dead Python function: weather_step
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
benchmarks/bench_exog_pipeline.py:176
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Integrity conf 1.00 Stub function `fit` (body is just `pass`/`return`) — src/spotforecast2_safe/forecaster/base.py:26
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `info` (body is just `pass`/`return`) — src/spotforecast2_safe/multitask/strategies.py:116
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/downloader/entsoe.py (2221 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/forecaster/recursive/_forecaster_equivalent_date.py (1290 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/forecaster/recursive/_forecaster_recursive.py (3173 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/forecaster/recursive/_forecaster_recursive_multiseries.py (3931 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/forecaster/utils.py (1679 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/forecaster/wrappers/model.py (1465 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/multitask/base.py (2437 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/spotforecast2_safe/preprocessing/exog_providers.py (1444 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_manager_features.py (1298 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/f5d498de-72f3-4e97-91f2-756706780cdd/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f5d498de-72f3-4e97-91f2-756706780cdd/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.