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.

donghui-0126/StoryQuant

https://github.com/donghui-0126/StoryQuant · scanned 2026-06-17 01:58 UTC (1 month, 1 week ago)

56 raw signals (0 security + 56 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ +5.3 (diff) · 47 actionable findings from 1 signal source. 9 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 82.0/100 with 88.9% coverage. It contains 680 nodes across 4 cross-layer flows, written primarily in mixed languages. Engine surfaced 56 findings — concentrated in software (29), quality (18), security (8). Risk profile is low: 0 critical, 0 high, 14 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 46 of 47 actionable findings. 56 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 `fetch()` without try/.catch or AbortSignal — worker/index.js:14
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
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 security security conf 1.00 Insecure pattern 'cors_wildcard' in legacy/serve.legacy.py:1583
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
legacy/serve.legacy.py:1583 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in legacy/worker-api.index.js:223
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
legacy/worker-api.index.js:223 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in serve/api/handler.py:119
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
serve/api/handler.py:119 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in legacy/src/dashboard/mobile.py:423
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
legacy/src/dashboard/mobile.py:423 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in legacy/web/app.js:131
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
legacy/web/app.js:131 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in shorts.html:2105
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
shorts.html:2105 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in docs/presentation.html:1182
Found a known-risky pattern (weak_hash). Review and replace if possible.
docs/presentation.html:1182 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in docs/report.html:235
Found a known-risky pattern (weak_hash). Review and replace if possible.
docs/report.html:235 Weak hash
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — legacy/run.py:71
`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 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
1 test file(s) for 90 source file(s) (ratio 0.01). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 332 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 5 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: serve/markets/kr.py:get_rss_feeds, serve/markets/us.py:get_rss_feeds 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.
5 occurrences
repo-level (5 hits)
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: serve/markets/kr.py:fetch_one, serve/markets/kr.py:fetch_one, legacy/serve.legacy.py:fetch_one, legacy/serve.legacy.py:fetch_one This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consol…
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `is_backup` in scripts/html-to-pptx.py:159
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: classify_severity
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/event_detector.py:125
low System graph software Dead code conf 1.00 Possibly dead Python function: classify_type
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/event_detector.py:111
low System graph software Dead code conf 1.00 Possibly dead Python function: comment_one
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/core/llm_classify.py:236
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_liquidation_clusters
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/derivatives.py:231
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_oi_events
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/derivatives.py:198
low System graph software Dead code conf 1.00 Possibly dead Python function: do_OPTIONS
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/serve.legacy.py:1590
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_arkham_exchange_flows
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/whale_tracker.py:104
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_arkham_notable_movements
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/whale_tracker.py:126
low System graph software Dead code conf 1.00 4 occurrences Possibly dead Python function: fetch_one
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
4 files, 4 locations
legacy/serve.legacy.py:1532
serve/core/feeds.py:60
serve/core/quote.py:51
serve/markets/kr.py:397
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_one_for_sweep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/core/strategy.py:12
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_one_for_sweep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/serve.legacy.py:722
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_open_interest
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/derivatives.py:37
low System graph software Dead code conf 1.00 Possibly dead Python function: format_trade_alert
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/alerts/telegram_bot.py:84
low System graph software Dead code conf 1.00 3 occurrences Possibly dead Python function: format_yahoo_symbol
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
3 files, 3 locations
serve/markets/base.py:106
serve/markets/kr.py:325
serve/markets/us.py:357
low System graph software Dead code conf 1.00 Possibly dead Python function: load_universes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/main.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/api/handler.py:24
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/serve.legacy.py:1848
low System graph software Dead code conf 1.00 Possibly dead Python function: print_kline
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/binance_ws.py:219
low System graph software Dead code conf 1.00 Possibly dead Python function: reload_universe
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/serve.legacy.py:137
low System graph software Dead code conf 1.00 Possibly dead Python function: save_derivatives_csv
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
legacy/src/prices/derivatives.py:281
low System graph software Dead code conf 1.00 Possibly dead Python function: stock_news_url
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/markets/base.py:110
low System graph software Dead code conf 1.00 Possibly dead Python function: theme_basket
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/markets/base.py:123
low System graph software Dead code conf 1.00 Possibly dead Python function: theme_keyword_map
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/markets/base.py:127
low System graph software Dead code conf 1.00 Possibly dead Python function: warm_sweep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve/main.py:22
low System graph quality Complexity conf 1.00 Very large file: legacy/serve.legacy.py (1872 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: serve/core/strategy.py (1134 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: serve/markets/kr_sectors.py (2805 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/7bb90d48-f04a-4795-bde8-e9c009cd1863/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/7bb90d48-f04a-4795-bde8-e9c009cd1863/

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.