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.

kostadis/CampaignGenerator

https://github.com/kostadis/CampaignGenerator · scanned 2026-06-16 04:31 UTC (2 months ago)

62 raw signals (0 security + 62 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months ago · v1 · 47 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 85.0/100 with 66.7% coverage. It contains 722 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 62 findings — concentrated in quality (36), software (26). 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 43 of 47 actionable findings. 62 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, tests. 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 — convert_book.py:70
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — ensemble.py:120
`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 quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 20 placeholder/mock markers across 3 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 54 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 809 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 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: fivetools_copy.py:resolve_copies, fivetools_copy.py:resolve 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.
16 occurrences
repo-level (16 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: rpg_retriever.py:main, fivetools_catalog.py:main, dossier_proposer.py:main, convert_book.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 se…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `fivetools_copy` in fivetools_copy.py:2
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 `fivetools_copy` in fivetools_ingest.py:66
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 `pdf_to_5etools_v2` in convert_book.py:2
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 `pdf_to_5etools_v2` in mcp_server.py:674
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 `pdf_to_5etools_v2` in suggest_conversion.py:46
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: assign
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:294
low System graph software Dead code conf 1.00 Possibly dead Python function: bulk_assign
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:303
low System graph software Dead code conf 1.00 Possibly dead Python function: bulk_unassign
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:315
low System graph software Dead code conf 1.00 Possibly dead Python function: chunk_assign
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:229
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_propose
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
spell_canon.py:257
low System graph software Dead code conf 1.00 Possibly dead Python function: list_rooms
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mempalace_client.py:410
low System graph software Dead code conf 1.00 Possibly dead Python function: make_exclusive
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:327
low System graph software Dead code conf 1.00 Possibly dead Python function: normalize_npc_key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
campaignlib.py:513
low System graph software Dead code conf 1.00 Possibly dead Python function: raw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mempalace_client.py:213
low System graph software Dead code conf 1.00 Possibly dead Python function: reconnect
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mempalace_client.py:415
low System graph software Dead code conf 1.00 Possibly dead Python function: render_generic
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
fivetools_render.py:923
low System graph software Dead code conf 1.00 Possibly dead Python function: repl
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
spell_canon.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: run_fivetools
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rpg_retriever.py:534
low System graph software Dead code conf 1.00 Possibly dead Python function: run_mempalace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rpg_retriever.py:546
low System graph software Dead code conf 1.00 Possibly dead Python function: run_rpglib
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rpg_retriever.py:522
low System graph software Dead code conf 1.00 Possibly dead Python function: sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
quote_ledger.py:136
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_apply_edit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:203
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_insert_section
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:237
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_list_sections
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:149
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_read_context_doc
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:191
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_read_doc_section
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:153
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_read_recap
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:159
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_read_voice_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:182
low System graph software Dead code conf 1.00 Possibly dead Python function: tool_record_critique
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
polish.py:296
low System graph software Dead code conf 1.00 Possibly dead Python function: worker
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ensemble_extract.py:479
low System graph software Dead code conf 1.00 Possibly dead Python function: worker
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
facts_to_state.py:299
low System graph quality Integrity conf 1.00 Stub function `start` (body is just `pass`/`return`) — mempalace_client.py:381
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: campaignlib.py (1669 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/2e8c2d59-3aed-42c0-8d5d-682e9f5fcce6/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/2e8c2d59-3aed-42c0-8d5d-682e9f5fcce6/

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.