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.

riordanaa/PSC-Policy-Experiments

https://github.com/riordanaa/PSC-Policy-Experiments · scanned 2026-06-15 23:51 UTC (2 months, 3 weeks ago)

66 raw signals (0 security + 66 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

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

Showing 45 of 51 actionable findings. 66 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 Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — regen_plots.py:28
`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
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 177 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: ds_world.py:update, ds_world.py:update 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.
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: Test/study_scalability.py:run_study, Test/study_mab_ablation.py:run_study, Test/study_state_space.py:run_study This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document …
3 occurrences
repo-level (3 hits)
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: simulator/patient_model.py:generate_patient, simulator/patient_model.py:generate_patient, simulator/patient_model.py:generate_patient, simulator/patient_model.py:generate_patient This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
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: value_decomposition_study/run_vds.py:f, value_decomposition_study/run_vds.py:f, value_decomposition_study/run_vds.py:f, value_decomposition_study/run_vds.py:f 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 2 occurrences Near-duplicate function bodies in 9 places
Functions with the same first-5-line body hash: test_pipeline.py:setUp, test_pipeline.py:setUp, test_pipeline.py:setUp, test_pipeline.py:setUp 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 sepa…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `gen_reward_components_v2` in regen_plots.py:29
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 `policies_v2` in value_decomposition_study/run_vds.py:33
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 `reward_components_v2` in gen_reward_components_v2.py:14
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: allocate_equally
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
simulator/decision_maker.py:466
low System graph software Dead code conf 1.00 Possibly dead Python function: calc_backlog
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
simulator/agent.py:513
low System graph software Dead code conf 1.00 Possibly dead Python function: clear_per_episode_learning_rates
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ds_world.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: encode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
simulator/simulation_encoder.py:16
low System graph software Dead code conf 1.00 Possibly dead Python function: f
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/run_vds.py:182
low System graph software Dead code conf 1.00 Possibly dead Python function: g1
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:49
low System graph software Dead code conf 1.00 Possibly dead Python function: g2
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:58
low System graph software Dead code conf 1.00 Possibly dead Python function: g3
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:67
low System graph software Dead code conf 1.00 Possibly dead Python function: g4
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:97
low System graph software Dead code conf 1.00 Possibly dead Python function: g7
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:117
low System graph software Dead code conf 1.00 Possibly dead Python function: g8
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/gates_vds.py:128
low System graph software Dead code conf 1.00 Possibly dead Python function: gate1
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:39
low System graph software Dead code conf 1.00 Possibly dead Python function: gate2
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:57
low System graph software Dead code conf 1.00 Possibly dead Python function: gate3
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:66
low System graph software Dead code conf 1.00 Possibly dead Python function: gate4
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:82
low System graph software Dead code conf 1.00 Possibly dead Python function: gate5
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: gate6
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
routing_study/verify.py:121
low System graph software Dead code conf 1.00 Possibly dead Python function: glut_peak_excess
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/audit/audit_phase1.py:45
low System graph software Dead code conf 1.00 Possibly dead Python function: h5_ladder
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/analyze_phase2.py:64
low System graph software Dead code conf 1.00 Possibly dead Python function: h6_frontier
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/analyze_phase2.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: h6_screen
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/analyze_phase2.py:71
low System graph software Dead code conf 1.00 Possibly dead Python function: h7_map
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/analyze_phase2.py:90
low System graph software Dead code conf 1.00 Possibly dead Python function: load_config_from_snapshot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
config.py:338
low System graph software Dead code conf 1.00 Possibly dead Python function: lost_patients
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/audit/audit_phase1.py:40
low System graph software Dead code conf 1.00 Possibly dead Python function: phase_of
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
gen_reward_components_v2.py:61
low System graph software Dead code conf 1.00 Possibly dead Python function: run_episode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
run_r5_diagnostic.py:137
low System graph software Dead code conf 1.00 Possibly dead Python function: wire
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
value_decomposition_study/run_vds.py:241
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 `generate_patient` (body is just `pass`/`return`) — simulator/patient_model.py:53
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 `happen` (body is just `pass`/`return`) — simulator/disruption.py:8
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 `make_decision` (body is just `pass`/`return`) — simulator/decision_maker.py:195
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
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/42770e0f-da0b-4f08-9485-86cc8ab59848/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/42770e0f-da0b-4f08-9485-86cc8ab59848/

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.