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.

ailobao/testcase_agent

https://github.com/ailobao/testcase_agent · scanned 2026-06-17 01:30 UTC (1 month, 2 weeks ago)

29 raw signals (0 security + 29 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ +18.0 (diff) · 26 actionable findings from 1 signal source. 3 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.7/100 with 44.4% coverage. It contains 658 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 29 findings — concentrated in software (15), quality (12), security (2). Risk profile is low: 0 critical, 0 high, 5 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 26 of 26 actionable findings. 29 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 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 scripts/mock_server.py:20
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
scripts/mock_server.py:20 Cors wildcard
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/run_tests.py:179
`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 quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 18 placeholder/mock markers across 7 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. 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 230 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 4 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/agents/ai_agent.py:fallback_cases, src/agents/ai_agent.py:fallback_cases 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 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/agents/ai_agent.py:validate_input, src/agents/manual_agent.py:validate_input, src/agents/api_agent.py:validate_input This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or…
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: a_generate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
evaluation/common.py:76
low System graph software Dead code conf 1.00 Possibly dead Python function: async_generate_dimension_cases
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/agents/ai_agent.py:246
low System graph software Dead code conf 1.00 Possibly dead Python function: do_DELETE
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/mock_server.py:260
low System graph software Dead code conf 1.00 Possibly dead Python function: do_GET
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/mock_server.py:251
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.
scripts/mock_server.py:254
low System graph software Dead code conf 1.00 Possibly dead Python function: do_PUT
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/mock_server.py:257
low System graph software Dead code conf 1.00 Possibly dead Python function: load_model
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
evaluation/common.py:64
low System graph software Dead code conf 1.00 Possibly dead Python function: log_ai_response
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/core/logger.py:100
low System graph software Dead code conf 1.00 Possibly dead Python function: log_code_generation
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/core/logger.py:112
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.
scripts/mock_server.py:263
low System graph software Dead code conf 1.00 Possibly dead Python function: print_module_result
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
evaluation/common.py:224
low System graph software Dead code conf 1.00 Possibly dead Python function: process
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/utils/trace.py:42
low System graph software Dead code conf 1.00 Possibly dead Python function: reload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tools/knowledge_loader.py:236
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_export_excel
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/agents/base_agent.py:189
low System graph software Dead code conf 1.00 Possibly dead Python function: update_progress
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/ui/pages/ai_page.py:75
low System graph quality Complexity conf 1.00 Very large file: generate_knowledge_base/generate_point_knowledge_base.py (1092 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/3fe0f9cf-7b98-4fd6-9775-208343222afb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/3fe0f9cf-7b98-4fd6-9775-208343222afb/

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.