{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"program.train (cyclomatic 79): program.train has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"71beec694b13c5ef9c89ccd8895c7bd65ea2da2dbea565cd4c054f752e2454b4"}},{"ruleId":"D1","level":"warning","message":{"text":"utility.create_predictor (cyclomatic 60): utility.create_predictor has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa1b4377be68ec5cd1ecf4b411956f1fac357d7da0fae06ad110819b5262cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMBartDecoder.forward (cyclomatic 55): CustomMBartDecoder.forward has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e510ece30d6edd127a681e5a6dc11bc62762117547e97bdc223966aaec9d83"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._extract_chart_tables (cyclomatic 53): docx._extract_chart_tables has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7134b46d0110864a968d3fa02c086c47451795bdc995d9d64b2ba4f29fbb231b"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMBartDecoder.forward (cyclomatic 53): CustomMBartDecoder.forward has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c0eb0342f2d0beeaa4ac26fa075bc98a31abeb2160890dfed998f2fe4b3587"}},{"ruleId":"D1","level":"warning","message":{"text":"TextRecognizer.__call__ (cyclomatic 52): TextRecognizer.__call__ has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"461b500252f205f904c95e1a37e9e31b82e51b06fff30aba9c07a5e79416a87f"}},{"ruleId":"D1","level":"warning","message":{"text":"MBartDecoder.forward (cyclomatic 48): MBartDecoder.forward has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd7ed4c5c60c25f52d1734841a4b71f39fa2365cf04acf457d494200728cc77"}},{"ruleId":"D1","level":"warning","message":{"text":"XlsxConverter.convert_file (cyclomatic 43): XlsxConverter.convert_file has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/xlsx.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f463713d67e5a1d1fc773aa2a6c1ad751567d8a2b655f624a18cef28c3d5de"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._convert_body (cyclomatic 41): docx._convert_body has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f94aa91c8f583b1f8122c0e6c0f6812e945f4dbbb55a36de289c92fb9bfc010"}},{"ruleId":"D1","level":"warning","message":{"text":"infer_rec.main (cyclomatic 38): infer_rec.main has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_rec.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5290d271e41619c570ba00aa9ebb27a849faf75a2d783be967405379257c4730"}},{"ruleId":"D1","level":"warning","message":{"text":"PptxConverter._chart_to_html (cyclomatic 37): PptxConverter._chart_to_html has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ade8058aac264be8db4dc3fb4fd6988e9d39990a418e619a0b885efd4564eb"}},{"ruleId":"D1","level":"warning","message":{"text":"PaddleOCR._get_ocr_model_names (cyclomatic 36): PaddleOCR._get_ocr_model_names has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f521a3619407d3299eb42946c9a4783a79dfe33fef0d0c86bb86aef6e773938b"}},{"ruleId":"D1","level":"warning","message":{"text":"export_model.dynamic_to_static (cyclomatic 33): export_model.dynamic_to_static has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"179dc62824b2debbbea43d9508022f0c67a7e395d1ca3995276d761c43dffc9a"}},{"ruleId":"D1","level":"warning","message":{"text":"PptxConverter._table_to_html (cyclomatic 32): PptxConverter._table_to_html has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a50f09dbb9ef29794a4d2fb4e18c586fd2d93cf76a8648093293ab2d7137401"}},{"ruleId":"D1","level":"warning","message":{"text":"RandomCrop.__call__ (cyclomatic 32): RandomCrop.__call__ has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8845dd668882be92e1204d95fdb066d709283cd0a09aa6fcc486ba84fa6df8e"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._table_to_html (cyclomatic 31): docx._table_to_html has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"891bc8c3218da47b6f2eec8250a07686e232b02e4f84c689d0a99a418de525c2"}},{"ruleId":"D1","level":"warning","message":{"text":"save_load.load_model (cyclomatic 31): save_load.load_model has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cf5b24ae3037ce1deb1782ce5565885b3898f3175145a1eba4296ee8b5e811"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._iter_paragraph_items (cyclomatic 30): docx._iter_paragraph_items has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726e7d853c4358ded2776174db8e216b2c96c9d2d048f0a674ab998f1cfb365"}},{"ruleId":"D1","level":"warning","message":{"text":"train.main (cyclomatic 30): train.main has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/train.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"592632cdd776b17048aa142be451355fe3e4c65eee9a45c0c0b93b871efd5376"}},{"ruleId":"D1","level":"warning","message":{"text":"DYMicroBlock.__init__ (cyclomatic 29): DYMicroBlock.__init__ has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_micronet.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c241d0c0323b580dbd558910ec3ac901b8d6b0888361b54e41543f1cf23c5b3"}},{"ruleId":"D1","level":"warning","message":{"text":"PGProcessTrain.__call__ (cyclomatic 28): PGProcessTrain.__call__ has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d9a3a7903762655c991f95daa31fa99cdff7a4628edff88e9c172a4614ed74"}},{"ruleId":"D1","level":"warning","message":{"text":"save_load.update_train_results (cyclomatic 28): save_load.update_train_results has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3651185610391abaf55ee2320a8860166b51f1d5f7301db2c107234cc8eb06"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectionIoUEvaluator.evaluate_image (cyclomatic 25): DetectionIoUEvaluator.evaluate_image has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/metrics/eval_det_iou.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b705e788c4d9ad71b2d2e9a19b87de536e79844d2b9be141d84fb356a248ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ResNet.__init__ (cyclomatic 25): ResNet.__init__ has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fad07e7c6f3052aaf677e3eb766c406e3120338fae92e016ef164bd9a5ad2c"}},{"ruleId":"D1","level":"warning","message":{"text":"export_model.export (cyclomatic 25): export_model.export has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b20511de830762f4f7cef44b5183f540efcf674e8104cb7d2a341bc379c4189"}},{"ruleId":"D1","level":"warning","message":{"text":"TextRecognizer.__init__ (cyclomatic 25): TextRecognizer.__init__ has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc09ea4850a24f86b211aeb53360609c48c831a588a940f3cb824f28062fe126"}},{"ruleId":"D1","level":"warning","message":{"text":"program.eval (cyclomatic 25): program.eval has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf2397df846d8da1a2923d9534ef3725bcfef6415a4f896176ff6e1afdf744e"}},{"ruleId":"D1","level":"warning","message":{"text":"PptxConverter._process_shape (cyclomatic 24): PptxConverter._process_shape has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ace65e1bd13553d5a882360cbca100a4465f631dbb94154ff4f86473a5d7430"}},{"ruleId":"D1","level":"warning","message":{"text":"export_model.dump_infer_config (cyclomatic 24): export_model.dump_infer_config has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4d188d117ceb965948caf80f6eadab008802f254928f1d2a0d400e1a3038dc"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.SaveResource (cyclomatic 24): Client.SaveResource has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/resource.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e029c9ce2d0265554a62cfe533d8389b31445f60d64d52613cb7b6aaebb65eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"config.normalizeOcrPipelineConfig (cyclomatic 24): config.normalizeOcrPipelineConfig has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/config.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d170fb9244a62574c8e1154fff90985f15e8a44132386616db0404b3aea8e3"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._runs_to_markdown (cyclomatic 23): docx._runs_to_markdown has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ea3da3e0bb79964f189ad87bc5066e5b76c1b684ac11cdcd2aed13c4c7729d"}},{"ruleId":"D1","level":"warning","message":{"text":"PPStructureV3._get_ocr_model_names (cyclomatic 23): PPStructureV3._get_ocr_model_names has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_structurev3.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"498de19e977362e1d88c2b854b7064b79f66e8fd6e2777de9010d59eb9aba5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ResNet_vd.__init__ (cyclomatic 23): ResNet_vd.__init__ has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce34e53d73061c03bda512ffba86e75c9845df4cde4be6b6b00916361e3ff705"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionLayers.__init__ (cyclomatic 23): AttentionLayers.__init__ has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2292d32376c99170c63c1ba64cfe216533b478d55fdf60d9431245a49d2849c"}},{"ruleId":"D1","level":"warning","message":{"text":"eval.main (cyclomatic 23): eval.main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/eval.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"028fe5db3f16a90c255f81f2ac34b43b98fd7ad5bce6075926053b1e2f31e9f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ResNet_SAST.__init__ (cyclomatic 22): ResNet_SAST.__init__ has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"79656a986a223d61bd3532f5522fd8e925359537d5e45c259543278cc04a1774"}},{"ruleId":"D1","level":"warning","message":{"text":"ResNet.__init__ (cyclomatic 22): ResNet.__init__ has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_vd.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8785ba4220a1a4e2ddbd644bb2c9465cdde45de9acc2162159a83e600b7c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"eval_end2end.e2e_eval (cyclomatic 22): eval_end2end.e2e_eval has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/end2end/eval_end2end.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"415f5c5e4f4ce9263a4c29d1c88cfd8c8d44204eaadd674dae516e5e4f0b9d62"}},{"ruleId":"D1","level":"warning","message":{"text":"trans_funsd_label.load_funsd_label (cyclomatic 21): trans_funsd_label.load_funsd_label has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/trans_funsd_label.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d6a437b66e07dc605f24e341d0251c016e31507d9fccb1875d6e0493cad593"}},{"ruleId":"D1","level":"warning","message":{"text":"predict_system.main (cyclomatic 21): predict_system.main has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/predict_system.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c89f4c023a5e196e69a00172932d6752fb4018bce52edc027449f14e831c55c"}},{"ruleId":"D1","level":"warning","message":{"text":"TextDetector.__call__ (cyclomatic 21): TextDetector.__call__ has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5922c90b1c834b397d00d27d1670a6935790811d7443ebd2f8503715df8631"}},{"ruleId":"D1","level":"warning","message":{"text":"OcrPipelineRunner.predict (cyclomatic 21): OcrPipelineRunner.predict has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/core.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8315e0a1b76f2249a062160d75edb025e317fff17dd27d11eb52d2033aa9ef6d"}},{"ruleId":"D1","level":"warning","message":{"text":"RandomCropFlip.random_crop_flip (cyclomatic 20): RandomCropFlip.random_crop_flip has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_aug.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"92253ac0a70f5e06e3a9de94252e1d90f6c290bf0f647533a41636b82039e0d7"}},{"ruleId":"D1","level":"warning","message":{"text":"VQATokenLabelEncode.__call__ (cyclomatic 20): VQATokenLabelEncode.__call__ has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"59456e3016d12877def36184fcfb2b6b38f47f03e832bf9d03fa0dfb76f0d933"}},{"ruleId":"D1","level":"warning","message":{"text":"TextDetector.__init__ (cyclomatic 20): TextDetector.__init__ has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dde79e2fd0fcaec75b61b73eb3ad6eae79835bdd506859216b77a5d8d2bebb"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpClient.fetch (cyclomatic 20): HttpClient.fetch has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/internal/http.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"757dbf9a3f8a5cd2513cd63ac45ab8934f31957f6830a29e5f7af2ac813ac7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"GenTableMask.projection_cx (cyclomatic 19): GenTableMask.projection_cx has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26327c5dfb69c085417add6d4499c62684d4f0c6e99332cf6074c566ea377d4"}},{"ruleId":"D1","level":"warning","message":{"text":"VQATokenPad.__call__ (cyclomatic 19): VQATokenPad.__call__ has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/vqa/token/vqa_token_pad.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74fa4b17bc29ae7505748cede6b286b614d466e914c80aabf4c935b305d4b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"program.check_device (cyclomatic 19): program.check_device has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d602b7bfbaf3e5b06ceee9b264636684bdbb10e282471b88564ea37b6a7d475"}},{"ruleId":"D1","level":"warning","message":{"text":"WarpMLS.calc_delta (cyclomatic 18): WarpMLS.calc_delta has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/text_image_aug/warp_mls.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7b1ba04e8549cc1157de999da1e42d1774dc946486d9e30f6212eac4a87cec"}},{"ruleId":"D1","level":"warning","message":{"text":"VLLabelDecode.__call__ (cyclomatic 18): VLLabelDecode.__call__ has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae31a8b7896924be5877bcdf5e9dbd3bd2f72d18d41692344090c6343617097"}},{"ruleId":"D1","level":"warning","message":{"text":"eval_with_label_end2end.eval_e2e (cyclomatic 18): eval_with_label_end2end.eval_e2e has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/eval_with_label_end2end.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43d612373217363375980065f470f920d09bfc5da423e3db34e4d817cd9d182"}},{"ruleId":"D1","level":"warning","message":{"text":"TableMatch.get_pred_html (cyclomatic 18): TableMatch.get_pred_html has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/matcher.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3073d57003670fd294feacb99fd8b4412df4f4e325b4178c6632e2a891953a16"}},{"ruleId":"D1","level":"warning","message":{"text":"predict_system.main (cyclomatic 18): predict_system.main has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_system.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ff6fd63edc5e265f5447c26f9afffeaf63bde0031820eaa33dc838bcf6b0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"quant.main (cyclomatic 17): quant.main has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/quant.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa556bb9f2770d5ecec2b573ac9e861c1ae01e65f9b4825d2a2ca97ab23da9ac"}},{"ruleId":"D1","level":"warning","message":{"text":"docx._iter_math_paragraph_parts (cyclomatic 17): docx._iter_math_paragraph_parts has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3552eb5aabbb3c1a7d4f342cd19505857f1ccf1cde87249491d6f03117c880f"}},{"ruleId":"D1","level":"warning","message":{"text":"pptx._format_run_segment (cyclomatic 17): pptx._format_run_segment has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8ea3de820d49d49b961e16694cd4c5697ecabe7b281e399f3d5bbc7c67e028"}},{"ruleId":"D1","level":"warning","message":{"text":"RandomCropImgMask.__call__ (cyclomatic 17): RandomCropImgMask.__call__ has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d22fa765264d50db9f7a7f422b46c468ae9940dad5d88e57a12b699c182bed"}},{"ruleId":"D1","level":"warning","message":{"text":"SASTProcessTrain.__call__ (cyclomatic 17): SASTProcessTrain.__call__ has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/sast_process.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"562cd436b7833cb154cf5b7e7e47ef9fdef6e5f233036afd331c5239b583dea7"}},{"ruleId":"D1","level":"warning","message":{"text":"Attention.forward (cyclomatic 17): Attention.forward has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7abef77467a52d9a8571328cad6c0c58da1c8b774c25912928f13bcdacded2"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery_to_doc.convert_info_docx (cyclomatic 17): recovery_to_doc.convert_info_docx has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/recovery_to_doc.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a6a5e1776aae45a052a09be5313e7698b27014dd25587ee8af8eb4cd5ae261"}},{"ruleId":"D1","level":"warning","message":{"text":"TableMatch.get_pred_html_master (cyclomatic 17): TableMatch.get_pred_html_master has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/matcher.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3949f5587f3bd4868850d414df3eb54e50bc6e8b0ba09afbfed7afd419e5622e"}},{"ruleId":"D1","level":"warning","message":{"text":"UniMERNetLabelEncode.__init__ (cyclomatic 16): UniMERNetLabelEncode.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"9039ed1e04baf277b1dde150b53264451041a3c76ed8924f5635f66d5d950ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"random_crop_data.clip_poly_to_rect (cyclomatic 16): random_crop_data.clip_poly_to_rect has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"486a488cf1063b5bd6df1c9954fa9512d318222f1f8f350e5c86182b3ab65c5a"}},{"ruleId":"D1","level":"warning","message":{"text":"DonutSwinEncoder.forward (cyclomatic 16): DonutSwinEncoder.forward has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d2e19213e7a8b4c91af778103f56767c4a5d246858fb1790d070371805a138"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionLayers.forward (cyclomatic 16): AttentionLayers.forward has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"557833ef9c0f315201effed37d2bbbbbd122bac4ad912d22434288149bbfd4c4"}},{"ruleId":"D1","level":"warning","message":{"text":"PPFormulaNet_Head._prepare_decoder_input_ids_for_generation (cyclomatic 16): PPFormulaNet_Head._prepare_decoder_input_ids_for_generation has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"d192c962083856d9936ed21f1a3a5e265048b37b1943ee56b829a0ed6120a455"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseRecLabelDecode.get_word_info (cyclomatic 16): BaseRecLabelDecode.get_word_info has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d8a6fbf46389d73d8d830f292348c232a12ad8151fdb257998adefef1e9e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"UniMERNetDecode.__init__ (cyclomatic 16): UniMERNetDecode.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"141219d49d66da58168ce6a1135dfda5af79d62254f3266f033f3a9ca55e8534"}},{"ruleId":"D1","level":"warning","message":{"text":"save_load.save_model (cyclomatic 16): save_load.save_model has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfb237af26f2e01b1fb656b2a9ac5d8cd56434ec3774769926458b456896fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"program.preprocess (cyclomatic 16): program.preprocess has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d9119e34993cafb7286eb34f69a9400b9a4b1cde8acdd2112e72bac640d52"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.submitFile (cyclomatic 16): Client.submitFile has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/transport.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b7d07bc04af827c2174f519ea3c0560bb0c74a0df8e096a5950658d88d78fc"}},{"ruleId":"D1","level":"warning","message":{"text":"det.decodeDetOutput (cyclomatic 16): det.decodeDetOutput has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d69288cfa168d47d2af909b763c8e1484278a390d252ce258560d932fb410af"}},{"ruleId":"D2","level":"warning","message":{"text":"program.train (cognitive 173): program.train has cognitive complexity 173 (threshold 15). Drivers by points: if/else 50 (132 pts), ternaries 9 (23 pts), boolean chains 12, loops 3 (5 pts), error handling 1 (nesting depth added 98). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eae53f8406bd87642ac8cc1fa579037eccb040165c6f3c428130ab3e1579d70"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._extract_chart_tables (cognitive 163): docx._extract_chart_tables has cognitive complexity 163 (threshold 15). Drivers by points: if/else 28 (87 pts), ternaries 6 (31 pts), loops 9 (26 pts), error handling 4 (11 pts), boolean chains 8 (nesting depth added 108). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"002cbcdad28b7ff8042beb31840c5100dbb31cd2c8da6d86eba338b66c702142"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxConverter.convert_file (cognitive 138): XlsxConverter.convert_file has cognitive complexity 138 (threshold 15). Drivers by points: if/else 20 (77 pts), loops 9 (24 pts), error handling 5 (20 pts), ternaries 4 (13 pts), boolean chains 4 (nesting depth added 96). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/xlsx.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"61339ce07d5998d64b9fc0677637ce2191e4228ce343978ac9768436a094a3d8"}},{"ruleId":"D2","level":"warning","message":{"text":"utility.create_predictor (cognitive 127): utility.create_predictor has cognitive complexity 127 (threshold 15). Drivers by points: if/else 46 (106 pts), loops 3 (8 pts), boolean chains 6, error handling 1 (5 pts), ternaries 1 (2 pts) (nesting depth added 70). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f3b9854edd8e67fd3adb791905fed5e64907f26a4d9979fccb0bcaf1ad11e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextRecognizer.__call__ (cognitive 117): TextRecognizer.__call__ has cognitive complexity 117 (threshold 15). Drivers by points: if/else 29 (66 pts), loops 16 (51 pts) (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c968eb2ecff3bceb204931971f340d0ca8df8fac9d7cbd8652c11a0c243d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._convert_body (cognitive 116): docx._convert_body has cognitive complexity 116 (threshold 15). Drivers by points: if/else 26 (86 pts), loops 7 (21 pts), boolean chains 8, error handling 1 (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3909af7b7df4f3896b9f8f1a00089191e7ac4cf23cec6e24a0e02bbdb8340c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxConverter._table_to_html (cognitive 115): PptxConverter._table_to_html has cognitive complexity 115 (threshold 15). Drivers by points: if/else 17 (70 pts), loops 8 (27 pts), error handling 2 (10 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 84). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06a021a6c9d7c613363e21a0da954fcc9ccc2a396cec7758d82123e6a7c884a"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._table_to_html (cognitive 91): docx._table_to_html has cognitive complexity 91 (threshold 15). Drivers by points: if/else 12 (42 pts), loops 9 (29 pts), ternaries 3 (10 pts), boolean chains 6, error handling 1 (4 pts) (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89a9420ca67d76a54e5bba29f88ded316cf71c5075b171e507d8e5053adafd6"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMBartDecoder.forward (cognitive 89): CustomMBartDecoder.forward has cognitive complexity 89 (threshold 15). Drivers by points: if/else 27 (44 pts), ternaries 20 (37 pts), boolean chains 6, loops 2 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b143b6b550fc5cf8ba89cfa635d9c446eab51d779790dd6226d480ca9edc58b"}},{"ruleId":"D2","level":"warning","message":{"text":"save_load.load_model (cognitive 89): save_load.load_model has cognitive complexity 89 (threshold 15). Drivers by points: if/else 29 (80 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55507ef32d2232fd2e20e8fecc09cc7ce65eadfc077a6811aa94f60528bd2e2"}},{"ruleId":"D2","level":"warning","message":{"text":"RandomCrop.__call__ (cognitive 87): RandomCrop.__call__ has cognitive complexity 87 (threshold 15). Drivers by points: if/else 25 (59 pts), ternaries 6 (16 pts), loops 4 (8 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69a7bb6422014fe4c5a72e4ca9debe837bf106145f0f66126584191585adac9"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMBartDecoder.forward (cognitive 85): CustomMBartDecoder.forward has cognitive complexity 85 (threshold 15). Drivers by points: if/else 25 (40 pts), ternaries 20 (37 pts), boolean chains 6, loops 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cb35180929996bdd295df03388c7d569e473b5e4105540b4b41312a65c8a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._iter_paragraph_items (cognitive 79): docx._iter_paragraph_items has cognitive complexity 79 (threshold 15). Drivers by points: if/else 21 (64 pts), error handling 4 (7 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a3569a01b7fd8e83d920029d3cf91f2751078778099cf32515fefec8ea3d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MBartDecoder.forward (cognitive 78): MBartDecoder.forward has cognitive complexity 78 (threshold 15). Drivers by points: if/else 23 (38 pts), ternaries 18 (32 pts), boolean chains 6, loops 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1791c07cb2e160b0e9d042e79bb97ba2845f2437e422ce02caf53b19fa397076"}},{"ruleId":"D2","level":"warning","message":{"text":"TableMatch.get_pred_html (cognitive 69): TableMatch.get_pred_html has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (62 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/matcher.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4265b08736f0d4de58d20693b39ff208d58ea69d8e0f2bc1dc79ade344479fc"}},{"ruleId":"D2","level":"warning","message":{"text":"trans_funsd_label.load_funsd_label (cognitive 65): trans_funsd_label.load_funsd_label has cognitive complexity 65 (threshold 15). Drivers by points: if/else 11 (38 pts), loops 9 (25 pts), boolean chains 2 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/trans_funsd_label.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1155ffa6be5f4eb85fce1e5d9860ac5ace8ae0c6b8da050b059146ea3cd23c0"}},{"ruleId":"D2","level":"warning","message":{"text":"infer_rec.main (cognitive 65): infer_rec.main has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (56 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_rec.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0903b0907a2f7505729eaacba0b524cf27cb3b4764cb2f912b8cf3bd127b60b3"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxConverter._chart_to_html (cognitive 64): PptxConverter._chart_to_html has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 7 (18 pts), loops 8 (16 pts), if/else 10 (14 pts), error handling 6 (10 pts), boolean chains 6 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e04e163b00bfa1f26f6e6423151b1df63bb4c671677c5e5e05184b73608b23e"}},{"ruleId":"D2","level":"warning","message":{"text":"TableMatch.get_pred_html_master (cognitive 64): TableMatch.get_pred_html_master has cognitive complexity 64 (threshold 15). Drivers by points: if/else 13 (57 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/matcher.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f069be4d791551be8060b133cc5ece6f4647fb4f2273f593fb2086fb7cd0ada"}},{"ruleId":"D2","level":"warning","message":{"text":"train.main (cognitive 64): train.main has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (58 pts), loops 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/train.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a58796986ff837b8b1c7867732039f5dca4e046d6aa1603b7c50259537a4328"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxConverter._process_shape (cognitive 62): PptxConverter._process_shape has cognitive complexity 62 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 5 (16 pts), error handling 3 (8 pts), boolean chains 3 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf4b975bb26070ae57e12d18f0ee9b20b02f8880da9b3174ed06383489de711"}},{"ruleId":"D2","level":"warning","message":{"text":"eval_end2end.e2e_eval (cognitive 59): eval_end2end.e2e_eval has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 8 (16 pts), boolean chains 2 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/end2end/eval_end2end.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebe778a94ea17a3fac491d22dbea0af91e0d7a0c447bb1c16456db201ab8705"}},{"ruleId":"D2","level":"warning","message":{"text":"TextDetector.__call__ (cognitive 58): TextDetector.__call__ has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (42 pts), ternaries 2 (8 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9f5f7e9abeadf8d599f43bb93798d1e1ff461d4bba4505c153c8e987b7ab02"}},{"ruleId":"D2","level":"warning","message":{"text":"save_load.update_train_results (cognitive 57): save_load.update_train_results has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 4 (16 pts), loops 6 (12 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30484cdbcbad362c076a4369429ec71204f0bb3e7e36227491f7d983d2b0fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNet.__init__ (cognitive 53): ResNet.__init__ has cognitive complexity 53 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 7 (19 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e539d9e0aa5c177a3da0c58cd461d55028a295510324f7523de624e094c7c01"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectionIoUEvaluator.evaluate_image (cognitive 52): DetectionIoUEvaluator.evaluate_image has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 7 (15 pts), ternaries 6 (11 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/metrics/eval_det_iou.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"935fff4c63bde02a0387067f0a4d98168a2ba0e479e1763ff6e7d6ef3325a7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"export_model.export (cognitive 50): export_model.export has cognitive complexity 50 (threshold 15). Drivers by points: if/else 24 (42 pts), loops 2 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5872cc7735d1ea8c82679dfc4e7487ecd090cfb11fb8062d11e9cfd825bf892"}},{"ruleId":"D2","level":"warning","message":{"text":"eval_with_label_end2end.eval_e2e (cognitive 49): eval_with_label_end2end.eval_e2e has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (35 pts), loops 6 (12 pts), boolean chains 2 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/eval_with_label_end2end.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf1ab4fd8464cbe5f652e0ea501dd4c3a643d3a71b20b3e44f22afb7bb3aa21"}},{"ruleId":"D2","level":"warning","message":{"text":"DYMicroBlock.__init__ (cognitive 48): DYMicroBlock.__init__ has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 20 (40 pts), boolean chains 6, if/else 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_micronet.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6872342af427b9c02d6318b0536270c437a79a7caf258188ec6ad25fa43a835"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNet.__init__ (cognitive 47): ResNet.__init__ has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 4 (10 pts), ternaries 3 (9 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_vd.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7f971bf23dacfd8e10a7d8c8eca51acee05cffc2c68458ecb00491e6418f06"}},{"ruleId":"D2","level":"warning","message":{"text":"eval.main (cognitive 46): eval.main has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (37 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/eval.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f756648f59d4b5dddff7e0b8c7b32acc4affad0c0a6a0343f6fcf7ab348bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNet_SAST.__init__ (cognitive 45): ResNet_SAST.__init__ has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 7 (14 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6c6e5fedc6e1059494d583e51765422bb0fd6c8fbe33cee12b4af899acde14"}},{"ruleId":"D2","level":"warning","message":{"text":"VQATokenPad.__call__ (cognitive 42): VQATokenPad.__call__ has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (40 pts), boolean chains 1, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/vqa/token/vqa_token_pad.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9904af353abb6df88e42e2a2123e4f0bab7be30786102eef75c291cfc6694f18"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._runs_to_markdown (cognitive 41): docx._runs_to_markdown has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (28 pts), ternaries 2 (6 pts), boolean chains 5, loops 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0916ef26b972e934f2f926a529aa3aa3c6066aa268db3bbd5f88b7a61f6b5a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"WarpMLS.calc_delta (cognitive 41): WarpMLS.calc_delta has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 5 (14 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/text_image_aug/warp_mls.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"577de2ef2d8fadbda8d31b15b1d3aba9fcb41270f5fceccaac5f2bc63ea83c57"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNet_vd.__init__ (cognitive 41): ResNet_vd.__init__ has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 7 (19 pts), loops 4 (10 pts), if/else 5 (9 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cc6a38e6deb211f746ad40642303edf3a0bdf3f2acb54ae9dd465adcf6cd36"}},{"ruleId":"D2","level":"warning","message":{"text":"predict_system.main (cognitive 41): predict_system.main has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/predict_system.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"046281fda3a56052daca6f9931de66b6a854e8caf1c79c761b803ba14b1424c8"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetLabelEncode.__init__ (cognitive 39): UniMERNetLabelEncode.__init__ has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (6 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80f71752902df5c409d856364b488fddfc01a6b200a2ad629fe114bbc62b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"RandomCropImgMask.__call__ (cognitive 39): RandomCropImgMask.__call__ has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (28 pts), ternaries 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1186d5b12289e075c55a18e38bf71b660fd584ccd758023ac05d8b76faf7d9fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNetFPN.__init__ (cognitive 39): ResNetFPN.__init__ has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 5 (11 pts), ternaries 2 (8 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_fpn.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a18fdba1d7eed9cdc745102ac0517bb8994de9c0a7ab612a52befb21c72633"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetDecode.__init__ (cognitive 39): UniMERNetDecode.__init__ has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (6 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ee91740fcb2de2cda7fa970e245546bde47674deda5074cabd47efd312e117"}},{"ruleId":"D2","level":"warning","message":{"text":"predict_system.main (cognitive 39): predict_system.main has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_system.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8403eac670b1637606711b741dc38bbf98f9e0b187dbaf27c45dac0b61a9183"}},{"ruleId":"D2","level":"warning","message":{"text":"VLLabelDecode.__call__ (cognitive 36): VLLabelDecode.__call__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (11 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97d84bbbb6cbebb6a6c737cda1c4f01817fbf257dce225aa1bde07ed8ac6cea"}},{"ruleId":"D2","level":"warning","message":{"text":"quant.main (cognitive 35): quant.main has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 2 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/quant.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780439d153a534f52379ceeecde0da5903e3d72b21ee7efe412167d3200982a"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._iter_math_paragraph_parts (cognitive 35): docx._iter_math_paragraph_parts has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 3 (9 pts), loops 3 (7 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d103a8cc810bc606d247d9a1de8de54252208521a1e566ba7ee8a85855f315"}},{"ruleId":"D2","level":"warning","message":{"text":"VQATokenLabelEncode.__call__ (cognitive 35): VQATokenLabelEncode.__call__ has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (32 pts), loops 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e056170ff11261a5798876d7e3c3faf5a51db10104e6bccaac06cbe990dc3"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelOutput.__post_init__ (cognitive 35): ModelOutput.__post_init__ has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (5 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72cff2c5f7346568bb6b8d932878e2ff5eaffdce5c0ce8c910b2532e15c4004"}},{"ruleId":"D2","level":"warning","message":{"text":"export_model.main (cognitive 34): export_model.main has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ad9adc21aeb3634bef340630d8ee72ce83e5c8aeca16bb5c9bc24feeaff98"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._update_field_state_for_paragraph (cognitive 34): docx._update_field_state_for_paragraph has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (30 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d553605b52104a0a579432d35c34d929f417d971d6f05d451a55b64a74afbb0"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._textbox_paragraphs_to_markdown (cognitive 34): docx._textbox_paragraphs_to_markdown has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 3 (6 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ab230b6ca49b861548e9323f8127a09e793ccf72ef9084e2ca7326d22a1bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"PptxConverter.convert_file (cognitive 34): PptxConverter.convert_file has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 6 (15 pts), error handling 2, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b78784336ef1e01699cc3fefa0cc3e1ca0046f36b0d623ecd7239e06f2e234c"}},{"ruleId":"D2","level":"warning","message":{"text":"PGProcessTrain.__call__ (cognitive 33): PGProcessTrain.__call__ has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (26 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50082183798ec809627a7e5e91fa6351c1e34eca8880a6d28aed59403d891eb"}},{"ruleId":"D2","level":"warning","message":{"text":"GenTableMask.projection_cx (cognitive 33): GenTableMask.projection_cx has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 6 (9 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"86507d0c46a9853cdd2b431107a0e9e6a2024e96312824ba949d7a0da0bb644a"}},{"ruleId":"D2","level":"warning","message":{"text":"RandomCropFlip.random_crop_flip (cognitive 32): RandomCropFlip.random_crop_flip has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 5 (12 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_aug.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65022f19cbe070adcea2d505eee0eb6c5ac824bb57bc28d91b120a821c25d86"}},{"ruleId":"D2","level":"warning","message":{"text":"VQAReTokenMetric.re_score (cognitive 32): VQAReTokenMetric.re_score has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 3 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/metrics/vqa_token_re_metric.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c106f12af21b181933cebc4545b5a1633f6cd92ca1e9be2dd716d9f09ae2d01b"}},{"ruleId":"D2","level":"warning","message":{"text":"utility.draw_structure_result (cognitive 32): utility.draw_structure_result has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/utility.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"06228adb3282c436d947914c6a36243701d3e8a1f4d2fb5f9fcd22f067456c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationDMLLoss.forward (cognitive 31): DistillationDMLLoss.forward has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (DistillationKLDivLoss.forward, DistillationDKDLoss.forward, DistillationKLDivLoss.forward, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3a523c394bf72a5c4bf8f6638d7ddc2511fb837fc746fc45895d14df792804"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationKLDivLoss.forward (cognitive 31): DistillationKLDivLoss.forward has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (DistillationDMLLoss.forward, DistillationDKDLoss.forward, DistillationKLDivLoss.forward, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd809a968f4b362e5bf2c121252ca2b49fb14ea078547469077cabbd255326"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationDKDLoss.forward (cognitive 31): DistillationDKDLoss.forward has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (DistillationDMLLoss.forward, DistillationKLDivLoss.forward, DistillationKLDivLoss.forward, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd27789fc862f1b94f8b985c5f290077fe08e718735d3a98c23a9d5b74d9365"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationKLDivLoss.forward (cognitive 31): DistillationKLDivLoss.forward has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (DistillationDMLLoss.forward, DistillationKLDivLoss.forward, DistillationDKDLoss.forward, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef362930bc685cc718e386ec04788cec9eeab4da7f751010e9088060141d4936"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationDKDLoss.forward (cognitive 31): DistillationDKDLoss.forward has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (DistillationDMLLoss.forward, DistillationKLDivLoss.forward, DistillationDKDLoss.forward, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0aa5dcd143b3810997b11e4af9ce77f47d0ed7463bbdf61fa74b8ce7a6d81"}},{"ruleId":"D2","level":"warning","message":{"text":"convert_ppocr_label.convert_label (cognitive 31): convert_ppocr_label.convert_label has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/end2end/convert_ppocr_label.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dfecea55d5a9516b43b8d928565f45a073fd83f578ea1ac8fdd6a14cfb74e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.SaveResource (cognitive 31): Client.SaveResource has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/resource.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46e47b9e036af0118f3d559806ac64640cb17a0d25b1097018ea407747f84e0"}},{"ruleId":"D2","level":"warning","message":{"text":"OcrPipelineRunner.predict (cognitive 31): OcrPipelineRunner.predict has cognitive complexity 31 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 4 (7 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/core.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"099f3be772668057ace86797bdcf1976612b8b902eb1581428212f0841ae3902"}},{"ruleId":"D2","level":"warning","message":{"text":"PGProcessTrain.generate_tcl_ctc_label (cognitive 30): PGProcessTrain.generate_tcl_ctc_label has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b03547b841156164a956788eba6776b573eca209527c7f72f4db95f3faad5"}},{"ruleId":"D2","level":"warning","message":{"text":"Adam.__call__ (cognitive 29): Adam.__call__ has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 3 (9 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/optimizer/optimizer.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbfbae9a21511935d2ffb4ac070cd512c45ea7f59e5c057fd0eac284efd2429"}},{"ruleId":"D2","level":"warning","message":{"text":"SARLabelDecode.decode (cognitive 29): SARLabelDecode.decode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SATRNLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab155b2a2577b86978b206d1bef7bb67a1809dd4304c2e8eeb5c15194b36a01"}},{"ruleId":"D2","level":"warning","message":{"text":"SATRNLabelDecode.decode (cognitive 29): SATRNLabelDecode.decode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SARLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"315090d55c3cae7002b60eae1086622c8e79e92a1d6f2a4bad0820ef93529567"}},{"ruleId":"D2","level":"warning","message":{"text":"VQAReTokenChunk.__call__ (cognitive 28): VQAReTokenChunk.__call__ has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/vqa/token/vqa_token_chunk.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"447296a909517920efca6a02e8b8907b413459c94826c3792bd2bb26221c203d"}},{"ruleId":"D2","level":"warning","message":{"text":"CTPostProcess.__call__ (cognitive 28): CTPostProcess.__call__ has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (7 pts), error handling 1 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/ct_postprocess.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba6571812dd1bfbfdda4c9ac290337d18b2f4378fac43788288aee4da702f35"}},{"ruleId":"D2","level":"warning","message":{"text":"locality_aware_nms.soft_nms (cognitive 28): locality_aware_nms.soft_nms has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/locality_aware_nms.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81536d4099c717d74f658446ad97fb13f62909b59031fa266cc42b22c5ed3a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PicoDetPostProcess.__call__ (cognitive 28): PicoDetPostProcess.__call__ has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/picodet_postprocess.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4045108a6e89fc5282d4ecf1bd08241e4cd6b7a3d66fed264966556cac82be86"}},{"ruleId":"D2","level":"warning","message":{"text":"export_model.dump_infer_config (cognitive 28): export_model.dump_infer_config has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"131e1f294eb71270bf0d868b7730b5de6151d3e385fc0ea62aeae84e1f03d143"}},{"ruleId":"D2","level":"warning","message":{"text":"program.eval (cognitive 28): program.eval has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0ba69f50ff09d5ac28403885dbc98b1fd54d1eea558f16838ecc93557fab82"}},{"ruleId":"D2","level":"warning","message":{"text":"export_model.dynamic_to_static (cognitive 27): export_model.dynamic_to_static has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b763b32bb246f61f8df7d80cb9183649b1af223e04e099ce6824012041c13d"}},{"ruleId":"D2","level":"warning","message":{"text":"math.extract_math_from_paragraph (cognitive 26): math.extract_math_from_paragraph has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/math/__init__.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"45acdb3733c0274cc4a1e947580a420641dd3439f0e242274d6928226081aa21"}},{"ruleId":"D2","level":"warning","message":{"text":"PaddleOCR._get_ocr_model_names (cognitive 26): PaddleOCR._get_ocr_model_names has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3bbc5d5213021a2c843fba0d1e193dd4a108dbd070f3f05ea86e71ebe126e5"}},{"ruleId":"D2","level":"warning","message":{"text":"save_load.save_model (cognitive 26): save_load.save_model has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"633db843cf998c07d47d599332f9cec6bcfc1f9b28366f4036c625bc7edcdb78"}},{"ruleId":"D2","level":"warning","message":{"text":"MakeShrinkMap.__call__ (cognitive 25): MakeShrinkMap.__call__ has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/make_shrink_map.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"faecfaecc169ef39c53ee5a14cc22eeaf16dd6666de9bc1547cd8935e026f0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"TheseusLayer.init_net (cognitive 24): TheseusLayer.init_net has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0814cfc59867af323a632510f8ccabcd67c5c5bffd69b59e5b917e70dfbad063"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionLayers.__init__ (cognitive 24): AttentionLayers.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 6 (8 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dffaf6a8970e9ea3a38dd33a5723b4fba479f7ebd42ca19faaee98c0c4f658"}},{"ruleId":"D2","level":"warning","message":{"text":"FCEFPN.__init__ (cognitive 24): FCEFPN.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/fce_fpn.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a295f8720daa0b89a3dec6013fbdf10378381b9f613407e659e6538ae07795d0"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRecLabelDecode.get_word_info (cognitive 24): BaseRecLabelDecode.get_word_info has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f66d8bbe22d277d3c53ef3d12885c7b007a406e98244a7e3df9089d17ea9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"det.decodeDetOutput (cognitive 24): det.decodeDetOutput has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8fc19e0fc4b451df1191b9866de48633a8defe7cd5cbba0699df8fffd87c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"pptx._format_run_segment (cognitive 23): pptx._format_run_segment has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83975094ba522efa88ab8fefe5391b8151c1e2cba96503373bc78d475b5d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"CVRandomAffine.__init__ (cognitive 23): CVRandomAffine.__init__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/abinet_aug.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94ef943e9bc71f265f9e6b02be242c8f2301862c55445a18d68b0c2e8b94dce"}},{"ruleId":"D2","level":"warning","message":{"text":"rec_pphgnetv2.set_identity (cognitive 23): rec_pphgnetv2.set_identity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb2fed67751277c52833dcefc509413e5758714a574312582546ec32430071"}},{"ruleId":"D2","level":"warning","message":{"text":"PPFormulaNet_Head.generate_export (cognitive 23): PPFormulaNet_Head.generate_export has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b92a34fb4be3f8e118563422c9773286cc94aafc02bb07410df36f3618fdaf0"}},{"ruleId":"D2","level":"warning","message":{"text":"StructureSystem.__call__ (cognitive 23): StructureSystem.__call__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/predict_system.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf57b4732ed5c54519a78fca66be74966f0722f55b804c18b81e2e96ac88343"}},{"ruleId":"D2","level":"warning","message":{"text":"infer_det.main (cognitive 23): infer_det.main has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 7 (10 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_det.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cbd9a8eceb45ceaf75fef379244b0b1230fd6c5100c09a5040f598d295ec9d"}},{"ruleId":"D2","level":"warning","message":{"text":"CTCDecoder.decode (cognitive 23): CTCDecoder.decode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/postprocess/CTCDecoder.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce10e99f6232c9c14b9a715e5df480a72ae60f23bb2b7cdbd941144b10d4005"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClient.fetch (cognitive 23): HttpClient.fetch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, error handling 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/internal/http.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b41cc83da55a875fd362cfecab0ebcdcd6adce88d65366e5472eecb0ce4f03e"}},{"ruleId":"D2","level":"warning","message":{"text":"config.normalizeOcrPipelineConfig (cognitive 23): config.normalizeOcrPipelineConfig has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10, boolean chains 8, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/config.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8d920bf927a3e6636a8f44f3e5be811966ab33bd2e6262001e74f1883daa3b"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._extract_headers_footers (cognitive 22): docx._extract_headers_footers has cognitive complexity 22 (threshold 15). Drivers by points: error handling 6 (13 pts), if/else 4 (8 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02ad3496ffd41775f22ea85c8b97819d2545de11279660034707444db1590b7"}},{"ruleId":"D2","level":"warning","message":{"text":"xlsx._extract_drawing_math (cognitive 22): xlsx._extract_drawing_math has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (7 pts), error handling 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/xlsx.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f840c851f0f3398b74404181cde4bef42e8e5fd2ab00bbc52c5e289e01242d"}},{"ruleId":"D2","level":"warning","message":{"text":"PGProcessTrain.crop_area (cognitive 22): PGProcessTrain.crop_area has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3acdb4b5f96699770904b9ea1143544583919a5a478794c5f9476a5b15fcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"random_crop_data.clip_poly_to_rect (cognitive 22): random_crop_data.clip_poly_to_rect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45843aca8111f47a677144b6f6a9147e0af43879fb80f1867728deb9513ad42"}},{"ruleId":"D2","level":"warning","message":{"text":"LaTeXOCRDataSet.__init__ (cognitive 22): LaTeXOCRDataSet.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/latexocr_dataset.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3362ed3bdb5a6c4039ddb1abe8fa23ddbe16235e388d544235d45f7f8bfa84e6"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery_to_doc.convert_info_docx (cognitive 22): recovery_to_doc.convert_info_docx has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/recovery_to_doc.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb95ecd8ffc2b9c96113b8649384534f8cb62ed5c633e6ad7f84d6cf74fe58cb"}},{"ruleId":"D2","level":"warning","message":{"text":"utility.text_visual (cognitive 22): utility.text_visual has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e0de193638adad70b0c7ca0de45f7419b6741aa84c306ea5318e6fe31e5e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLabelEncode.__call__ (cognitive 21): TableLabelEncode.__call__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bdd033a5dfa448ed6e21034a519278af286673a930cbe5fa42456ddb5258ed"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDataSet.get_ext_data (cognitive 21): SimpleDataSet.get_ext_data has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (2 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/simple_dataset.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3486b80f6eda92aa7c8c72f8b29daf4127f489d901d184baf5e9446e1dc2cbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"bleu.compute_bleu (cognitive 21): bleu.compute_bleu has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/metrics/bleu.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"65815938ff8afcc35b5ccff6e38bbd081006b51261ccb8e9c8892305fa0192c7"}},{"ruleId":"D2","level":"warning","message":{"text":"PPFormulaNet_Head.generate (cognitive 21): PPFormulaNet_Head.generate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dce6b137efbbcc4af5f855cc272b5a5f4a7f34126cde81edeff827bf80dad9"}},{"ruleId":"D2","level":"warning","message":{"text":"GA_SPIN_Transformer.forward (cognitive 21): GA_SPIN_Transformer.forward has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (21 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/gaspin_transformer.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce19b5aa8477f9eb6e6443ff5f58880afe0ee47f408a3b1321787983d10b302"}},{"ruleId":"D2","level":"warning","message":{"text":"AttnLabelDecode.decode (cognitive 21): AttnLabelDecode.decode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RFLLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb3200a8304df813973f70575a98d9c7b65a2c7c2a3101fda6166d52f108c20"}},{"ruleId":"D2","level":"warning","message":{"text":"RFLLabelDecode.decode (cognitive 21): RFLLabelDecode.decode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AttnLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb7b8edfad29b2e6e4798797cf98241af5bf553f66f06dad0d665bd3eb9c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"network._download (cognitive 21): network._download has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/network.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2afc451e505ce766f6f4fd99b2451fd8cf13a922f805343cc030a625abf3ff"}},{"ruleId":"D2","level":"warning","message":{"text":"utility.get_image_file_list (cognitive 21): utility.get_image_file_list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/utility.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"66db2a2c17c572ca92670bdec2c6bda32d75b8070c0a7e35e0520f4092e216e3"}},{"ruleId":"D2","level":"warning","message":{"text":"APP_Image2Doc.downloadModels (cognitive 21): APP_Image2Doc.downloadModels has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), error handling 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/pdf2word/pdf2word.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"28360d56e68e12ca7f4ff6df80072fcb3875d586c4bbd27b6bc209a95390c82a"}},{"ruleId":"D2","level":"warning","message":{"text":"TextSystem.__call__ (cognitive 21): TextSystem.__call__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_system.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447cc416cbc0c5be172b05c54d0c5b257a55b138864dba48690ec44e91d0d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"OCREngine.run (cognitive 21): OCREngine.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/engine/OCREngine.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8efe54ca4d9928eb07c4815a24550e22b2cb57afb56a50e3980a7457f488577"}},{"ruleId":"D2","level":"warning","message":{"text":"cli._execute_api (cognitive 20): cli._execute_api has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, error handling 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_api_client/cli.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"55048ab15ffb32f2cb46cf98c572a0dc76f3dd6dc184f42b878bf6bf523ac456"}},{"ruleId":"D2","level":"warning","message":{"text":"DetResizeForTest.resize_image_type0 (cognitive 20): DetResizeForTest.resize_image_type0 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a7b95edcb3efd3e314da23097a6bb31e1c093da24db4db5e47c5a7e5a43187"}},{"ruleId":"D2","level":"warning","message":{"text":"random_crop_data.crop_area (cognitive 20): random_crop_data.crop_area has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/random_crop_data.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf18c0d1f6721a426188ae8cd5d81a46bea8085f7f1acd07c389ea9e7fc6f11"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiScaleSampler.iter (cognitive 20): MultiScaleSampler.iter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/multi_scale_sampler.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1692fec47b8aa6c6f77543b198d6be254549ad35e22d0c93e78990f6f59bca90"}},{"ruleId":"D2","level":"warning","message":{"text":"DonutSwinEncoder.forward (cognitive 20): DonutSwinEncoder.forward has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (5 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"2073b5de27bbefc3dccc157c118375aa74a978a1710bb106be32a18add8f6136"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelEMA.__init__ (cognitive 20): ModelEMA.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/ema.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bb06bc5cd201791d8bfffbfada4435d4ed69b00244b0dd85ce9e0b7f75ea34"}},{"ruleId":"D2","level":"warning","message":{"text":"StructureSystem.__init__ (cognitive 20): StructureSystem.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/predict_system.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d74b7352030f6655170ac33c4c412607c3806fe0ae2be2ddf67a52ada60b88"}},{"ruleId":"D2","level":"warning","message":{"text":"tablepyxl.write_rows (cognitive 20): tablepyxl.write_rows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/tablepyxl/tablepyxl.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7645e5d90e016eacbfee31a50043294380824f501b14fc981b59f695d4364bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"program.check_device (cognitive 20): program.check_device has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e412e30b1c9e45b4346c00155a190bfd2d9792f48dfaab18a890701633fb317"}},{"ruleId":"D2","level":"warning","message":{"text":"shared.readExplicitPipelineRuntimeDefaults (cognitive 20): shared.readExplicitPipelineRuntimeDefaults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/shared.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d61f466e5a916faccb738bbc9a32fd9755f91fa1f610a43366961cfad6807b"}},{"ruleId":"D2","level":"warning","message":{"text":"draw-text.drawTextPanel (cognitive 20): draw-text.drawTextPanel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/viz/ocr/draw-text.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322bd88df5411c247b0a7c2dcd08cee0583798080a1b3b5cede27f8da42b405"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._extract_textbox_paragraphs (cognitive 19): docx._extract_textbox_paragraphs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2f55cb9cef1343f51b7bfef3d0a800d3e77534856aea4e9fff50177e4d031"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupRandomCropPadding.__call__ (cognitive 19): GroupRandomCropPadding.__call__ has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/ct_process.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcf14e0d157184766e4e743e0963f1e03f96cf6675da7e037d6efe8cfec9b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmenterBuilder.map_arguments (cognitive 19): AugmenterBuilder.map_arguments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/iaa_augment.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"33175c0b68b1d0c306c1498afa28c62bd47ad82e273460159fdf40c1f71a345a"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiScaleSampler.__init__ (cognitive 19): MultiScaleSampler.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/multi_scale_sampler.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce2f889fd332d1f460f64861b036d1ca0837d46d376856c8d30da3d7861c9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Attention.forward (cognitive 19): Attention.forward has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1057a760d6ce3db6d804ee1580c320f9151ea26f918b583407a56ca4608142ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FCEFPN.forward (cognitive 19): FCEFPN.forward has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/fce_fpn.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"086f9445d543d25fbc227483cafe87ce0759cc280c61623cec4bfb71f5998d03"}},{"ruleId":"D2","level":"warning","message":{"text":"SASTPostProcess.detect_sast (cognitive 19): SASTPostProcess.detect_sast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c764155fc24a85ef62fac05036bf506b4bdb3674b3f2f770f49fbe52e8af0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.pollUntilDone (cognitive 19): Client.pollUntilDone has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/poller.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a8056a5ac790fffddd285a964d46c9ec601a0ebc7baedbf3559a73acd1e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"paddleocr.parseDocParsingResult (cognitive 19): paddleocr.parseDocParsingResult has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/ocr.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"122efb9a47ff78383ecd5e8511b92eb6208b015eb47442b30e566ee233869ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"docx._detect_heading_level (cognitive 18): docx._detect_heading_level has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d48bec4315c9f16596d1af0556fe25138ccda294ce8a67df2076ba78fa107"}},{"ruleId":"D2","level":"warning","message":{"text":"PPStructureV3._get_ocr_model_names (cognitive 18): PPStructureV3._get_ocr_model_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_structurev3.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d5d5e77a12f8d4717e63bedee8daca5072de6e226de5711b372d9c111e99e4"}},{"ruleId":"D2","level":"warning","message":{"text":"GenTableMask.projection (cognitive 18): GenTableMask.projection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2301e796028dcd1f0d94739ebb14eb9737797914eb256f7af94a58e68ee0156"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModel.forward (cognitive 18): BaseModel.forward has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/architectures/base_model.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b82381a684c29b288597c927776405cb391c581ec75764078bb8697f36b57e"}},{"ruleId":"D2","level":"warning","message":{"text":"rec_hybridvit._init_vit_weights (cognitive 18): rec_hybridvit._init_vit_weights has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_hybridvit.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe4348e101481204fb51bbd3810251978b651bb0503a5ad332dc87b08946ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionLayers.forward (cognitive 18): AttentionLayers.forward has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae62796d533fa56f7a74bdd35ea26607dc0c6b9254994e28f0d7798a6ef755"}},{"ruleId":"D2","level":"warning","message":{"text":"SEEDLabelDecode.decode (cognitive 18): SEEDLabelDecode.decode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SRNLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd32a3ff1a72390834cbf204df77ff88bb9f390de7ad4b9f1014b92ca32bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"SRNLabelDecode.decode (cognitive 18): SRNLabelDecode.decode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SEEDLabelDecode.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f69a3879a84dfcf8a514c30da0634219b3be6c830c6d007c281614b2a531e64"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlToDocx.handle_data (cognitive 18): HtmlToDocx.handle_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/table_process.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"457ae1f0a82e0f4525971ae7ed9301367a5e46388a7c279b5c9279b0af045034"}},{"ruleId":"D2","level":"warning","message":{"text":"TextDetector.__init__ (cognitive 18): TextDetector.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c8734b128a4bae109580a6c7de88b0968ae0a173a06c74066cd38d9b06b2db"}},{"ruleId":"D2","level":"warning","message":{"text":"paddleocr.parseOCRResult (cognitive 18): paddleocr.parseOCRResult has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/ocr.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e58627d8cf9303e397b7bd50bbdbe086c2453addfbea38f92e43c95bc73460"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_multi_language_configs.merge_config (cognitive 17): generate_multi_language_configs.merge_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/rec/multi_language/generate_multi_language_configs.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e43be80a45539f5f80ebf9086b83b9c06c2ad81561d742851839a3023a46cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"xlsx._find_data_bounds (cognitive 17): xlsx._find_data_bounds has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/xlsx.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e720e557ee914d94f8c40ee25719624652c01c0b3b302fd1ea7657cc9a0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetLabelEncode.set_truncation_and_padding (cognitive 17): UniMERNetLabelEncode.set_truncation_and_padding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4f6977bfe935855c715837f2ce60bab8295163ef9355e99eac9155c8cb97d"}},{"ruleId":"D2","level":"warning","message":{"text":"DistillationVQADistanceLoss.forward (cognitive 17): DistillationVQADistanceLoss.forward has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"22966df78c32ea60fc665a6428b9f338650f59058a914375c503f1fce7788b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"TheseusLayer.upgrade_sublayer (cognitive 17): TheseusLayer.upgrade_sublayer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"921c25476e08145408daffd2c636c8a267cef3567852a042b9ad6929698a0bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"rec_pphgnetv2.parse_pattern_str (cognitive 17): rec_pphgnetv2.parse_pattern_str has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77f46522f87e9432f8f8d01cf4015721b0c1a5978f9713fb1c1e4459c632c2"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalGraphs.generate_local_graphs (cognitive 17): LocalGraphs.generate_local_graphs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/local_graph.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d839d24883d18654306381fad813384134dc69c2c13b94b4a35fcf271556d068"}},{"ruleId":"D2","level":"warning","message":{"text":"PPFormulaNet_Head._prepare_decoder_input_ids_for_generation (cognitive 17): PPFormulaNet_Head._prepare_decoder_input_ids_for_generation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd2e539a066c98993cb15afa4ded8d73a79989eb884c838263415aa35bdffb"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlToDocx.handle_table (cognitive 17): HtmlToDocx.handle_table has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/table_process.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad81cf67d0d6cd9e657410dab8e46dd1b373bbee08cebdd8ca40d97e9e33e651"}},{"ruleId":"D2","level":"warning","message":{"text":"TextRecognizer.resize_norm_img (cognitive 17): TextRecognizer.resize_norm_img has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2cbf6cb49f9dc8f255cefc637f4647881716092f6a5a350c35559fa5707889"}},{"ruleId":"D2","level":"warning","message":{"text":"program.merge_config (cognitive 17): program.merge_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b9cf882327b43835707348edcde0182720e68137882e1541ffc4c3192cb202"}},{"ruleId":"D2","level":"warning","message":{"text":"program.preprocess (cognitive 17): program.preprocess has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c2a62b9fee774b56c81294c596ad983372cb1b34ecd2c4bbdc605add74e757"}},{"ruleId":"D2","level":"warning","message":{"text":"DRRGTargets.find_head_tail (cognitive 16): DRRGTargets.find_head_tail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e552d45f6c2ac02504bbc8893a48000a5cedbf3ae65d5f2d75aa1913b41868f"}},{"ruleId":"D2","level":"warning","message":{"text":"EASTProcessTrain.crop_area (cognitive 16): EASTProcessTrain.crop_area has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1308e06dab552fc4a7fbd9a2db0d1d493dedb08b470a583b27cef10a4bafa51"}},{"ruleId":"D2","level":"warning","message":{"text":"FCENetTargets.find_head_tail (cognitive 16): FCENetTargets.find_head_tail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_targets.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e51230de76906b5b346aeb7f9e746987f0d452c5a26b76e624b2c6d954501e"}},{"ruleId":"D2","level":"warning","message":{"text":"AugmenterBuilder.build (cognitive 16): AugmenterBuilder.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/iaa_augment.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f4fb8dbfda714812aada6e1253fef6b8983606579263a2448169058a79f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"LatexOCRLabelEncode._convert_encoding (cognitive 16): LatexOCRLabelEncode._convert_encoding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UniMERNetLabelEncode._convert_encoding) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f9b0f8377895ba4cda2a9a4f9a5ac481a6548ba9f33b730d131fd1fbec1d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetLabelEncode._convert_encoding (cognitive 16): UniMERNetLabelEncode._convert_encoding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LatexOCRLabelEncode._convert_encoding) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2b4fcffff9e9ee976a5741ed71f00e6ff7b0a4dd8e66c5f10af27774f8deda"}},{"ruleId":"D2","level":"warning","message":{"text":"SASTProcessTrain.crop_area (cognitive 16): SASTProcessTrain.crop_area has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/sast_process.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04f9162a75d2638a56384bc39bcd1b0c722bc3244c8a3ea6841cc1b337f3633"}},{"ruleId":"D2","level":"warning","message":{"text":"SASTProcessTrain.__call__ (cognitive 16): SASTProcessTrain.__call__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/sast_process.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95405ca4d53bc731c0add55ceefe89b459a35ab61c58c82532cbcf333aa897e"}},{"ruleId":"D2","level":"warning","message":{"text":"GenTableMask.__call__ (cognitive 16): GenTableMask.__call__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c1f3cd55f9e7c237312362c7ca68dd2c53f4b51a2eb898aeeaf9f1a4d6c39"}},{"ruleId":"D2","level":"warning","message":{"text":"GoTImgDecode._compute_resized_output_size (cognitive 16): GoTImgDecode._compute_resized_output_size has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (UniMERNetImgDecode._compute_resized_output_size, UniMERNetResize._compute_resized_output_size) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ba1473047c4ba6a1557ef3f4db0da77d64522112afec44983ed12093ca43f"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetImgDecode._compute_resized_output_size (cognitive 16): UniMERNetImgDecode._compute_resized_output_size has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (GoTImgDecode._compute_resized_output_size, UniMERNetResize._compute_resized_output_size) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be437d7b4a62aab397f60f6f6b747a247a50b09f998f499535554204a8ac0ef"}},{"ruleId":"D2","level":"warning","message":{"text":"UniMERNetResize._compute_resized_output_size (cognitive 16): UniMERNetResize._compute_resized_output_size has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (GoTImgDecode._compute_resized_output_size, UniMERNetImgDecode._compute_resized_output_size) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf58b86c6aabd1579df6fce317d4b398c0006e40b826fca4a400d954850666"}},{"ruleId":"D2","level":"warning","message":{"text":"DiverseBranchBlock.__init__ (cognitive 16): DiverseBranchBlock.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf029dfbc6df1e006bdae9af938a98505bf7ca4939217a7222abbce20aa8d8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseQHead.forward_test (cognitive 16): ParseQHead.forward_test has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_parseq_head.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb071306a42cd992e4c2a5c116cd25838ef6ded96c29f025ddcca2bea6a24e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"PRENLabelDecode.decode (cognitive 16): PRENLabelDecode.decode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bf004c6a53a8eb2211fa135dd34224b3f57c363d40ac0710c6854e69e7e501"}},{"ruleId":"D2","level":"warning","message":{"text":"save_load.load_pretrained_params (cognitive 16): save_load.load_pretrained_params has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7707921856da93cdf15986c8d5089c56552bc9e5f765d3c077bd484752614c82"}},{"ruleId":"D2","level":"warning","message":{"text":"table_master_match.sort_bbox (cognitive 16): table_master_match.sort_bbox has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/table_master_match.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f97ba8e7826122db6af2f678bb1d30f0b4a13028974915aa78a98e886d9663"}},{"ruleId":"D2","level":"warning","message":{"text":"TextDetector.predict (cognitive 16): TextDetector.predict has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 2 (4 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7c430fb7bb27b02c92d4f7a99e3cddc3f8f8ea1bd853409fce7f49bfbc8a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heads/rec_unimernet_head.py: FileTooLong \u2014 1974 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1474 over it, 3.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaeaed84ef6960cd1c25ee26f365ba31ce2f42a447f24fc90f76fa91e8b0465"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/label_ops.py: FileTooLong \u2014 1758 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1258 over it, 3.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c81f4b31d540c71a8a8b774c83157f2bf87994b752e7a20855d03ca0bfa91d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: converters/docx.py: FileTooLong \u2014 1225 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 725 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c26780849cbf185fa210ca6ca60bfd97c6cbb45fd67d99e061e09b1e58abc62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postprocess/rec_postprocess.py: FileTooLong \u2014 1212 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 712 over it, 2.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ef82dff8bb3a2873ce52b38b7ea7cf085b319502bb387a068c8fd54aecc325"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backbones/rec_pphgnetv2.py: FileTooLong \u2014 1115 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 615 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed3c46f3370c9b4811a47a99ec1d3eed4e4d87e1d2338e46b52fc67443f371"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heads/rec_ppformulanet_head.py: FileTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 487 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c5d2ee8dd857adf3ae58c015335fd80813898d7019501a131acf1306900e96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: losses/distillation_loss.py: FileTooLong \u2014 984 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 484 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8b36d2650b182e14ce5747cf0dd624b8b60c8b6018416c2a7adf4ea615c63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backbones/rec_resnetv2.py: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 459 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnetv2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"901916b59ea1887eba76ee75f375aec7f6927191d9a5002ed471cdf3ddb1d8e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backbones/rec_donut_swin.py: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 398 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"049640349cd86660a9dddd884c8b31ffeee4e495320e5aad26f4469a486088e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _pipelines/pp_structurev3.py: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_structurev3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b7fb24861a0322a4f5aaabd1c39df11824fd1c842e8412a77ed71faf40b046"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/pg_process.py: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d514af5d8382426335590edaf71b75bd834f63088d5f2ae3a2eb76dbdb47e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: infer/predict_rec.py: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c38029038a519bc7d886995a0472e39a9a67c4dad491a016b85484a88fd039d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/program.py: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b209796661bff164949309ec12b31ae8faaf1bef01f5e5d23950dfb1baeb0fdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: infer/utility.py: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa522bcf5c12a17178d48e534005c992e141a0305868e684ddd2fc2ef5b7595"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heads/rec_latexocr_head.py: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca838ebd4f9e610e5dfc23461242d7a2f7449f0d0f4a81d1ed6173856c74cc99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _pipelines/pp_doctranslation.py: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_doctranslation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2f3cdbe948adc5ecf478adbf48ece43dabb486dd9c92a95f5206d17875e68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: necks/db_fpn.py: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 221 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f027c2722274325e1dfc71d9bcd185b4ef268dbf699154645345d32a310e7134"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/rec_img_aug.py: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 220 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1210f8813732a1109d39b7b5786a1503ba750f965ee1fd3d414925285e4892"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/unimernet_aug.py: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0440e4896dd6910c3c35fb665be4a1c96bddd2c42e4934252c355e7a477f28e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _pipelines/pp_chatocrv4_doc.py: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0919233748d7f8b7e4e11cf9c79a53219a05cbd29f613e9eee80c69b28db2090"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: table/table_master_match.py: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/table_master_match.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6203525511e3eba273be9abf6c968f014bdfefd2bcf6bbb50c4790bcea579c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/sast_process.py: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/sast_process.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d198a8b81a483cda16ff6b2a7eaad2f7f54109173059dd8317e6d7096341f81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/drrg_targets.py: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7296edb30dddf87cd5fd54be68e2634af4cf4aa29bd2f7065e108094b727b101"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backbones/rec_svtrnet.py: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0eba8f53c44e0f88fe3f72afe2aaa2ca8b3b3cc800c7d3e8f4619d0811b2d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PPStructureV3Options: TooManyFields \u2014 32 stored fields beside 1 method. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/models.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c932c0a49bdfdaf842202b9f68cbc9f8f29a062e207c25b87f60db6b3977b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backbones/rec_lcnetv4.py: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_lcnetv4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3603cdef6effafbb997f23fe34aa2c505daa0fdc5bf397519b41b7fddc5ccca5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaddleOCRVLOptions: TooManyFields \u2014 31 stored fields beside 1 method. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/go/models.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba519cdd9df3c4f06969b5a3f94c52d083a6978c72dcdedca3e3369d8cadcda9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaug/operators.py: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c083d2e361b36f043cfe603726f3024d885e6075284c27b0e9f8f3ab0715dedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 47 shared lines): paddleocr/_pipelines/ocr.py:431-588 | paddleocr/_pipelines/paddleocr_vl.py:306-497 | paddleocr/_pipelines/pp_chatocrv4_doc.py:430-682 | paddleocr/_pipelines/pp_doctranslation.py:568-908 | paddleocr/_pipelines/pp_structurev3.py:699-1025 | paddleocr/_pipelines/seal_recognition.py:251-372 | paddleocr/_pipelines/table_recognition_v2.py:275-434 \u2014 These 7 members are variants of one another: a block of 47 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4659a5606ee6b7e841011cae8e4a79e862778c830ff2677b488f1d0d672de6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 38 shared lines): ppocr/losses/distillation_loss.py:102-140 | ppocr/losses/distillation_loss.py:198-245 | ppocr/losses/distillation_loss.py:306-356 | ppocr/losses/distillation_loss.py:452-499 | ppocr/losses/distillation_loss.py:560-610 \u2014 These 5 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dcaef24d1c5476cffa74edcbd9187ade4ede2bd87561641c36d61b2444440f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 17 shared lines): ppocr/losses/distillation_loss.py:198-245 | ppocr/losses/distillation_loss.py:306-356 | ppocr/losses/distillation_loss.py:363-394 | ppocr/losses/distillation_loss.py:452-499 | ppocr/losses/distillation_loss.py:560-610 \u2014 These 5 members are variants of one another: a block of 17 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be9b18b47d997f13da9720cc24613d198ce7746a7d855f6d91ce1369da0e8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 11 shared lines): ppocr/modeling/necks/db_fpn.py:188-218 | ppocr/modeling/necks/db_fpn.py:271-304 | ppocr/modeling/necks/db_fpn.py:386-421 | ppocr/modeling/necks/db_fpn.py:509-551 | ppocr/modeling/necks/db_fpn.py:898-942 \u2014 These 5 members are variants of one another: a block of 11 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6726183e220a7a886be25055dd62420496eb28fcbc3667f546dca11bddf6925b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 64 shared lines): paddleocr/_pipelines/formula_recognition.py:185-281 | paddleocr/_pipelines/pp_chatocrv4_doc.py:430-682 | paddleocr/_pipelines/pp_doctranslation.py:568-908 | paddleocr/_pipelines/pp_structurev3.py:699-1025 \u2014 These 4 members are variants of one another: a block of 64 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5829a1bb7825651c9cb9f70ac9ededae7cb74dfb255f6bcdceed90deeeb9ec54"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 54 shared lines): paddleocr/_pipelines/formula_recognition.py:185-281 | paddleocr/_pipelines/paddleocr_vl.py:306-497 | paddleocr/_pipelines/pp_doctranslation.py:568-908 | paddleocr/_pipelines/pp_structurev3.py:699-1025 \u2014 These 4 members are variants of one another: a block of 54 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c35c55f246d9eecfe531008d2f7a0476f19d7e4662e2f5cbc3c5793e8e639"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): ppocr/postprocess/sast_postprocess.py:79-107 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:336-364 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:72-100 | ppocr/utils/e2e_utils/visual.py:129-157 \u2014 These 4 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb9205001cb243f9a7c1a266dfa9a56b2604b0c44433e58b5b56b4ffe69d6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 16 shared lines): ppocr/data/imaug/pg_process.py:82-107 | ppocr/data/imaug/pg_process.py:668-699 | ppocr/data/imaug/sast_process.py:59-86 | ppocr/data/imaug/sast_process.py:453-484 \u2014 These 4 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd553ce4408214d9b31d00a3aee63bb17e4cf822b835cbfca2b9ceb7c9b96e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 15 shared lines): deploy/avh/convert_image.py:29-52 | ppocr/data/imaug/rec_img_aug.py:632-656 | tools/infer/predict_cls.py:68-87 | tools/infer/predict_rec.py:433-457 \u2014 These 4 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d56d5b77e8a05ccc7869bf173b320a46852e7b74e28b410012befa2d09ec7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 147 shared lines): ppocr/modeling/heads/rec_ppformulanet_head.py:427-635 | ppocr/modeling/heads/rec_unimernet_head.py:1022-1199 | ppocr/modeling/heads/rec_unimernet_head.py:1679-1880 \u2014 These 3 members are variants of one another: a block of 147 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2281aa66f8e7680be1a298604cb023998028d306b2b4ba5b3526638424b1336f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 40 shared lines): ppocr/modeling/backbones/det_resnet_vd.py:265-357 | ppocr/modeling/backbones/det_resnet_vd_sast.py:192-302 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:190-282 \u2014 These 3 members are variants of one another: a block of 40 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b6b5d81c4a42d814007f25fd26790c1e78818624519917d57d0cef24ef5cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): ppocr/data/imaug/drrg_targets.py:83-175 | ppocr/data/imaug/fce_targets.py:171-276 \u2014 These two members are variants of one another: 89 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7affc2ff9adcfdb0b523d97ed240651dc3c360f9996e1a4906dfef63593dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): ppocr/data/imaug/pg_process.py:941-1116 | ppocr/data/imaug/sast_process.py:682-810 \u2014 These two members are variants of one another: 67 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab14c4aa7a49ddb97dee1fcb0903f2af8386781f63e0a2b4892fa84f8da23cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (66 shared lines): ppocr/data/imaug/pg_process.py:461-638 | ppocr/data/imaug/sast_process.py:259-335 \u2014 These two members are variants of one another: 66 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6571a5e8edda6f7373666414706af4d7818d39f4e1156f6a157a7ce7fd9c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): deploy/slim/quantization/export_model.py:44-184 | deploy/slim/quantization/quant.py:91-221 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c9d30052c969a71ba8327c055f77d02da669ef2f2cb00a0dcbb6d3d7423620"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): ppocr/data/imaug/pg_process.py:641-665 | ppocr/data/imaug/sast_process.py:426-450 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9758b7ed1aad2afbb8387324deab2268e9a46acd5e134bcb677f590d9770ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): ppocr/modeling/heads/rec_att_head.py:42-84 | ppocr/modeling/heads/rec_spin_att_head.py:46-91 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"336561aa5c03203e39c63f648d88415da53a773c84c511444e533ef77a68edca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ppocr/data/imaug/pg_process.py:315-403 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:95-131 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83bcc977f91f7dbc943377aa3fb6143994d5612d5ce84c39c85f14e43ec1f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ppocr/modeling/necks/fpn.py:27-59 | ppocr/modeling/necks/fpn.py:67-120 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/fpn.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e4318956424d2e4b64e4d7001f25dcb46597537467670a66d236033f96b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ppocr/postprocess/rec_postprocess.py:1237-1250 | ppocr/postprocess/rec_postprocess.py:1521-1534 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f0e4ba7e72871acc71dcdd3d4bcd804fa5af211b56bc3a24d15997796acabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ppocr/postprocess/db_postprocess.py:169-187 | tools/infer/utility.py:913-932 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/db_postprocess.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f647c4fd30fe1d058707345dd89af993db8533f4fc3020efc591803680bb4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): paddleocr/_pipelines/paddleocr_vl.py:129-155 | paddleocr/_pipelines/paddleocr_vl.py:186-214 | paddleocr/_pipelines/pp_chatocrv4_doc.py:131-155 | paddleocr/_pipelines/pp_chatocrv4_doc.py:184-210 | paddleocr/_pipelines/pp_doctranslation.py:140-173 | paddleocr/_pipelines/pp_doctranslation.py:211-246 | paddleocr/_pipelines/pp_structurev3.py:186-221 | paddleocr/_pipelines/pp_structurev3.py:261-298 | paddleocr/_pipelines/seal_recognition.py:107-124 | paddleocr/_pipelines/seal_recognition.py:146-165 | paddleocr/_pipelines/table_recognition_v2.py:96-117 | paddleocr/_pipelines/table_recognition_v2.py:143-166 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a42daa072c6d9a0c5bf750525316da3ee23f863a5a3ec68b484941359c22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): deploy/hubserving/kie_ser/module.py:50-70 | deploy/hubserving/kie_ser_re/module.py:50-70 | deploy/hubserving/ocr_cls/module.py:46-66 | deploy/hubserving/ocr_det/module.py:48-68 | deploy/hubserving/ocr_rec/module.py:46-66 | deploy/hubserving/ocr_system/module.py:49-69 | deploy/hubserving/structure_layout/module.py:48-67 | deploy/hubserving/structure_system/module.py:50-70 | deploy/hubserving/structure_table/module.py:50-69 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70b5f0458dc74b0a6634cdefc71fc4f1b57550702feefc8e6716f2cffbb7a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): deploy/hubserving/kie_ser/module.py:76-86 | deploy/hubserving/kie_ser_re/module.py:76-86 | deploy/hubserving/ocr_cls/module.py:72-82 | deploy/hubserving/ocr_det/module.py:74-84 | deploy/hubserving/ocr_rec/module.py:72-82 | deploy/hubserving/ocr_system/module.py:75-85 | deploy/hubserving/structure_layout/module.py:71-81 | deploy/hubserving/structure_system/module.py:74-84 | deploy/hubserving/structure_table/module.py:73-83 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c09f956232fe5108510e16f2baf3dddcea4752edb31aee5abd830f16f1bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): deploy/hubserving/kie_ser/module.py:102-132 | deploy/hubserving/kie_ser_re/module.py:102-134 | deploy/hubserving/ocr_cls/module.py:98-139 | deploy/hubserving/ocr_det/module.py:100-135 | deploy/hubserving/ocr_rec/module.py:98-139 | deploy/hubserving/ocr_system/module.py:101-145 | deploy/hubserving/structure_layout/module.py:97-131 | deploy/hubserving/structure_system/module.py:100-137 | deploy/hubserving/structure_table/module.py:99-131 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce86e24c3bda1df44f2562778b31b6f32ea5f091446048e4251566121ed6a8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ppocr/modeling/heads/det_east_head.py:39-60 | ppocr/modeling/heads/det_sast_head.py:38-59 | ppocr/modeling/heads/e2e_pg_head.py:39-61 | ppocr/modeling/necks/east_fpn.py:38-59 | ppocr/modeling/necks/east_fpn.py:80-100 | ppocr/modeling/necks/pg_fpn.py:86-108 | ppocr/modeling/necks/sast_fpn.py:37-58 | ppocr/modeling/necks/sast_fpn.py:78-98 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_east_head.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f2b494138c7cdd0bf82b9465beecafb6945e2d435719acc28267ce0b9c1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): ppocr/modeling/backbones/rec_svtrnet.py:590-596 | ppocr/modeling/backbones/rec_svtrv2.py:563-569 | ppocr/modeling/backbones/rec_vit.py:252-258 | ppocr/modeling/backbones/rec_vit_parseq.py:293-299 | ppocr/modeling/backbones/rec_vitstr.py:110-116 | ppocr/modeling/heads/rec_cppd_head.py:287-293 | ppocr/modeling/necks/rnn.py:208-214 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5068a95c455cc7f4a00063b45cfceef5fadb0d0ef5d86eeb393920761486f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ppocr/data/imaug/operators.py:327-347 | ppocr/data/imaug/operators.py:372-387 | ppocr/data/imaug/operators.py:390-417 | ppocr/utils/e2e_utils/visual.py:20-46 | ppocr/utils/e2e_utils/visual.py:50-70 | ppocr/utils/e2e_utils/visual.py:74-92 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c48bfe769e51fe0139d589a53979381262c647aa688e00f1a52381bafc6bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ppocr/data/imaug/pg_process.py:702-710 | ppocr/data/imaug/sast_process.py:487-495 | ppocr/postprocess/sast_postprocess.py:68-76 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:329-332 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:62-68 | ppocr/utils/e2e_utils/visual.py:119-125 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bb56879dc807c2956526206b92d23ee3c1c2fc2e4f3483885389a588dfd4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ppocr/postprocess/rec_postprocess.py:286-313 | ppocr/postprocess/rec_postprocess.py:364-391 | ppocr/postprocess/rec_postprocess.py:464-488 | ppocr/postprocess/rec_postprocess.py:545-571 | ppocr/postprocess/rec_postprocess.py:706-740 | ppocr/postprocess/rec_postprocess.py:781-815 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f72ff7195749f8627e5d7455424ee350867ff32ef0e4f1110f5df3289864476"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ppocr/data/imaug/east_process.py:292-364 | ppocr/data/imaug/fce_aug.py:188-224 | ppocr/data/imaug/pg_process.py:158-236 | ppocr/data/imaug/random_crop_data.py:417-463 | ppocr/data/imaug/sast_process.py:135-207 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"672e08158a2cc1f168562fc2b619304fb5abb552e99e778060b89298b4431b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ppocr/losses/distillation_loss.py:89-99 | ppocr/losses/distillation_loss.py:185-195 | ppocr/losses/distillation_loss.py:293-303 | ppocr/losses/distillation_loss.py:439-449 | ppocr/losses/distillation_loss.py:547-557 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa6e651630beb7aedb61da006000621e2150552a9a290530504feafd97526fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ppocr/losses/rec_att_loss.py:29-43 | ppocr/losses/rec_rfl_loss.py:36-70 | ppocr/losses/rec_sar_loss.py:18-36 | ppocr/losses/rec_satrn_loss.py:35-53 | ppocr/losses/rec_spin_att_loss.py:36-52 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_att_loss.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"30437731497ec41671f48c74552d335bb6aaa201e5771dfda88878a41e8002cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ppocr/modeling/backbones/det_resnet.py:75-86 | ppocr/modeling/backbones/det_resnet_vd.py:202-212 | ppocr/modeling/backbones/det_resnet_vd_sast.py:124-134 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:122-132 | ppocr/modeling/backbones/rec_resnet_vd.py:124-135 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae161ef23e9ef29061fd8816acd36c2e4663ac1a024e2cabc9db8b1afa2301"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ppocr/postprocess/rec_postprocess.py:316-333 | ppocr/postprocess/rec_postprocess.py:395-420 | ppocr/postprocess/rec_postprocess.py:743-753 | ppocr/postprocess/rec_postprocess.py:818-828 | ppocr/postprocess/rec_postprocess.py:935-960 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"96706cdc865d44265197c8680ea94fdbcd8b2c7fa610f5f158d29fe2629df2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/data/imaug/east_process.py:292-364 | ppocr/data/imaug/fce_aug.py:87-185 | ppocr/data/imaug/pg_process.py:158-236 | ppocr/data/imaug/sast_process.py:135-207 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811cb0452bddeecae30c260ffed1799eb983873c2b1b52e974cc60f41a69db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/data/imaug/label_ops.py:878-889 | ppocr/data/imaug/label_ops.py:927-938 | ppocr/postprocess/rec_postprocess.py:693-703 | ppocr/postprocess/rec_postprocess.py:768-778 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc81dfdcdee46a61fab8e70a9dbb9c9e369f817ca927961a0e0bce3148e7783"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/modeling/backbones/det_resnet_vd_sast.py:39-66 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:39-66 | ppocr/modeling/backbones/rec_resnet_vd.py:39-66 | ppocr/modeling/necks/pg_fpn.py:37-65 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1426d8ff5ae93d25baa1c86b5a7c7d9ea48629b0b6db79281dd6c7e6184dc075"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/modeling/backbones/det_resnet_vd_sast.py:86-121 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:84-119 | ppocr/modeling/backbones/rec_resnet_fpn.py:243-275 | ppocr/modeling/backbones/rec_resnet_vd.py:86-121 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2fb86c79eaf4c2756b09d954ee4746f2cc4319d7c3c2b33c7978b209e217b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/modeling/backbones/rec_resnet_32.py:109-123 | ppocr/modeling/backbones/rec_resnet_45.py:71-85 | ppocr/modeling/backbones/rec_resnet_aster.py:65-76 | ppocr/modeling/backbones/rec_resnet_rfl.py:70-84 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_32.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f9901fec7a50cc29bb99fd88958abdbf225e0d188d5ca9fc76d89297deb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/modeling/heads/rec_ppformulanet_head.py:1062-1180 | ppocr/modeling/heads/rec_ppformulanet_head.py:1188-1292 | ppocr/modeling/heads/rec_unimernet_head.py:2416-2489 | ppocr/modeling/heads/rec_unimernet_head.py:2497-2574 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec479a282f4de380a9b2ae3038e5186ea1c96daa2a47b510ecc5b162f421ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/modeling/necks/db_fpn.py:248-268 | ppocr/modeling/necks/db_fpn.py:334-374 | ppocr/modeling/necks/db_fpn.py:434-506 | ppocr/modeling/necks/db_fpn.py:839-895 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f50b7147ea3941763597b9f2927786a2e06dcaeca20bad7efd0223fcfb66b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/postprocess/sast_postprocess.py:56-65 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:317-325 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:39-58 | ppocr/utils/e2e_utils/visual.py:96-115 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f9bc011859701b58e00bc7d5902219a27850ba7570b8016784a8ca5468a1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/infer_cls.py:41-79 | tools/infer_det.py:58-138 | tools/infer_e2e.py:103-165 | tools/infer_table.py:47-115 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_cls.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5081f3e678f1da539719c999417cf14caa666cdd8b7e614368a354dd75b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): ppocr/modeling/backbones/det_resnet_vd_sast.py:239-302 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:218-282 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6c04eed3c7dffba853dbb942968ba7d53518340ecffc983fae3c01a10c675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201363 lines \u00D7 2): ppocr/data/imaug/label_ops.py:1966-2028 | ppocr/postprocess/rec_postprocess.py:1321-1382 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"e162754650c51c51754f2346feb07cd2042cb2cbdd112150c10537456539ba6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 2): paddleocr/_pipelines/pp_chatocrv4_doc.py:572-621 | paddleocr/_pipelines/seal_recognition.py:306-354 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 and \u0060paddleocr/_pipelines/seal_recognition.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 281 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py:572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6fec7d826a7d345d17c1da6c8e28905fbe86dcad34a1f82b3fbbf376ac4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201349 lines \u00D7 2): ppocr/modeling/backbones/det_mobilenet_v3.py:50-95 | ppocr/modeling/backbones/rec_mobilenet_v3.py:57-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_mobilenet_v3.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"097c6da34ee65b727d61fc3f44346186b0b55bad1633c1c9f2d33b57ffb1baef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:134-182 | ppocr/modeling/necks/table_fpn.py:42-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4871a7e409cb04b8b6e596cf92a9406980b4567adc3e93b4214052ddbc286e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201348 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:429-476 | ppocr/modeling/heads/rec_unimernet_head.py:1022-1066 | ppocr/modeling/heads/rec_unimernet_head.py:1680-1724 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bef95d8871e0de453de1f66f21229b94f490953b38f94ad0639bc36aea075c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:544-590 | ppocr/modeling/heads/rec_unimernet_head.py:1117-1164 | ppocr/modeling/heads/rec_unimernet_head.py:1791-1838 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:544\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2aa284d7170ac75bd3ccfff3596ef83172eaffc57ccefec7301ff8c5e1eee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): ppocr/data/imaug/pg_process.py:715-762 | ppocr/data/imaug/sast_process.py:500-547 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"db286140e248dfb9602edcc82b45946cc097d74fcd10777925c1dd3d718b57f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): deploy/slim/quantization/export_model.py:79-125 | deploy/slim/quantization/quant.py:113-159 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/export_model.py\u0060 and \u0060deploy/slim/quantization/quant.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deploy/slim/quantization/export_model.py:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a622f513821e4b232fba7533333783149e2f59b4d91ec018682e9a80601d277c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201346 lines \u00D7 5): paddleocr/_pipelines/pp_doctranslation.py:695-739 | paddleocr/_pipelines/pp_doctranslation.py:817-862 | paddleocr/_pipelines/pp_structurev3.py:808-852 | paddleocr/_pipelines/pp_structurev3.py:930-975 | paddleocr/_pipelines/table_recognition_v2.py:387-416 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 and \u0060paddleocr/_pipelines/pp_structurev3.py\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 459 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/pp_doctranslation.py:695\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_doctranslation.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f63c7b5e4ddf540043b3387bf2d469c9910f1a26c2e80d56888d9b71a3e5c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201344 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1011-1054 | ppocr/modeling/heads/rec_unimernet_head.py:2186-2225 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1011\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b337ac4a35b71431aa9f4fb2c2e8b07387a3082e1a29e0a79f241518b362340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): ppocr/modeling/heads/local_graph.py:162-199 | ppocr/modeling/heads/proposal_local_graph.py:282-321 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/local_graph.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"419800d8c5c662e3e0738bdb1d745043bd32a3a678ce20f543268320ebef111d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): ppocr/utils/logging.py:30-65 | test_tipc/supplementary/utils.py:43-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/logging.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d1a8e183458e67741d03307c9900bcde6c1e21a6d1e313fea622030e6b82d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:111-145 | ppocr/data/imaug/fce_targets.py:212-246 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/drrg_targets.py:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5872b29c24a067c0a604710d029bf08eac1ae1d565a081127b800202ee6f687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:855-889 | ppocr/modeling/heads/rec_unimernet_head.py:2317-2348 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:855\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106ab72aeebbc8a0a480b81eca92f67e32562a4de8bf8b4fd4bfc438a63ce37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): ppocr/modeling/backbones/det_resnet_vd_sast.py:196-228 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:194-223 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d064f905af1b68b40736ebc675342db376bec89c4c9185afde4330dae9e8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): ppocr/modeling/heads/rec_att_head.py:49-81 | ppocr/modeling/heads/rec_spin_att_head.py:56-88 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_att_head.py\u0060 and \u0060ppocr/modeling/heads/rec_spin_att_head.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"14439af0617a670c69b2047d503553b66797a9b46a61f0af09cca3359ea86b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:708-740 | ppocr/postprocess/rec_postprocess.py:783-815 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a935707e74611760c5d79b9ddb253fe7d75ed47a9a3b76bd51978838f03ab892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): ppocr/data/imaug/pg_process.py:848-879 | ppocr/data/imaug/sast_process.py:626-657 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd9b22433195f36c18843a743719ba65a3e49a129c561ca29bf79749ba54a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:597-628 | tools/infer/predict_rec.py:360-391 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea53457dd0f9c5a542a7432f19c2453b9d86a1c127279a68fd54d918dcee418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 6): paddleocr/_pipelines/formula_recognition.py:200-228 | paddleocr/_pipelines/ocr.py:476-504 | paddleocr/_pipelines/pp_chatocrv4_doc.py:547-575 | paddleocr/_pipelines/pp_doctranslation.py:842-872 | paddleocr/_pipelines/pp_structurev3.py:955-985 | paddleocr/_pipelines/seal_recognition.py:291-319 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/formula_recognition.py:200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7365e1174692fda595637bb000305f030fc61b845b412c923d0b52b80e814899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 6): paddleocr/_pipelines/pp_chatocrv4_doc.py:653-682 | paddleocr/_pipelines/pp_doctranslation.py:685-711 | paddleocr/_pipelines/pp_doctranslation.py:807-833 | paddleocr/_pipelines/pp_structurev3.py:798-824 | paddleocr/_pipelines/pp_structurev3.py:920-946 | paddleocr/_pipelines/table_recognition_v2.py:377-403 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 and \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 372 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py:653\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"8682ed50aee879dd01e3e810aa3fdadf129e4f90ce4f860f0bf2b51d40b4727b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 5): ppocr/losses/distillation_loss.py:112-140 | ppocr/losses/distillation_loss.py:216-245 | ppocr/losses/distillation_loss.py:327-356 | ppocr/losses/distillation_loss.py:470-499 | ppocr/losses/distillation_loss.py:581-610 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/losses/distillation_loss.py:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adac6cff6d95a3ed92b009fa6399209e54c902e6f154e8fc86944b02fca144c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201330 lines \u00D7 2): ppocr/utils/export_model.py:200-214 | ppocr/utils/export_model.py:243-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1551d5c08e603ee1b91661c83090fb4f8579c0a9bae2377d9ddfcaa4f000e0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): tools/eval.py:42-71 | tools/infer_rec.py:53-81 \u2014 before extracting anything, compare \u0060tools/eval.py\u0060 and \u0060tools/infer_rec.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/infer_rec.py:82\u0060 calls \u0060getattr\u0060 and \u0060tools/eval.py:72\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/eval.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb1a62f089e6a43364539395cd39c181c5888a9835ae7ee3b8885dbe7480bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 4): paddleocr/_pipelines/formula_recognition.py:226-253 | paddleocr/_pipelines/paddleocr_vl.py:313-341 | paddleocr/_pipelines/pp_doctranslation.py:586-614 | paddleocr/_pipelines/pp_structurev3.py:701-727 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/formula_recognition.py\u0060 and \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/formula_recognition.py:226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f09095b86b36915f7c01385dbd33523c31475fd5c372a3da6b56ec872337e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:660-688 | ppocr/modeling/heads/rec_unimernet_head.py:826-853 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84e23e141835f8200fecdc83d6ee2d2cc2e3dae9cbcf0d481cbe0c103e7474e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): paddleocr/_pipelines/doc_preprocessor.py:116-142 | paddleocr/_pipelines/paddleocr_vl.py:386-413 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/doc_preprocessor.py\u0060 and \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/doc_preprocessor.py:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/doc_preprocessor.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f5fa7ddd22471663639b397dfe3fa527e5e8a2dba6ba56588ebabc80cf8583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:501-528 | ppocr/modeling/heads/rec_unimernet_head.py:1076-1102 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9363c2195532d122b05836855be2818415987e4bd806e526aa5d6a180dfdef0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): tools/infer/predict_det.py:326-353 | tools/infer/predict_det.py:374-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4306363e31b44367d1cefc42ae6b9ff422b80685bcbdc167dfa33e093e237f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): tools/program.py:619-646 | tools/program.py:658-685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/program.py:619\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c48d94f16dde11365440e4a8733f5a97c2ef5ccf69d9204df90390a81b336fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:83-109 | ppocr/data/imaug/fce_targets.py:184-210 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f460838a33a69dd12bd9836dc90126eccc7c8af738c02af08ca701d60128d309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:149-175 | ppocr/data/imaug/fce_targets.py:250-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/drrg_targets.py:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f722210ae9fe6620bb361a91e56101b2e0201c7fa7667fc5d9755a9a3cc47396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): ppocr/data/imaug/pg_process.py:504-529 | ppocr/data/imaug/sast_process.py:285-311 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"8811fb2d02fc319c22b4f59b4634a2eb7e4dbe828fe4b7736fd8eb9ac4951898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:941-966 | ppocr/modeling/heads/rec_unimernet_head.py:2383-2409 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56db50adafb486896df0c9ff47b43eb31d9484d8d2ad209915e8ef083044f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 11): paddleocr/_pipelines/ocr.py:456-479 | paddleocr/_pipelines/pp_chatocrv4_doc.py:492-515 | paddleocr/_pipelines/pp_chatocrv4_doc.py:542-565 | paddleocr/_pipelines/pp_doctranslation.py:611-636 | paddleocr/_pipelines/pp_doctranslation.py:659-683 | paddleocr/_pipelines/pp_doctranslation.py:781-805 | paddleocr/_pipelines/pp_structurev3.py:724-749 | paddleocr/_pipelines/pp_structurev3.py:772-796 | paddleocr/_pipelines/pp_structurev3.py:894-918 | paddleocr/_pipelines/seal_recognition.py:286-309 | paddleocr/_pipelines/table_recognition_v2.py:351-375 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/ocr.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 218 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/ocr.py:456\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb8ec93b24ec76f89df351f17b25712a06d2cd815a2b971cec8ebd4607003d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 4): paddleocr/_pipelines/paddleocr_vl.py:365-389 | paddleocr/_pipelines/pp_chatocrv4_doc.py:522-545 | paddleocr/_pipelines/pp_doctranslation.py:627-652 | paddleocr/_pipelines/pp_structurev3.py:740-765 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74457205fc14ff6f08111dca83538b43feee50e0639a0015bde55ece6137186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): ppocr/data/imaug/label_ops.py:1812-1837 | ppocr/data/imaug/label_ops.py:2128-2152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ab11408a7f70d1fdaa162f3f985bfe5174b9273573b554345e65a325a30aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 12): paddleocr/_pipelines/formula_recognition.py:187-208 | paddleocr/_pipelines/ocr.py:462-484 | paddleocr/_pipelines/pp_chatocrv4_doc.py:498-520 | paddleocr/_pipelines/pp_doctranslation.py:617-641 | paddleocr/_pipelines/pp_doctranslation.py:665-688 | paddleocr/_pipelines/pp_doctranslation.py:701-723 | paddleocr/_pipelines/pp_doctranslation.py:787-810 | paddleocr/_pipelines/pp_structurev3.py:730-754 | paddleocr/_pipelines/pp_structurev3.py:778-801 | paddleocr/_pipelines/pp_structurev3.py:814-836 | paddleocr/_pipelines/pp_structurev3.py:900-923 | paddleocr/_pipelines/table_recognition_v2.py:357-380 \u2014 there are 12 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/formula_recognition.py:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7349afbaefaa30678d66dab60f87b12ae5b7de021e7513ae6b3668313476c8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 8): paddleocr/_pipelines/formula_recognition.py:191-213 | paddleocr/_pipelines/ocr.py:467-489 | paddleocr/_pipelines/paddleocr_vl.py:361-384 | paddleocr/_pipelines/pp_chatocrv4_doc.py:503-525 | paddleocr/_pipelines/pp_doctranslation.py:623-647 | paddleocr/_pipelines/pp_doctranslation.py:706-728 | paddleocr/_pipelines/pp_structurev3.py:736-760 | paddleocr/_pipelines/pp_structurev3.py:819-841 \u2014 there are 8 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/formula_recognition.py:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77aef24b16a5b3ec9fa95ca2847baeb242591f64f755df4e8562f210cf6aa07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): paddleocr/_pipelines/paddleocr_vl.py:333-357 | paddleocr/_pipelines/pp_doctranslation.py:606-630 | paddleocr/_pipelines/pp_doctranslation.py:730-754 | paddleocr/_pipelines/pp_structurev3.py:719-743 | paddleocr/_pipelines/pp_structurev3.py:843-867 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 301 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3966010f80b07d5cba187d9db91ebf98d50cc97c84f29f5dde3c9b4a702f86a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:516-539 | ppocr/modeling/heads/rec_unimernet_head.py:1089-1112 | ppocr/modeling/heads/rec_unimernet_head.py:1762-1786 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/heads/rec_unimernet_head.py:1759\u0060 calls \u0060counting_context_weight\u0060, \u0060unsqueeze\u0060 and \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:514\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ec0b132f0c1a3d830cedd58f4e955c49c3599cd16e29180f8d78a2722b06bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): configs/rec/multi_language/generate_multi_language_configs.py:222-246 | test_tipc/supplementary/config.py:82-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/rec/multi_language/generate_multi_language_configs.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb071ebc9748e09038f4bfceb3ce73cb825642c9208cb4bae4047c1852e49583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): paddleocr/_api_client/cli.py:118-142 | paddleocr/_api_client/cli.py:158-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_api_client/cli.py:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_api_client/cli.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfb465e5bcc98f0bc3f624281f8bb749dc9c383ef578ef308ec79d9059ae6c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): ppocr/data/imaug/east_process.py:75-99 | ppocr/data/imaug/pg_process.py:913-937 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"408e583377977cd7722ab87bdaaa38d9d9c95409d095497fbdb9651449112f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 11): paddleocr/_models/_text_detection.py:47-70 | paddleocr/_pipelines/ocr.py:511-534 | paddleocr/_pipelines/paddleocr_vl.py:461-484 | paddleocr/_pipelines/pp_chatocrv4_doc.py:613-636 | paddleocr/_pipelines/pp_chatocrv4_doc.py:643-666 | paddleocr/_pipelines/pp_doctranslation.py:680-703 | paddleocr/_pipelines/pp_doctranslation.py:802-825 | paddleocr/_pipelines/pp_structurev3.py:793-816 | paddleocr/_pipelines/pp_structurev3.py:915-938 | paddleocr/_pipelines/seal_recognition.py:346-369 | paddleocr/_pipelines/table_recognition_v2.py:372-395 \u2014 there are 11 copies across 8 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_models/_text_detection.py:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_models/_text_detection.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1ceb89327bc2eea4d1181fbd66369d3891c09e9bb89b429bf62a397c804227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): ppocr/modeling/backbones/det_resnet_vd_sast.py:86-109 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:84-107 | ppocr/modeling/backbones/rec_resnet_fpn.py:243-266 | ppocr/modeling/backbones/rec_resnet_vd.py:86-109 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d88a3d47477cbb16acd25c4616ff3fb6852e20d36fe6d4f718b0352dd80b732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): paddleocr/_pipelines/formula_recognition.py:240-263 | paddleocr/_pipelines/pp_chatocrv4_doc.py:593-616 | paddleocr/_pipelines/seal_recognition.py:326-349 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/formula_recognition.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/formula_recognition.py:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e304f3af9df985b8d79f0098e5b253403a168e79a03abef89c58a456fe7def7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): ppocr/data/imaug/label_ops.py:1848-1870 | ppocr/data/imaug/label_ops.py:2170-2193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e74050c48709f9a6e29f00df881cc664b76bd50db1c24be149bbfeb47651dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): ppocr/data/imaug/pg_process.py:344-367 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:100-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"848da1fc75134455c21a46f90aabb4689777081a204839d8ddb1161271c3673b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:687-710 | tools/infer/predict_rec.py:272-295 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe1f637757afa3d58894bee28f90dddb6822a759f5b245b82c91011a075357a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): ppocr/modeling/backbones/rec_mv1_enhance.py:134-157 | ppocr/modeling/backbones/rec_mv1_enhance.py:172-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_mv1_enhance.py:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_mv1_enhance.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc0165a58554bc3f94771825097b9fa877c0ba547fc52e913468eae3261fd0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 9): deploy/hubserving/kie_ser/module.py:102-123 | deploy/hubserving/kie_ser_re/module.py:102-123 | deploy/hubserving/ocr_cls/module.py:98-120 | deploy/hubserving/ocr_det/module.py:100-122 | deploy/hubserving/ocr_rec/module.py:98-120 | deploy/hubserving/ocr_system/module.py:101-123 | deploy/hubserving/structure_layout/module.py:97-119 | deploy/hubserving/structure_system/module.py:100-122 | deploy/hubserving/structure_table/module.py:99-121 \u2014 \u0060deploy/hubserving/kie_ser/module.py\u0060 and \u0060deploy/hubserving/kie_ser_re/module.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 64 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cbccc1b4575fc3e98897d898618009999d161efb1db5b18ce0f3d8df8507ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 7): paddleocr/_models/_object_detection.py:57-78 | paddleocr/_pipelines/formula_recognition.py:235-256 | paddleocr/_pipelines/paddleocr_vl.py:323-344 | paddleocr/_pipelines/pp_chatocrv4_doc.py:587-609 | paddleocr/_pipelines/pp_doctranslation.py:596-617 | paddleocr/_pipelines/pp_structurev3.py:709-730 | paddleocr/_pipelines/seal_recognition.py:321-342 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/formula_recognition.py\u0060 and \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_models/_object_detection.py:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_models/_object_detection.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1bc63b8ba5c37bad53a44ce3eede6561d9b9542ea3af4d9d4cca6b99144a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 5): paddleocr/_pipelines/paddleocr_vl.py:401-423 | paddleocr/_pipelines/pp_chatocrv4_doc.py:562-583 | paddleocr/_pipelines/pp_doctranslation.py:858-880 | paddleocr/_pipelines/pp_structurev3.py:971-993 | paddleocr/_pipelines/table_recognition_v2.py:412-434 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37c27f93c10e00aca1fcc25c616f2b0cc50208d20bc2c12cc8fe72778847ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd_sast.py:147-169 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:145-167 | ppocr/modeling/backbones/rec_resnet_vd.py:148-170 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f9bf1af14fecc52f3fca0db183742d4d2afd9c2dac20c7d75585c0d42ee8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): paddleocr/_pipelines/paddleocr_vl.py:428-449 | paddleocr/_pipelines/pp_structurev3.py:1003-1025 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_structurev3.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 354 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:428\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcae5438f17324d80812623d0040da77f568baf1d9a9bf8774a15f7fcf3f2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:709-731 | ppocr/data/imaug/fce_targets.py:658-679 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b513ed1eb74f95b6b1b0835435194bf7abb41bba7802f69c7966cb31aeff8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:978-1000 | ppocr/modeling/heads/rec_unimernet_head.py:2165-2186 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6dc01b8c13a0a7495ba713f2801353058b3b10092f05493c14bdff0d73ec21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 11): paddleocr/_pipelines/doc_preprocessor.py:114-134 | paddleocr/_pipelines/ocr.py:434-454 | paddleocr/_pipelines/paddleocr_vl.py:373-394 | paddleocr/_pipelines/pp_chatocrv4_doc.py:460-480 | paddleocr/_pipelines/pp_chatocrv4_doc.py:530-550 | paddleocr/_pipelines/pp_doctranslation.py:636-657 | paddleocr/_pipelines/pp_doctranslation.py:739-759 | paddleocr/_pipelines/pp_structurev3.py:749-770 | paddleocr/_pipelines/pp_structurev3.py:852-872 | paddleocr/_pipelines/seal_recognition.py:254-274 | paddleocr/_pipelines/table_recognition_v2.py:278-298 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/doc_preprocessor.py\u0060 and \u0060paddleocr/_pipelines/ocr.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/doc_preprocessor.py:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/doc_preprocessor.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"522eb85d0b882ebe30e1d4a2874f8623379d576a399ce25eba5918740a37d992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): ppocr/data/imaug/unimernet_aug.py:517-538 | ppocr/data/imaug/unimernet_aug.py:624-645 | ppocr/data/imaug/unimernet_aug.py:756-777 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"462e3e1ad87a48d4b611c3b8dff5104972ad1e51c47ae9e5d66af964289d20ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 2): deploy/slim/quantization/export_model.py:168-183 | ppocr/utils/export_model.py:523-544 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/export_model.py:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/utils/export_model.py:522\u0060 calls \u0060dump_infer_config\u0060 and \u0060deploy/slim/quantization/export_model.py:166\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f10bbf0c8c9a425de21362b0ef9ecf21336a0ec8c92af50c039a02bce16046c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): ppocr/data/imaug/operators.py:390-411 | ppocr/utils/e2e_utils/visual.py:20-40 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/operators.py\u0060 and \u0060ppocr/utils/e2e_utils/visual.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fca8516b6674e09a9864e8a3c602b09533cf06defb585c3003d9ca69879f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:523-544 | ppocr/modeling/necks/db_fpn.py:912-933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:523\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da8701e891f9abad07394a3172be3edcbd0881f84d0bd58791ca6270d06db8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): ppocr/modeling/necks/fce_fpn.py:159-179 | ppocr/modeling/necks/fce_fpn.py:187-207 | ppocr/modeling/necks/fce_fpn.py:223-243 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/fce_fpn.py:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/fce_fpn.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da35bfc7a6ff7f6e6f8cc19ef96fbe71a918ba3b1e16e0d8cb6a957de7c4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): deploy/slim/prune/export_prune_model.py:45-65 | deploy/slim/prune/sensitivity_anal.py:72-92 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/prune/export_prune_model.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b828c5a7a5e4627b1b2b64f883a6446fd4b5f585567028a5b888d753bc61b0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ppocr/data/imaug/table_ops.py:49-69 | ppocr/data/imaug/table_ops.py:100-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29adc604d0414eeb4e05b7ae4c9537869c2f8ab170cd6f048602f58b73c4f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ppocr/metrics/det_metric.py:31-51 | ppocr/metrics/det_metric.py:81-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/metrics/det_metric.py:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/metrics/det_metric.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed1b33627ca93ca0058b44a9a401de71360ef5c00cec43315b2c48a3b00492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ppocr/modeling/necks/fpn.py:39-59 | ppocr/modeling/necks/fpn.py:100-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/fpn.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"81095964d6be759cc80cf5859773501129c0445914cbdb57f0736b572bde4fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): tools/infer/predict_rec.py:782-802 | tools/infer/predict_rec.py:805-825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8aec421eada4dfb5c57023d7eef89c8569a6fc6f4f43a42c32011dc782f1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 12): configs/rec/multi_language/generate_multi_language_configs.py:149-168 | paddleocr/_pipelines/doc_preprocessor.py:113-132 | paddleocr/_pipelines/ocr.py:433-452 | paddleocr/_pipelines/paddleocr_vl.py:372-392 | paddleocr/_pipelines/pp_chatocrv4_doc.py:459-478 | paddleocr/_pipelines/pp_chatocrv4_doc.py:529-548 | paddleocr/_pipelines/pp_doctranslation.py:635-655 | paddleocr/_pipelines/pp_doctranslation.py:738-757 | paddleocr/_pipelines/pp_structurev3.py:748-768 | paddleocr/_pipelines/pp_structurev3.py:851-870 | paddleocr/_pipelines/seal_recognition.py:253-272 | paddleocr/_pipelines/table_recognition_v2.py:277-296 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/doc_preprocessor.py\u0060 and \u0060paddleocr/_pipelines/ocr.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/rec/multi_language/generate_multi_language_configs.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"317f71db69c465042d7e9fb073a76cd9fcd14eec5ebdeb726843254d24e960dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 11): paddleocr/_pipelines/ocr.py:436-455 | paddleocr/_pipelines/paddleocr_vl.py:338-358 | paddleocr/_pipelines/paddleocr_vl.py:370-390 | paddleocr/_pipelines/pp_chatocrv4_doc.py:456-476 | paddleocr/_pipelines/pp_chatocrv4_doc.py:527-546 | paddleocr/_pipelines/pp_doctranslation.py:632-653 | paddleocr/_pipelines/pp_doctranslation.py:735-755 | paddleocr/_pipelines/pp_structurev3.py:745-766 | paddleocr/_pipelines/pp_structurev3.py:848-868 | paddleocr/_pipelines/seal_recognition.py:256-275 | paddleocr/_pipelines/table_recognition_v2.py:280-299 \u2014 there are 11 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/ocr.py:436\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed6710ec9e5a5ecbe1cc023a3cf73b75f97b364143e4d759cb86c1b4665246a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): paddleocr/_pipelines/paddleocr_vl.py:427-446 | paddleocr/_pipelines/pp_doctranslation.py:884-906 | paddleocr/_pipelines/pp_structurev3.py:1002-1022 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 301 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:427\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf24a590f88e0c1207fe53888714c6b41d34080a7b9752f9a1f20571bba91bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd_sast.py:39-58 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:39-58 | ppocr/modeling/necks/pg_fpn.py:37-56 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc2ab17f0b4461ad4bbdc5d07f6f6c67d3d012df3197a329bd94473f3004ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): deploy/slim/prune/sensitivity_anal.py:58-77 | deploy/slim/quantization/quant.py:91-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/prune/sensitivity_anal.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"135cc0faee73eb0994ac72c9cd885bc5529df0e702625dfeb4cd189527f98df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:330-349 | paddleocr/_doc2md/converters/docx.py:491-510 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bfce756a9b15fe705f2dbcc02ba7e2fcb03d72338baff03612cc2cd350cb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:667-686 | ppocr/data/imaug/fce_targets.py:552-571 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e9de48ab1feffe43054a209780a6372e2ea2fae7c7dafa19a46117ffa8430b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/data/imaug/pg_process.py:882-901 | ppocr/data/imaug/sast_process.py:660-679 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:882\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e53aac4d80f475eec7600c418fe03c9cb3e6d7d21b26bba0a8482224a7305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/modeling/backbones/rec_mv1_enhance.py:256-275 | test_tipc/supplementary/mv3.py:315-334 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_mv1_enhance.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd077e66200197d2b24fdc70d066282aef41918018fba67496130263f94b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/modeling/backbones/vqa_layoutlm.py:127-146 | ppocr/modeling/backbones/vqa_layoutlm.py:169-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/vqa_layoutlm.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a955f5d2cc8ff1d77268c38ae3e4103c528a18a7db0f9776d755296705e1dcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:333-352 | ppocr/modeling/heads/rec_unimernet_head.py:450-468 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b90c51e0def091483ba7119458e588cd7f41026c42c5225d83f82a6ddf822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/modeling/necks/rnn.py:169-188 | ppocr/modeling/necks/rnn.py:287-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/rnn.py:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/rnn.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e698bd49bb90266b3bde4fba8d07a7a199994164d78043df0352e45deb5c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:286-305 | ppocr/postprocess/rec_postprocess.py:364-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb67e582689d6afb994695a516dcaef7edc59dd92da4d13f46637053c99ee8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): ppstructure/table/predict_structure.py:130-148 | tools/infer/predict_det.py:258-277 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/predict_structure.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd29d6342eeb796a6d1701822f8558688013595e4ad69dc8550353563fdee9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 13): configs/rec/multi_language/generate_multi_language_configs.py:148-167 | paddleocr/_pipelines/doc_preprocessor.py:113-131 | paddleocr/_pipelines/ocr.py:433-451 | paddleocr/_pipelines/paddleocr_vl.py:339-359 | paddleocr/_pipelines/paddleocr_vl.py:371-391 | paddleocr/_pipelines/pp_chatocrv4_doc.py:457-477 | paddleocr/_pipelines/pp_chatocrv4_doc.py:528-547 | paddleocr/_pipelines/pp_doctranslation.py:633-654 | paddleocr/_pipelines/pp_doctranslation.py:736-756 | paddleocr/_pipelines/pp_structurev3.py:746-767 | paddleocr/_pipelines/pp_structurev3.py:849-869 | paddleocr/_pipelines/seal_recognition.py:253-271 | paddleocr/_pipelines/table_recognition_v2.py:277-295 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/doc_preprocessor.py\u0060 and \u0060paddleocr/_pipelines/ocr.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060configs/rec/multi_language/generate_multi_language_configs.py:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/rec/multi_language/generate_multi_language_configs.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b6055791a5f0fa89d25b642a71eec4189ed08f342e7176aabf90cb04e5b89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 9): deploy/hubserving/kie_ser/module.py:50-68 | deploy/hubserving/kie_ser_re/module.py:50-68 | deploy/hubserving/ocr_cls/module.py:46-64 | deploy/hubserving/ocr_det/module.py:48-66 | deploy/hubserving/ocr_rec/module.py:46-64 | deploy/hubserving/ocr_system/module.py:49-67 | deploy/hubserving/structure_layout/module.py:48-65 | deploy/hubserving/structure_system/module.py:50-68 | deploy/hubserving/structure_table/module.py:50-67 \u2014 \u0060deploy/hubserving/kie_ser/module.py\u0060 and \u0060deploy/hubserving/kie_ser_re/module.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 64 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdfb1c7a3ffdb602dfb9bf031aa67920475fd65a285a3a5180972169d1ed6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): ppocr/data/imaug/unimernet_aug.py:489-506 | ppocr/data/imaug/unimernet_aug.py:596-613 | ppocr/data/imaug/unimernet_aug.py:727-745 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b66bf3558bb30083533ffc504085bca1afd9d7b4bccec7dcf7c7a09fdb769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:496-514 | ppocr/modeling/heads/rec_unimernet_head.py:1072-1088 | ppocr/modeling/heads/rec_unimernet_head.py:1739-1755 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:496\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/heads/rec_unimernet_head.py:1759\u0060 calls \u0060counting_context_weight\u0060, \u0060unsqueeze\u0060 and \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:516\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379ed89dcb365d33d12de59a24d30ed28d8bde4051774baf050f375c65490c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ppocr/data/imaug/pg_process.py:668-686 | ppocr/data/imaug/sast_process.py:453-471 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:668\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"b051f40fba18c6faf70dcc3e15affcf3553b0d6f7c65290d1b7dc34e464b4d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ppocr/modeling/backbones/kie_unet_sdmgr.py:30-48 | ppocr/modeling/backbones/kie_unet_sdmgr.py:65-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/kie_unet_sdmgr.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2953b28afdd07bfd061db749b8fbb56d9dba77bd643e2c44ee74a62559ef36c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:938-954 | ppocr/modeling/heads/rec_unimernet_head.py:2380-2397 | ppocr/modeling/heads/rec_unimernet_head.py:2615-2631 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"203149734448fbcbfd73b528afb5162cbef681e7c0fef4a267bddcd636973760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:634-651 | paddleocr/_doc2md/converters/pptx.py:124-138 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dca595782470a5275de9cc0b18f426ad3e67902d5afcf2e4a5a000deccd1ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/data/imaug/pg_process.py:482-499 | ppocr/data/imaug/sast_process.py:266-283 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5501d16f347586cd1ecf346ca3f7de76280e13feade60304d2d7e992b70f4eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201318 lines \u00D7 3): ppocr/losses/rec_ce_loss.py:44-61 | ppocr/losses/rec_cppd_loss.py:43-46 | ppocr/losses/rec_nrtr_loss.py:16-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_ce_loss.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b7696fdfe6bdd72fab28e4fa3fe56c8dd58274ce36533b05e44a200e2b722d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/losses/rec_sar_loss.py:18-35 | ppocr/losses/rec_satrn_loss.py:35-52 \u2014 before extracting anything, compare \u0060ppocr/losses/rec_sar_loss.py\u0060 and \u0060ppocr/losses/rec_satrn_loss.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_sar_loss.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5436c3a7232993c4d72faa67ab4d91535ae93e98c72e2afe4e9502ec025986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/modeling/backbones/rec_resnet_32.py:273-290 | ppocr/modeling/backbones/rec_resnet_rfl.py:329-346 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_resnet_32.py\u0060 and \u0060ppocr/modeling/backbones/rec_resnet_rfl.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_32.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f567fd65e4fb1b2950e0c1d6a35d3e8f132fc0093c367c530b8a69d132cb017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/modeling/backbones/rec_vit_parseq.py:259-276 | ppocr/modeling/backbones/rec_vitstr.py:76-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_vit_parseq.py:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_vit_parseq.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a9c1f1cf2f815836a8a187d0d21e9237568d92d36335f0e86d00addcf4c36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): ppocr/modeling/heads/det_db_head.py:116-133 | ppocr/modeling/necks/db_fpn.py:774-789 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_db_head.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"646924beb56fd56112b519b00991fa03b3a49cfba3376b74eb55d1bb6180c13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): ppocr/modeling/heads/local_graph.py:337-352 | ppocr/modeling/heads/proposal_local_graph.py:382-399 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/proposal_local_graph.py:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/local_graph.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354ad782d7f68467599747611a4c13fb34fa81c6b6c08ad51eeb0eb2a87ff61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:210-227 | ppocr/modeling/heads/rec_unimernet_head.py:351-367 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"96052b4bdc61e169204dfa0fef17387e65b66ce7fe6f56549acb86b3c62586e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:791-807 | ppocr/modeling/heads/rec_unimernet_head.py:2118-2135 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_unimernet_head.py:2118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"76731cdac962ccee79a6e8d7c1284f91826bf318be4fd45a6ce21e5389e0219b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/utils/save_load.py:110-127 | test_tipc/supplementary/utils.py:94-111 \u2014 before extracting anything, compare \u0060ppocr/utils/save_load.py\u0060 and \u0060test_tipc/supplementary/utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bf6c02338af68e5bf2a3a001334821856b9ba9a06be24bb42818ee24f0388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppstructure/table/matcher.py:119-136 | ppstructure/table/matcher.py:164-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppstructure/table/matcher.py:118\u0060 calls \u0060extend\u0060 and \u0060ppstructure/table/matcher.py:163\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/matcher.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ae5b5d4c2019620917adc2fb7a7d71a255909a222c82dac0200b15c21ceddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): ppocr/modeling/backbones/det_resnet.py:135-149 | ppocr/modeling/backbones/det_resnet_vd.py:269-285 | ppocr/modeling/backbones/rec_resnet_vd.py:197-213 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"59953c62e461212a7d448fa35a0d63b604c1df03629e79ffa7d01e6438012721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): ppocr/modeling/heads/det_east_head.py:39-55 | ppocr/modeling/heads/e2e_pg_head.py:39-55 | ppocr/modeling/necks/east_fpn.py:38-54 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/det_east_head.py\u0060 and \u0060ppocr/modeling/heads/e2e_pg_head.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_east_head.py:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_east_head.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff9baac738656e95eb3129ea3396440ce8acda483c4ff9b5583cff0ca01e5e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ppocr/data/imaug/__init__.py:80-96 | test_tipc/supplementary/data.py:20-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/__init__.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"316a743a51bc975e7d2a938e7c24883d8f0263b440c55ac6890d596533b6789b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/data/imaug/latex_ocr_aug.py:110-126 | tools/infer/predict_rec.py:506-522 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/latex_ocr_aug.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d6c34e3ca7bef9b85cf835c2dd5be69b74f337cf32d5bed77e0caa048936c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/data/imaug/pg_process.py:137-153 | ppocr/data/imaug/sast_process.py:116-132 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c899febb63989c4a7ca2d6fc7d05965366e8e410f107b1a59bebd8765776a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): ppocr/data/imaug/pg_process.py:806-820 | ppocr/data/imaug/sast_process.py:582-598 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa184a52a542a0fa020fb0db10cd3dd42fa0d4fab5863d7ef3f309f0c712c956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/data/simple_dataset.py:403-419 | ppocr/data/simple_dataset.py:512-528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/simple_dataset.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c402dd778be67d038db64a20aca2c7a71454ded97038e3dd5db15ffbb42dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/det_pp_lcnet.py:133-149 | ppocr/modeling/backbones/det_pp_lcnet_v2.py:88-104 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b2cfaf321540bf73389bc4a7f718430c4ba9a1da66e50c53bb8069c117f8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/rec_lcnetv3.py:92-108 | ppocr/modeling/backbones/rec_pphgnetv2.py:922-938 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_lcnetv3.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691e15c09c40094e491d34b8b19cbdeba3d6c3b368eeebaef961d45949367ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/rec_lcnetv4.py:239-255 | ppocr/modeling/backbones/rec_pphgnetv2.py:975-991 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/backbones/rec_pphgnetv2.py:993\u0060 calls \u0060LearnableAffineBlock\u0060 and \u0060ppocr/modeling/backbones/rec_lcnetv4.py:257\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_lcnetv4.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c3d19a656ed284d17274d9459da25e129308638b972aa212c1c35f676e1388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/rec_micronet.py:367-383 | ppocr/modeling/backbones/rec_micronet.py:433-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_micronet.py:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_micronet.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf099670b3bbecd6f7e2ce0bbb56b779f7f3aadbaab32b79bde2e9d096b908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/rec_resnet_rfl.py:188-204 | ppocr/modeling/backbones/rec_resnet_rfl.py:307-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_rfl.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e51c4c4c314405b1c32f9c110296a37bdd6f080fbe890087cdee61bacda54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:304-320 | ppocr/modeling/backbones/rec_svtrnet.py:334-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_svtrnet.py:304\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74bf32afbc15b2d77eba0ae0fc94882a78de1aa3a8149b748380bdf43770816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/modeling/heads/rec_robustscanner_head.py:451-467 | ppocr/modeling/heads/rec_robustscanner_head.py:489-505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_robustscanner_head.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72a699a03bd73d0bb540836be079a3f9e5b6d3c5571d405679f7c0a78ff596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ppocr/modeling/necks/east_fpn.py:80-95 | ppocr/modeling/necks/pg_fpn.py:86-102 \u2014 before extracting anything, compare \u0060ppocr/modeling/necks/east_fpn.py\u0060 and \u0060ppocr/modeling/necks/pg_fpn.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/east_fpn.py:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/east_fpn.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"761b6672397d05269c9bad6dbc73c1e544e116023cf80c96c567438228e7d7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:155-171 | ppocr/modeling/transforms/tsrn.py:59-74 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/transforms/tbsrn.py:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4010efe823b03ee485ab681ddbf19cc9763667d00c6a05f1fb88a81215334ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ppocr/postprocess/db_postprocess.py:170-186 | tools/infer/utility.py:914-930 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/db_postprocess.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3120e4d205e52bd8c26a1275905082ef978c92d9ef095ff9e9ed71f29da54be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 12): paddleocr/_pipelines/paddleocr_vl.py:140-155 | paddleocr/_pipelines/paddleocr_vl.py:198-213 | paddleocr/_pipelines/pp_chatocrv4_doc.py:140-155 | paddleocr/_pipelines/pp_chatocrv4_doc.py:194-209 | paddleocr/_pipelines/pp_doctranslation.py:158-173 | paddleocr/_pipelines/pp_doctranslation.py:230-245 | paddleocr/_pipelines/pp_structurev3.py:206-221 | paddleocr/_pipelines/pp_structurev3.py:282-297 | paddleocr/_pipelines/seal_recognition.py:109-124 | paddleocr/_pipelines/seal_recognition.py:149-164 | paddleocr/_pipelines/table_recognition_v2.py:102-117 | paddleocr/_pipelines/table_recognition_v2.py:150-165 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060paddleocr/_pipelines/pp_structurev3.py:300\u0060 calls \u0060concatenate_markdown_pages\u0060 and \u0060paddleocr/_pipelines/seal_recognition.py:167\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a90452d3e8f76bd3b32ed7b0328631b12087c7f53c2658cf0ad64900654dafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): paddleocr/_pipelines/paddleocr_vl.py:186-201 | paddleocr/_pipelines/pp_structurev3.py:261-276 | paddleocr/_pipelines/seal_recognition.py:146-161 | paddleocr/_pipelines/table_recognition_v2.py:143-158 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_structurev3.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 354 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1b797d08619d9ede3fc94add43235445bde3b5817f44ccfe6c9035a856c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): ppocr/modeling/backbones/det_resnet_vd_sast.py:50-65 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:50-65 | ppocr/modeling/backbones/rec_resnet_vd.py:50-65 | ppocr/modeling/necks/pg_fpn.py:48-63 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 and \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 266 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd_sast.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44aca09ff285c6f8f3dbb6288c53de085ce7cca81ceda7b9a832745d966e96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): ppocr/losses/distillation_loss.py:622-637 | ppocr/losses/distillation_loss.py:652-667 | ppocr/losses/distillation_loss.py:687-702 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"266784f54be914d726a222d094bc04727115be93df5b376be9540d15335c275f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:422-437 | paddleocr/_doc2md/converters/docx.py:443-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0867b58efeab619458d130cd21c8c74255462eb75c3f2b0d1925abaa8985fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): paddleocr/_pipelines/pp_chatocrv4_doc.py:184-199 | paddleocr/_pipelines/pp_doctranslation.py:211-226 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 and \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 372 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"594dc3670d03e23d6520ef9b6042d911543d4ffe8e5cd6057f281b4622a74c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ppocr/data/imaug/iaa_augment.py:95-110 | ppocr/data/imaug/iaa_augment.py:115-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/iaa_augment.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"18df3ca2c214e74291c07fa8a789c11cbf4c7278f1b82e08ad3ef8118c8d4193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 3): ppocr/data/imaug/east_process.py:128-131 | ppocr/data/imaug/pg_process.py:121-136 | ppocr/data/imaug/sast_process.py:100-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"58413daf9af8aaed5c19285bd40c5ad6a89866b267b9f6bb67d90d20db747edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:256-269 | ppocr/modeling/backbones/rec_vit.py:153-168 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_vit.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_vit.py:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e0d5484264fddd64da703afd4ae1259571df2550920fd1f4ad8fb3a3fc1ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppocr/modeling/heads/det_sast_head.py:38-53 | ppocr/modeling/necks/sast_fpn.py:37-52 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/det_sast_head.py\u0060 and \u0060ppocr/modeling/necks/sast_fpn.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_sast_head.py:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_sast_head.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9f167283f7e8dd171b4ac974607ce7eba66f877ded935a590e391b408124f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1132-1147 | ppocr/modeling/heads/rec_ppformulanet_head.py:1250-1265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a965eca8162ca13e5c6a00a78ba41d22a465f52d372cc86534b623e047bbfe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1159-1174 | ppocr/modeling/heads/rec_ppformulanet_head.py:1274-1289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46923cd3a22ba1a5b86129ade1e7d1786215ef567c24f252f1179efa63d022d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:474-489 | ppocr/modeling/necks/db_fpn.py:866-881 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f36d6d874439483b34f1394de0073e256cf696a25b25da707249d2075553f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ppocr/utils/save_load.py:144-159 | test_tipc/supplementary/utils.py:122-136 \u2014 before extracting anything, compare \u0060ppocr/utils/save_load.py\u0060 and \u0060test_tipc/supplementary/utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/save_load.py:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fafd03c35a1a26734abe2669fb7170ee8dfcf0b00e645e561bd382d4fe69ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppstructure/kie/tools/eval_with_label_end2end.py:71-86 | tools/end2end/eval_end2end.py:48-63 \u2014 before extracting anything, compare \u0060ppstructure/kie/tools/eval_with_label_end2end.py\u0060 and \u0060tools/end2end/eval_end2end.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/eval_with_label_end2end.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f75722fab3e121108f110d7ca4b0f8c3a5ae44067d78c9251da0b12024933f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): tools/infer_det.py:68-83 | tools/infer_e2e.py:114-129 \u2014 before extracting anything, compare \u0060tools/infer_det.py\u0060 and \u0060tools/infer_e2e.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_det.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f24b3b3d414f62412c271415067e54d763952e851efa63a2afa4a26d549387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 4): ppocr/modeling/backbones/rec_resnet_32.py:109-123 | ppocr/modeling/backbones/rec_resnet_45.py:71-85 | ppocr/modeling/backbones/rec_resnet_aster.py:65-76 | ppocr/modeling/backbones/rec_resnet_rfl.py:70-84 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_resnet_32.py\u0060 and \u0060ppocr/modeling/backbones/rec_resnet_rfl.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_32.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4a75224e5e459bef26630435a7e985ba972d092cece108082af4fc587a0ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201315 lines \u00D7 5): ppocr/data/imaug/east_process.py:292-306 | ppocr/data/imaug/fce_aug.py:213-216 | ppocr/data/imaug/pg_process.py:158-172 | ppocr/data/imaug/random_crop_data.py:420-423 | ppocr/data/imaug/sast_process.py:135-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/data/imaug/east_process.py:307\u0060 calls \u0060round\u0060, \u0060astype\u0060, \u0060min\u0060 and \u0060ppocr/data/imaug/fce_aug.py:216\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd2b0900aeed50d0beed832790aaa88cd00faea6449adb5e95a24d721ff5c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): ppocr/data/imaug/east_process.py:336-350 | ppocr/data/imaug/pg_process.py:197-210 | ppocr/data/imaug/sast_process.py:177-190 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b1e6152732b954698f4563c7c715a8a6f428b6d4bb3267cd7ca873808c09d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): paddleocr/_pipelines/ocr.py:113-127 | paddleocr/_pipelines/pp_structurev3.py:120-134 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/ocr.py\u0060 and \u0060paddleocr/_pipelines/pp_structurev3.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"174f583bc10d186700e8aa48e2754085d3a5ab9a518ee63e73982c7b94418bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:373-387 | ppocr/data/imaug/fce_targets.py:351-363 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/drrg_targets.py:373\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a47c93e3b5cbce991e45549fcb26c65f686953e51beaaa4a800d9ffd108c358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ppocr/data/imaug/label_ops.py:1679-1692 | ppocr/data/imaug/label_ops.py:1698-1712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae193225248c0e5fef0e6b141a9f58f874c194c032287b0ad6e8cc5052c31f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ppocr/data/imaug/pg_process.py:649-663 | ppocr/data/imaug/sast_process.py:434-448 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbad17824f5f2b29d91ba67fe73ab7a7e717626e33be87f47e9fd3fc2172b65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): ppocr/data/imaug/pg_process.py:951-963 | ppocr/data/imaug/sast_process.py:696-710 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6650821104d490e3c0c668d66578362efcbf9ce10b4db36a4c82b91afdccf0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ppocr/modeling/backbones/rec_pphgnetv2.py:1641-1655 | ppocr/modeling/backbones/rec_pphgnetv2.py:1699-1713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81e3fad81f12908bb581fff3b83e9de4b9ea2f99a09cebabdebd7792abb1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ppocr/modeling/backbones/rec_vit_parseq.py:163-176 | ppocr/modeling/heads/rec_cppd_head.py:180-194 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_vit_parseq.py:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Callable\u0060 names \u0060collections\u0060 in one and \u0060collections.abc\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_vit_parseq.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bae7c2d5c760b76a2ef41c02efa3e1e1f71a408cfa14b4d4f20e8d5283002a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:106-120 | ppocr/modeling/heads/rec_ppformulanet_head.py:151-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f249750c9e4e317f4994cf87a58fdc0252247e98cbd1d8c2842313cea1aa5f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): tools/infer_rec.py:97-111 | tools/infer_sr.py:50-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_rec.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed07c38ca3da6f0afec5ded8e751729800ddc6906897ac51e01c56b86cc2321b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 6): ppocr/postprocess/rec_postprocess.py:299-311 | ppocr/postprocess/rec_postprocess.py:377-389 | ppocr/postprocess/rec_postprocess.py:474-486 | ppocr/postprocess/rec_postprocess.py:556-569 | ppocr/postprocess/rec_postprocess.py:722-734 | ppocr/postprocess/rec_postprocess.py:797-809 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfce8f7d7b68f45d22413c4d4b3f059b2ed539c488834d3fbc95c38ff0d87a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): ppocr/modeling/backbones/rec_lcnetv3.py:438-451 | ppocr/modeling/backbones/rec_lcnetv3.py:454-467 | ppocr/modeling/backbones/rec_lcnetv3.py:470-483 | ppocr/modeling/backbones/rec_lcnetv3.py:486-499 | ppocr/modeling/backbones/rec_lcnetv3.py:502-515 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_lcnetv3.py:438\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_lcnetv3.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861f2e0a2d1598bb0cb7e95163d7c56b5ac5f2b11514bf28a808806911b5479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ppocr/modeling/heads/det_east_head.py:43-56 | ppocr/modeling/heads/e2e_pg_head.py:43-56 | ppocr/modeling/necks/east_fpn.py:42-55 | ppocr/modeling/necks/east_fpn.py:84-96 | ppocr/modeling/necks/pg_fpn.py:91-103 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/det_east_head.py\u0060 and \u0060ppocr/modeling/heads/e2e_pg_head.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_east_head.py:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_east_head.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"24526be6be0979a9ff546439d527d799953d7398c03bc854bc862a2e9b1de3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): paddleocr/_pipelines/paddleocr_vl.py:129-142 | paddleocr/_pipelines/pp_structurev3.py:186-199 | paddleocr/_pipelines/seal_recognition.py:107-120 | paddleocr/_pipelines/table_recognition_v2.py:96-109 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/paddleocr_vl.py\u0060 and \u0060paddleocr/_pipelines/pp_structurev3.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 354 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/paddleocr_vl.py:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/paddleocr_vl.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6a6f3bf0a6f3283b5fb940357baed734ee6d60d99a1953ecc6516288889f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ppocr/modeling/necks/db_fpn.py:271-284 | ppocr/modeling/necks/db_fpn.py:386-399 | ppocr/modeling/necks/db_fpn.py:509-522 | ppocr/modeling/necks/db_fpn.py:898-911 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:271\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7fb5328de25e5f6f9ace5fedd6c51e92170c0dbf0bc1bcb3b5b36ad9ea6f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): ppocr/data/imaug/unimernet_aug.py:565-578 | ppocr/data/imaug/unimernet_aug.py:705-718 | ppocr/data/imaug/unimernet_aug.py:804-816 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fc0721e98ec4a0ab7f3ee7fe09db24ae34832d2bf7d927332da1b4d02da8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): ppocr/modeling/heads/det_sast_head.py:42-55 | ppocr/modeling/necks/sast_fpn.py:41-54 | ppocr/modeling/necks/sast_fpn.py:82-94 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/det_sast_head.py\u0060 and \u0060ppocr/modeling/necks/sast_fpn.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_sast_head.py:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_sast_head.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b515d7e94bb276798c3b5703c65312faf34ed41a31ae22e5512ac477d631e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:676-689 | ppocr/modeling/heads/rec_unimernet_head.py:841-855 | ppocr/modeling/heads/rec_unimernet_head.py:2009-2022 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:676\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"16494a2b559b56c0813022e1bb4420790469f754f1c193915c0844c6e6acd070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): ppocr/postprocess/locality_aware_nms.py:56-67 | ppocr/postprocess/locality_aware_nms.py:73-86 | ppocr/postprocess/locality_aware_nms.py:90-103 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/locality_aware_nms.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e07357c502a6d135c8333a447ab0cd886f980b98f54a5015aa33abc1c891cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): deploy/avh/convert_image.py:30-41 | ppocr/data/simple_dataset.py:469-482 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b870fa76d50d59c67726e5c0dd88c0a727c9541366ed01abc35648ca51371085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): mcp_server/paddleocr_mcp/inference/shared/paddleocr_api_sdk.py:77-90 | mcp_server/paddleocr_mcp/inference/shared/paddleocr_api_sdk.py:97-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/shared/paddleocr_api_sdk.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f676facc676ef548a550fced93cd4b6bd9f5539fc68f17f1da19b34b2cb53ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:1110-1123 | paddleocr/_doc2md/converters/pptx.py:424-436 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_doc2md/converters/docx.py:1110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"22272ba65279ce49b55b0e3652996be31d3014ead644e164de5c52399792e1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): paddleocr/_pipelines/pp_chatocrv4_doc.py:131-144 | paddleocr/_pipelines/pp_doctranslation.py:140-153 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 and \u0060paddleocr/_pipelines/pp_doctranslation.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 372 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23186e8c05b68fd58565a168db8a784740e3a92a3c37a238fcd18ecf29ebeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/data/imaug/latex_ocr_aug.py:133-146 | tools/infer/predict_rec.py:534-547 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/latex_ocr_aug.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00c623af68874cbdf7f92d35face87718bffcb19d7e7c9f817c47b8f5fa698c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): ppocr/data/imaug/operators.py:372-383 | ppocr/utils/e2e_utils/visual.py:75-88 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/operators.py\u0060 and \u0060ppocr/utils/e2e_utils/visual.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be667b478d33f693101f1ef83a416054c0dccb5cbe2b20b1fdc0509607f6995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/data/imaug/pg_process.py:832-845 | ppocr/data/imaug/sast_process.py:610-623 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:832\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42968d024f1959847e935c81dcc08fe20a8be415d3847bf32c9b4d75e432a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:732-745 | tools/infer/predict_rec.py:298-311 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/rec_img_aug.py:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5624bbcc1aa3da8fead95e91840c7a16d8a82df9eed8c367fb17b62052d2a9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/modeling/heads/det_drrg_head.py:58-71 | ppocr/modeling/heads/proposal_local_graph.py:70-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_drrg_head.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc899018f6205c6b41788180672fe2eb38a131251cf89cee1d57769fb2f1c40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/modeling/heads/rec_att_head.py:187-200 | ppocr/modeling/heads/rec_spin_att_head.py:96-109 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_att_head.py\u0060 and \u0060ppocr/modeling/heads/rec_spin_att_head.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b14ce5e469be2c373d77528ee0f02d2c980340802315fc24db8f50ee4bed21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/modeling/heads/rec_latexocr_head.py:891-904 | ppocr/modeling/heads/rec_latexocr_head.py:945-958 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93293b67171ec6aa9bc385c6d1bea01e12787b8d87c832cd5a02913b5ab68ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:385-398 | ppocr/modeling/heads/rec_unimernet_head.py:405-418 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:385\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d04bf038ceea11413cf081f98a110ec623040a1df83ce1c2a2cffac94c3f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ppstructure/kie/tools/eval_with_label_end2end.py:187-200 | tools/end2end/eval_end2end.py:167-180 \u2014 before extracting anything, compare \u0060ppstructure/kie/tools/eval_with_label_end2end.py\u0060 and \u0060tools/end2end/eval_end2end.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/eval_with_label_end2end.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5b4b468ea8f321c3df58ee3265c02efdb52210f60325790c6a650477e15c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): ppstructure/table/table_metric/table_metric.py:64-77 | ppstructure/table/table_metric/table_metric.py:88-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/table_metric/table_metric.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae3c294d0d05cc57852bb29c0f68ecfc490ff04b50f03888db371baf883d044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): ppocr/data/imaug/operators.py:377-387 | ppocr/data/imaug/operators.py:405-417 | ppocr/utils/e2e_utils/visual.py:34-46 | ppocr/utils/e2e_utils/visual.py:59-70 | ppocr/utils/e2e_utils/visual.py:81-92 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/operators.py\u0060 and \u0060ppocr/utils/e2e_utils/visual.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7d4f0bce8232dccff3c70bf148718486ce45e3a25a55757ba1eee5b03e193f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): deploy/avh/convert_image.py:37-49 | ppocr/data/imaug/rec_img_aug.py:640-652 | ppocr/data/imaug/rec_img_aug.py:667-679 | tools/infer/predict_rec.py:441-453 \u2014 before extracting anything, compare \u0060deploy/avh/convert_image.py\u0060 and \u0060ppocr/data/imaug/rec_img_aug.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2852d24442f32083a05af453610816e47a26d7a18fe42fff0cacbef4ad1c6cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): ppocr/losses/distillation_loss.py:200-211 | ppocr/losses/distillation_loss.py:309-321 | ppocr/losses/distillation_loss.py:454-465 | ppocr/losses/distillation_loss.py:563-575 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/losses/distillation_loss.py:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b18c0123f5fd26bcbab035916ff73db525552d4e47874837f2671ad57e42056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): ppocr/data/imaug/label_ops.py:54-66 | ppocr/data/imaug/label_ops.py:215-227 | ppocr/data/imaug/label_ops.py:251-263 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/data/imaug/label_ops.py:69\u0060 calls \u0060expand_points_num\u0060 and \u0060ppocr/data/imaug/label_ops.py:228\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47810a07ed3bd147d06171327a6ab96edbb2949b22e71f7793abc5598a16815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): ppocr/modeling/heads/rec_att_head.py:74-84 | ppocr/modeling/heads/rec_att_head.py:170-182 | ppocr/modeling/heads/rec_spin_att_head.py:81-91 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_att_head.py\u0060 and \u0060ppocr/modeling/heads/rec_spin_att_head.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b027100122f9a13a899b59c08fb633f78cf693ac8b03571c9b5fabf4872ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:595-610 | ppocr/modeling/heads/rec_unimernet_head.py:1166-1178 | ppocr/modeling/heads/rec_unimernet_head.py:1842-1856 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"073ba22b2fabdd0956a3db920e3d79947a765033e92fa986f6b640b8925dd869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): ppocr/modeling/heads/rec_ppformulanet_head.py:1133-1145 | ppocr/modeling/heads/rec_ppformulanet_head.py:1251-1263 | ppocr/modeling/heads/rec_unimernet_head.py:2458-2469 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1265\u0060 calls \u0060concat\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py:2470\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7533c2d730a2a826014cdbb939995195008c179829ffe8e96c3bb6e6f6bd3f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deploy/slim/quantization/export_model.py:69-81 | ppocr/utils/export_model.py:422-434 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deploy/slim/quantization/export_model.py:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36d9c0baf9376b61a80622ae853f2708f16988d33ab20eb656521028c061e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/backbones/rec_resnet_32.py:292-304 | ppocr/modeling/backbones/rec_resnet_rfl.py:229-241 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_resnet_32.py\u0060 and \u0060ppocr/modeling/backbones/rec_resnet_rfl.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_32.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fd7e0ade2b2b8061fbd22adb68ac77b413a87e8e364799f0cca90f27fa0901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:55-67 | ppocr/modeling/backbones/rec_svtrv2.py:100-112 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_svtrv2.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa997347f1ecf7d62960cfcf1305d0140d018ad121af62de64339af84bb327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:300-312 | ppocr/modeling/backbones/rec_svtrnet.py:321-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_svtrnet.py:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a71e244268b12a329682acfb369dce8ced481399402087f496300115155abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1062-1074 | ppocr/modeling/heads/rec_ppformulanet_head.py:1202-1215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1076\u0060 calls \u0060reshape\u0060 and \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1217\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b359985857d6d5c3d7c40c35d52528497b53254acc447d205123fee67568c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1166-1180 | ppocr/modeling/heads/rec_unimernet_head.py:2562-2574 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca29928aff65db37d8c5166db0405d5287f2dc63277e720f57e360fb7c10519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:121-133 | ppocr/modeling/necks/table_fpn.py:29-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1dee6bb31f293988f0f90c9d67a2126a055faa3b27c44dcc4bc4a499a478f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:226-238 | ppocr/modeling/transforms/tsrn.py:101-113 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f256c5d0d0bc7f66c3613ed7b15dbb0b526d039b68fdd109e61b62693d6437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/utils/save_load.py:51-63 | test_tipc/supplementary/train.py:25-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bc2997f40958f095ac0a209f613a70825f23a7f5f5f0f1e8c978be3b09765f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppstructure/pdf2word/pdf2word.py:392-404 | ppstructure/pdf2word/pdf2word.py:407-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/pdf2word/pdf2word.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cd7b09f106906046fe84ff5b7cffb5eb09df9a1e4e4d6061a486f2f4877204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): tools/program.py:541-552 | tools/program.py:585-597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/program.py:541\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cb4227184cce8f84cd50ad90c2f32758aa1027d5bd44c90b733e06f4ec5f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 8): ppocr/modeling/heads/det_east_head.py:48-59 | ppocr/modeling/heads/det_sast_head.py:47-58 | ppocr/modeling/heads/e2e_pg_head.py:48-59 | ppocr/modeling/necks/east_fpn.py:47-58 | ppocr/modeling/necks/east_fpn.py:89-99 | ppocr/modeling/necks/pg_fpn.py:96-106 | ppocr/modeling/necks/sast_fpn.py:46-57 | ppocr/modeling/necks/sast_fpn.py:87-97 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/det_east_head.py\u0060 and \u0060ppocr/modeling/heads/e2e_pg_head.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_east_head.py:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_east_head.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46e277eacbbfc5b9b434a75c40869cda55df3b0fc2a08cbb305ce0fe435911f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): ppocr/modeling/backbones/det_resnet.py:75-86 | ppocr/modeling/backbones/det_resnet_vd.py:202-212 | ppocr/modeling/backbones/det_resnet_vd_sast.py:124-134 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:122-132 | ppocr/modeling/backbones/rec_resnet_vd.py:124-135 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b95d235681aa7e0a8624e1166d42d9dedbe6b0aa057bfe762634e5a713c4b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): ppocr/data/imaug/label_ops.py:878-889 | ppocr/data/imaug/label_ops.py:927-938 | ppocr/postprocess/rec_postprocess.py:693-703 | ppocr/postprocess/rec_postprocess.py:768-778 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"07166fc603799927567e26b304fd549393888ab3b40850bc2cae7b48f03b4395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ppocr/losses/det_sast_loss.py:61-72 | ppocr/losses/det_sast_loss.py:82-93 | ppocr/losses/det_sast_loss.py:103-114 | ppocr/losses/e2e_pg_loss.py:48-59 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/det_sast_loss.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8244c875b352dd25c0c436ad93538d3b0a650fb58c46ef1b748ffd1e15f2eec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): ppocr/modeling/heads/rec_ppformulanet_head.py:1165-1176 | ppocr/modeling/heads/rec_ppformulanet_head.py:1280-1291 | ppocr/modeling/heads/rec_unimernet_head.py:2476-2487 | ppocr/modeling/heads/rec_unimernet_head.py:2561-2571 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a306dff0d4b17995fe22370bb65a79893680af665b72a0a95b55f942ab2a3830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ppocr/postprocess/sast_postprocess.py:90-101 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:347-358 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:83-94 | ppocr/utils/e2e_utils/visual.py:140-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/sast_postprocess.py:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d93e6c6c6dcf2d2ce35477f6f9c82a59e70788b1b94a2388d4e655386bfa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): deploy/slim/quantization/export_model.py:96-106 | deploy/slim/quantization/quant.py:130-140 | tools/train.py:108-119 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/export_model.py\u0060 and \u0060deploy/slim/quantization/quant.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34e04d1dc115d83466f054dac7da544a127c0393e295959656150a06178eb3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:89-100 | mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py:91-102 | mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py:92-103 \u2014 \u0060mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py\u0060 and \u0060mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 27 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/aistudio.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae8b9c301243a15d5e82da4c98461dd720ea0d86fe7135a7c0548f2ac9ba878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ppocr/data/simple_dataset.py:369-380 | ppocr/data/simple_dataset.py:405-416 | ppocr/data/simple_dataset.py:514-525 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/data/simple_dataset.py:367\u0060 calls \u0060randint\u0060, \u0060__len__\u0060 and \u0060ppocr/data/simple_dataset.py:404\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/simple_dataset.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656ccfe12ad157268ebd98746b5262aa9e8b45e053fa1163f7a23484b240b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd.py:316-327 | ppocr/modeling/backbones/det_resnet_vd_sast.py:261-272 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:241-252 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet_vd.py:316\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bbf0e3596f04ff2e853440bdc76c07d7c07aa5d93ab5e43b6ed89f9de68487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): ppocr/modeling/backbones/rec_vit.py:147-157 | ppocr/modeling/backbones/rec_vit_parseq.py:161-171 | ppocr/modeling/heads/rec_cppd_head.py:178-189 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_vit.py\u0060 and \u0060ppocr/modeling/backbones/rec_vit_parseq.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_vit.py:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Callable\u0060 names \u0060collections\u0060 in one and \u0060collections.abc\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_vit.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff180dcfb2887d76716c9a00b1b28db842c29fb586ff6f2d4b56e13e4b66fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): ppocr/modeling/heads/rec_att_head.py:104-115 | ppocr/modeling/heads/rec_att_head.py:205-215 | ppocr/modeling/heads/rec_spin_att_head.py:114-124 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_att_head.py\u0060 and \u0060ppocr/modeling/heads/rec_spin_att_head.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e7be40943c58803012b328e51ac846e1182b6ee8d39b1bd47d0cdeb56bbe7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ppocr/modeling/heads/rec_srn_head.py:57-68 | ppocr/modeling/heads/rec_srn_head.py:141-152 | ppocr/modeling/heads/rec_srn_head.py:158-169 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_srn_head.py:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_srn_head.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7969bde1195667f8d602f339e26a174a87c2f18ce2242bc7ed4246d435e150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): tools/infer/predict_rec.py:718-729 | tools/infer/predict_rec.py:742-753 | tools/infer/predict_rec.py:765-776 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/infer/predict_rec.py:718\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d133d15f74b4c89f601d046ca4d76ca6a2c20e202c3c8690c2cdeede8c4f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/data/imaug/operators.py:57-68 | test_tipc/supplementary/data.py:50-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9bd81035bdb82ff193dd7d2ffb28103b40d0fe830db99fc253c15c1df9bdc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 3): ppocr/data/imaug/pg_process.py:406-417 | ppocr/data/imaug/sast_process.py:210-221 | ppocr/postprocess/sast_postprocess.py:177-180 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/sast_postprocess.py:177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4b0943bddf35a98fd1c966ef07c60d5e1defe7ab21ba79571e88bb334d8c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): ppocr/data/imaug/pg_process.py:553-564 | ppocr/data/imaug/sast_process.py:325-334 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:553\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e9906b70db250f872de6ba7c058973776584e6806f2de6b5d3e4ebcbe3ab77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/data/imaug/table_ops.py:37-48 | ppocr/data/imaug/table_ops.py:87-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/table_ops.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8551d9c3b7278991df41f30af5d86f647c00b51d520368af5133bac09a68ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): ppocr/data/pgnet_dataset.py:33-42 | ppocr/data/pubtab_dataset.py:33-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/pgnet_dataset.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c322654909c429ed24bab5ea0c9fe8d0f03f63500fded4046cd0c5d13e12500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ppocr/modeling/backbones/det_pp_lcnet.py:252-262 | ppocr/modeling/backbones/rec_lcnetv3.py:543-554 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_pp_lcnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_lcnetv3.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd1af1c6c642e923c4172fa2133211798e2d29454e58eed7418df9b53300c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/modeling/backbones/e2e_resnet_vd_pg.py:190-201 | ppocr/modeling/backbones/rec_resnet_vd.py:193-204 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/e2e_resnet_vd_pg.py\u0060 and \u0060ppocr/modeling/backbones/rec_resnet_vd.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/e2e_resnet_vd_pg.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e16ece96d646e2d3e9e63a0794c2acf19338c81d92571d7993fc614d8b6975c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1076-1087 | ppocr/modeling/heads/rec_unimernet_head.py:2508-2518 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa339f97a3c7d8a2f48ecc061287c0599c8183c52e3c0eb3132cd19bbd37ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1117-1128 | ppocr/modeling/heads/rec_unimernet_head.py:2535-2546 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa033e5c1d5844dfec912e28b15751e8bcb11e9aeb6dd37b4d57fac82411dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:453-466 | ppocr/modeling/necks/db_fpn.py:850-861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:453\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c815ef05bde2a74035dc99ef2bfc5f75a03074ba5509b5d5d1cf1ee3857ddb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/postprocess/picodet_postprocess.py:52-63 | ppocr/postprocess/picodet_postprocess.py:82-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/picodet_postprocess.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3497ad42f8df4942dd760939bc76a3fa3ef11816eb2a55eff6ed7e69a290b9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:151-162 | ppocr/postprocess/rec_postprocess.py:1064-1075 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/rec_postprocess.py:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c7ff3f5db314b2e8d9047a3ae23083b1e1a156ec6e4034e25771d23a48a728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppstructure/kie/tools/eval_with_label_end2end.py:143-154 | tools/end2end/eval_end2end.py:123-134 \u2014 before extracting anything, compare \u0060ppstructure/kie/tools/eval_with_label_end2end.py\u0060 and \u0060tools/end2end/eval_end2end.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/tools/eval_with_label_end2end.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f97e91a9440ae0fda8a567eebe52025eafe2b6be6bf8f4863c558d06ba6a208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): tools/infer_rec.py:125-136 | tools/infer_sr.py:65-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_rec.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e876a1b341371cc30246218d23e08bbf4e05e3145bb57b9cc5a40b4fe1b8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): deploy/hubserving/kie_ser/module.py:76-86 | deploy/hubserving/kie_ser_re/module.py:76-86 | deploy/hubserving/ocr_cls/module.py:72-82 | deploy/hubserving/ocr_det/module.py:74-84 | deploy/hubserving/ocr_rec/module.py:72-82 | deploy/hubserving/ocr_system/module.py:75-85 | deploy/hubserving/structure_layout/module.py:71-81 | deploy/hubserving/structure_system/module.py:74-84 | deploy/hubserving/structure_table/module.py:73-83 \u2014 \u0060deploy/hubserving/kie_ser/module.py\u0060 and \u0060deploy/hubserving/kie_ser_re/module.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 64 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a53cb4a2e9dfd7e70741edb9681b507b1e166d6b655adb2faa5a6c716fe208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ppocr/losses/distillation_loss.py:89-99 | ppocr/losses/distillation_loss.py:185-195 | ppocr/losses/distillation_loss.py:293-303 | ppocr/losses/distillation_loss.py:439-449 | ppocr/losses/distillation_loss.py:547-557 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7d6d4882d7e499448ed2246c17aaa55aac2d45ce82a40b2c4109a78959c749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): ppocr/losses/distillation_loss.py:206-215 | ppocr/losses/distillation_loss.py:315-325 | ppocr/losses/distillation_loss.py:371-380 | ppocr/losses/distillation_loss.py:460-469 | ppocr/losses/distillation_loss.py:569-579 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/losses/distillation_loss.py:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fb208143642cd4d8e4834f68a2765c1295616b1051534935a20e63313e5466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ppocr/modeling/backbones/det_pp_lcnet.py:182-192 | ppocr/modeling/backbones/det_pp_lcnet.py:195-205 | ppocr/modeling/backbones/det_pp_lcnet.py:208-218 | ppocr/modeling/backbones/det_pp_lcnet.py:221-231 | ppocr/modeling/backbones/det_pp_lcnet.py:234-244 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_pp_lcnet.py:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"28309825c71cb3039a32156eecaf7a484a0edc6b49ec91c8247ca9bbd13ab3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ppocr/modeling/backbones/det_resnet_vd.py:267-277 | ppocr/modeling/backbones/det_resnet_vd_sast.py:194-204 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:192-202 | ppocr/modeling/backbones/rec_resnet_vd.py:195-205 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b592150e1af64e30e1135b8ac9db680422a4b5fefc8cd4393824d3e0c568e296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): ppocr/modeling/heads/det_sast_head.py:72-82 | ppocr/modeling/heads/det_sast_head.py:84-94 | ppocr/modeling/heads/det_sast_head.py:108-116 | ppocr/modeling/heads/det_sast_head.py:118-126 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/det_sast_head.py:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_sast_head.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b4460b33ed024d3b42b91295bd6fe44824da85ddd753516946b24d3851813a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ppocr/data/imaug/pg_process.py:677-687 | ppocr/data/imaug/sast_process.py:65-75 | ppocr/data/imaug/sast_process.py:462-472 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:677\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e5ecf941b66342cd4a131f650538de3748a1404119be542fa3502960990978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ppocr/data/pgnet_dataset.py:61-71 | ppocr/data/pubtab_dataset.py:58-68 | ppocr/data/simple_dataset.py:291-301 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/pgnet_dataset.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"608d371a5c81eb85ecf369b7d4379124a7765819f6b9c56f9e645dd35180cc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ppocr/postprocess/rec_postprocess.py:545-555 | ppocr/postprocess/rec_postprocess.py:706-716 | ppocr/postprocess/rec_postprocess.py:781-791 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173ea11b2a553f283727a69c0ca96913e1d7b3f2ba1b9f43dc72c2a7e91760f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): ppstructure/kie/predict_kie_token_ser.py:146-156 | ppstructure/kie/predict_kie_token_ser_re.py:90-100 | ppstructure/table/predict_structure.py:172-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/predict_kie_token_ser.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6763f413fb42f87fe08f6850056023a610e4c00037304df314acb6e5b6343e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deploy/slim/quantization/quant.py:105-115 | tools/train.py:76-86 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/quant.py\u0060 and \u0060tools/train.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deploy/slim/quantization/quant.py:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/quant.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1906e3fed25ff05e86e064ad07bbd7b68575eefbc5c697173a01c699ea59ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mcp_server/paddleocr_mcp/inference/ocr/local.py:110-120 | mcp_server/paddleocr_mcp/inference/shared/http_result_parsers.py:27-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mcp_server/paddleocr_mcp/inference/ocr/local.py:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/local.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"889d45aac1c4c1f4c1d11bd6aae172644b9294d0a0d1565747062f8e4299e051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): paddleocr/_api_client/_http.py:160-170 | paddleocr/_api_client/_http.py:173-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_api_client/_http.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffdb6133be9bcd132feab882cc4a83c172bdd31194eca57fed300b57888e385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): paddleocr/_doc2md/converters/pptx.py:287-298 | paddleocr/_doc2md/converters/pptx.py:511-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/pptx.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365bc85f40f2cb7b28504cec925d9634d8811262ab1ebab1e3ff80865b6bc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:178-188 | ppocr/data/imaug/fce_targets.py:149-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9124e7fa22fbd34376af57423df43ffbe431dbd4f80f2562d91017cbe0743031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/data/imaug/latex_ocr_aug.py:173-183 | ppocr/data/imaug/unimernet_aug.py:824-834 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/latex_ocr_aug.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2078f334dbab5f04de2c2c29c51c4aee7e22367ae0cf040e324ee9ee22bd032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/data/imaug/make_border_map.py:167-177 | ppocr/data/imaug/make_border_map.py:180-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/make_border_map.py:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/make_border_map.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"55af55afd9d5fac4e096a6d9e4550e8a7fcf6fba9840696a5990e75d071d598d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/data/imaug/pg_process.py:540-550 | ppocr/data/imaug/sast_process.py:312-322 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/data/imaug/pg_process.py:551\u0060 calls \u0060fillPoly\u0060, \u0060round\u0060, \u0060astype\u0060 and \u0060ppocr/data/imaug/sast_process.py:325\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"325bf3cef6066a42d218a0de2be0539391fc1e33af581097e7f57a79f681adc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): ppocr/data/imaug/pg_process.py:991-1000 | ppocr/data/imaug/sast_process.py:723-733 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:991\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1075be960f3ffe5abaf59582bea4863a2726761b5a9a616db776fea79bc8cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/losses/rec_att_loss.py:31-41 | ppocr/losses/rec_spin_att_loss.py:40-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_att_loss.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"041ee8a603be2fc6806bda6a273d28a5e98b85c36d1dfd8f11fc29d37e8056aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:258-268 | ppocr/modeling/heads/rec_unimernet_head.py:381-389 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fe7bf00da3d9c4d6712fb86b0dcf4104e1f76aa6e3ff84d8316f0678ab89a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:1085-1095 | ppocr/modeling/heads/rec_ppformulanet_head.py:1224-1234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_ppformulanet_head.py:1085\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc7d8cf0b1e6cab7af14d16cef65fca80a33717f2648cb88b2bad3238e3d9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:1024-1034 | ppocr/postprocess/rec_postprocess.py:1207-1216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16f9250b2fd2cec05ffba498a2389c14b9a73d2c7d757106b3bb1915617716d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): ppocr/postprocess/sast_postprocess.py:296-306 | ppocr/utils/e2e_utils/pgnet_pp_utils.py:132-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/sast_postprocess.py:296\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9e50730fc7f45043ec7157d2f7b1cebf2bf6be9453d2dfdce93c2758ea30bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/infer/utility.py:587-597 | tools/infer_e2e.py:81-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c40385a12b09a552abec3a6330a350a401d4aa62ab822583d42d5940d4bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): deploy/avh/convert_image.py:41-49 | ppocr/data/imaug/rec_img_aug.py:613-622 | ppocr/data/imaug/rec_img_aug.py:644-652 | ppocr/data/imaug/rec_img_aug.py:671-679 | tools/infer/predict_rec.py:376-385 | tools/infer/predict_rec.py:445-453 \u2014 before extracting anything, compare \u0060deploy/avh/convert_image.py\u0060 and \u0060ppocr/data/imaug/rec_img_aug.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c69ebbbc3a564b23611b750a1ed306dc0b148611abfa9c7224dc78fe72e61d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): ppocr/data/imaug/pg_process.py:98-107 | ppocr/data/imaug/pg_process.py:689-697 | ppocr/data/imaug/sast_process.py:77-86 | ppocr/data/imaug/sast_process.py:474-482 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"244dfc0b4c977e488a53a397c857e6ac325db6aee2d2bc204c6868525a43a5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): ppocr/postprocess/rec_postprocess.py:325-333 | ppocr/postprocess/rec_postprocess.py:398-406 | ppocr/postprocess/rec_postprocess.py:744-753 | ppocr/postprocess/rec_postprocess.py:819-828 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/postprocess/rec_postprocess.py:395\u0060 calls \u0060isinstance\u0060 and \u0060ppocr/postprocess/rec_postprocess.py:742\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19b21c66b30b917dcb388a442089749fd532750462ff41418a32c0ed0c8df8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ppocr/postprocess/sast_postprocess.py:79-88 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:336-345 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:72-81 | ppocr/utils/e2e_utils/visual.py:129-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8061ce207b7d744d8a652c9b5379e33e081542697fc7926b5ce907f20455d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): deploy/slim/quantization/export_model.py:76-85 | deploy/slim/quantization/quant.py:110-119 | tools/train.py:81-90 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/export_model.py\u0060 and \u0060deploy/slim/quantization/quant.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdaf6c068b25cce185d413f4c02baa4adefdf86d62f4a4c33c8e154f3410875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd.py:341-350 | ppocr/modeling/backbones/det_resnet_vd_sast.py:286-295 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:266-275 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet_vd.py:341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c9dabfb5b600b2ccef219703c79d9b9f44307b2519005f4ce2bb493ef53ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ppocr/modeling/backbones/rec_pphgnetv2.py:1630-1639 | ppocr/modeling/backbones/rec_pphgnetv2.py:1688-1697 | ppocr/modeling/backbones/rec_vary_vit.py:591-600 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/backbones/rec_vary_vit.py:587\u0060 calls \u0060Linear\u0060 and \u0060ppocr/modeling/backbones/rec_pphgnetv2.py:1627\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"34516f77a95e0dd21f22601bb398d67af5f3fb282ff3da5e06a1bf48eea423f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:120-129 | mcp_server/paddleocr_mcp/inference/shared/http_result_parsers.py:34-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/aistudio.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bcf1ed4fc7b56e773aca6e126d22b964d7078175d80f8a3ca51d2a7c582940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:866-875 | paddleocr/_doc2md/converters/docx.py:1193-1202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"22939e6176003d9c79d860d79ee9dd5dda1baafb5cb26d6266dbc42bd0d3db65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/label_ops.py:2049-2058 | ppocr/postprocess/rec_postprocess.py:1404-1413 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"814a49b64fb5a74e19f0d0628780e67c8727a4766fd3519973326c98cec0bb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/pg_process.py:110-119 | ppocr/data/imaug/sast_process.py:89-98 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9933cb8bff686092ce8c23f21d47cfc848d8a6dd470f5b2258b78c9366de01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): ppocr/data/imaug/pg_process.py:421-428 | ppocr/data/imaug/sast_process.py:225-234 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:421\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa88d03ad6effa793fc6b97fbc58f8a4174eb5b0d1d568e2c860920d8251e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/pg_process.py:1005-1014 | ppocr/data/imaug/sast_process.py:738-747 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:1005\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b06ad3282e7390d9ce501e7e58f23c236513c85bd6b1a75b43190f1f11388c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/pg_process.py:1017-1026 | ppocr/data/imaug/sast_process.py:750-759 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570405318b7d8afa4c8b17329c9213bb636a96bcc567dec69c1d750f0b4c8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/pg_process.py:1037-1046 | ppocr/data/imaug/sast_process.py:771-780 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e12d422c994d0e518f183fc33ffc9109235851c79ed047072f850f3e205308d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ppocr/data/simple_dataset.py:478-487 | tools/infer/predict_rec.py:417-425 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/simple_dataset.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e5fa4b54bff53be7cf12ecb12fc3ce5f5efb3be4f4875197e30bed0d607093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/modeling/backbones/rec_donut_swin.py:706-715 | ppocr/modeling/backbones/rec_donut_swin.py:740-749 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/backbones/rec_donut_swin.py:716\u0060 calls \u0060zeros\u0060 and \u0060ppocr/modeling/backbones/rec_donut_swin.py:751\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"640f11ff51bdee8cf7d946d5ddc59cd4c23a585d287c6df8b95b7c1d09222a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/modeling/backbones/rec_resnetv2.py:469-478 | ppocr/modeling/backbones/rec_resnetv2.py:517-526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/backbones/rec_resnetv2.py:479\u0060 calls \u0060register_buffer\u0060, \u0060ones\u0060 and \u0060ppocr/modeling/backbones/rec_resnetv2.py:527\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnetv2.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"804402d940fb447e1eedb4f6fa466fead02736d83d8f159cca58616f8530e96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ppocr/modeling/heads/rec_robustscanner_head.py:228-236 | ppocr/modeling/heads/rec_robustscanner_head.py:306-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_robustscanner_head.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdac23828b1a1bed84b4f1062de15ecf414ad78e6745c891868f5afa14219a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/modeling/heads/rec_unimernet_head.py:1375-1384 | ppocr/modeling/heads/rec_unimernet_head.py:1385-1394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e4ccde2bab5703c4f46126043ff8f8e1fc62bc6a8641282e522525ad452569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/postprocess/drrg_postprocess.py:328-337 | ppocr/postprocess/fce_postprocess.py:118-127 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/postprocess/fce_postprocess.py:117\u0060 calls \u0060valid_boundary\u0060 and \u0060ppocr/postprocess/drrg_postprocess.py:327\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/drrg_postprocess.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b5283cc400f374a5cc3be9989e8a693ac34bc2cb6e235c213cee830eb0737e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ppocr/utils/save_load.py:223-232 | test_tipc/supplementary/utils.py:162-170 \u2014 before extracting anything, compare \u0060ppocr/utils/save_load.py\u0060 and \u0060test_tipc/supplementary/utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/utils/save_load.py:234\u0060 calls \u0060info\u0060 and \u0060test_tipc/supplementary/utils.py:171\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/save_load.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"99552f15184591c96467f3f73d7c133ac1af506cc8d18d891ab58b615e8ad2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ppocr/modeling/backbones/det_resnet.py:135-143 | ppocr/modeling/backbones/det_resnet_vd.py:269-277 | ppocr/modeling/backbones/det_resnet_vd_sast.py:196-204 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:194-202 | ppocr/modeling/backbones/rec_resnet_vd.py:197-205 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aca2bd04625be3cf07a78f972f7e1456048703ded7156d4218bd64def9df1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ppocr/modeling/necks/db_fpn.py:195-203 | ppocr/modeling/necks/db_fpn.py:278-286 | ppocr/modeling/necks/db_fpn.py:393-401 | ppocr/modeling/necks/db_fpn.py:516-524 | ppocr/modeling/necks/db_fpn.py:905-913 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f143f90883456dafcc663d74b636e9382c29dc7d5e8b541aadc944273a7483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): deploy/slim/quantization/export_model.py:75-83 | deploy/slim/quantization/quant.py:109-117 | ppocr/utils/export_model.py:428-436 | tools/train.py:80-88 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/export_model.py\u0060 and \u0060deploy/slim/quantization/quant.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ee3e6b0d9d39134502e374e8057e9f8584df52ebfe42d066138607cc30aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): deploy/slim/quantization/export_model.py:119-127 | deploy/slim/quantization/quant.py:153-160 | tools/train.py:136-144 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/export_model.py\u0060 and \u0060deploy/slim/quantization/quant.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/export_model.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bb4c58569f3d1c431d4b3082ea9dda957b5e48884c397398af1aafac59a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): deploy/slim/quantization/quant.py:48-56 | deploy/slim/quantization/quant_kl.py:50-58 | test_tipc/supplementary/slim/slim_quant.py:10-18 \u2014 before extracting anything, compare \u0060deploy/slim/quantization/quant.py\u0060 and \u0060test_tipc/supplementary/slim/slim_quant.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/slim/quantization/quant.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b28f8d672f56c5d482b0c7f39e692a31a01b2673d3c6c93534d3f8190f0be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:117-124 | mcp_server/paddleocr_mcp/inference/ocr/local.py:114-122 | mcp_server/paddleocr_mcp/inference/shared/http_result_parsers.py:31-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/aistudio.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"94020d0797588f83c53ac2ae135d69c28b96c9a0e796910956fff0fb18ea2095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): paddleocr/_doc2md/converters/docx.py:868-876 | paddleocr/_doc2md/converters/docx.py:1195-1203 | paddleocr/_doc2md/converters/docx.py:1372-1378 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060paddleocr/_doc2md/converters/docx.py:1371\u0060 calls \u0060flush_code_buf\u0060 and \u0060paddleocr/_doc2md/converters/docx.py:867\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"c581986d6b452a934d818993436c8accf067e1592541bb2b5170d1a8b4daf2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ppocr/losses/rec_att_loss.py:30-38 | ppocr/losses/rec_rfl_loss.py:50-58 | ppocr/losses/rec_spin_att_loss.py:39-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_att_loss.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccc58290433cbd2114454e23a0a47cad1b3b4254eb5bd3d89657a63191836eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ppocr/modeling/backbones/rec_resnet_32.py:262-270 | ppocr/modeling/backbones/rec_resnet_rfl.py:199-207 | ppocr/modeling/backbones/rec_resnet_rfl.py:318-326 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_resnet_32.py\u0060 and \u0060ppocr/modeling/backbones/rec_resnet_rfl.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_resnet_32.py:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_resnet_32.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"394947b390599234bd1da593ae4ec9ecc2838aa6cb64007aed42b1f284648bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ppocr/postprocess/rec_postprocess.py:1241-1249 | ppocr/postprocess/rec_postprocess.py:1500-1508 | ppocr/postprocess/rec_postprocess.py:1525-1533 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e76d1fe0eac85659a3a0a387ae34da8781767ed4a8ba37b1c3fb90de8571cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): tools/infer_det.py:94-102 | tools/infer_e2e.py:133-140 | tools/infer_table.py:85-93 \u2014 before extracting anything, compare \u0060tools/infer_det.py\u0060 and \u0060tools/infer_e2e.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_det.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d8a1e3d33507d1ee7e7260aaec838609460da6c1534c82c8b328f4861f5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:1005-1013 | paddleocr/_doc2md/converters/pptx.py:362-370 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060paddleocr/_doc2md/converters/pptx.py:372\u0060 calls \u0060find\u0060 and \u0060paddleocr/_doc2md/converters/docx.py:1015\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2887cff3ae7303498e3bbb5e31850742449fa4e802f0d9d5436a02a682c034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:189-197 | ppocr/data/imaug/fce_targets.py:160-168 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a91160090801cf7b54a5afb5414022c5c1538317dc5a0dc17cd225433b7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/pg_process.py:440-448 | ppocr/data/imaug/sast_process.py:246-254 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7362ffbd19836b1f455b6980951dbdc912bc6156f50c0f4f0feb54f95083194c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/text_image_aug/augment.py:27-35 | ppocr/data/imaug/text_image_aug/augment.py:105-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/text_image_aug/augment.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afae31e92ea466d9bda917c86feb7e738c617f4deac8b7c3882f339d0494c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/unimernet_aug.py:541-549 | ppocr/data/imaug/unimernet_aug.py:648-656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"895797400cfbacf48ec30f1f13e394ca1ec136fe691d94afd2280d662be8e44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:164-172 | ppocr/modeling/backbones/rec_svtrv2.py:131-139 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_svtrv2.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a153bfe73f7448a8da86ed59b74af42c7cef3652f0a16879ac280953c2d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/modeling/heads/det_ct_head.py:37-45 | ppocr/modeling/heads/det_pse_head.py:25-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_ct_head.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb38685b7be78db7f9797d954e456f5bd96d5623ae8aad21ea99664161b688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/modeling/heads/rec_latexocr_head.py:919-927 | ppocr/modeling/heads/rec_latexocr_head.py:977-985 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebab8914efb3f5642002bc2049671bb4555d19d924cf4b80b9bfc56f640cbd38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/modeling/necks/sast_fpn.py:112-120 | ppocr/modeling/necks/sast_fpn.py:199-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/sast_fpn.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00be03d11a4c0764d1e92ede16701b40d4f3334e4bfdd970ae28db57c192350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:272-280 | ppocr/modeling/transforms/tsrn.py:149-156 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c174bf4d2e3c66b187686eef588c432cf10002e1870aee05e78b33291de61a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:164-172 | ppocr/postprocess/rec_postprocess.py:1077-1086 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/rec_postprocess.py:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4638f6be3ddd7325c593d33052d87c2e14f4856de47ad4675180928e5c118e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/postprocess/rec_postprocess.py:261-269 | ppocr/postprocess/rec_postprocess.py:860-868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecefc4d577c344de8c19b2fe0e62b02148062377df45862f60b65e4c79c3db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): ppstructure/kie/predict_kie_token_ser.py:179-187 | ppstructure/table/predict_structure.py:195-201 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppstructure/kie/predict_kie_token_ser.py:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppstructure/table/predict_structure.py:203\u0060 calls \u0060report\u0060 and \u0060ppstructure/kie/predict_kie_token_ser.py:190\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/kie/predict_kie_token_ser.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7255e2d9586616517337b771f1b4a035c0a4d41d10527fa1c1ecc73ff2100928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/eval.py:73-81 | tools/infer_rec.py:84-92 \u2014 before extracting anything, compare \u0060tools/eval.py\u0060 and \u0060tools/infer_rec.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/infer_rec.py:82\u0060 calls \u0060getattr\u0060 and \u0060tools/eval.py:71\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/eval.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"063fee61a3b675586bd44afa06c75f15fe7771657f0ac83199fd31f68145b411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): tools/program.py:349-357 | tools/program.py:746-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/program.py:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/program.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfb1482d21ada681fa16c70961fbc3d93696ceeefffa77ff59f0e12f12e6c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): ppocr/data/imaug/operators.py:337-344 | ppocr/data/imaug/operators.py:378-385 | ppocr/data/imaug/operators.py:407-414 | ppocr/utils/e2e_utils/visual.py:36-43 | ppocr/utils/e2e_utils/visual.py:61-68 | ppocr/utils/e2e_utils/visual.py:83-90 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/operators.py\u0060 and \u0060ppocr/utils/e2e_utils/visual.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"42651c94278cf9c8ef63fc2e18fb5fabe4d024a20087891eb06dfd4f6c1838f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): deploy/avh/convert_image.py:44-51 | ppocr/data/imaug/rec_img_aug.py:647-654 | ppocr/data/imaug/rec_img_aug.py:674-681 | tools/infer/predict_cls.py:79-86 | tools/infer/predict_rec.py:448-455 \u2014 before extracting anything, compare \u0060deploy/avh/convert_image.py\u0060 and \u0060ppocr/data/imaug/rec_img_aug.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f0866a5463be6af1093cdc04868678da0e6554379908001af40efbd503792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ppocr/losses/distillation_loss.py:103-110 | ppocr/losses/distillation_loss.py:199-206 | ppocr/losses/distillation_loss.py:308-315 | ppocr/losses/distillation_loss.py:453-460 | ppocr/losses/distillation_loss.py:562-569 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb7fa02be492aa10a46066cebf7c28eb03c3fa874ff87c549ebc7eba2d06e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): deploy/avh/convert_image.py:34-41 | ppocr/data/imaug/rec_img_aug.py:637-644 | ppocr/data/simple_dataset.py:474-482 | tools/infer/predict_rec.py:438-445 \u2014 before extracting anything, compare \u0060deploy/avh/convert_image.py\u0060 and \u0060ppocr/data/imaug/rec_img_aug.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/simple_dataset.py:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dd38f1c15ead2efe8c1e17cb9dd91f263f9a94119712d76bd5416f293a2ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ppocr/losses/rec_att_loss.py:31-38 | ppocr/losses/rec_sar_loss.py:24-31 | ppocr/losses/rec_satrn_loss.py:41-48 | ppocr/losses/rec_spin_att_loss.py:40-47 \u2014 before extracting anything, compare \u0060ppocr/losses/rec_sar_loss.py\u0060 and \u0060ppocr/losses/rec_satrn_loss.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_att_loss.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d32da68d924d195fd4bfa5e59d21747fa0260c31aea4df8ef843a22312d803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ppocr/modeling/backbones/det_resnet.py:178-185 | ppocr/modeling/backbones/det_resnet_vd_sast.py:254-261 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:234-241 | ppocr/modeling/backbones/rec_resnet_fpn.py:54-61 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_resnet.py:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"55147de2253f77db5757f35ec5436e2cac4344188a2cca66b03bd7626d9cf7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 5): ppocr/modeling/necks/db_fpn.py:209-210 | ppocr/modeling/necks/db_fpn.py:293-300 | ppocr/modeling/necks/db_fpn.py:408-415 | ppocr/modeling/necks/db_fpn.py:540-547 | ppocr/modeling/necks/db_fpn.py:929-936 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a77e0a3b170fb7991bbab8c16e04a4fd8c5a537ff82899479bd4791782c2740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ppocr/data/imaug/unimernet_aug.py:556-563 | ppocr/data/imaug/unimernet_aug.py:696-703 | ppocr/data/imaug/unimernet_aug.py:795-802 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"238b68f83638ef16612339b3682e64977477ac42af6fbd2b16979c76d467cf04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): ppocr/data/lmdb_dataset.py:167-174 | ppocr/data/lmdb_dataset.py:227-234 | ppocr/data/lmdb_dataset.py:322-327 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/data/lmdb_dataset.py:177\u0060 calls \u0060get_ext_data\u0060 and \u0060ppocr/data/lmdb_dataset.py:328\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/lmdb_dataset.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea960abaf02bb3c3192d8f10fb0ca16fa9329fb5d70ba06deecc0eaa43997b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/collate_fn.py:51-58 | tools/infer_kie_token_ser.py:49-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/collate_fn.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f268f3688b1cf9a3f2165f8457505c0c7e3bf863e3cf999bd29ec7d8d2d981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/abinet_aug.py:400-407 | ppocr/data/imaug/abinet_aug.py:436-443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/data/imaug/abinet_aug.py:409\u0060 calls \u0060shuffle\u0060, \u0060Compose\u0060 and \u0060ppocr/data/imaug/abinet_aug.py:444\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/abinet_aug.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f0e8024f9dded8651eec993f53c5521146347c1c992357b9257bbdae7d9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/label_ops.py:130-137 | ppocr/postprocess/rec_postprocess.py:36-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f17e59601e90c910c46da3c2787bdb20dd184c8b5f3d1b5b752a3382b769b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/operators.py:87-94 | test_tipc/supplementary/data.py:81-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcbb1fc7b1ccc14bdf5a4f1591d0b5e9c1bf02161d740f36be05307e8979d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/pg_process.py:979-986 | ppocr/data/imaug/sast_process.py:712-719 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb7b464b65e15acc005a13d511a0b76900ce276bf49b64350ce544b7eccf965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:512-519 | tools/infer/predict_cls.py:69-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9470ee37836673d9f91f01b7c2f47dcf787f8f748205a260d15c23bb7eeb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/unimernet_aug.py:172-179 | ppocr/data/imaug/unimernet_aug.py:275-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/unimernet_aug.py:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"806bd75e2ecd7f7c2c20b9a7259896d73c83f3cf3bebaab19126a1807742d3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/pubtab_dataset.py:73-80 | ppocr/data/pubtab_dataset.py:98-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/pubtab_dataset.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8918a4e9bda71a0f15eece333d5b17cb3bca3829f2c21553d949bde9a33866d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/backbones/rec_donut_swin.py:725-732 | ppocr/modeling/backbones/rec_donut_swin.py:757-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/backbones/rec_donut_swin.py:723\u0060 calls \u0060to_tensor\u0060, \u0060cast\u0060 and \u0060ppocr/modeling/backbones/rec_donut_swin.py:755\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6193f9123ee1f2878a182d1b8286a5e8ef8631373b7e9d58799272790312f0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/backbones/rec_hgnet.py:271-278 | ppocr/modeling/backbones/rec_pphgnetv2.py:1393-1400 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_hgnet.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f716a80ce8905c86c563e6401dca318ad3ffed7acf2646b9dbbe13599e6051c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:29-36 | ppocr/modeling/backbones/rec_vit_parseq.py:39-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/backbones/rec_vit_parseq.py:34\u0060 calls \u0060to_2tuple\u0060, \u0060tuple\u0060 and \u0060ppocr/modeling/backbones/rec_svtrnet.py:25\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab7ea4f06e4db60c02bd3475639d08cd1cca92e4cd1c4fe80107fe07abb0aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): ppocr/modeling/transforms/gaspin_transformer.py:157-164 | ppocr/modeling/transforms/gaspin_transformer.py:174-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/gaspin_transformer.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"966fc28a310fa789eedf1e72b074c8274f02ca0230f4380ff8ada65992dfb030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:242-249 | ppocr/modeling/transforms/tsrn.py:117-125 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/transforms/tbsrn.py:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5885cea6995a6aab854be90c1475166e47eabd86588da21de87fb8439387e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/postprocess/sast_postprocess.py:56-64 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:317-324 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"225aeaab6195450974981389f4e16c0d5086a754d1b78f8dce2d05bfd3faf484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): ppocr/utils/formula_utils/unimernet_data_convert.py:27-33 | ppocr/utils/formula_utils/unimernet_data_convert.py:54-61 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/utils/formula_utils/unimernet_data_convert.py:34\u0060 calls \u0060join\u0060 and \u0060ppocr/utils/formula_utils/unimernet_data_convert.py:62\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/formula_utils/unimernet_data_convert.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c250eff208432d94e3a9cadb7af854f230f82bbf0ad4cbeda39646995d4d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/utils/utility.py:27-34 | test_tipc/supplementary/utils.py:25-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/utility.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0424b2c08ac468d8bd0521c49b8ef9fc7d873e0646cd717336547e72880d5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/utils/visual.py:33-40 | ppocr/utils/visual.py:90-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/visual.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c425e9430e8bb722eb6e4a4767a68773e6ecc85acdb0fe11aa28b62732eef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): test_tipc/supplementary/config.py:17-24 | tools/program.py:46-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/config.py:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/config.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c8dba66c893491de3e4942882138ecd788b5783d06cbe1100228b4435c2469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/infer/predict_cls.py:91-99 | tools/infer/predict_rec.py:584-591 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/infer/predict_cls.py:90\u0060 calls \u0060deepcopy\u0060 and \u0060tools/infer/predict_rec.py:583\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_cls.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9752218233a501e550e84e38a3f5914a9a57a03e37a63abd07e76e3297caa170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/infer/predict_det.py:77-84 | tools/infer/predict_det.py:86-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_det.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d974dbfc9c9b4c516a36d8d6c32b73f0130fbebce725105b94a77f96785505a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/infer/predict_rec.py:254-261 | tools/infer/predict_rec.py:421-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/predict_rec.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec717cb12ac846284f397c189e9add878197551f88d82102ac1c24e997970b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): tools/infer_cls.py:66-73 | tools/infer_e2e.py:131-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/infer_e2e.py:138\u0060 calls \u0060expand_dims\u0060 and \u0060tools/infer_cls.py:74\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_cls.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e2e19962ad1f90510bda35bd03411c2d5f4adab1f867326236f356c8049dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): ppocr/modeling/backbones/rec_svtrnet.py:590-596 | ppocr/modeling/backbones/rec_svtrv2.py:563-569 | ppocr/modeling/backbones/rec_vit.py:252-258 | ppocr/modeling/backbones/rec_vit_parseq.py:293-299 | ppocr/modeling/backbones/rec_vitstr.py:110-116 | ppocr/modeling/heads/rec_cppd_head.py:287-293 | ppocr/modeling/necks/rnn.py:208-214 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_svtrv2.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce33900198753221fcabdb3d2caddaa46c693c0425864d71ebc9aa6a238c752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): ppocr/losses/distillation_loss.py:102-108 | ppocr/losses/distillation_loss.py:198-204 | ppocr/losses/distillation_loss.py:306-313 | ppocr/losses/distillation_loss.py:363-369 | ppocr/losses/distillation_loss.py:452-458 | ppocr/losses/distillation_loss.py:560-567 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee2c4dc8f0e7295927748ef357176f30c459726309eacd03b68dda097c3ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): deploy/avh/convert_image.py:36-42 | ppocr/data/imaug/rec_img_aug.py:639-645 | ppocr/data/simple_dataset.py:477-483 | tools/infer/predict_cls.py:71-77 | tools/infer/predict_rec.py:440-446 \u2014 before extracting anything, compare \u0060deploy/avh/convert_image.py\u0060 and \u0060ppocr/data/imaug/rec_img_aug.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/avh/convert_image.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a772d30ed4cb7f8db4f0a940c48e5aa0ddfb4d2d2599bd6a2a391fc75342b842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ppocr/postprocess/rec_postprocess.py:324-331 | ppocr/postprocess/rec_postprocess.py:397-404 | ppocr/postprocess/rec_postprocess.py:743-751 | ppocr/postprocess/rec_postprocess.py:818-826 | ppocr/postprocess/rec_postprocess.py:952-958 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/postprocess/rec_postprocess.py:395\u0060 calls \u0060isinstance\u0060 and \u0060ppocr/postprocess/rec_postprocess.py:742\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"12952d18260c990bd2efbcfbc8ba2436db4e06f135c08989956daf5d936b387f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ppocr/data/imaug/pg_process.py:90-96 | ppocr/data/imaug/pg_process.py:681-687 | ppocr/data/imaug/sast_process.py:69-75 | ppocr/data/imaug/sast_process.py:466-472 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed39952b4e975ad3d16e67d606e0111d15841f1084735072c47e40caeb9bd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ppocr/postprocess/rec_postprocess.py:290-296 | ppocr/postprocess/rec_postprocess.py:368-374 | ppocr/postprocess/rec_postprocess.py:710-716 | ppocr/postprocess/rec_postprocess.py:785-791 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/postprocess/rec_postprocess.py:289\u0060 calls \u0060get_ignored_tokens\u0060 and \u0060ppocr/postprocess/rec_postprocess.py:708\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/rec_postprocess.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b898f1c5b82088e19cf1fb7e02842e672d8dc8b6fa6efcf59cf10be646c8731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): tools/eval.py:56-62 | tools/eval.py:72-78 | tools/infer_rec.py:66-72 | tools/infer_rec.py:83-89 \u2014 before extracting anything, compare \u0060tools/eval.py\u0060 and \u0060tools/infer_rec.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/infer_rec.py:82\u0060 calls \u0060getattr\u0060 and \u0060tools/eval.py:71\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/eval.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"060632ac69ac199b13779dcf1f6637d5defd819bfb689f770e90c0d0fc636440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): ppocr/data/imaug/east_process.py:312-318 | ppocr/data/imaug/pg_process.py:178-183 | ppocr/data/imaug/sast_process.py:155-160 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"38777dc85ef12fc2787d3eb1e60099266727a271c57180c9b89b211d19c69d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ppocr/losses/distillation_loss.py:763-769 | ppocr/losses/distillation_loss.py:823-829 | ppocr/losses/distillation_loss.py:902-908 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8926df246ade57ea560cc1940e085456f9e91f78bbfd45c70de10d2524b29338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd.py:334-340 | ppocr/modeling/backbones/det_resnet_vd_sast.py:278-284 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:258-264 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py:285\u0060 calls \u0060str\u0060, \u0060chr\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd.py:341\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8953c542ca6686c2b0bb7183db7e50fdc21db135b5928be8cc434e745763fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): paddleocr/_doc2md/converters/docx.py:1015-1021 | paddleocr/_doc2md/converters/pptx.py:374-380 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060paddleocr/_doc2md/converters/pptx.py:372\u0060 calls \u0060find\u0060 and \u0060paddleocr/_doc2md/converters/docx.py:1013\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1b6e9ca77ac30d595e8600ba6db666e2bda63bf5982871f4a9b58e18a6d9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/data/imaug/ct_process.py:34-40 | ppocr/data/imaug/ct_process.py:362-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/ct_process.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4c8dbb898ba7e2edbff7ba010ce3bb4b0c019b35f5e421483288f9b03d5d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 3): ppocr/data/imaug/east_process.py:178-179 | ppocr/data/imaug/pg_process.py:641-647 | ppocr/data/imaug/sast_process.py:426-432 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a66149c5df75f4e5b29129b298675bf88fd527cf2f9ee9383fc3882c46a143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:666-672 | tools/infer/predict_rec.py:416-422 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a07957dd34bfde9139f51a37dc664c4532418327e56215da0250920667d4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/losses/det_ct_loss.py:104-110 | ppocr/utils/iou.py:48-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/det_ct_loss.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe37132be061fda820d4331306a5894fc71a2507f6901f3427f76f1c86a675db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/losses/distillation_loss.py:830-836 | ppocr/losses/distillation_loss.py:977-983 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"93067ad20a4a55490cc9a7eccae7cc6f25088910b0598be444fd7da80fbc7607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/backbones/rec_vit.py:101-107 | ppocr/modeling/backbones/rec_vit_parseq.py:110-116 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_vit.py\u0060 and \u0060ppocr/modeling/backbones/rec_vit_parseq.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_vit.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a73899c0852cc8a5420dd9f09b4ade0f6804d48631abfce5ae419c30d920be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): ppocr/modeling/necks/db_fpn.py:252-255 | ppocr/modeling/necks/db_fpn.py:343-346 | ppocr/modeling/necks/db_fpn.py:497-503 | ppocr/modeling/necks/db_fpn.py:886-892 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/necks/db_fpn.py:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b0d44a7665699a8fb069b199f8f1e994f5ec2f9d9d5cb65daa41e59a466f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:146-152 | ppocr/modeling/transforms/tsrn.py:52-57 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/transforms/tbsrn.py:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c66a8fd7800935f5ae1f39a3eaff3d87b850e67b4c58377b4b82226935fb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/utils/export_model.py:438-444 | ppocr/utils/export_model.py:457-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/export_model.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2766945ed1eeef2719ff9e7e150143c02d2450f4894e3a072d1c269cad50b284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ppocr/modeling/backbones/det_resnet.py:179-184 | ppocr/modeling/backbones/det_resnet_vd_sast.py:255-260 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:235-240 | ppocr/modeling/backbones/rec_resnet_fpn.py:55-60 | ppocr/modeling/backbones/rec_resnet_vd.py:248-253 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cc9ecc1f3baf234479b0975cc057df1831d09b400099acb7217caf3c83ca94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): ppocr/data/imaug/east_process.py:311-316 | ppocr/data/imaug/fce_aug.py:218-223 | ppocr/data/imaug/pg_process.py:177-182 | ppocr/data/imaug/sast_process.py:154-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55134fec9f77cd7e69ee6070af14388a01d1232a0d119f0728d4da9d7d3d343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ppocr/data/collate_fn.py:32-37 | ppocr/data/collate_fn.py:52-57 | tools/infer_kie_token_ser.py:50-55 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/collate_fn.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b3b16ec20a93c50b739787753b22646b486243f7d705764b217de4f87dbd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ppocr/data/imaug/pg_process.py:509-514 | ppocr/data/imaug/sast_process.py:290-295 | ppocr/data/imaug/sast_process.py:367-372 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/pg_process.py:509\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3702832868c7e8414b8b612617a03e0261f30ca82b322dead45706e5cfef83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/infer_cls.py:67-73 | tools/infer_det.py:93-99 | tools/infer_e2e.py:132-137 \u2014 before extracting anything, compare \u0060tools/infer_det.py\u0060 and \u0060tools/infer_e2e.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/infer_det.py:100\u0060 calls \u0060expand_dims\u0060 and \u0060tools/infer_cls.py:74\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer_cls.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9baf39198690209a03b35add05e7a6727015408e74b927ec2301ab9a0780f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/fce_targets.py:612-617 | ppocr/data/imaug/fce_targets.py:621-626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_targets.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"da938f9d49f2e1897752eecdfe939d6dc681818eacecf08695d128ce946321a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/pg_process.py:1091-1096 | ppocr/data/imaug/sast_process.py:796-801 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebbf6e4ca1a4af522bae10aec43609d028d1dcb984220329b667ad3e980cf80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/rec_img_aug.py:718-723 | tools/infer/predict_rec.py:463-468 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b06779e7d245eb5e9b013988fddc505d151912bdaba9670bc9f8494e1e3809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/unimernet_aug.py:171-176 | ppocr/data/imaug/unimernet_aug.py:209-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/unimernet_aug.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294301b6b9e478cac4e26b9fb2b9fdc04324d39901cdb2e3cef1bfbef7a413b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/modeling/heads/det_ct_head.py:49-54 | ppocr/modeling/necks/ct_fpn.py:53-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/det_ct_head.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cfb7d6405bc2dfab85df085e70a3633aeca1ee8b62d24238decb9204552f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/modeling/heads/table_att_head.py:102-107 | ppocr/modeling/heads/table_att_head.py:129-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/heads/table_att_head.py:125\u0060 calls \u0060argmax\u0060, \u0060structure_generator\u0060, \u0060softmax\u0060 and \u0060ppocr/modeling/heads/table_att_head.py:101\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/table_att_head.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fa46d709265d3a3d4c72fd9222b6dd75f3984f187121479de4f50bbae4217a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/modeling/transforms/tbsrn.py:172-177 | ppocr/modeling/transforms/tsrn.py:75-80 \u2014 before extracting anything, compare \u0060ppocr/modeling/transforms/tbsrn.py\u0060 and \u0060ppocr/modeling/transforms/tsrn.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/transforms/tbsrn.py:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/tbsrn.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8224eb01216edd9d1882822bf77f4b0d2d4d765178107b807b4df37b29445479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/postprocess/db_postprocess.py:97-102 | ppocr/postprocess/db_postprocess.py:148-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/postprocess/db_postprocess.py:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/db_postprocess.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9f240f88886a4265268a7c1753004251bed6bf4405d109dd64d8818568cbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/utils/utility.py:35-40 | test_tipc/supplementary/utils.py:33-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/utility.py:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/utility.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0bfc40bda4041dbbbb36ddac3cf5369cb2ff402bc0df82be95ac8b6c5dc638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppstructure/utility.py:34-39 | tools/infer/utility.py:95-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppstructure/utility.py:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/utility.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d53b99ed0fc999f9fb78aad64f8aa20dacd8f1c2bbc13e37fba3a6202a0029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): test_tipc/supplementary/config.py:120-125 | tools/program.py:884-889 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/config.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5321463c027cbb94030908879eef9e3e9faef9fab933050ffc4c1b1cf8d55b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/infer/utility.py:66-71 | tools/infer/utility.py:74-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/infer/utility.py:74\u0060 calls \u0060add_argument\u0060 and \u0060tools/infer/utility.py:86\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"171471e4366e2e81329ac480c8759fa368bce87f1ef2097f92e2414773ccb61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 6): ppocr/data/imaug/pg_process.py:702-708 | ppocr/data/imaug/sast_process.py:487-493 | ppocr/postprocess/sast_postprocess.py:68-74 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:329-330 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:62-66 | ppocr/utils/e2e_utils/visual.py:119-123 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaaae7ba511e9400bb65d9bc184b012271739270106c646603c39435df9808e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): paddleocr/_doc2md/converters/docx.py:1008-1012 | paddleocr/_doc2md/converters/docx.py:1017-1021 | paddleocr/_doc2md/converters/pptx.py:365-369 | paddleocr/_doc2md/converters/pptx.py:376-380 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060paddleocr/_doc2md/converters/pptx.py:372\u0060 calls \u0060find\u0060 and \u0060paddleocr/_doc2md/converters/docx.py:1015\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_doc2md/converters/docx.py"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d09806800fdc1543e60cdf02554498a112938e522ea19073d34e1004af2de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ppocr/postprocess/sast_postprocess.py:60-64 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:320-324 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:53-57 | ppocr/utils/e2e_utils/visual.py:110-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/postprocess/sast_postprocess.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a06e3fc9bd9ea863db01af567775d50c7c4dd5f97b9dd4b24753143025172c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 8): ppocr/data/imaug/east_process.py:320-324 | ppocr/data/imaug/east_process.py:326-329 | ppocr/data/imaug/fce_aug.py:111-114 | ppocr/data/imaug/fce_aug.py:116-119 | ppocr/data/imaug/pg_process.py:185-189 | ppocr/data/imaug/pg_process.py:191-194 | ppocr/data/imaug/sast_process.py:162-166 | ppocr/data/imaug/sast_process.py:168-171 \u2014 there are 8 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/east_process.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e95bb1e1a4390bf16f0af40c6053e090daa4a72d812b9eb14f22d7aab49360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ppocr/modeling/backbones/table_master_resnet.py:268-272 | ppocr/modeling/backbones/table_master_resnet.py:275-279 | ppocr/modeling/backbones/table_master_resnet.py:284-288 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/table_master_resnet.py:268\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ppocr/modeling/backbones/table_master_resnet.py:281\u0060 calls \u0060Conv2D\u0060 and \u0060ppocr/modeling/backbones/table_master_resnet.py:273\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/table_master_resnet.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ba120237025af2f4f11cb0fcfe6103e4d225ec3ab3f6218f2cd7cdf3461286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/latex_ocr_aug.py:104-108 | tools/infer/predict_rec.py:500-504 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/latex_ocr_aug.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fdf6fd62adb698e78f78945e6a29acc1d0481b5593a437dfa9b4798bc92be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/pg_process.py:823-827 | ppocr/data/imaug/sast_process.py:601-605 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"e246a2ceb91060cc527b7c6df563bead16bbfbeef229469d69474678a4d6abb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:36-40 | ppocr/modeling/backbones/rec_vit.py:36-40 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_vit.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eabbe4dceb0e9531b7c44d43316ee760ba0ab391190d7f5d85b6a4ed081fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/heads/proposal_local_graph.py:41-45 | ppocr/postprocess/fce_postprocess.py:29-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/proposal_local_graph.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"410221991d9bdfc79e4a38d9ddc0db6e3cc9a6761e87584a1410f4255bee68aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): ppocr/modeling/heads/rec_nrtr_head.py:509-513 | ppocr/modeling/heads/rec_nrtr_head.py:556-560 | ppocr/modeling/heads/sr_rensnet_transformer.py:224-226 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_nrtr_head.py:509\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_nrtr_head.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"336014e2b1865109ac60e862578fcf43628fa54e64aa8db6231e21cc0771ac58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/heads/rec_satrn_head.py:139-143 | ppocr/modeling/heads/rec_satrn_head.py:339-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/heads/rec_satrn_head.py:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_satrn_head.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"271b51180a12a19b1b99c3c712bed76b11d2456a080bb54beadab2ade938e531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/necks/rf_adaptor.py:57-61 | ppocr/modeling/necks/rf_adaptor.py:90-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/rf_adaptor.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fdf138e1de55335e1b5ea3e8b081539ff828643ab2cb84774f427d34c7bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/necks/rnn.py:229-233 | ppocr/modeling/necks/rnn.py:338-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/rnn.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a173594ada9cbfc36582ff1f38846991b54b53da2472bfa559e1cb35bce3af99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): configs/rec/multi_language/generate_multi_language_configs.py:177-184 | test_tipc/supplementary/config.py:35-42 | tools/program.py:65-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/rec/multi_language/generate_multi_language_configs.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"608bf6b03ae01e7270357057a1d3f9ebfc59d184afdf671bde5022c92d3e1939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): deploy/hubserving/kie_ser/module.py:89-99 | deploy/hubserving/kie_ser_re/module.py:89-99 | deploy/hubserving/ocr_cls/module.py:85-95 | deploy/hubserving/ocr_det/module.py:87-97 | deploy/hubserving/ocr_rec/module.py:85-95 | deploy/hubserving/ocr_system/module.py:88-98 | deploy/hubserving/structure_layout/module.py:84-94 | deploy/hubserving/structure_system/module.py:87-97 | deploy/hubserving/structure_table/module.py:86-96 \u2014 \u0060deploy/hubserving/kie_ser/module.py\u0060 and \u0060deploy/hubserving/kie_ser_re/module.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 64 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/hubserving/kie_ser/module.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4776e88996354a63e73a0195d6d68716282ed6214b3b8dbb302d03e485c0fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:64-72 | mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py:65-73 | mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py:65-73 \u2014 \u0060mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py\u0060 and \u0060mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 27 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/aistudio.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8690ca43e3b49308a820da4bdaa766a9955a974c47071e2b52f5ad2cd3628207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mcp_server/paddleocr_mcp/inference/ocr/local.py:60-64 | mcp_server/paddleocr_mcp/inference/paddleocr_vl/local.py:45-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/local.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1756e5f467c9ab8c5b410bd27285538aeb04033f3790f4a03cd9701591240cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mcp_server/paddleocr_mcp/inference/ocr/local.py:88-98 | mcp_server/paddleocr_mcp/inference/paddleocr_vl/local.py:77-87 | mcp_server/paddleocr_mcp/inference/pp_structurev3/local.py:62-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/ocr/local.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de516a53ed66d47e20baa3611f82a9dfc97c12d000a6559690599f311c35f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py:53-58 | mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py:53-58 \u2014 \u0060mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py\u0060 and \u0060mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 27 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b286d1d362a09ae9ed2b98c27eda003723faaacd6c59ac23cfadd7c1cc0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): paddleocr/_pipelines/formula_recognition.py:49-54 | paddleocr/_pipelines/pp_chatocrv4_doc.py:73-78 | paddleocr/_pipelines/pp_doctranslation.py:93-98 | paddleocr/_pipelines/table_recognition_v2.py:61-66 \u2014 before extracting anything, compare \u0060paddleocr/_pipelines/formula_recognition.py\u0060 and \u0060paddleocr/_pipelines/pp_chatocrv4_doc.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/formula_recognition.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"97951043dc525d2b95de00bf011df270f83b6d4109d8308248d127417e786a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/__init__.py:69-76 | test_tipc/supplementary/data.py:9-16 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/__init__.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5922750d305122a229bce0bc2ab73da101322f586df5d6ab0ab7558c5ab912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): ppocr/data/imaug/label_ops.py:490-496 | ppocr/data/imaug/label_ops.py:548-554 | ppocr/data/imaug/label_ops.py:628-634 | ppocr/postprocess/rec_postprocess.py:341-347 | ppocr/postprocess/rec_postprocess.py:428-434 | ppocr/postprocess/rec_postprocess.py:455-461 | ppocr/postprocess/rec_postprocess.py:583-589 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0547d8fcf81bb1667e09cd7eb9344f1f7e0ff9aaf6fe8998a05180082d9ffe7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/data/imaug/label_ops.py:815-826 | ppocr/postprocess/table_postprocess.py:160-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9d58bcaa3687c0a674999d5116501ea9683404d9ac05b4cf0947f1e1c70bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/data/imaug/label_ops.py:978-987 | ppocr/postprocess/rec_postprocess.py:878-887 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd33ab18409d0713916cdab6218e6fa445d37be6c2a8d571200ad65757b57a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/label_ops.py:2062-2067 | ppocr/postprocess/rec_postprocess.py:1417-1422 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e269b161b35e2d97f143500d12fac59febd4df7f595ed39d2b68e178cd3581e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/imaug/latex_ocr_aug.py:72-77 | ppocr/data/imaug/unimernet_aug.py:459-464 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/latex_ocr_aug.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee451b099e98120477f9d56b2bbc57da81186cf846bbbf791bf4018be03458a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ppocr/data/imaug/pg_process.py:58-65 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:28-35 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:28-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee4d767308604b99c847ad333aa4a37acc63d377dedb56da65a87a487ec6799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/pg_process.py:774-778 | ppocr/data/imaug/sast_process.py:550-554 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ea85a3c1a37ae34784ea5681d5bd3e0936a9cf580f0cbd81c647e4cf52c797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/data/imaug/pg_process.py:781-787 | ppocr/data/imaug/sast_process.py:557-563 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a409a34d5694cfba9b86fa32bb529ae732de7c83386196318944a288d03164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/data/imaug/pg_process.py:797-803 | ppocr/data/imaug/sast_process.py:573-579 \u2014 before extracting anything, compare \u0060ppocr/data/imaug/pg_process.py\u0060 and \u0060ppocr/data/imaug/sast_process.py\u0060 as WHOLE FILES: this scan already matched 39 separate duplicated blocks between them, totalling at least 497 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9acc73ecf580eac39e5d8e711547cb423e67b4bbabe34c17d5e498bb229ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): ppocr/losses/__init__.py:78-124 | ppocr/metrics/__init__.py:38-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/__init__.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7cb1306f4e2733992ff9e82f1581ee5a374f06263cc972e3096cf225fd797a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): ppocr/losses/distillation_loss.py:69-76 | ppocr/losses/distillation_loss.py:165-172 | ppocr/losses/distillation_loss.py:273-280 | ppocr/losses/distillation_loss.py:419-426 | ppocr/losses/distillation_loss.py:527-534 | ppocr/losses/distillation_loss.py:1164-1171 | test_tipc/supplementary/loss.py:108-115 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/distillation_loss.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad1d6c60725fbf65c6b0694d8f6855cee7534ba637bcc421cf2e18532537846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/backbones/det_mobilenet_v3.py:251-258 | test_tipc/supplementary/mv3.py:303-310 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_mobilenet_v3.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce67e0d7ab862e49e3001f6c0de0a694360208e792db45f40091463ae89da77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ppocr/modeling/backbones/det_mobilenet_v3.py:29-34 | ppocr/modeling/backbones/det_pp_lcnet.py:69-74 | ppocr/modeling/backbones/det_pp_lcnet_v2.py:45-50 | ppocr/modeling/backbones/rec_lcnetv3.py:82-87 | test_tipc/supplementary/mv3.py:40-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/det_mobilenet_v3.py:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_mobilenet_v3.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"197e14a65ca65b9f175f9658492d89af3fb9c0eb8eeff024d674a84ec48a2d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/backbones/det_pp_lcnet.py:124-128 | ppocr/modeling/backbones/rec_lcnetv3.py:396-400 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_pp_lcnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_lcnetv3.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdeb08450df8c8297c65dd97f0cc5d3abe14f4863c29852f6a27287a98056d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ppocr/modeling/backbones/det_pp_lcnet.py:153-160 | ppocr/modeling/backbones/det_pp_lcnet_v2.py:108-115 | ppocr/modeling/backbones/rec_lcnetv3.py:349-356 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a55fd5fcd29b7f946dcff1284f18954a819164fb8fd6e96d224dfbb49bc2757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/backbones/det_pp_lcnet_v2.py:79-83 | ppocr/modeling/backbones/rec_hgnet.py:66-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_pp_lcnet_v2.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b37bb6d418eb223a8225388b59719e4cb54af1096fa72bec31fd0c325d16228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): ppocr/modeling/backbones/det_resnet.py:115-124 | ppocr/modeling/backbones/det_resnet_vd.py:249-258 | ppocr/modeling/backbones/det_resnet_vd_sast.py:178-187 | ppocr/modeling/backbones/e2e_resnet_vd_pg.py:176-185 | ppocr/modeling/backbones/rec_resnet_vd.py:179-188 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f279684c631d70304c2daef8bed909cd8c6dbaaa529dffdb43fb59a7b2861d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ppocr/modeling/backbones/det_resnet_vd.py:149-153 | ppocr/modeling/backbones/det_resnet_vd_sast.py:69-73 | ppocr/modeling/backbones/rec_resnet_vd.py:69-73 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/det_resnet_vd.py\u0060 and \u0060ppocr/modeling/backbones/det_resnet_vd_sast.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/det_resnet_vd.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a2c3daf1caa0ec7130849b2aba977adf3ac8444a2c0aa950c3fda621ed8bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ppocr/modeling/backbones/rec_donut_swin.py:122-126 | ppocr/modeling/backbones/rec_donut_swin.py:157-161 | ppocr/modeling/heads/rec_unimernet_head.py:126-130 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5954858e591a25314ebae4b289c382b656468ab769266968cad2f79315a8bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/modeling/backbones/rec_donut_swin.py:302-311 | ppocr/modeling/backbones/rec_hybridvit.py:104-113 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e668152c97f055a610ab129d1a998fc323f186fc720ab5c994eb2c243570b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/modeling/backbones/rec_hybridvit.py:55-60 | ppocr/modeling/backbones/rec_resnetv2.py:45-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/modeling/backbones/rec_hybridvit.py:50\u0060 calls \u0060TruncatedNormal\u0060, \u0060XavierUniform\u0060 and \u0060ppocr/modeling/backbones/rec_resnetv2.py:41\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_hybridvit.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dd26dca8d731ccaecb760cb973d52a34326ad9c718fe1d492bc004c92b1adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ppocr/modeling/backbones/rec_svtrnet.py:104-110 | ppocr/modeling/backbones/rec_svtrv2.py:71-77 | ppocr/modeling/backbones/rec_vit.py:71-77 | ppocr/modeling/backbones/rec_vit_parseq.py:81-87 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_svtrv2.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcba2840dcb6cc4560d7136ac6348da830bfb45c2dacdb06d139ed84ffd99fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): ppocr/modeling/backbones/rec_svtrnet.py:113-118 | ppocr/modeling/backbones/rec_svtrv2.py:80-85 | ppocr/modeling/backbones/rec_vit.py:80-85 | ppocr/modeling/backbones/rec_vit_parseq.py:90-95 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_svtrv2.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ccdda5579faa9787ff578e2e0343d43412ac59abbc159e9c3ee1807fed786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:67-73 | ppocr/modeling/heads/rec_unimernet_head.py:285-291 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b48224da4971cd09d2cafa3554530f7478e30f2805cba320fc391fb6a8933a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:818-833 | ppocr/modeling/heads/rec_unimernet_head.py:2264-2280 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d273459150b0a4b1b26e09593bc642ff2dcba806dde446ad3b338676e06b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:838-845 | ppocr/modeling/heads/rec_unimernet_head.py:2300-2308 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8a6940d018741b5bcac5c92d841aafb583716154538820e0b38cdc9df3547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/label_ops.py:568-572 | ppocr/postprocess/rec_postprocess.py:444-448 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3a0f236e6dbb8baefae289894291419eec3b602d10d1cc1917650582da0faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/losses/rec_sar_loss.py:11-15 | ppocr/losses/rec_satrn_loss.py:28-32 \u2014 before extracting anything, compare \u0060ppocr/losses/rec_sar_loss.py\u0060 and \u0060ppocr/losses/rec_satrn_loss.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/rec_sar_loss.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d07f973815261aa0bf0f93fcf7c7c1ffac9f697824e7f8c53eeaef7726355a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ppocr/modeling/heads/rec_att_head.py:27-35 | ppocr/modeling/heads/rec_att_head.py:120-128 | ppocr/modeling/heads/rec_spin_att_head.py:31-39 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_att_head.py\u0060 and \u0060ppocr/modeling/heads/rec_spin_att_head.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_att_head.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4a69cd479006c6947e80b83dc6c5f4b81656e9c36c89deaef3606308e08c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/heads/rec_ppformulanet_head.py:245-252 | ppocr/modeling/heads/rec_unimernet_head.py:324-330 \u2014 before extracting anything, compare \u0060ppocr/modeling/heads/rec_ppformulanet_head.py\u0060 and \u0060ppocr/modeling/heads/rec_unimernet_head.py\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 561 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fb977bb53e634b78665281bca9f3aa64d782ab1bac721ce06997459c349faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/data/collate_fn.py:96-101 | ppocr/data/collate_fn.py:153-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/collate_fn.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"771a7be02401caba14a0747e6d12fa815d80410abb216edee4f535cd8887863f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/data/imaug/ct_process.py:231-238 | ppocr/data/imaug/random_crop_data.py:549-556 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/ct_process.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aa325a9e50d2c4e88e6559385a3c9629cc1174d0aafa16d36b22a222e0ebc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/data/imaug/drrg_targets.py:594-600 | ppocr/modeling/heads/proposal_local_graph.py:149-155 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/drrg_targets.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4ee2021a7f2a9bb47852258e9b5314d365bee496636cac8e9fa1e1c34a9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/fce_aug.py:244-248 | ppocr/data/imaug/fce_aug.py:254-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_aug.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd94634aefc61890946cd2d43c6839591add382f91b83a923fa497241932f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/data/imaug/fce_aug.py:432-436 | ppocr/data/imaug/fce_aug.py:530-534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/data/imaug/fce_aug.py:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/fce_aug.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f006f5452145ccd3a404e7e83182fc68fd10dd003f7d4064341891bd2d3e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/label_ops.py:83-91 | tools/infer/predict_det.py:186-194 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f35d055655baa6225c87e49dfa8558fe62548147a06ea0e833c15fc241290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/data/imaug/operators.py:76-84 | test_tipc/supplementary/data.py:70-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/operators.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8392786ff78c4fa7d96458b6e129d87129d66405883612219a8158c22fc1897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ppocr/data/imaug/pg_process.py:293-303 | ppocr/data/imaug/pg_process.py:393-403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/pg_process.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"18156a48b6db2abb96363b28dd0f9ed947ebcfcc312556fbcb5acf8b2772f749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/backbones/rec_lcnetv4.py:207-211 | ppocr/modeling/backbones/rec_lcnetv4.py:269-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_lcnetv4.py:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_lcnetv4.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a415642f6ba404441551e2b79118a476f09fb45b58f3d2d93f94496f3362813f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrnet.py:272-278 | ppocr/modeling/backbones/rec_vit.py:171-177 \u2014 before extracting anything, compare \u0060ppocr/modeling/backbones/rec_svtrnet.py\u0060 and \u0060ppocr/modeling/backbones/rec_vit.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrnet.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8e30a512b02354e6330f8b98ca870e702fc2280528ab7dee18057d89d9074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/backbones/rec_svtrv2.py:146-152 | ppocr/modeling/backbones/rec_vit_parseq.py:124-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/modeling/backbones/rec_svtrv2.py:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_svtrv2.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca7c4583c5800ad2778a4d85eec6afbadfa42229347bb605b190fb6389ea50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ppocr/modeling/necks/db_fpn.py:416-421 | ppocr/modeling/necks/db_fpn.py:937-942 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/db_fpn.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2653b3e0bc0562e0b35522369611a9d6ac245d3a327abcc097dfa686e1865c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/modeling/necks/pren_fpn.py:95-99 | ppocr/modeling/necks/pren_fpn.py:103-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/necks/pren_fpn.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e62206401786574063cfb34f4bdf2655174130cf7d0766cb58692fe37bf98e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/modeling/transforms/gaspin_transformer.py:237-243 | ppocr/modeling/transforms/tps.py:156-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/transforms/gaspin_transformer.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4168a85dfca0d73225bb8087040a5d3b54b993b056cf9d8664471167b127bd81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/utils/visual.py:81-85 | ppstructure/kie/tools/trans_funsd_label.py:24-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/visual.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca1239ab5987b3f3b092af3423b8c5c5098291350877d2964478949fc0a92de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/infer/utility.py:704-708 | tools/infer/utility.py:711-715 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b24437b911ae3cb3a466cd3b05ef8d09e929b3ef34f1b5fc9fd892fe39194a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 55 shared lines): test_tipc/supplementary/train.py:88-196 | test_tipc/supplementary/train.py:200-313 | test_tipc/supplementary/train.py:317-446 \u2014 These 3 members are variants of one another: a block of 55 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecdcdfbb808e7b75b8c3407c98ef44d64530576c323fbf61d263241d60ca59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (121 shared lines): ppocr/utils/e2e_metric/Deteval.py:25-175 | ppocr/utils/e2e_metric/Deteval.py:179-306 \u2014 These two members are variants of one another: 121 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ca2cea0662cfb74613c5d97573a4bb4c1590b15ed8902c3e7c3c9a9f57f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ppocr/utils/e2e_utils/pgnet_pp_utils.py:48-86 | ppocr/utils/e2e_utils/pgnet_pp_utils.py:89-179 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/pgnet_pp_utils.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c6fa4f79183562ac2ea91e8e72dc411e3f6156c3540c36a924e7349ea07f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/utils/e2e_utils/extract_textpoint_fast.py:160-196 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:486-523 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:187-223 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:549-586 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd8e8887083791061d0a4501af6364843fb293e7b949e1898b43b007c30df36"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ppocr/utils/e2e_utils/extract_textpoint_fast.py:210-254 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:258-313 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:237-282 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:286-342 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc7bb54606aa9b237c6ad2397a3799432f5f3002222f2c7e4624067db2ee556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:78-123 | ppocr/utils/e2e_metric/Deteval.py:209-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea463fa937192a9652dd84566430233f81feee12974770602773e8842dedfdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:277-313 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:306-342 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bfb7d7464de1790e630ddaf554c4cf6d0a1df9c4156c28860063dc6f9bebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:125-152 | ppocr/utils/e2e_metric/Deteval.py:256-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"935014074fb77ed65937955a48fdffa22082cf88cc4956162e39014cb9d8ef34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 4): ppocr/utils/e2e_utils/extract_textpoint_fast.py:170-194 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:497-523 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:197-221 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:560-586 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2997779d7d9bf356ca8e617c966b1ca83430fb35ae0971c1671396df50c2072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:512-538 | ppocr/utils/e2e_metric/Deteval.py:606-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"262b8074d1cdc625f62e3bd038840247a952760beeb28a9538c9e77edadbdd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:228-254 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:256-282 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca839cfed47fd89ca3ad9f08941653bccd55894197b07cef4b1f126c2f61fc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): ppocr/utils/e2e_utils/extract_textpoint_fast.py:210-232 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:258-281 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:237-260 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:286-310 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0931ae64a259b139fda28dc680fc47ec95ce674f7322fab3a38a2c59ede8c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): ppocr/utils/e2e_utils/extract_textpoint_fast.py:341-364 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:77-100 | ppocr/utils/e2e_utils/visual.py:134-157 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py:341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d2d363c3e7d27a5591d23cfd14e9c6767f5f4afa0d5c60e92dc30ca9cd81a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): test_tipc/supplementary/train.py:154-175 | test_tipc/supplementary/train.py:268-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:268\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fff16d1631c9f07378874e30a473e9f13fa8881a6abcfadab857af2c1c5686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:153-175 | ppocr/utils/e2e_metric/Deteval.py:284-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b93238cca681e24fd1bf1bbeea26de04efb4a6a89c02ac5d3f8fce71a6f10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:547-568 | ppocr/utils/e2e_metric/Deteval.py:641-662 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/e2e_metric/Deteval.py:547\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d619705d37440a52fce9e0761cceb2ef76ecb1973079e7e9b0080e4c1dbe4bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): test_tipc/supplementary/train.py:107-128 | test_tipc/supplementary/train.py:338-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3406bc2fe30e80a745dff4abc2a81146f487289fd4bb654e4dc97f0d18e3b592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_slow.py:39-58 | ppocr/utils/e2e_utils/visual.py:96-115 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 and \u0060ppocr/utils/e2e_utils/visual.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_slow.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8d012d7526147519689e4496f3e4020c68d1fcb49c3dc2b1b95e99ec7d49ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:25-43 | ppocr/utils/e2e_metric/Deteval.py:179-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0006eae9a53be22c6f961a3e0c664672bf53ed0e99ae31e6dd45bd5886b82a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:658-675 | ppocr/utils/e2e_metric/Deteval.py:678-695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"47742c3aa58e161e3dfb9f1af297cc3602e19042283853fb264fc809b3a4306b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:427-444 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:605-621 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c668d139855406a2b423790566106b480fcd74d2d258d3daea2854e6f6a9026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): test_tipc/supplementary/train.py:88-105 | test_tipc/supplementary/train.py:317-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c53e1fe4e9e8c004e9d6c8efbaca82baaac276d89710eec92ba4f27d1599c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): test_tipc/supplementary/train.py:181-196 | test_tipc/supplementary/train.py:297-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"553bd4f7871665777c4ab13bd3783b4dd0ea6e6a2f5b8b4c4014b61c74d8d990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ppocr/utils/e2e_utils/pgnet_pp_utils.py:48-63 | ppocr/utils/e2e_utils/pgnet_pp_utils.py:89-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/pgnet_pp_utils.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaeecb3e956b0f27c27aae34878cf8ce18838f10cdc6abe2963383871ec26de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): test_tipc/supplementary/train.py:237-252 | test_tipc/supplementary/train.py:357-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd0f96b67e7ae519a45a34c8375ea9e07cba756ffc8a7ea7cfabc5e27659575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): test_tipc/supplementary/train.py:132-146 | test_tipc/supplementary/train.py:245-258 | test_tipc/supplementary/train.py:366-379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f1d6bf7ee571e60a38e8f90f2f6223bec942de9a4e7cb77a8c8710286606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:50-64 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:115-129 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5807e876f3370d4331cd08ef54c48ea0bca282e850002e6cb5982c5d55e8c7c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_slow.py:367-379 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:423-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_slow.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd007f331f8507d0154a704d2f015e0f453d1719053581bd3ac8d6da2f906098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): test_tipc/supplementary/train.py:289-302 | test_tipc/supplementary/train.py:423-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:289\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"496555422613ee577dfd0af6eb8b97587fdc792b42bfa4968fd0a25e2a5eb7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:564-576 | ppocr/utils/e2e_metric/Deteval.py:579-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1e9fed1447d400f0e7b8bc5193a5909ef969420af26e14a028afec80b31a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): test_tipc/supplementary/train.py:180-190 | test_tipc/supplementary/train.py:296-307 | test_tipc/supplementary/train.py:430-440 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"255c891b3c44bf89ce78b9011c90d2d4cfee1c5779a251a2274d833f075b657d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:471-482 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:534-545 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"60618e3480023c65fbda41f173c25d7ed99794b42df149750e74ee972ecf6098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_slow.py:386-397 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:464-475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_slow.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ab599eaff4fca616f6ae8ed2b4b848b0e3cb8b2f13e47bf3399831607ca7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ppocr/utils/e2e_utils/extract_textpoint_fast.py:233-242 | ppocr/utils/e2e_utils/extract_textpoint_fast.py:284-293 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:261-270 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:313-322 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"df094936593825fa9c7d8bcc6f0407af1d227244de87c111942da6740e003386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): test_tipc/supplementary/train.py:105-114 | test_tipc/supplementary/train.py:225-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6905eda57350a78caff7887b7c5145d23d375dece43dbcb530efaaf60727ebe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): test_tipc/supplementary/train.py:107-115 | test_tipc/supplementary/train.py:227-235 | test_tipc/supplementary/train.py:338-346 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060test_tipc/supplementary/train.py:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b69bb9dd57f78827c995843c245baacfc8ee7c5672574b7d6b83782cd4097ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): ppocr/losses/e2e_pg_loss.py:38-44 | ppocr/losses/e2e_pg_loss.py:63-71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/e2e_pg_loss.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dc02be21c4dfef62f680cf28b8b27899dfe89d70772c633e6e6ab8cab976e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:160-168 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:187-195 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e576b6b3a7d942c5335dbd3226954513fc5c5d1361965643ccd870afeac12cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:486-494 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:549-557 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a16d9ee515c69f01566fc51f75828c38762853afcffc989439a70bbbdd7a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): test_tipc/supplementary/train.py:171-178 | test_tipc/supplementary/train.py:287-294 | test_tipc/supplementary/train.py:421-428 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab04e3a68933dae993e2e25c59e698ef962da6a08ca79264c257d477ff152d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:458-465 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:521-528 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1b94c1beff26ed1c4e5b5bc9dc41c17da73820ee1a508f691d9a66fdab6f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): test_tipc/supplementary/train.py:118-124 | test_tipc/supplementary/train.py:216-222 | test_tipc/supplementary/train.py:349-355 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fbe4cd63b2ea001fc230fb235cb9b66570a3507ce223c334d033b3c4241ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): test_tipc/supplementary/train.py:164-170 | test_tipc/supplementary/train.py:280-286 | test_tipc/supplementary/train.py:414-419 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/supplementary/train.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0a5e5c7d8b12658976eb464696c2de697bcfbc255b37a2962fbe1dad116ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deploy/ios_demo/scripts/build_onnx_calib_npy.py:194-200 | deploy/ios_demo/scripts/build_onnx_calib_npy.py:211-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/ios_demo/scripts/build_onnx_calib_npy.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc36d42be34bd938f4aa97c8f4b52281d508556751ee5a803927d09679b7bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/losses/e2e_pg_loss.py:46-52 | ppocr/losses/e2e_pg_loss.py:73-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/e2e_pg_loss.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed4bd52653ed1d3efd28b29ab144a9b3d190bd9f90e8df3a5e181664111651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:345-350 | ppocr/utils/e2e_metric/Deteval.py:406-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ppocr/utils/e2e_metric/Deteval.py:344\u0060 calls \u0060enumerate\u0060 and \u0060ppocr/utils/e2e_metric/Deteval.py:404\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bed21be9704920586b7691ba05476d1f98ca09030405c6db643ca1ee1ba0197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:384-390 | ppocr/utils/e2e_utils/pgnet_pp_utils.py:139-145 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b225de0f1b99beb30f4430d48925c84ed4505783f3f120b38349612afea7b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/utils/e2e_metric/Deteval.py:71-75 | ppocr/utils/e2e_metric/Deteval.py:202-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_metric/Deteval.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"88887b9f81c07620dcae9007abaf748c3d21f4633c5a568e6652cc35d09ff619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:39-46 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:104-111 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f85c823d9d7c20dc86a50fafca4ca63bdb33dfc2dae4f6b2d4340a1dac14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:80-89 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:145-154 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"337075fa9cf4ed850788872e65936ae6a163569cb8cd2c12981496a3f71891ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:200-206 | ppocr/utils/e2e_utils/extract_textpoint_slow.py:227-233 \u2014 before extracting anything, compare \u0060ppocr/utils/e2e_utils/extract_textpoint_fast.py\u0060 and \u0060ppocr/utils/e2e_utils/extract_textpoint_slow.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"626b743fb1b95aa185b4504ef8bb867ef670bf22157ae1b55f62c5df7677079c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ppocr/utils/e2e_utils/extract_textpoint_fast.py:393-397 | ppocr/utils/e2e_utils/pgnet_pp_utils.py:153-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/utils/e2e_utils/extract_textpoint_fast.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4dc1e6bf5098c86cfb0b9ef6212ba6c2d29426c9587d95180b2e674665967e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: dispose() is safe to call multiple times: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/test/viz-renderer.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c76fda4443ffdb8ab6a98eadc2222a0d448efe3c8e8b67c4129fa78e3b70c9e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: ppocr/data/latexocr_dataset.py, test_tipc/supplementary/config.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ba66868c434effe203a36ed8ef50a6dbe103eed4c29f9a22d9d2beffe00c954"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (5 single-owned of 433 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 433 of the 678 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Register the subparser whether the plugin is installed or not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_cli.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabcb24f2a0ae5debdebff2ecd2937d11e15cd8378278559b30f36b55abae63"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: We should consider reducing duplication. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_doctranslation.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e60b62c8fbfdb65cc4eeab4d3becf18e4f78115de0fe1e9fdd78bf6adb988"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Passing API key through CLI is not secure; consider using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_doctranslation.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c0cef8cde7f4a821254ba2beda8a63445fda377ed3d45ccdbf03d6bc4090cc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Passing API key through CLI is not secure; consider using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c62d7109a527e94fa369de5fbfef2252a0e8b9deabcd964337b3d96d7b1044"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support dict and list types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/pp_chatocrv4_doc.py"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b67e36073a93120438ce3294e8ab3b10a20a317b8a877c93275828a25c1227"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should we use a third-party CLI library to auto-generate command-line \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr/_pipelines/ocr.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe470be07a995e5609a2f8e8dfea241d005c311c0be50166b3d35a3ca03694"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo\uFF1Asupport batch operators \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/collate_fn.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5fb6787abeb713c010ea52b887007440a20207fb70110101133f4cc70bc94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo\uFF1Asupport batch operators \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/collate_fn.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0988ac4f37e8f788463c8159a58edd08c5f41047af25f84b1daa812f7c8ac6b9"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX: \u0060term_mp\u0060 kills all processes in the process group, which in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/__init__.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0578dd54d02914eb0651f45f5018fbbcb230dab93a581d63a8a7c24d87aa2cce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: change to 0 and modified image shape \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff9e1220c201e972805d715dc11a5a6879e7b57160dbf1932f955606479165"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: change to 0 and modified image shape \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/rec_img_aug.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2f534c58723f3a4f6b479a55bd2da6950e94602ff8b4cf2a18210415c185e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use tok.all_special_ids to remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/label_ops.py"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0b477fed770c1ede6c8360f7aeb901a672bd0902d2345dda12f5b42a21b1a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: more robust way to crop image \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/data/imaug/abinet_aug.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a772a6c2da536707c1fdbe728cce0532f505542067bd7a633a35d20854c08086"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: n,h,w,c format is not supported yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2b649de3305bb72f7c44e223479c3be306d64a9627209216ba64135dd8adb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add counting context weight to hidden_states \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_unimernet_head.py"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9e9db25eb48b72a995e645915c2b89a98a9930a4d06009e2c1ade6b9c6a61c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: think of a cleaner solution \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_latexocr_head.py"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"30448d8de699e0cc9aa0bf18245b79b53a44cb38ef117a3138416f4b517895ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO q=f(q,k) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_abinet_head.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195deb427296ca874ed4682197308742c91f6b14a8e9a3231162fd8ce393ddd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO:move to language model \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_abinet_head.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5b6c1a35d3b5d7ea3bfadd7a4e36003a29e9f557d42834a52b3c690d85824d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO need some way to get rid of extra spaces in e.g. text \u003Cspan\u003E   \u003C/span\u003E  text \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/table_process.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6abe4ce0a384ffc20d73d030a63e23f907d83837018bf71491b6c5e1e0b04a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO add this option back in? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/table_process.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9cf1a6974d94c1097c24eb9c265ab7daa2b7ce1667e386908cb3373e03ca03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/table/table_master_match.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e2b7891be99dd7c8f6e67a129379c2f697b42a272f92d985b27d60f126e609"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test constructor and other methods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_table_recognition_v2.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6adcf9b963b036fc04006303961791759c3be8c88ea9bc9cb8655b38975f73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test constructor and other methods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_pp_structurev3.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf04c89065cbbf76fa9e557dfcbb01858278044bfc7b79f05e6443d92873056"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test constructor and other methods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_pp_doctranslation.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94bdc01c22a0c1bc8bc8eb348150c7b26a37e7bd2fcb93903da52dddc77b490"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test constructor and other methods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_pp_chatocrv4_doc.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"647daee359c7851a3e4157d19aba9baefd26368a565fc50c1b2ef286e9a81f22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should we separate unit tests and integration tests? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_ocr.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9364c9c37a69a6c5248bc25a68ba07c4e306f90291915ca2c7fe8b74b70afff6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should we separate unit tests and integration tests? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_formula_recognition.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e185741c6f74491ceabfb6a66d1393679522fd9b06be65879969af1951bf9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Also check passing \u0060None\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_ocr.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d966dd9f833128d9cd8766858c85c3653d900facf5f24361fc9d74bca12e6f79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Also check passing \u0060None\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_formula_recognition.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"567e3f674af7076ac25a4405e9cf99bc757188946e93c4cfabac2ced3abcefe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test init params \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_ocr.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1933e53fe10cc37505779143d14fb6585ee4f900f8348b8a79ed78373bbdef0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test init params \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pipelines/test_formula_recognition.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af757c25c36b2153eaf932ffada6828eaace854d0f650fb6001dee7adc79154"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"971b8376f4666e2e713db2e94b84b6be0654bc12a8a7fcb2486206b99721abc4"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX: Currently we have no way to get the data type of the tensor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/infer/utility.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6042189ef62fa6cb6a1ff282aee75e62dcf7511cb2aecc2d3c2a160dafe546"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The README is an English banner with no project description or purpose; the global heading \u0027Global Leading OCR Toolkit \u0026 Document AI Engine\u0027 alone does not convey what the project does. Add a one-paragraph overview stating the project\u0027s role as a unified OCR and document AI engine for text recognition, parsing, and structured output across images/PDFs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README has no installation or build instructions. Add an Install section covering cloning the repo, pip install requirements.txt, and any setup steps for local development."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9375b776548fcdbe3b31f3857e926beff30a3a2f5c7792e7ef3cc19fd05c656e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90b9240a6247e1fbd03e91d0efe8de16bf9cb21d75f4d3ddc6be20cc015a340d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de41f1d9ea42cf17a64421cd5139faaeb9937b820bf161e3f40c1eb477c154df"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95ab2aa8dec15e34d141302f8d9445dbf5065b47db50b4b776bc8e7521244c77"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"851c982ced7902810c918134946fc04c24798ccd808219f996ef286c4703e49f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"168b8dd0b125f249a73a70739c676d5f6d0c36bf6ab41854a6a319fffa1a8fe3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a32b9096cf43ad708668289a8416102034f0a95b034b72d9ccdf39c00357ef7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57f47c7cbe416f018bd6291a682345671f96aaa29097cedcbfaa4f125e219b94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c777c239845dbb5dbc98f2d209b5d93282e2c8d02487ba5845c146a68e703c0c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ef94b6713bccc8cc19ded0a85f94fb517f9249d36a981c15eb3df938e117a58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80bfc37d4077e831751788d50c08ffd743a27ee96323c5146a1e4f8127048aaf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cb44e7efaa5585ff8d2aac6838f1da5de75009c98e180e3511a905209e3654d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cd851498b53656fd68096a841d257b8d865b10af21dda72965512bc730c4f7e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51dc122f2f854dbd39c2aaf699e18ec4fccd9c93763165be914262091676d67e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98fe32ffae059a3c044e50e66430d2925176678f46e11147256c8f3f732931ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc849a1e4d40fecaba5b3ba45a7aedec73ef186413a46894e0f91e5f21da575e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e44863daa35c65bf03bc0ad3987b57b230a379a0ed9d113032818fa54950529f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff344d494c9a4394cb9e0ade46ef6d4420d0ab64e497ec6a5ed33188ff7ed77a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bdddc35f49ed78a4f3d09fa688fc94f57983dc81728d10643041c01740f5105"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4076dc64720f9883d55f5931a638da7b670ef2480904d016de67770f515f97ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcfdb359f09cd21d2b2e72f3062f4d08bad3c903584e70bc7a1b1a21659407d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4923cdfe3a8f95d0622138be8432e166c296f88f1260eb847fdd43dfc2b8921"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"984debd293cc4fece938b7b0ef050e7d561ef478991d6be5f0e5f12da18e7b10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2ddb503e8ee5b710a2d0af867d89324c14281d7f020c8be53da475624a55a15"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b255ae99e10d3dbb9008474dddd643090103a8003a46021818c62936e181b2ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb79fbbf6e701401c9f2be1fc126458a7dd8d17dc990b85493fc487819c86ab3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd0f94660bfe8849c60f9f0a44b4b4835280554a704c129e48f6e73692d5d97b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d570520b544340a03aa06a745549f83fac4b6cd65a06916d0015635a3404d25b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d20f7026d96dff87c0a5ec8a5880d244c1ff97e25de946511a7f44e3751b656"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c71bc63859c427b5f68580967c02c400ab4e29e08e06757c03d03a3a6ea4ae32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b9f020cb05bbe8178a82271e13a28dffef379f2b653c43192e141e2b130ee5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfcec46a767c9c18f45a360fa9228e615da7842913e5d6c7c4dfb925c363734f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34a4be1c03dd0359d6a547b8cd7f9b530e5c88d734793c2d8a90a7528e1e44b4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d823afcbee0bf5d6945657da1673be9e15eaf6ea525815993bd896228af54f1"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73fa3b9da63019542a7fab56e1ebe2beb517afbcc1ebf3c2a7827782fadc7037"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5c11f6b442b692a48613163f4027dde4466e002ab7c93fadfcdbf1bc17d72d8"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c68948bbe76dfe6c2c01a88b98df22f15d63ee04ff4f7e32431170ff9cc3182"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a23b2be0d47a125c81becea33dff6a3dfeb1a8cb9b146c1a363e13981186345"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b828fd8e0f35984e3e57173d94a890921d5af2d43e59e25bb0c1e1c60169b7ba"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a7edaf739e5cd5aa4b77c7e6cf0baad4e8af3d061ad6e03223d67494d3a42f6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a0a1c3dda5fdbb8bd9729c7a6e76caab0eb98ee664c3c4445648ecf52804a6a"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdeae95d5fc0f16333d78450c59108d796baa00748257308fa1644c0e1f4779b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42a8b98fa01b8e29a3cbb4a245825b0a735286a31fd6eae3e26165dd42fcae7e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8247cd5ff91329112644f88a66e402842fffda75289ad9628c940dbde78e647b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1a129f89e0b738ae622435c055fb358bf22a81c6df0beb64987f2672fd3d3b5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"900634a5b22b7286c22ff2fb3dc18bb87c1cb7bb6b8b5b24f0812e900ba0c915"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9491320f354f639ad8b3b8c4307ab662b0b881264c3317995808a206ac11e5a3"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2490d6463fbb9d02b53c0e8e545fc468837bef7bda6cc2cd47f4ac4ff67f1d5c"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9143bc1f5e6efa0f9960ed65bb204410a94d33c1e43e0a47763ae08dae3914b0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca8774c60da5b08f580c7f176c8f9353b95217d73f0b643bc7895cc4597b10a5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1c0683b360b61fd64ce1fab3c1aa95b786f4cbcd57ceb23773e70158753cbfc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13ff8b8537a3b159d4f772cb9238476fd3b6691098e9f8c530728265105dbd37"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f8513822abbebe6ec8d6634d3637340b57feaa2f456831136878f9955eaf435"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c561ed6dfaced02053e04784e214ccc3a72fe71b3e639fad2c6f3dbf118f49d5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9e7e927a286c06054a0961945b5accbe6229d4861cd44ddf454b493c0ba1740"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0789fb17deec71061f5ab202efeaeb57f416f1754cfe0c794f05f337b43f95e8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8150d890f48ea92d777f51b121333e224a21fb43dbe1174896fd8c359e88aa7f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb633b375d42285e5c5daf16dd87af46ccb3a4ac653987117b61101d51479908"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd0ea4727b2af283aa64617613fcd6759fe24986b9b77fdee5d81bdb65c3b362"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"061bdd17e7e32fd2e6580ea95e5b89ec91a67a84eb48dca93c411576bf978c15"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c5b532d46d7c8b9d4f7b55c1e8bb5b36b619dd2fa6db56cc4963df5132e8777"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ad2b7673621aa65a689e1c2182da53d99cad0b14dce1c7fcaeb2653b289dfda"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"264cf3c8fdecfdeb5eabf12a0e90e5d68bd574802488a48f92654666a5c66190"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce7130bf714daea260ed3a17740066a59c07d6665bda447510962c38fc5382bc"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"874b5392229d766d55a8f7faf033d9db6e9798d45a7849519a848dbd2621b870"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"805cbed55602b6278551a47ff8018e6e01e9483670d2393d983719aed657321f"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e9b76a1b020d7d46cbe7a06e3e8faaba62e492bf4900ddb7537bd4369f3cb1f"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bd5ab235e9c5463aa95a9a728750bbe4c5613eb7c36f38a6b5000e1783295ff"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d35c2719b2681f29e2f0467ec739764eb4f85d29b2384d923f6361cfcb3231ab"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e86a84473d478eb9ab1d006ffeafdb411f98baf85a64167a1752f190c140bcfb"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d65e96eb3d1a3ad667642df8a7b55def26b297a6422ab90ce76c8644fbe9aaff"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5ee1f1a3f54864552ce23748a09551625ae98a2c334de162ae3c6a729ba532e"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a9b887f44644f018098f915d9b7f0218255a6d832a1d655fb850f6182013d6c"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddd75e2a2f94c740259806fc84eec482678459c3c51a6ebe3f25fb22b6f7d9c3"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54928c042166b01eea8b9045eafedeebc8609b64b3c74e05124162c6235333fa"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32d6b62ef45293e2971bca0e7ae9a96a0d73d80ca837fe29112637e497bab3b6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1fd2dafdfe3bc4fc7ce75a238d4fa2b2c3be2d8e2d64067d8282c76e19e5f13"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e84e5a1f94d80b18f7c1c1a83868d171dfd9fa3680e36f608691f8ae35c0891"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0261755ebf26d5a5b2d4e439d71c8b6398728b04ccbd60bc23659a37684fc98"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"190abc0e51eccd1e2ff2da980a490edcb0f9be3f2e980ea80ddc807c45477978"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b9e86d0b8f60a1bde9266d190032f9e72127ba844aeb1da828e4611ce8ad9d5"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cfe7b4cc4bf51a21c2d6cc9b1571c92972b594575a98d83067fa57e15874f1b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fd6599834ae1701248c36d4a23ad40cb3e6443ab0eebdc4476da9d4bbffa159"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c4fc12832291373d5f8fb969bbd99963af70f31c4f99506ecf9946581cbf38b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dec57c35e8f818cfcf8e0022e988801b82ce68df873a3fef7910613929e4299a"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdcc5e658d02762f9f571fde19ceb5af706b822322acc395f03a7ec25b320594"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4b3a4f607c3863416edb1e941a42ef69222ee6d3faf991d654f1007ce70a855"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1144796cd21571a2da79358235023613330deb7b3069fa84476a8917b42277af"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8b8740a628f0b5bb705e1e116eea2f2a6e3f943d313ba0d5b9061b0b6ff495c"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fcc1dc0333caab6288a0f77573f13569d00a8181377fea2ccf991bb59727c16"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"383ba8ef7a19ebf96d33beb31788721d3bb462693fa42d1c18ffe615bf1064dd"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f43909f067987ee6ed25d985e09b74feca5067ba604eecee4a733eba522cf458"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"336055704e6d305ca6acec2f5952d30e9bca8bba8e6ae382a3d6eed8fca6a58d"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0be6637df2141978d4023e631b9db89e0f0caa08c08170f0f0d581ceba5e0b6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbae00f062ad6b875bdbad132e6f8c2654495cfe9aa6296cda555aee26153681"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6865b13ed73c982e4d83ca2833895868b763bb0f46e933833d2a70490caf82d2"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9320b2e883e57af5454a0014109627d556ec2cd23a3f9ab573ffa1bb79d98998"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76cc510e8acce0f25caae56709e4f5a3c28b407b396db38248f30cfb74e3e27a"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"334acc4877286fb6ffe4d58fe2a40728a2fdf603c0031d73955d07292807d873"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0204c1798e9a7e2c42a4f5129fd2d2ae72bdbd81681508440f1d41af62cd155a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36c337088b433e54f365d7beeb6840dab3b1e8d93340efeae5d577a0c6aa6052"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc92baa8e99ab66f776754c6a267076d5dea9d5d53f170ce0c034d522f2f1b35"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f45c99c1a85c462ca085ec8ca8ffd79970c9a8b92496e7eceb1e6cba45d5710"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05d079073f07da72d28c814cc83f8c811353867f3d9d50e1bbcb2ea4ff96ec74"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfbe93202a125975dcc23585dd3487694abd0ab7439bf221805eb2e4356f75ea"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37ac1a30273292721d0fb6dbfd25a3b34900d97b0c0e1d458aab6cb6b5f62f51"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2842156a75bd1cf9eebcee781a562f84510b3eafd42afea05d0fca3e837f8aa"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d35816f2c31be2247972f2594a582b15324bb4626028c728935862fec335c063"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3166fb9b01757eff92347490af1dbf1391413c2ce7ac43eb30ccc12b119923a0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dd6dbe6abcbdbfd52bc517c63889c7b722e2aa1cc18037242de51c0cf7afc97"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9db4621ea7f80d0349c7d5fcd5409e17f9ab958fef9f3ac51f2599fa6e3fed3e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77b4f03eaa23579da7ce572349e87eb772a48e79e9b91135979df82410dc85a1"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc92e9a0ed0d7d8c6b5f640ec73684c53ef168ab7e937d2a3ddc6951d982df68"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96b6035d179a8736704ab0cb62c68da4e4482c888314e8434c2bd8540072eb76"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f041bd049a6491db3b3b76cb07833bd89cec80feb8ca8e8434d3611a73b35f4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d53b8b3bf7357798efdcef7f507bb48d918986e232c063beb763e30a2744df07"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28570ed98b589104145d33f9e8dc237f4303886b4888ec3cabf8e21606da52a7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96c0a685f62ce2b48ca7047e5340961aeb8a88dd74385cda530f02a3ed1ab6ae"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67cddf8a4367660095bfd9417a29aacc276286d2b4367c1c4da6df03b194ab2c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d558e0413bb105be105eb8f293e6e374232ddef0e31264b11cafb20eda6fc801"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a8ea88c50a40db690c058982197a64d00fe81aeb0e71bf1b102a523fd2bd1e3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"830c091d95d0768b52fa6fcde0032c6fa1f9936d8268f6f5353f81afcf2cef0c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f08be7c5c4b9c851f1e99ef233270a31d63ed5204437bad85ad14f3910e72718"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb4e367e806a9dc7c1915d6a1c56d03f883444b36524936d8518bd34f770180c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd043e781ae9e9a1e1b35960823665a3fa9171e059750078569861a6a1edd609"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48d99a99e9f1852e9c2f995bc6df4b1b3fcae1fc2dde69bcd1348c4f0c1a9670"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"029643aede367f5a21efedd9c9f60d423c2a334812305e60fa06f2a60847bfd3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bea9e1db2877f15dcc76bb92bc43e4ab05ce5d082c55dbc3d5f056688da14e22"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"618f01945313e2bb122702a473d9e3eeef79a4be0efc7c652707cf2a68e63d85"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9d06ecbeb3e7b4feb365351a9eb460d92b0dc538d2e3a2cb824a6e0c2e5844f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"061f22a2102dfac45b8254b77f6712690081c49f05c03deb070d41279d57f590"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f772490efa1e659e8fb90a577e083df20b3709c74773c1033951f35a9ec20db2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"753d68f5931ec3c81bb2b76ddc31de527e943084d7071bb026f09787be81ca52"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"386002839a5b3d6200a0803e18a6189b36c4e5e20ef7e3879fdcfa2661baa762"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e542af59e9744ef22c3f6eb1f0ff437af87bcc0f8e922eddc2641dda8a64ad78"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0932ad5493d3471b451a5fbb6447df858e9e6712a17ecb85c5699159dd8b31f7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4049f01fc3c9c4f674ed6cfc80035e8d7efeadfd086f8ffce18ebaee95259a2d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98a5ba2b3b81f9546dc063ef560623f20273b07b5c428331ba4817993d36f050"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c4dbb36571f5fed5a603ec9419a1023950b09ee9faf2bba58a5131fb468ca46"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"636bdb6f23ccd6cbc406da08ec5a6dc33139e00f766a02ace2f39853b7160a79"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7bae3fab2dbf4689f29819432ff7dfb6575c78bcb3aa65a76827844035a05e7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fa145ada0fc4f7d020950670e775b550d5bf699c2020c589a43c6ab44b24b09"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"074e63d41d68ad55934cb1a4222a991494193a28aae6a5c385766ded8bd36902"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e796e7d9501cc35a7fdf5028c7dbdb0f9483333f307213071299cdc2a90b40f0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd1baefa143ac5108cb16e97f34057a6b5954b5bd3b311f301159f3fc0725b18"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1761f48f6c5a7f94ef57b2eb7feff09b7364e36ce1617135817eeabffdb08754"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efb6f911f8237134204d190f4c8b9a99602492f833bd0444c249f47a17e63d86"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f7fa3ea547e7bb02ed2dbbbb0996954a44a5a76c565b19450a4daff46d63767"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cf068805d88c3bfbd34b409c84c3caaaa9f7395a80391ce8f844b858d0a2b55"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a85d037b1fc9f4257734c359048835d7f0fdaf8c3ed20e6fc0e629d6ec265c84"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4bbfbbf5ee920bcd6a79f277cf8ad1e697bb285f929f718332ad7a30ca33a1b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0bb3d720a2faef4c006c683d5be608f25c6a255ee5f22a108f30254e155b179"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec4f465facaffeffcb7968d4a512e202dec0d40f28c6eb3d9b942bce5683af99"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42f2b3b18d4631b85706dc681bb496de370f80b2f4b8e09dc42efab1830e6fba"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb96be98e8debc686c3ba36e87be4aae2549a76b58117694ee8472bd2e66024b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1162d0d7a0f56123fb8cb75cb10d40fcbaf42075209ffebbd3501970acf21e2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29a7a8ddc7cf2d0965a5bb0e313dd45008ff8b67f9bc08a08a50499f4c639ec2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b32dfbfcaec4032250fe1b60698e01d377f2f573d32736e116afe8f5b8d4bc6d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f52d20a3b64c2554f628683475eeefce987e8ad42cf0155bb7259404226490d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c5e0d28bbebfe5d3835301a959cc7178ee4aebac3e7a53897789e85b23ceb6d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9010ec8ad0fac4363842f7317d7c54e9a6035586d7b9e4bfab4548b06ea3e4d9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0db5957aff77b74e2d7728b61ccfc6971e21393e34f06d951066524bf300e5e0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"734d25fc44000a08e08afe1e36f4e09f3906709e22cdc95e4e8a2330bfe83375"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f4c937bbed90d3eeaa99527e54802726eb4b883f477e08928f59ab06e14507d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97bbe43e896e6f22ab141b3b1518c9f31e1eec8d9dda91d4f44a2105dbc2bd9e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea9d24e88cbbcbf29b7c610f98a2c26cef17ba3056a0ddd816ba5339ceff1a08"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31d5197df3047a0760613c5a90e337fab7db8d40cd1aa8209d7f9e8a2738f56f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92558c93eb186fa700be1b6eea76d87336308e12d5846e4a8ef9cc01093aca61"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c430dfe05111cd97076a9c1e359e4bc688551a4f4a80c5ed8e0d6d9b02804957"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb727d25e01cc0a90e84f909878a8ca02e03679d9807ebfb9559252e81a94692"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb5eaa9ed35da669745bed46e7ace87eff4f21edd3da4063fa6c54145f0be878"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e8078b3db70b3fb3a91c05428d2a6a131143f1e77bf4398cac1bd7732ebfb0c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd11511aaf917a16885d7c0aaf4e940f8eecadc695689962bef13242bd48e241"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cba7909b38ac0859557ef3dac73de8c56be208361d537cee99cd4d850e7dea6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5649bf3ce68034a94890cc9ca10386b566cb253dcfbda4d9bc7ec5543e9a3e30"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea63de00ef182572423c8aa750826421ef55dc7eda9ade21fdaaa1c28fe07227"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e11e65d603bfa9bfe088324cf5cd7f2d34263410edd0fdb47e62bf67becefe6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52af20f3400cb6f4e49d8648603fdeaf9a9261169dd3dd04ff06a066e3393235"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64d05c1bf0aca9cb8d83c5aa8a454e7300ede3dff413c0d7ff272543e5a49162"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f60d6f4cf56becab2094ea5ece2b49878facfa6e516023da3af3f343db992a42"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc7681e5e92b41636ddd0ecbba8d7ebad121b25925564dcb8cb679acfb48ffe0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"911bbb0bf9ffb97e746cbd31b069bc789098bef2302fb0ff1ddf6bb245951b95"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f87117f35f160fb7ad4eae74412906169d0627d22a39a651698001332ec592dc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65c7f445cf04c1b0029f70d1cf82468b5ad0306a74791029738f29a311f1649a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a79ec8213eafd4ea5def59e8e7f9110ac3fcb8762c93e9422e84d4b4ab688a82"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca087c0e108e553c86b32a8e31fa0309973fa3ced00d13f301a9d9e45d241b29"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad8ea30ecf6b230a89a83a28ddc665e3dbfbaf904ad5c6e9632610eb0b4f9330"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95744956126205fdd717f7fcb371cd8c261b1a630cdd5ce8ce14b7ff72b8454f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"441a9175507f7b805516784ad555c1ef7a7233fad32af9929853600b1adc3bc5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e7a271d24ed98d3518b7f20de8beac4eff2ddd987be6cf5e37d21e5e8341635"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9f105058328d27eea7c1d808fb87ca7be89cb9e196bd401db21d2412e3112d4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbc23ffc76f9a29e2faf72dfdc1d7e224ba27a22e6671a2f6f1b60e663812e85"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4078446d198426c596b062402f8140cd4be01992971224d0c5c1c07a83afdc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3202153edf6c3776abdf8b5ffadb96454dfaa0a72ab0b7a92bf2ca324282ecbf"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25f9928b2f61b83c24f7ba3a935ebbd7bd356530c390e3484509f72f9a265769"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff2a92572284056dcf3df95d84546a7e4659d64a90ca6df623bbac0756e55403"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"667aee4de4ffb7f97bf77db7fda5156f784db0aeede67352ff35172f93c66c07"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29375f5db93d7bd825212d1691f00547e0484d048996ed4806ea0f2fc552a522"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d5c4b1200882d273d8339e8f84a2cc1c5dcb0797475d8b9cc1d7815e1f04cb5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37737c4b521f68b3b2255f5d91cc068a9bb348e4341c888b564224464632aa43"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d90b23b053bd5d241bc06d8ecd2f3243e0f1808a2d88c203cd13354e26e6eccb"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b0ad0a692870dde0d013d4b29df90da949fefabef055ed39b1c7e3664d236e0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dc9355e394d154b674a99e7c16e99f3e6a30355a36ef3395b43802883a34116"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74cba76d6aa69f26aa1214bcede32c549704c2f4b19b37cf0d29fab199feb5f7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4fa991ce8b24e4b8b682cfd18122c8ff55d25abf5d2b5e1615fac89250dd06"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b1c0d9c54e5d659ac57304b5629a34bbe5fa1bfa6b773abd69f54c5740665cd"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2014eb8c802c558ea94fb54ffcde6e5726ca26cd7f535f144aa9fd45e5850699"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45ea8a2a0cbcc3f4e8603487d543cc5cb7ff56e01fac16aafca164583bc79e88"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8138214e19cf5c8bab58e44f62c48c5eee4fcdc5ad83d82796ec2228f7e8b9cc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54378126342960e6e89dd0e79346509b65c25b730efff7de0e5b9a9ccdd7b765"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f669943f68168d4a0a5146190b460753ae3828b3c4835999184e823449d4708"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abdf2146a7d20e811d066b4a3c1e1f7249b8a68ab060777adf6d33687fee6606"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d763683be4ea59bec959ca00b2cc39bf6b45bb534d2fd5ec845b2d69ea032e07"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcb4cb1f4ce3ad31b371066e0a1a1a21ab35761d40b2cb0b30bd0704fc4035cf"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c534ac829922e4ae35a8cba35372b81652b88f3890e018abbb64ec192dd3668"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6decb62cb38b26935835692682ed91663c89098f1a1cc7c23d939f35abe86af4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce2b56b5cb17a8dda7f258c265e35b5429cfcc85f670e1ce378b2e3131dfd98d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c56b9665ffdead2f6dcbb807b90720d7eebe3ccca67209cc9e2141c0546984a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98a170d1c0e7a6f375aeb80751208ff84222a55b8e842ee71176f36535c5f334"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7db7f22834114d3440c6feb9180f1f1b79052d8f56e2bcf3a351130e67ba4a3f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b44a465a447c18a04af60b15f51718d8dde8f0e09599ef822f1fb22c44b8af32"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9d2e3f3f6a03e48e2a98deb20b31a1f5de8dfb97d698adacdde1ec8ef21da84"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30e27c59aaf1f40cd1ed1c3df2002f05ea4c4ff8e10c361ef4736c0749cedd73"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"320cbd85088c8cf293d3c6499c03ec26faa31869e12fb94cebf07f1a0f63f1a4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cef1c6e14893ba4311f2b4fbeb06e55a5952283e4c0cd4010c0a3d0a02ca6ff5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16eb1fa84b13f84128fa58fba6175650dc8f737d7a29bc0642bf886556af54bd"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1b3c04bf85d37dfe4ee50f9934058310b725838426ce4fd5d05ca4450744f20"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"853565e0073993d7b2584054890808741c84973de60e94be8afa14766a0274d4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a705ffc033bbf8ae15551af3aac52456d6df497006e4ef817ddc77d151c51842"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2add7e0e52ac37b083f54066ff68a7062bb7b503d8f7b6a4861681fccb595fe1"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94ec011d62e4c68436933082f14101dd06297c904ac434e26b357bbd364d0e24"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17b0957f8f25d87f6e26164efc90f76b081457672d3aeeeb24d6e6b4855b51e9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6aaa514d55fb2274f2ff3d2fb31aae65beece7b2167ec1b94b69f5f84d6362c6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30c720aa999633d3c281a55d85d7d64f29c8a448196ca72dbca4fb64778782bc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"948343075a904365d57e1479443ab6d41da102a9ad11f3755688df2bd772f8d2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bddfcebcd1e8065bce7ef392ecea1487cd481f0143cff4d2ea5d9c75b1b4e203"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29b4b9cd3f47f399599646eb342cfb2285645d48eb4782b6662f43e96983e9e4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4dd7c355ca8809625c65b0b81debab4c8dfb3455a56bb021a30c57de7830b8f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dea6097e45929bd0ac40749aa543909365896b2f5de1494de78651d520ac939f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5e1d87f055597285b84366cfee93ab6332c71d7412c52bff122ab8b0c2ceb46"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"721435d286010ea67c3e1c339bc8712db5cb700b19e77d08d31d669eb68d9d02"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51d800ac6f576c9aa65c05e3649d6d4e6c1e0f14a53271d9ed2d63bbcd615a0a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88d7d443cb4143d494788690036cfb71ce94696d264c00d7fe7f0317873513bd"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbde8ba6fad96056ae77f2a9769610be8d3077a464842ff8db76c55069f9febe"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"933c9e5e08c1aa76fa1b73be8e5102ecbe467a5c52c076a957507994e2d3969f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"968ed2bfdfeb4b31c732e427089d461de5ef022db090ac804ec0f8dbf4497509"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15d791e5083e2255bd2611d46c326f09823371de8e36678ce945bf8d930e3c61"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4093c4571f51e61a3582f59f71a82b33041211ed3468c21bdb55de25d9cf7eec"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e88be481cb43d2538495e64d56766d2132cc555c62c64705e84a4329707f62d0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ce93694bcc0dea531a9502555538e659b52dd24ff4e46856ec2d45d29aa34f1"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c213221d7ac2a2dd89026528d08979c26f79f1d360db5448ccaa0921b92c185"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23b4e85d1f4b325846be35e0096f9777faa8fd5a6a747ae08c9262274524ce04"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6394ecd3d8ee9d1ef5155d7900b6702f66bf4695b12eebf6a7f7b6a9ad639205"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88e4325546ea84d4c823e5821e7ea4e13195acb61c1cce6206fde31d0eab1980"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c392896bcf9900f3d53016554b5b8393d2a5751ada83c67cb6637db3865f69d7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b7b5d5ec3a89f25ce3fa1bc1fd45c7fd1b6649990826e6794fab20d943b51a1"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d0a30c0fdf405324359974c21f49463db7e82883d2240241db06a634d7cdd6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9581dfbb535fa0a225b686d1bad0bf03032b6f9fcc3a6bfbb6cb8e8df9de7820"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a488174da13b0f1a4ab243763aedff1145a8cbb87f76888b138a5b543045fcc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"feb8fde1c8a99bf65b50e7564bacbd8b91c655ac537137fab8d8c0bbb4c20b9f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ced583c0e191e96987a1a3ab9b04392712dae527a72818817e5afb7393d9ce3d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3db027129f1838fac9fb2012e539912adb25e37044c447271054729f88b37490"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8278a70a3176bda9be7dc789d1b2cfa2608909eefdb0d367d7fca87f888b8e1e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff3f5f6686ac61c96d432bd26ea067a160c1361d805c77f71510d656fefe2afa"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b096e9fdadb76508131fce824b702515df994b4544e807ee623c5dcceb40d70"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14421393547c1760a44e049274bee571284e8d8a8a751d33ad5a5484234c4b9c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ba4b0011b84a098c3097a0c9559277ca1a772a9ec53d8834120c71fc0c1e2ac"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"191e0bd845c1b6a7471da9d3a4dd2dfa58612dcab52620e610aebfeaf8da705a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a43d5a2715904351e5b649f3a4835a9430ba519453ac48d7d677ba1f66ee9d41"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db58927f898b1e5b10368fcc31e0d8a697a3f5a1b02d22a519bcb60fc7745f86"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d569995a438d6eb32bb4c5d8adc654d008d1fd62a954df713677e7d28028634b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc2e58a40e681709085df66a0ebf26240cbd68050acf141b2e5ad218087ec824"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"377b237178eabb8cf2dc78426702b4df121a526c554856764bc5123c2435704d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4b00808c1617388ffa60596d95b596c0fce921553747a3bd68661bb3b8f4532"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4de720bf538c2069cf9101b572dd536acaa2d8e9f1e14b3d5a014073791e8e64"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a466ab8df2094fffde0f3f7aba76920dc0fa8fa6acb785e0391981f3b3adcc5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fd858852df8397a398423e396b6c60d76459c85960339ed42dda9e2942cb865"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3be21095cb15aeed4ed765bd621f5c664acf28ff4171129fdfc987b0a324cf67"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dba0c2f6e5eab9f261a3ff5d4bc50e144216c3d630c355ff653d6e4ab804e91b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33587c44919096b43f906b80d46393ddff1594cef0da069bb62d33a0ddb8518a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c8751511359158c2e4c27361933dae77f72ee7abf9957581a019f63cfb9dab4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3cad6cda4e685a17e5341e5d4fe9c48f81fa0f3fa7116eed936f2f96eb13930"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf372244fe7222efb0e90eeefe9d70a3609157605f28b146e3a4f26efeaa270c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e44f690e6be4c46f9d208c7a1c056ef4c4e032b9ab428327b0c2bf9e9a2e88ef"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fe0a30cc1d0b6af8e37c5f64fd1a0027cb34b16fcd8d7d0103f41cb31e099ca"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3d2e857da9385b9391a81651c3bc0a4e5130c1f3365169edfc7f6965ea00c92"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4eda7e721ad15d511e5a8f320666d6bb0065095361a98ab88edbe95553567088"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d52ba293e1660bbb12df6458054d2b5757b642776d18457bb4ac6bf4cb7e997"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08cd865377fa48d681b703b83926b9d6b05e9b74dcfa959e93d00fe9c67a025d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21a32165fd4e7940a24060807244d8a68353eb94ac82931678cd0fb306599f26"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06cedb3fc27b37596f8c36990a8b3602c7cd889622e4e6d02710a93a5b67196c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf8d11ea9b77822cc7db7d50a1621ab6b6bb82efc95ae74869790fbf5086bfe5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9be415f494481a7645027cdbe8b9c5949015ac458222110973060846a4339c32"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48421f97c6dc31c80f521263f77db7d7adfedcd37a0a1ead5cc719995a14a034"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75b4de7b7a5cdfe4c05f1ac955791d9b2dd51852e58a213e94733a2da3264877"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21d959aabd84146b191caed20933834446dd4390ab1a8446ce62d5c5d1bd8637"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8c0e23180b6f1b56ce243bcadf2d3d2044d40daf9d13f6dcd614871149d3e2f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa84a0ac4057e51d94dac1885fca938da92fd450f6d0fa05892c963c813aac35"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61ba5c9935bb471285c2a587285672aed58f916cd028f76996e1f8c900c0e5ef"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d401880a3c3c03232e6b81392a21d562617223af0474caf07cb28a9a3a192a6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"390872c6ed94179b4c4b62d90c1cf6b5e67d2b2d187f9de99952f71c7a55745b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4b61782ac038c40a08eec701fd349c8d9f0f5ee59571a7eaf0f2e17b9699eec"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21ff02ba2e3df0d53d0c35b8574d1db520fc3eac95f137a10c0556bf184ee265"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f95ab442a441cbebf081d5aa34d92734a87e289233fb2dbecc89350373a21722"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4aae38b7ff3ef793dd5472c3ed7cf4ff8aa04e90db310a603001c5c3c1b34257"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68adcf988eef2565024b0def1999b53d6de3da9aa04db179af98202d14707c63"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faa5f9f50411c531dc2c4348458614c1ba5d6981e856a8b20160e1f3ceb315e7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edd2125cbea2074ad2921fbd0424d2d36d0492db58e081c84ec3239fe16c5e39"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e8c04623a84eda9279b14ae45b2ab38ec2c6c2312da48ee64f1b8396bdba827"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36583d044dc21bce79d6247926bbc3b5dd6b3baa041ba7d82994984594d5d847"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52e330af190f314d725d5dc08b79a4064ebb071ce6f4fbd32e863f4a849f3420"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ecd56072e041ed2e277c58537df35fa030885c4e2ad129894b46216a735d278"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44badd40b032be6bd788da0c071048f8d90b9944a02f0faaf01d8c4ff1c994bc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49a2667231e9f9e47a0f473f1d74c1ab4c64b4da40e19c7f7668bb1d1a0d6a67"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7b7ffb90461212293df1a2d2df1a2f9726b133d9331f5066eb5425eaacd1adc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e7eeb3a26acaf369733f22195ed269745603bd382d6ebe8f1c36d714d12199f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a429c0b00d4f88e18ee52b50f5b111a91bcf0c330028563d3355ab5f1d7a9c6d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d54dd3beef929542ccec44c2098e3b86465f4445bddb4186d4cf650669b7977e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc85ab52d87bfd5a40f7537d6bfc50d0ec21e743d3aee822c304f66932e3458e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ae8c9dff5a8bc0dafe337d9217a79c1e19a89f06487ca93a32a8f3226a65fd9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3c4f7f8149080fbde0b753b0da9193a8a8dd5b36cf8a5c15330d053f09fc95e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f907f785561b02c1866644a0d7c2818130ecba0834b390758826128e85d7b7dc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a88392e8db2aba7cb9f087f08e92a4798765662e1c4d95ccc04ac72d0d71f57"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10f2d786ec911a82c76127d618fd78e6d386d3397d7d6e3811c52cad39081d8b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87f53d443a62695beaca2f7d63f29897416b7514fc9317a94e9b98aed5807d51"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e16e9ec65e053b66cd6a78bbb297c623fd189916d9d7f082e92ed992c67b6f52"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d80982d734533da2750652f46421d7c9829b84f28cfe6e852181a041d266372"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b086704300aa4844a03bea41bdcc7c9a58fa35f3d42315b1071820bc0971609b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aae33235a5719f578e0cee3f20685ee99fefa394c55314983890ac7cd5f66af6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"871dbd76d7cf1334b9814b4ccecbbbb1892ca6049f2f45d8fcb654ba93438c80"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7df6fa95a1846887113331b84f68e79745d7d2389064030f858bb44782bab9b8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1945b900f9231c974d7f0f8620ed9323e570d05ab2e3c0df0dd03b5ae167fa8c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f43405999ab8702f3d2fad2d1ca090680ae945466fbcd244f4eb97bff5cabfd2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f30ec8b19a2e9b7fbbc4cf02e2283f30e0af465132170572052a654267161fe7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ced5d340659f1147ee3cbc0013b254ef1fec9e699d71b5952f5043679a3df9d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee2288ca51fa2c428e4110c8c25162f761044e2a56d8daa12f3cb4158e833400"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36ab4a0d47c39b42fff70f90667e1a04e377c4b7db4a722c40ecf88f303d2462"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14e1a806075673c565853b1c2b750ab179a2c998da1ce7365bf2b678fffe6b9f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45a3b3d924636bcad19c2eb501c83683dd6ef9530ea4edee77d8eff7474d58ab"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"380afc5a61ac057f39e8c538342024fd069daecfcef2b991093af1d7d7a5d444"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7092386b2b89ee6d0e4731864b26fad74056c534f4a8becd5a3961a28327e75"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d580c523796ab2ae59ffe55fff1b622cc67d3e687392f3a8203b83fb7eba06b9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8aa9e51cbf8d53653bc5b9859c8fb550b8891b4d3867abcc6651115a3d299c89"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf05ec94bca12802616fb7b7481d78dbf930bc9aaba841c5e0591d4861b111c5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c67575d11d4f85a86dda02583659f451dc35d4dca71a0d0ce09d774ca03330a3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a51a817be9694dad768f0b71f5fad6e59c67872918100d574ba47451b543bd34"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8284a2e2a0f5b43606d0400da408ea0df32b576ee207d86983473bfdfdeff46"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04e9c7a45d740cb975af1ffbfa471c5461a1487afe27faf469a172d9f4dfbf49"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64c17d2e63f7ff9c34abafa7a6a4a853ef5d192d48198d747bbf39016990c12b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c04ec8c842bd8c0cf2b2ddd84aa7d9bd59af2eeb7b9b2e33470f869bc4874a96"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"038f8ce5ab575e8a9225436904ef25b96c560aa69491e9368a91d4f63fbcb766"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8461b55e1b7426b4f0589bb273a42a7d91c19bb07a89ee6d6a41ca33ffebcca"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbbd84e7c8a70f7d0fc4cdb335ce5c98a5b107aff00f2d8e9e068a763a4269e7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93719cff9947151b4f07073d7f577f012eea853b480a1c8f24c6c631b5f04224"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8c67af41bc95a68867a6a02ff4f348a94fb9359b34b220fa7472c854d56fc60"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4246d4d489a6300568e10e9f82f93d1aa3b5db76a1a2f537e5a13e3b15194538"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fe38ff155769c1dfd05c4d930b700618fdaf6aef0dc38eff3e5b7fa4c0ffae4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"410973ebdb773baf435eb4dbca6fb11547b8b14bca29e1c2277f317df47831df"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d71a6cbf5969279680d612fbdb901d3d512587b68a139a7075d36d2867b5db15"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89aad9865bc544646f7cf5214f445111fc5d87af0e44b078fc22c7e391eb317d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e961bb668df744ef82c0545748ac7f94ce556eae16cd75d066bfc9ef27d4095e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"950f1a0be5d88c779a066798e9c3bd8ef4d7c91212419b9f4fe164d6e7d8b65b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"895bce4c2a826a945a8c13c161e377368aa19e550e2676446b6551b76f33a745"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32af302b50bf7020ee1377882fa3a2bce492293d53fb809c152c2f936819da53"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4ccccc17a53fda19a41d8933ed4ef6895bf42f53fcdafcf76f41d2006743f57"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc140769cd6698583bd0754e878ecee6fb0a5386d64d1803086f9bef93d40bdf"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16b21e1c3b2f1bfb9e96f5998464110c20cabb20fa004a7fa379485258dbaae9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc283ba31079bf0cd8932fc830dc963ee948ba3f9947af4eaafe6667daad5ad9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"165a3c3e0f60853383c4fd9df0532d32623b49f4dd38aa932ed6b76abbb07f33"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47af1ba7c353ddd13ee04a2d265f0c3c99d03ec719b5e2cf8bacb87645e28b01"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73f66f7bb6a65d661193b7147e48bb7328ee3e2700659f6dc6917b7ec73809b6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67739f69ea31a206b0ddc2e843fbf36ec2eecbebff45e4c46483041e78ab4fce"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3abe1270b0ce3d93ed96e48aa17cfa10826e1600be5fa8be5403d9b4d864fce"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"290e6a1e21ab3a405cfd9d3492a05b35f0d8c6867ba66f0508bcb4cddfba3f6f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"368d55cae8e73e4056337bbc7f80c2cd003a25b3af6db5c56a8838a57e0343f3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e64ef139e5136666e8db31e6288623c9cdd72ebd2affe104d9907bc78737de8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc4f7791d136fa53104f3efc2175c109c504182c412828a3b0bdf89faf6da852"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8403ae254fe369b56d9cb73e2b999fda0f970090860261ca799a1ee1f545bb22"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8409d03fa2bdc5e9144977096716729e524a52623fc09dc37d4d125f534c94fa"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0c5c897347e7ce6ded415834a68e96766e26de0391859b1c75dda973f20d9d7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df2a1282cf3f3b02fe14333113904197378e811f6f8606dd5b905851e2d95727"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96aa592da2237043b996e948ef76aa2c42a3830819244acd721a12062b144880"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538e266e8ff9917f8f3c98e1cb528a978e9e9db8e89ddb877baf24c673727e0d"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f090c910b579624d681034f892d42b7ad3d000ca055daf1b89d49deaeaf402e"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79d9ca78c2dc3801634ee6ce2c579019077919f75d5073575162f5b7fa53cde8"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf275f6bcdf726488e87e3f9ad4f2b4c22158f18f188ca6b0bc95b49d3664fc7"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3355a16c041c0fea9d64a31d51bd86ff67ce51b68a0ed3ddc0713969e0fdab2f"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"193cbe3273aff537a5dac457047eb059febc828d019d80ce9e03791221eee209"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a15f60d36f37cdf65678941ef38d3ed62fd31f7a0ae437520d6624e8f1c10b9c"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b18c4d37485b97a5e0cd9e0b37af8d9915d82cd63d2fb143a8dcf505fc49d0f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e32bac92cd473f87587863e01069344a32a6fb2b376ed892eae1bf195df7a526"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9de2ec5712df7ec346fc517b5c54cc360ec861fbad24674f5cde2120939d0459"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04fdf4b1691f446fd0e0ba356460cfef88c5ebcb9bcd42c986b1027fe319e357"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c87796b8bb351f61ad6eec3ffc6f0f99c6b42f370f0bf515f854a5f6adb97d3a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c058c45a218d2dd52bb84adfc35f84ec601a39cb69cea6a1ab9ac062c763d4c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9cf055cbabd886587e3f8f76df7221f8a8a5f9de04954e6f1ea13d968ea936d"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a2d9cd7b074514c2baa421e2551d61e92cbfb0eea59f3d5f82571fc35ab2178"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa22259326a9a5038e31d81674653f5d36db8ee42a3f346e6f73ec063964d559"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a47a4795f11aa38d3ba00dc233568b6d70ad1bdcff5e78c63e5ca8dccde21601"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bbdc23be083979bcc9f20aa57133705631983707bca9bc2d13f9d3c5131ea66"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41c35de48c80b7af539f7b69f7888581702ff003958453c3b11e84647e129f4f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd3a7d1036cff5b01094c28129a419e823c45be0f54978f1e60e62be3e94f00b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e89669e22a9a307a80891541563fbf349c481ad89cbd20ebd9c09669d3540e65"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71e338075cee620960346e8bef1f182fdf1cccf5274c492d5d3565f2491248d2"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11e884686a279f1154b1aba459a4f57b336f4b5ef5f0dc81f1a78a63075fdc8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3193506b304a633c07348063dc587b48eb285e3cedc13094bf6500784297cc42"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92e7c1aaad71252c4d83bce0b1edbcf94178c5c24d8b3151b0a719b6ec7c3654"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d9c17d5c205ff6999456234d673ec54278fbd4bc6feb6150dbc669cf412af21"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ea169599fa61da2f2432275ea3afd716f7a2b0085c4284441e7b41e8720e054"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5096ee0ae5745a73ca219a5af3c364fe268f4671c437272f6cc027ec662a04ae"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ede9804f7f4ab09bd09927218d3d95d24198f8209d4b5acfa9b62455b0c0ab61"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6f19e48e1fa07e821e15819c725fb1126be11a4552e68fbce0e344a598e9901"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a57891f784248332e1677d550735d397059ac36b684ae5eee61417d2b71246e7"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa1d668cfe7995462dd0f5288d4599d73fbe19b9cd13c9a59e894c17cb2f868"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c967ef44f0d5f7e9521f523ec1c2d0d2c0528cfc10925bb4a1613cf7b4d198f"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae2b2c6459882c0fc742062b06054ea88c2d0f17ec254153769856f032bfe6a4"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55d829c4f5bdabe4663e9c0c60c6c2d2968816781d58ab8049a39519a3f9aaac"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac640840268bda53237895e59608c09a0cb7b152c441187195502d74597ebbd4"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565fab4ead9e495005f7394736a38c4bdb71c38a6707fb5e0e258c222917b3d9"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf5b8ab96bf306f0e0e5f6ee4f3c5c0301376844007a7003a52425a35cf98f21"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85a6e2b1cca59014bfb7c5f6409c2338052d122a35f6e8b5bda9193e7e65d059"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b6a64f62ebf951cd630a5d0beb880a1baa149af94d0a49f2b1b12dbe5126255"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b493a0dc1c958c697a93700d4422d248b4b60a6e7b08fa45fb4558b9e5f3821b"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"367209228d170c6e3131599a73d121e4d2a50357b36eab67e3403fedb018c796"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca27b26377289bb85c89249437557e0cfe6efe254633d2ec62a4d627e9568988"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4172d67a63a7818a71f24b8b64f1901a11430adbbfc510c1ecbf9ed27228ea"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c00367b72820b0dcacd950977e454fd223132fa0a73f41302e89e4453906cd0"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7de6f72b6fe62df20fb45987c112656d5b3d0d31cdcb2afc9863ebd6c56787ae"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5053ae1589dd481ecc76c6dd203fe1cdd7eb0ed66b587a12a14af52759bfb1"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3b43650795afbc91f7ad95a0e1778e80aeea44b876fdf58a595e2a11515c9ca"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77b43a31be6501dbd5646362b85ab5d89b9271cfac478fe8bc0fb673eeb8db04"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4e03864cb2234201c23f33211cd468c1ac587df0787de4ced24a5c5bb3b466f"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bc60dc13282b95781225aedd486a0bf70b2a68ead8d8a972fcd5aa8822230e6"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b79c21cb1d7d38cc399948fa493d3ee4afc5aed4e334a7a1a4fe7fc52b7994d"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"094c0de4beb2a20bf7bd15b5b29acf7c590237c77b437161f46aee9f05bc60f4"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7074370f8b1ff6f325b348424e844e62a5e3ff8814a7706eedc3a1e1daa66021"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d832b040c0eafdabd97799eb889c6ca556650bdb1e7d16a235c1aa5d1a28c697"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43f558ecbf215bb025bcb32bded92183e9ef7a0d2a3cfd83eb2f05228461d8eb"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1a96edd693d387f9c63dce3e2b1f7849b5ef9fd039b21b3011e820550737576"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef1477eb6bfca9da8317f2ea7e9177887c4427dbf65f4fa107a3cbe05c06a24f"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24263f73f3a2d75f82e73c223730e052eeb17aafb1198f14b94f115bf105b53b"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d86f1921d753b581b40cab1a9498b047cf64c3b135c96e5314c47bc7ca8506a0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bcc2c5d6514a77e5748a0f3ef9e61a94ce879412239851fa840152fd0499ba7"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a18cad48c20aa31e1c02833b4521eeefc8ba32ce84480445ede333cc81bb130d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15b980e94cad1a88f1b3622a9733f50fb3c12615a5e53444606f6e9e2436a164"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c65c56ee88f791db078e188cb1281512498ac3014eb300e65331a9a2dd1ec4c4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"601ac76bd7e6c8c053352af45f8bb14ea47f20a6ff055f620fc121a396377992"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f2803f33cf81110d5b1c02204ca26da0dc74ecea62f65401ae4e18ca037452e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8473b48d86e22f817d04dfefc929ef4453a0af11e0d91616be965bffe8c52e6"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be40b4908b5422eb88d9d6681861e0b55ac3f55e1fc80bd4a107e11e3e6de952"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4529127f8ade56a88fe69d52d6a2e39197deaff63b819e86c5674aeb0497defd"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2585cc331564e77d1ff2fef411d489590d86fc99c0c91f9e6af1f59711db92d3"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8db0077f738bb898a524aa400c8a1989892d1bcc62a6b52bd69064fe98d5e5e8"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"726b8e3990038f777450fc7bf0e2bd248ff41a3cfbdac4d51e36728bcc0f2b0f"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa6964873b28743cdacc525b7b7030be64690fb480c44913648c92c4973f44fe"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19fb35be3caa03173e64bcdfe90855354e977865be143742e0604bf3a6467d69"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e8c9c6a2d44e4b947bf87025a51b2fc5d60bc70fd2895237dca10d524826a5f"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3eabdfe446e64d700f3ed5db75cd06cba51b59b178eb2c61f65b7b8a6e6a58f5"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1a5d4e596573e90b520cee2cb753b7011644518a77e7f0d8fbbf71075b8821f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"695ff211641ef4b8887b3d4efe70e0efefb849fac012f3e4528ae8a7f7fec68b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"787d2b38a2659ded625ea4972487a1a2ed4a7af8d141df8105612d25cb760b80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"770369ee1230828958f8d05998b8e84ad3a516a6cd633cbef080a99a42a41212"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9366cac0be177c3c14e8a175af757085769d0774af393e52255fe37a5592eb6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4245eb682f102bd3eab0434d0065ed85e9071bd57242e737553d3958b90228b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b24dba6ae93f10f7d2f6cf29fbbafe09e8201bf6379f5b03e6f8a9f3720bdcf4"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-693","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e4825d033c069ae500fff0d365b2738ec17b9f9ecd48a53d7b2f47d6813985b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5c2c0dd580452a7d934e2fb97b6c83410da99a7e71e4d587c8bb5fc6de88d11"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce6581c2578703625e0990c2d17db5f40de60cce45a7c618a1e1579e35f5be22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0616ff3763ef850e0e551a64753e8e4cb55363dbc7b3cca46697e9832a071156"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43d724e95ef915c90e6aff0071bc369d31a772991138e3df30defbb1eeec44be"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71aac65bedf789727eb7b82a617f01da9add0448a6ff39aed6e9ef304a1d5599"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57c0a505768da8e071a755a202e682286c5e3310e216dbf8c2c44652e54937c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1c65950292fd42ebfea0c9ea20fcc5a4158194b5aee78ef5ce291539b700a09"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49b60f52993490ad8689704561ff59997ccd8c5d571295009f03ae07b3c71c2a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f18834e3ba6d0788e86a63e0f8035f58857ab4783b46d6e8c3bd43a2a92daa3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3133a9f25245a321ea2bfa7a5e57ddd5591323b6befdd5be3568fba1123af493"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc94e2f5f3e3b4fbe00ad80264dfb796626f579ba2ecc9423f90ab9411dcde0a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68df38d85e3375ce1e726a55949a3f17b499fb3c5ec23b7f456d45cdab9eb0a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f2b97a92ddc3405ae098bce15a2273a9c3e4f78f69b0c4c526d97fc1ebf18ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbe2f366f2523e63b129dc5003d1119f99952eb996cb117d3831db453e6e534d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d05e2c2eccaf44afa4987ec8f3b6c5fc763124846d3a90f2802c1591e201afe8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5713e6bc81de7652dd8112a080aa7fe3a55f5e4c402f6df26cb3e9b3510dd8df"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e37efebc3a1e1b54267cfbbd81eb51488b9495afd202a969bafb829b793bb307"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6188d168d3042a834378c5ef0c04a0a80b2544c0acd8fbad4e27a56586bcd96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fd14a2aaa268f1c82075331d3aea546d1c84ebbfa69a94387375492dbbbfa42"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a0f5b1c42a7b6525d683e585ee2771ac48cbdd11557087d8d1248273f97064f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aacf17cecb0c4b53195d0477df0c816c5c98cde9aa18a3aa08eebfffd759937e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25601c4e59da67d733cf6d329ed7f7c05ea30ad23d78a13da03aeb3edc58c4e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc525c65bccf13dde53cdc038f2e1929a70054cd74ecf700c4277869083bb311"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b9f7b4d3897ea781f7d1f7139d76540b3af7ce7a2c6062def7a5eec749aed01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9ac5ff8707a07f5dbe11e0555cdd2114eb3bf6571cc447d953f4e365e1208f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cc8565a1101165df7ea7eac726d51263ad855a7a9f00b6d7d6960337e400e5f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56f98f312165073679de27d042a4666466629b396d18588f829ea0325260a19e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df2973d3c53edb8f814a3b95397d4c75603ca659beb7fd86fc8e88ed9093d2ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21634b95fe13bf76671b5c8972ea7fb877bf0881ede1ea5fcf14672cafce1401"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d538ce63241ebc9e418d2dd9ed6004bf10d7232bdea3950cdc4664e7195ac508"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c8369bf7c8f97add70a1dea7ea068ab8a18bea0513eeab9eecfd0b7ad41f687"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b44f079574a1afa6582187d79b2a3006418b5c2a02d9d91ae5a58fc57f82639"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50b62cddf9dec6ea9b4a1280285ea0866a22b46f19e18f1c77bc958725866d87"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8fef3533a7123dea34ff86914970d5d295b49f5c0ab63342da7929a96d33990"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58272476ea2494429b1db32d5976f9102bda75306cad032954a3afdca4a2b6f6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71078f1792267c4d25f66e846e2f27fc9dafc816f298fd498bc846780a2a75b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4d38f4ae2621d5e911c5e1ae9aa86a6fc869a18ba8cd295de968147c148bfb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11e1d2c6878f33890fafab76f1e6faa916502879ef67448a40b4c1d66cd24f74"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0854d2355c709ce0b42ee139cce559ae52e9ae2d3954d37950747777e7143be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7090735f54c04475189df32fc593accf3cfe630e22d9924591f44bbd7df1c8f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7aa973cf9b39607b434930a7434464b07fc008d1fd84e2cdd86e4ac925ffef3d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"811c5af3a783cce185b7915c63948e4c856824d19166d6a025434a75fe5cfc21"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b00fa9ba24dfdc71d671730392f2fe8ebd34dda8546d68c5e5eaa219580be59"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2be96a24778cb6dff1037d8e6616b2ba4baaf8a23c229b10daf526d94524e0f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af76f2a344cf5584e6195c83b32b03ef42a31e0adf3c908ea1254a7dbf3248b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"147cdcb202afc4e68ed46f532fbbe8869fcf8b0bc77dc8b15f6955df7ea9199e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7320c8ff1702d14ec7fab3de522342bc4eaad528fc2c25bb68380122c65e7f02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32dbda053aeb72057e785ee87a82372450deb9db77170255824a35face23cba5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b6da4a2f762a1280ffbd1e8c0dc9211f4d3e3b612638e7ffe25271e3eecece3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d99c758066165f2d3d38570f0a40afd805435513ff1ec2158c645d6e1498a86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28e3e47c7240b4ad620a7d7b1849bf12312f3755c63e0a2fd5651c058f0532a0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ff46e7242aeef057c8707a35b1208e3e0bba625236457ee9d00b0c747ccf599"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd091269a16937da6bb43671fa79f9246687ff6f85fc65ae0b581240d1a13e46"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c7487d36e78bd37f8e21596c2ce0f4e4f5a3069a2dfbd92ffc6189c987d45df"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"609af7614cc11992d96000b729f51ee5304f88224bb0007a5d4ca4db0b5385cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63a81a7acf16b53b87113466d9db43601ebc065722b1f69ed88c8bf661d846dd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3ea1186111c397f10144b62a815237b559e6902b78e0df244d82ae38df52372"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa485eb6bb6fdb849166a11177bc41af64e7e707cb8aa53b53a39c1c6fdc73ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17ee4a8a26c0709bb67e23246939c3c9b12a4deb155b4ea01715f4b8af2a1446"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fac0fef42210bf1d268ad70b586e8612b107960b2edddab0af4585ec8616418b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5764582218d0983f4432ff2e3d7a646cc89bd2c7cc3d68c7b8e016545850321f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6177f1de4ab52de368471d281ed1ee0dbde3a587fb9a3b0ecd84b755129d4253"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3096b2fdb3bc0483165ec5fe13870655d2736ef5702a47150c6db686fa127109"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"014183406f1e644d4fdacb4b40a58c18c02989db79625d079d780888fdcd0b9e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea005bd901a39d463656aacf36e8cda7809944ced1c5026c098072889f1e152c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbdfb14217f70d3ed5db6d1a65080ece372a2cfe6655ea0db7791332023dfb5f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"758305783a4ed0616a887b474779da3b6bcd86716c3f11bc2a17aed73017613d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2f7a705a0c5cadb84dec07a5306f240a659f91b1321cfc97442ee58780aee05"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b437c1ba3d2ddceb6836d40d02d159123b2b9fbe7231acf342504a272a902f14"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0055da6dbde604050abcd10a0fd8792e207569f69cdc098ef89e1ea611f917d5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbcb8e94211127c6fb1ed6b0b1e9eab01948e174a4db9d7c50136423bb399e11"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f25af21b7618eff1b5dae0f63a143f516b1f9ce1cf02d8976264be470a75fb50"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62d8ca7f0108d1c9bd0b6443faba5cbee33b39c834ba6df6c4c773024be6bebc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40c246e7e4b628decbe48e663c929134f47335ce4251753ff2e1258f9202aa23"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abd6cb8ac7d6aba6b80038a7db0613e5397ca68d998dd94feda58c3d8ed9bc72"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8241825aae3927a9503bc4e86d9a73b84aea0ff420678b6fd9a5c879f90c826"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cf06f85d37b12c86c015fd45d74fae9b166da653b71e477c78a75c697a65d55"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 318 of 435 significant files have no living knowledge, while the repository is still being changed at a low rate (4 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 318 separate risks. Counted over 435 of the 678 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_pphgnetv2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b722a2916bd0fe733581b3ef3845010586d7e9e1cb0ed04581f5ff76f442c1b"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/heads/rec_ppformulanet_head.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d975e0fefd1ea6ae38a9ff52ab0f076b8dd6a8fafc1df9c70807f173e0fe53"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/modeling/backbones/rec_donut_swin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026500e2ff124df111aa1fcaa566f82d0f7923dacece2b79799aa02add8e5d5e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: __init__.py, __init__.py, __init__.py, __init__.py, program.py: 5 files \u2014 \u0060ppocr/losses/__init__.py\u0060, \u0060ppocr/modeling/backbones/__init__.py\u0060, \u0060ppocr/modeling/heads/__init__.py\u0060, \u0060ppocr/postprocess/__init__.py\u0060, \u0060tools/program.py\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 10 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppocr/losses/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b07f72a036022cfa628ca84b87cf09d0154d002b2e225956d40cd503391adc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: recovery_to_doc.py \u2194 utility.py: \u0060ppstructure/recovery/recovery_to_doc.py\u0060 and \u0060ppstructure/utility.py\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060269e5b8f\u0060 1.\u5728ppstructure\u7BA1\u9053\u4E2D\u6DFB\u52A0latex_ocr\u516C\u5F0F\u8BC6\u522B\u529F\u80FD\uFF1B2.\u6DFB\u52A0pdf\u8F6Cmarkdown\u6587\u4EF6\u529F\u80FD (#13868); \u0060681467d4\u0060 [bug fix] fix none res in recovery (#10603); \u006003d88168\u0060 update code_doc (#7667) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ppstructure/recovery/recovery_to_doc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d563f0c0cbae0f2e572c0a925822422f0acf92b877847d0a1f00664e38fcef"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 18780 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (103 matched lines \u00D7 2 locations): paddleocr-js/packages/core/src/models/det.ts:205 \u00B7 paddleocr-js/packages/core/src/models/rec.ts:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 648 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cf4660ab3d18f0bfa948f5216fa9515ac8742021fa5fccd5fd0b817d15bab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): paddleocr-js/packages/core/src/models/det.ts:119 \u00B7 paddleocr-js/packages/core/src/models/rec.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 153 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ea494c0201cd6c967e06e11031d888a36d9cb6b2b320e31a82b19da8798364"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api_sdk/typescript/src/client.ts:273 \u00B7 api_sdk/typescript/src/client.ts:298 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/client.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a5903cfd0524f597fc577a88058bcf05ef686f74ed7a2d101153d3ae3317d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): paddleocr-js/packages/core/src/platform/browser.ts:81 \u00B7 paddleocr-js/packages/core/src/platform/worker.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/platform/browser.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dacebdd48095adfc91d4e4a566aa4590135db8ed35fec152494f7c15fc398e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): paddleocr-js/packages/core/src/platform/browser.ts:37 \u00B7 paddleocr-js/packages/core/src/platform/browser.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/platform/browser.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c093b8c91a3a2d3fe231e52f944ddcca80ce716cc061113f379a0e72cca38cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): paddleocr-js/packages/core/src/viz/ocr/draw-boxes.ts:16 \u00B7 paddleocr-js/packages/core/src/viz/ocr/draw-text.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/viz/ocr/draw-boxes.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139eafc6e0c33c5e8b63567af80c7688a781292d8ea5e9acb153f23bce895e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): api_sdk/typescript/src/client.ts:354 \u00B7 api_sdk/typescript/src/internal/poller.ts:150 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/client.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"77782321900226a7970dac9129694a92677cf1de0eaa5e32d64ae9adb192ebf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): api_sdk/typescript/src/internal/http.ts:116 \u00B7 api_sdk/typescript/src/internal/http.ts:126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/internal/http.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eda3113b76a81924716096c90cd4254d832d73c3b1e6189ecb03b745d50a936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): paddleocr-js/packages/core/src/viz/ocr/renderer.ts:47 \u00B7 paddleocr-js/packages/core/src/viz/ocr/renderer.ts:57 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/viz/ocr/renderer.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"421042148519aa7d75859a490ef660d83613e184e17fea71fb16e3cebb0c7a9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): paddleocr-js/packages/core/src/models/common.ts:159 \u00B7 paddleocr-js/packages/core/src/models/common.ts:168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/common.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c22c067eedd8ecac18830b4308dc229ccf7a0e1c42d1c665a0de76dcbc8558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): api_sdk/typescript/src/client.ts:79 \u00B7 api_sdk/typescript/src/client.ts:85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/client.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48e830680fabd45c3d05e218a40d675d062d437b6d7c4f19ba73097f0c3a9e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function predict (cyclomatic 25, cognitive 37): predict has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/core.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c885a8be17cf2d677ca6eec671332574bd7eb5fda371ca2993610774a55b6cd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeOcrPipelineConfig (cyclomatic 25, cognitive 24): normalizeOcrPipelineConfig has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/config.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec1c49a1dc559760d7f3dbd0e5fe2b6f153046dc14c9090d17b87c6a236d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 21, cognitive 24): fetch has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api_sdk/typescript/src/internal/http.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca935e7454df9bd41db86d2ab41bd3278b1cebd1c1a34605b37f049709e79e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeDetOutput (cyclomatic 15, cognitive 25): decodeDetOutput has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c769951025d61f5b736025a61e5cf91b405aedc21afe82af3ffa5cb5ed88cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readExplicitPipelineRuntimeDefaults (cyclomatic 15, cognitive 20): readExplicitPipelineRuntimeDefaults has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/pipelines/ocr/shared.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"288838c6fd27726c6821a853f467945c02981841a592663e202dd6d7208ef510"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawTextPanel (cyclomatic 12, cognitive 22): drawTextPanel has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/viz/ocr/draw-text.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3806498ad9b61b27bc3dce196e09864bdc12dc61b6c4a86d874db6cbec3c987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function similar (cyclomatic 11, cognitive 13): similar has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_tipc/web/index.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"feafbcc5efc89a2083516e96a4720b656f637dfa0417b4a3c7dae481196c58f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDetModelConfigText (cyclomatic 11, cognitive 10): parseDetModelConfigText has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paddleocr-js/packages/core/src/models/det.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fdecd89c22f235a642721e735a1501e22afdeb41d022f973a5093b913ee99"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://giscus.app/client.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"overrides/partials/comments.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8d0be28e69e46debfa44f16efd52e935685a1598c3e9025787a875169e771a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"CWE-653","shortDescription":{"text":"CWE-653"},"helpUri":"https://cwe.mitre.org/data/definitions/653.html"},{"id":"CWE-693","guid":"b9b141dc-018a-9c59-8953-1e3c4e020745","name":"CWE-693","shortDescription":{"text":"CWE-693"},"helpUri":"https://cwe.mitre.org/data/definitions/693.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"CWE-95","shortDescription":{"text":"CWE-95"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":549,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}