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.

wjdrjs09076-ops/macro-research-system

https://github.com/wjdrjs09076-ops/macro-research-system · scanned 2026-06-16 00:59 UTC (2 months, 1 week ago)

60 raw signals (0 security + 60 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 52 actionable findings from 1 signal source. 8 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 89.9/100 with 66.7% coverage. It contains 640 nodes across 6 cross-layer flows, written primarily in mixed languages. Engine surfaced 60 findings — concentrated in quality (28), software (24), security (3). Risk profile is low: 0 critical, 0 high, 7 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 44 of 52 actionable findings. 60 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 — macro-portal/app/evt/page.tsx:142
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 Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — macro-portal/app/gate/page.tsx:173
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 cicd CI/CD security conf 1.00 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.
.github/workflows/vol_monitor.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in macro-portal/api/classify.py:389
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
macro-portal/api/classify.py:389 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in macro-portal/api/quantify.py:451
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
macro-portal/api/quantify.py:451 Cors wildcard
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 quality Tests conf 1.00 Very low test-to-source ratio
2 test file(s) for 51 source file(s) (ratio 0.04). 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 963 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 cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 20, 26
.github/workflows/vol_monitor.yml:20, 26 (2 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 8 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: macro_research/kinetic_executor.py:cost, macro_research/kinetic_executor.py:cost 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.
8 occurrences
repo-level (8 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: macro_research/kinetic_executor.py:describe, macro_research/kinetic_executor.py:describe, macro_research/kinetic_executor.py:describe This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). C…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: macro_research/ontology_gated_ml.py:compute_vrp, macro_research/ontology_trace.py:compute_vrp, macro_research/ml_trading_ontology.py:compute_vrp, macro_research/ml_deep_analysis.py:compute_vrp This is *the* AI-coder failure mode (4× more duplication …
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: macro_research/iv_extractor.py:main, macro_research/feedback.py:main, macro_research/attribution.py:main, macro_research/build_overview_pdf.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-co…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 8 places
Functions with the same first-5-line body hash: macro_research/ontology/schema.py:to_dict, macro_research/ontology/schema.py:to_dict, macro_research/ontology/schema.py:to_dict, macro_research/ontology/schema.py:to_dict This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — …
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 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.
macro-portal/api/classify.py:373
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.
macro-portal/api/quantify.py:435
low System graph software Dead code conf 1.00 Possibly dead Python function: do_POST
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro-portal/api/classify.py:375
low System graph software Dead code conf 1.00 Possibly dead Python function: do_POST
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro-portal/api/quantify.py:438
low System graph software Dead code conf 1.00 Possibly dead Python function: ledoit_wolf_cov
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ml_trading_ontology.py:332
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.
macro-portal/api/classify.py:395
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.
macro-portal/api/quantify.py:457
low System graph software Dead code conf 1.00 Possibly dead Python function: portfolio_cvar
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ml_trading_ontology.py:341
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_causal_chain_monitor
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:696
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_co_crash_cluster
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:216
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_crash_vulnerable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:176
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_event_vol
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:425
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_fat_tail_alert
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:471
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_natural_hedge
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:135
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_normal_var_inadequate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:511
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_rate_beneficiary
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:296
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_rate_victim
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:345
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_shock_propagator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:554
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_thin_tail_greenlight
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:791
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_variance_concentrated
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:606
low System graph software Dead code conf 1.00 Possibly dead Python function: rule_vol_overpriced
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/inference.py:390
low System graph software Dead code conf 1.00 Possibly dead Python function: sample_norta
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/mvg_mc.py:235
low System graph software Dead code conf 1.00 Possibly dead Python function: shocks_caused_by
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/ontology/mvg_mc.py:59
low System graph software Dead code conf 1.00 Possibly dead Python function: summarize_recent
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
macro_research/iv_extractor.py:271
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 `log_message` (body is just `pass`/`return`) — macro-portal/api/quantify.py:457
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: macro_research/build_overview_pdf.py (1698 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: macro_research/kinetic_executor.py (1477 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: macro_research/ontology_gated_ml.py (1129 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/2c8c12b3-0980-44df-a745-5dcf4b8cd78d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/2c8c12b3-0980-44df-a745-5dcf4b8cd78d/

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.