{ "test_case": "TC_V2_047", "repository_name": "tutorial", "repository_path": "C:\\repos\\flask\\examples\\tutorial", "pair_cap": 25, "v1_max_files": 25, "repository_files": 9, "governance_findings_total": 2, "governance_safe": 0, "governance_review": 2, "governance_block": 0, "governance_per_file": { "flaskr\\__init__.py": { "file_path": "flaskr\\__init__.py", "findings": [ { "file_path": "flaskr\\__init__.py", "function_name": "create_app", "line_number": 13, "check_name": "global_state_mutation", "category": "GLOBAL_MUTATION", "severity": "REVIEW", "detail": "Function 'create_app' mutates module-level name 'DATABASE'.", "evidence": "DATABASE=os.path.join(app.instance_path, \"flaskr.sqlite\")," } ] }, "tests\\conftest.py": { "file_path": "tests\\conftest.py", "findings": [ { "file_path": "tests\\conftest.py", "function_name": "app", "line_number": 16, "check_name": "dangerous_api_call", "category": "DELETE_OPERATION", "severity": "REVIEW", "detail": "Function 'app' calls 'os.unlink', classified as DELETE_OPERATION.", "evidence": "os.unlink" } ] } }, "decision_pipeline_candidate_source": "token-overlap-fallback", "decision_pipeline_candidates": 4, "decision_pipeline_analyzed": 4, "decision_pipeline_safe": 1, "decision_pipeline_review": 3, "decision_pipeline_block": 0, "decision_pipeline_opposing_detected": 0, "decision_pipeline_errors": 0, "decision_pipeline_results": [ { "file_path": "C:\\repos\\flask\\examples\\tutorial\\flaskr\\auth.py", "file_path_b": null, "function_a": "login_required", "function_b": "login", "semantic_decision": "REVIEW", "semantic_score": 0.83, "behavioral_tags_a": [], "behavioral_tags_b": [ "AUTH_OPERATION", "DATABASE_OPERATION" ], "behavioral_risk_a": "LOW", "behavioral_risk_b": "HIGH", "fusion_decision": "REVIEW", "fusion_risk_score": 67, "fusion_risk_level": "HIGH", "fusion_opposing_detected": false, "governance_action": "INDIVIDUAL_APPROVAL", "pipeline_complete": true }, { "file_path": "C:\\repos\\flask\\examples\\tutorial\\flaskr\\db.py", "file_path_b": null, "function_a": "init_db", "function_b": "init_db_command", "semantic_decision": "REVIEW", "semantic_score": 0.88, "behavioral_tags_a": [ "FILE_READ" ], "behavioral_tags_b": [], "behavioral_risk_a": "MEDIUM", "behavioral_risk_b": "LOW", "fusion_decision": "REVIEW", "fusion_risk_score": 35, "fusion_risk_level": "MEDIUM", "fusion_opposing_detected": false, "governance_action": "BATCH_APPROVAL", "pipeline_complete": true }, { "file_path": "C:\\repos\\flask\\examples\\tutorial\\flaskr\\db.py", "file_path_b": null, "function_a": "init_db", "function_b": "init_app", "semantic_decision": "REVIEW", "semantic_score": 0.68, "behavioral_tags_a": [ "FILE_READ" ], "behavioral_tags_b": [], "behavioral_risk_a": "MEDIUM", "behavioral_risk_b": "LOW", "fusion_decision": "REVIEW", "fusion_risk_score": 42, "fusion_risk_level": "MEDIUM", "fusion_opposing_detected": false, "governance_action": "BATCH_APPROVAL", "pipeline_complete": true }, { "file_path": "C:\\repos\\flask\\examples\\tutorial\\flaskr\\db.py", "file_path_b": null, "function_a": "init_db_command", "function_b": "init_app", "semantic_decision": "REVIEW", "semantic_score": 0.57, "behavioral_tags_a": [], "behavioral_tags_b": [], "behavioral_risk_a": "LOW", "behavioral_risk_b": "LOW", "fusion_decision": "SAFE", "fusion_risk_score": 17, "fusion_risk_level": "LOW", "fusion_opposing_detected": false, "governance_action": "AUTO_APPLY", "pipeline_complete": true } ], "v1_findings_count": 0, "v1_findings": [], "total_runtime_seconds": 5.8, "status": "PASSED" }