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.

sage-Tae/asymmetric-quantile-ink-newsvendor

https://github.com/sage-Tae/asymmetric-quantile-ink-newsvendor · scanned 2026-06-15 23:59 UTC (2 months, 3 weeks ago)

49 raw signals (0 security + 49 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 44 actionable findings from 1 signal source. 5 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 94.8/100 with 55.6% coverage. It contains 313 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 49 findings — concentrated in quality (26), software (20), frontend (1). Risk profile is low: 0 critical, 0 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 41 of 44 actionable findings. 49 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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — src/day5_build_paper.py:103
`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
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 26 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 214 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 Near-duplicate function bodies in 10 places
Functions with the same first-5-line body hash: src/day3_a9_yraw.py:main, src/day3_a7_model_b.py:main, src/day2_golden_eval.py:main, src/day2_shap.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why …
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/run_baselines.py:main, src/run_advanced.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
4 occurrences
repo-level (4 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/day3_a7_model_b.py:pred, src/day3_a7_model_b.py:pred, src/day3_a7_model_b.py:pred This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
3 occurrences
repo-level (3 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/run_ablation.py:predict_calibrated, src/run_ablation.py:predict_calibrated, src/run_ablation.py:predict_calibrated, src/run_ablation.py:predict_calibrated This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: src/day2_golden_eval.py:predict, src/day2_golden_eval.py:pred, src/day2_golden_eval.py:pred, src/day2_golden_eval.py:pred This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate o…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `10_Highlights_v1` in src/day5_build_paper.py:21
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 `_shortage_v2` in src/day2_golden_eval.py:34
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 `_shortage_v2` in src/day4_consolidate_golden.py:26
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 `_shortage_v2` in src/day7_golden_aggregate.py:23
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 `shortage_v2` in src/day2_robustness.py:3
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 `shortage_v2` in src/day3_a12_expanding_cv.py:13
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 `shortage_v2` in src/day6_figures.py:265
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 `shortage_v2` in src/evaluator.py:35
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 `shortage_v2` in src/recompute_v2.py:50
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: date_to_day
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day10_anonymize.py:153
low System graph software Dead code conf 1.00 Possibly dead Python function: date_to_month_index
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day10_anonymize.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_a4_no_domain
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:248
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_a5_no_highcard
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:265
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_a6_lightgbm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:283
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_bl3_ols
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:70
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_bl4_catboost_rmse
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_bl5_mixed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:107
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_bl6_quantreg
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:148
low System graph software Dead code conf 1.00 Possibly dead Python function: fit_bl7_multiquantile
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day2_golden_eval.py:192
low System graph software Dead code conf 1.00 Possibly dead Python function: group_mape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/metrics.py:140
low System graph software Dead code conf 1.00 Possibly dead Python function: obj
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day3_a8_optuna.py:197
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a1_log1p_proposed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:105
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a2_locally_adaptive
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:162
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a3_conservative_coverage
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:230
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a4_no_domain
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:291
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a5_no_highcard
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:336
low System graph software Dead code conf 1.00 Possibly dead Python function: run_a6_lightgbm_quantile
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/run_ablation.py:381
low System graph software Dead code conf 1.00 Possibly dead Python function: time_split_main
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/day10_anonymize.py:194
low System graph software Dead code conf 1.00 Possibly dead Python function: y_arrays_test_golden
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/evaluator.py:302
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
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/ad4776e8-be33-4301-81fa-6509cd873cfa/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/ad4776e8-be33-4301-81fa-6509cd873cfa/

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.