{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:06.409857Z","repo":{"ref":{"host":"github.com","owner":"morehosseini","name":"AI-Integration-in-Construction-Education"},"default_branch":"main","clone_url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education.git","html_url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education","description":null,"stars":1,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":53194,"primary_language":"Python","license_spdx":"NOASSERTION","created_at":"2025-05-19T03:10:42Z","pushed_at":"2026-07-22T00:02:27Z","security_policy_url":null,"distribution":{"owner_created_at":"2014-10-13T22:00:02Z","owner_type":"User","release_assets":[]}},"commit_sha":"c938f6966a2d486b0d486c184c879765d03e28ef","profile":{"lines_by_language":{"Python":4917},"files_by_category":{"binary":70,"docs":36,"other":27,"oversized":25,"source":17,"config":4},"source_lines":4917,"test_lines":0},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.46,"coverage":1.0,"label":"possible","breakdown":{"attributed_share":0.0,"suspected_share":1.0,"estimated_share":0.0,"ai_artifacts":0.0,"flagged_work_units":1.0,"flagged_releases":null,"style_index":4.068},"summary":"Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence)."},"quality":{"score":41.7,"confidence":0.9,"coverage":1.0,"label":"poor","breakdown":{"complexity":39.1,"duplication":85.0,"lint":46.6,"testing":0.0,"docs":80.0,"type_safety":40.0,"process":null},"summary":"Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 31% of function code in complex or long functions; 3% duplicated lines. Weakest area: testing."},"security":{"score":83.0,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":100.0,"dependencies":86.1,"ci_actions":null,"posture":0.0,"scorecard":null},"summary":"Security posture is adequate: 4 known vulnerabilities in 3 dependencies. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":9.0,"checked":9.0,"missing":0.0,"recent":0.0,"lookup_errors":0.0},"findings":[],"evidence":[],"data":{"phantom":false},"error":null},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":23.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":4917.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2026-01":{"loc":0,"attributed_loc":0},"2026-02":{"loc":0,"attributed_loc":0},"2026-05":{"loc":4917,"attributed_loc":0},"2026-07":{"loc":0,"attributed_loc":0}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":0.0,"workflow_agents":0.0,"tools_configured":0.0},"findings":[],"evidence":[],"data":{"artifacts":[],"workflows":[],"tools":[]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":1.0,"flagged_units":1.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":4917.0,"flagged_loc":4917.0,"flagged_loc_share":1.0,"max_loc_per_hour":1229.25,"median_loc_per_hour":1229.25,"pr_timed_units":0.0,"excluded_import_loc":0.0},"findings":[],"evidence":[{"kind":"velocity-burst","description":"4,917 lines of first-party code in ~4.0h (1,229 lines/hour, 1 commit session)","ref":"64f80aec4f9364b3c409813127b457fb2d19ec32","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/commit/64f80aec4f9364b3c409813127b457fb2d19ec32","weight":0.36877499999999996}],"data":{"flagged_loc_by_commit":{"64f80aec4f9364b3c409813127b457fb2d19ec32":4917},"excluded_import_commits":[]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":4917.0,"index":4.068,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":40.0,"per_kloc:emoji_in_code":8.135,"files:emoji_in_code":7.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":0.0,"findings_high":0.0,"findings_medium":0.0,"findings_low":0.0,"weighted_findings":0.0,"scanned_lines":4917.0,"parse_errors":0.0},"findings":[],"evidence":[],"data":{"rulesets":["python"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"ok","tool_version":"osv-scanner version: 2.7.1","metrics":{"vulnerable_packages":3.0,"vulnerabilities":4.0,"vulns_critical":0.0,"vulns_high":0.0,"vulns_medium":4.0,"vulns_low":0.0,"vulns_unknown":0.0,"penalty":9.0},"findings":[{"rule_id":"osv/GHSA-mr82-8j83-vxmv","severity":"medium","message":"pydantic@2.0.0 (PyPI) is affected by PYSEC-2026-1812, GHSA-mr82-8j83-vxmv","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/requirements.txt","line":null,"fingerprint":"pydantic@2.0.0 (PyPI):GHSA-mr82-8j83-vxmv"},{"rule_id":"osv/GHSA-mf9w-mj56-hr94","severity":"medium","message":"python-dotenv@1.0.0 (PyPI) is affected by PYSEC-2026-2270, GHSA-mf9w-mj56-hr94","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/requirements.txt","line":null,"fingerprint":"python-dotenv@1.0.0 (PyPI):GHSA-mf9w-mj56-hr94"},{"rule_id":"osv/GHSA-vqwp-45wm-r9r5","severity":"medium","message":"streamlit@1.40.0 (PyPI) is affected by PYSEC-2026-212, GHSA-vqwp-45wm-r9r5","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/requirements.txt","line":null,"fingerprint":"streamlit@1.40.0 (PyPI):GHSA-vqwp-45wm-r9r5"},{"rule_id":"osv/GHSA-7p48-42j8-8846","severity":"medium","message":"streamlit@1.40.0 (PyPI) is affected by PYSEC-2026-2285, GHSA-7p48-42j8-8846","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/requirements.txt","line":null,"fingerprint":"streamlit@1.40.0 (PyPI):GHSA-7p48-42j8-8846"}],"evidence":[],"data":{"ecosystems":["PyPI"]},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":1.0,"signed_commit_share":0.0435,"unpinned_manifests":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":0.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[],"data":{"signals":[],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":134.0,"function_nloc":3012.0,"mean_ccn":5.92,"p90_ccn":13.0,"complex_functions":11.0,"long_functions":4.0,"many_param_functions":1.0,"risky_nloc_share":0.3134},"findings":[],"evidence":[{"kind":"complex-function","description":"validate_project in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/validation_engine.py: complexity 34, 87 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/validation_engine.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/validation_engine.py#L163","weight":0.5666666666666667},{"kind":"complex-function","description":"_clean_narrative_response in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py: complexity 28, 53 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py#L238","weight":0.4666666666666667},{"kind":"complex-function","description":"_repair_schedule_logic in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py: complexity 27, 50 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L760","weight":0.45},{"kind":"complex-function","description":"_normalise_project_classification in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py: complexity 26, 53 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/llm_service.py#L129","weight":0.43333333333333335},{"kind":"complex-function","description":"render in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py: complexity 23, 146 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L1090","weight":0.38333333333333336},{"kind":"complex-function","description":"_sanitize_activities in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py: complexity 21, 47 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L147","weight":0.35},{"kind":"complex-function","description":"render in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py: complexity 21, 115 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py#L88","weight":0.35},{"kind":"complex-function","description":"_project_type_value in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py: complexity 20, 25 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L706","weight":0.3333333333333333},{"kind":"complex-function","description":"render in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_02_pir.py: complexity 19, 116 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_02_pir.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_02_pir.py#L13","weight":0.31666666666666665},{"kind":"complex-function","description":"_create_schedule_tab in chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py: complexity 17, 48 lines","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py#L185","weight":0.2833333333333333}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":3774.0,"duplicated_lines":102.0,"duplicated_share":0.027,"files":17.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py:707 and chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py:867","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L707","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py:1022 and chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py:20","ref":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","url":"https://github.com/morehosseini/AI-Integration-in-Construction-Education/blob/c938f6966a2d486b0d486c184c879765d03e28ef/chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py#L1022","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":15.0,"weighted_findings":15.0,"scanned_lines":4917.0,"category:best-practice":6.0,"category:maintainability":9.0},"findings":[{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/calendar_engine.py","line":271,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/calendar_engine.py:271"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant a.is_critical() because a.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py","line":380,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py:380"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant act.is_critical() because act.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py","line":449,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py:449"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant act.is_critical() because act.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py","line":463,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/cpm_engine.py:463"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant act.is_critical() because act.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py","line":222,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py:222"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant act.is_critical() because act.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py","line":231,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/excel_export.py:231"},{"rule_id":"opengrep/python.lang.maintainability.return-not-in-function","severity":"medium","message":"`return` only makes sense inside a function","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/models.py","line":323,"fingerprint":"python.lang.maintainability.return-not-in-function:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/models.py:323"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/procurement.py","line":23,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/procurement.py:23"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/validation_engine.py","line":275,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/core/validation_engine.py:275"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant a.is_critical() because a.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","line":924,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py:924"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py","line":1117,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_04_schedule.py:1117"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant a.is_critical() because a.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py","line":110,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py:110"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_critical\" a function or an attribute? If it is a function, you may have meant activity.is_critical() because activity.is_critical is always true.","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py","line":166,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_05_export.py:166"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_06_knowledge.py","line":75,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_06_knowledge.py:75"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_06_knowledge.py","line":94,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:chapters/Chapter_12_Hosseini_AI-Assisted-Programming/code/construction-planning-app/app/pages/page_06_knowledge.py:94"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":0.0,"check:test_ratio":0.0,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0,"test_lines":0.0,"source_lines":4917.0,"test_ratio":0.0,"ci_files":0.0,"cochange_share":0.0,"cochange_commits":3.0},"findings":[],"evidence":[],"data":{"test_commands":[],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":1.0,"check:contributing":1.0,"check:changelog":0.0,"readme_lines":35.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE","ref":"LICENSE","url":null,"weight":0.0},{"kind":"docs","description":"CONTRIBUTING.md","ref":"CONTRIBUTING.md","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:strict_config":0.0,"check:low_escape_density":1.0,"escapes":0.0,"escapes_per_kloc":0.0},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}