{"$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":"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":"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":"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":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"KeyPoints.select (cyclomatic 33): KeyPoints.select 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":"src/supervision/key_points/core.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"31916a94a6c00e658846532ac62512b2796f5d7c33eaec1a5897923ce60fc2be"}},{"ruleId":"D1","level":"warning","message":{"text":"_video._mux_audio (cyclomatic 31): _video._mux_audio 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":"src/supervision/_cv2/_video.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8af58e3e4a778ec80f221d0e25129efadb2050bc7d292042387caaeb27800e2"}},{"ruleId":"D1","level":"warning","message":{"text":"vlm.from_google_gemini_2_5 (cyclomatic 25): vlm.from_google_gemini_2_5 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":"src/supervision/detection/vlm.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fa08e7f365661e804f5c708778e668aa2c705ab837d92f84d99fe13f68971b"}},{"ruleId":"D1","level":"warning","message":{"text":"F1Score._compute (cyclomatic 25): F1Score._compute 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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa5420a9e3cb60158d57d05f885b6e959669808f54b44d5119002b7af6a840d"}},{"ruleId":"D1","level":"warning","message":{"text":"Precision._compute (cyclomatic 25): Precision._compute 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":"src/supervision/metrics/precision.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"16304798f0fbccdf5412d5c5d507dfed629c1340f03dcea56079805dde8e15bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Detections.from_vlm (cyclomatic 22): Detections.from_vlm 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":"src/supervision/detection/core.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b38b10a13d313339afa64aabcadb65dea44760cb476c9e8512b3479f78ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"InferenceSlicer.__call__ (cyclomatic 21): InferenceSlicer.__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":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"977a95e337e000f40b81432fa38f5154e5b531a32ab83930425588dd1fd0e82f"}},{"ruleId":"D1","level":"warning","message":{"text":"internal.process_roboflow_result (cyclomatic 21): internal.process_roboflow_result 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d50d7f39ff5b5e0b88734cbd4e26fa86266bb5bf9a05010e31b1b57f07f68a1"}},{"ruleId":"D1","level":"warning","message":{"text":"internal.process_roboflow_result (cyclomatic 21): internal.process_roboflow_result 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea1711b5991773bdffe28ef7ee766b655125b31b8350a57e19b605c28e06d95"}},{"ruleId":"D1","level":"warning","message":{"text":"internal.process_roboflow_result (cyclomatic 21): internal.process_roboflow_result 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"989c321a96a46789defdb43c3f863ce8d5ab920fc9d771e37acf2c45d9d74665"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfusionMatrix.evaluate_detection_batch (cyclomatic 21): ConfusionMatrix.evaluate_detection_batch has cyclomatic complexity 21 (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":"src/supervision/metrics/detection.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"6813618a37a947025dc9b4bd82b7aca8f252fb0e34073b8a8ceb51d4184d2515"}},{"ruleId":"D1","level":"warning","message":{"text":"Recall._compute (cyclomatic 20): Recall._compute 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":"src/supervision/metrics/recall.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d480a7535c04dce0f5e5c1946c6231904ca4ea0d8f6913e63cad93dea4ecc312"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteTrack.update_with_tensors (cyclomatic 20): ByteTrack.update_with_tensors 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":"src/supervision/tracker/byte_tracker/core.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4faa123be69179033ec31baa249a9fefcb44ebb80a8592504f6981f59ebae"}},{"ruleId":"D1","level":"warning","message":{"text":"CompactMask.from_coco_rle (cyclomatic 19): CompactMask.from_coco_rle 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":"src/supervision/detection/compact_mask.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7009575448fa3f28584452e8abbc35da8f4a4d005066e6737c0407112bb1c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"compact_mask._rle_split_cols (cyclomatic 19): compact_mask._rle_split_cols 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":"src/supervision/detection/compact_mask.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94b91a6219054256256f159a927f1cda21bfc0b5bb436928e7aa0742c2ba9ed"}},{"ruleId":"D1","level":"warning","message":{"text":"iou_and_nms.oriented_box_iou_batch (cyclomatic 18): iou_and_nms.oriented_box_iou_batch 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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b31b9a543d273a27290f8a6db448278cd45482d44f4caa5bed11da9ab38622b"}},{"ruleId":"D1","level":"warning","message":{"text":"COCOEvaluator._evaluate_image (cyclomatic 18): COCOEvaluator._evaluate_image 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa8ed7c6d4705df4905dbf438c644febbe69c4698e99d29a12b1769953d343"}},{"ruleId":"D1","level":"warning","message":{"text":"COCOEvaluator._accumulate (cyclomatic 18): COCOEvaluator._accumulate 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"75be87bb3ba2a2e9578ff8595fbe4d7c1d9f90c27114943b238d2f1f309310a9"}},{"ruleId":"D1","level":"warning","message":{"text":"coco.detections_to_coco_annotations (cyclomatic 17): coco.detections_to_coco_annotations 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":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"71100a11ab5872a6ab4572d95b0dc7de613c449a851b8936555af6ec27d4ecac"}},{"ruleId":"D1","level":"warning","message":{"text":"Detections.from_sam3 (cyclomatic 17): Detections.from_sam3 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":"src/supervision/detection/core.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"9247dc11724dcea8718fb9e9a5905f681638dfba9a5a11bb1c9718deaf7fc2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"InferenceSlicer._run_callback_batch (cyclomatic 17): InferenceSlicer._run_callback_batch 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":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"881059e04a6cdea502f47fdc4e837ffa1f364db96950685776a77d9240b50a36"}},{"ruleId":"D1","level":"warning","message":{"text":"MeanAveragePrecision._prepare_targets (cyclomatic 16): MeanAveragePrecision._prepare_targets 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4169ebceca5bee1b38a5c79606ba4f7d2f398276dce5b1e0773faf7b02ee916"}},{"ruleId":"D1","level":"warning","message":{"text":"video.process_video (cyclomatic 16): video.process_video 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":"src/supervision/utils/video.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedd86aa51223be004a6f2272be41ad00bb34a1ed636e1b466dac688441ea2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"F1Score._compute (cognitive 60): F1Score._compute has cognitive complexity 60 (threshold 15). Drivers by points: if/else 51, boolean chains 4, ternaries 4, loops 1 (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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5315d4ae42f9ac5fcaea80baa5f1c0818dbae124c611bd65b677c954e51d1af"}},{"ruleId":"D2","level":"warning","message":{"text":"Precision._compute (cognitive 60): Precision._compute has cognitive complexity 60 (threshold 15). Drivers by points: if/else 51, boolean chains 4, ternaries 4, loops 1 (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":"src/supervision/metrics/precision.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"90629da912461a0083a6b0bb43cab9f19eb602b00728dd939c2a242a02396622"}},{"ruleId":"D2","level":"warning","message":{"text":"vlm.from_google_gemini_2_5 (cognitive 54): vlm.from_google_gemini_2_5 has cognitive complexity 54 (threshold 15). Drivers by points: if/else 41, error handling 6, boolean chains 3, loops 2, ternaries 2 (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":"src/supervision/detection/vlm.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7055948bd0e41234c922bb4f444c9a1fae3a68982222242fe2f249f609a8651"}},{"ruleId":"D2","level":"warning","message":{"text":"COCOEvaluator._accumulate (cognitive 54): COCOEvaluator._accumulate has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28, loops 20, ternaries 5, boolean chains 1 (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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0a5f8b7ab4a1449c68f482e2bff70961ecb117a0b981ffee055e0ee45bf7ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Recall._compute (cognitive 52): Recall._compute has cognitive complexity 52 (threshold 15). Drivers by points: if/else 45, ternaries 4, boolean chains 2, loops 1 (nesting depth added 33). 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":"src/supervision/metrics/recall.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2ff2ee96c2509de0af86ae6ce39bd9fef531b8504260062e13647b97dd66d0"}},{"ruleId":"D2","level":"warning","message":{"text":"_video._mux_audio (cognitive 48): _video._mux_audio has cognitive complexity 48 (threshold 15). Drivers by points: if/else 24, ternaries 14, boolean chains 7, loops 2, error handling 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/_cv2/_video.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af44b01ecfc01699893a9da087c084acd52e6f39ee04967538ed0a715d0a4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"compact_mask._rle_split_cols (cognitive 42): compact_mask._rle_split_cols has cognitive complexity 42 (threshold 15). Drivers by points: if/else 32, loops 7, ternaries 2, boolean chains 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":"src/supervision/detection/compact_mask.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6ca4fee917b56093c6654cb96af99d1b12c4838d27847075f391031318e2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyPoints.select (cognitive 41): KeyPoints.select has cognitive complexity 41 (threshold 15). Drivers by points: if/else 30, boolean chains 10, ternaries 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":"src/supervision/key_points/core.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb95ef4e846b640d0a70d26bcf93d04cd581ac760da1d86df3d38c2157ce9171"}},{"ruleId":"D2","level":"warning","message":{"text":"InferenceSlicer.__call__ (cognitive 40): InferenceSlicer.__call__ has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23, loops 12, boolean chains 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"648b06b8a485c5258e79d69b070b5fb0b54b8e35597c5b88958b07c024e4a0b8"}},{"ruleId":"D2","level":"warning","message":{"text":"COCOEvaluator._evaluate_image (cognitive 40): COCOEvaluator._evaluate_image has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24, loops 10, boolean chains 5, ternaries 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"301d625c7b48da69c0f2a66f5b5aa01371533ee79c0c67a83d22f496decbaec5"}},{"ruleId":"D2","level":"warning","message":{"text":"coco.detections_to_coco_annotations (cognitive 36): coco.detections_to_coco_annotations has cognitive complexity 36 (threshold 15). Drivers by points: if/else 31, boolean chains 4, loops 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":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff169e5af85017bc35358820445ac34d8be8c405b0e9a4a2a96d36dd326ce0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Detections.from_sam3 (cognitive 35): Detections.from_sam3 has cognitive complexity 35 (threshold 15). Drivers by points: if/else 25, loops 6, boolean chains 4 (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":"src/supervision/detection/core.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"291c17328e1890ab3de680514a4b90259b9c9901259b2341e89fbb88d5ee6cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.process_roboflow_result (cognitive 34): internal.process_roboflow_result has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27, ternaries 4, boolean chains 2, loops 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d585a258f07f18abf26225d27836413dfbde35073f2397255417f377a51038a"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.process_roboflow_result (cognitive 34): internal.process_roboflow_result has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27, ternaries 4, boolean chains 2, loops 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dafb093542c0dce6ced2c2c549b6ad429218d9d3f3d071c836fb01c98bafc15"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.process_roboflow_result (cognitive 34): internal.process_roboflow_result has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27, ternaries 4, boolean chains 2, loops 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e41507078f5e77d84e6611e0fc2542c04ffd67142814e3ef8a85d80f7a40cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"MeanAveragePrecision._prepare_targets (cognitive 34): MeanAveragePrecision._prepare_targets has cognitive complexity 34 (threshold 15). Drivers by points: if/else 28, boolean chains 3, loops 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33cc7ffe222bba0a5a4003506df603302f677bc5a01dcdc72325fa041c1f803"}},{"ruleId":"D2","level":"warning","message":{"text":"Detections.from_vlm (cognitive 33): Detections.from_vlm has cognitive complexity 33 (threshold 15). Drivers by points: if/else 33 (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":"src/supervision/detection/core.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b3bcd6695b2df406347fcf67756080e67bab5ab0b89c2a78c99223215169c"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactMask.from_coco_rle (cognitive 31): CompactMask.from_coco_rle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24, boolean chains 4, error handling 2, 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":"src/supervision/detection/compact_mask.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0013930f06352c1e1e9d5ed51a6fefcec21e6a325f61d341a4456010e024d66"}},{"ruleId":"D2","level":"warning","message":{"text":"EdgeAnnotator.annotate (cognitive 31): EdgeAnnotator.annotate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23, loops 3, ternaries 3, boolean chains 2 (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":"src/supervision/key_points/annotators.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"277bef86ea83b4a36611274986214c147784647e80d06d1e59840457f08bbbc9"}},{"ruleId":"D2","level":"warning","message":{"text":"_geometry._simplify_slices (cognitive 30): _geometry._simplify_slices has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, loops 9, 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":"src/supervision/_cv2/_geometry.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421a096bbfbaadc1481138c20f62079d34a459e1dcfb62bd9c274cce38d04bd"}},{"ruleId":"D2","level":"warning","message":{"text":"core._merge_detection_group (cognitive 30): core._merge_detection_group has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, loops 5, ternaries 4, 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":"src/supervision/detection/core.py"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"945604eb63819816711028a7daaacf80578f5a8806d8fb1becc8c1c907f371aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfusionMatrix.plot (cognitive 30): ConfusionMatrix.plot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12, ternaries 12, loops 5, 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":"src/supervision/metrics/detection.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"465950d8bebdcecd2d29715e09414c93bdac5995eae42409d470cb233061774d"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteTrack.update_with_tensors (cognitive 30): ByteTrack.update_with_tensors has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, loops 8 (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":"src/supervision/tracker/byte_tracker/core.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2c7d0d2374105d6cc38d2d3cd2d737901fa07512b0c42452d9a633972bc646"}},{"ruleId":"D2","level":"warning","message":{"text":"InferenceSlicer._run_callback_batch (cognitive 29): InferenceSlicer._run_callback_batch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19, loops 6, boolean chains 4 (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":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2a1b69e178d458c03ef67ce1af65b7b4dcd14eb41f1a9ab49f74f17f9b6332"}},{"ruleId":"D2","level":"warning","message":{"text":"MeanAveragePrecision._prepare_predictions (cognitive 28): MeanAveragePrecision._prepare_predictions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24, loops 3, 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e18fdb7a2379b82eeaad2d0a846c11f557efe4fece07f4a13b73f79aa35d3d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfusionMatrix.evaluate_detection_batch (cognitive 27): ConfusionMatrix.evaluate_detection_batch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, loops 7, boolean chains 3, ternaries 3 (nesting depth added 5). 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":"src/supervision/metrics/detection.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385f7a11fb6a908930eeb1f2b76d529b2463790af253153d5e579db07c4365a"}},{"ruleId":"D2","level":"warning","message":{"text":"video.process_video (cognitive 27): video.process_video has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, error handling 6, loops 3, boolean chains 2, ternaries 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":"src/supervision/utils/video.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7426bbc615509d312bb958a04eafcddf078a50c0f6d7fd812258abf46afe57d2"}},{"ruleId":"D2","level":"warning","message":{"text":"labelme.labelme_shapes_to_detections (cognitive 26): labelme.labelme_shapes_to_detections has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, ternaries 3, boolean chains 2, 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":"src/supervision/dataset/formats/labelme.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"be99d1733ae381fc5e2c106196d197333d82d4c82273cae0abff5dbd5d58951d"}},{"ruleId":"D2","level":"warning","message":{"text":"MeanAverageRecall._compute (cognitive 26): MeanAverageRecall._compute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, boolean chains 1, loops 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":"src/supervision/metrics/mean_average_recall.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a2d1462354b82bdfab1fc11202c29769af2c7fb8fb651cb6ba5ca680814270"}},{"ruleId":"D2","level":"warning","message":{"text":"_geometry._intersect_convex_convex (cognitive 24): _geometry._intersect_convex_convex has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, ternaries 4, loops 3, boolean chains 2 (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":"src/supervision/_cv2/_geometry.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab63f287e281b0ae93158c66cd5ef2bfa7959aaa1af549cfdd7b5fe8647278f1"}},{"ruleId":"D2","level":"warning","message":{"text":"_contours._follow_border (cognitive 22): _contours._follow_border has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 4, 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":"src/supervision/_cv2/_contours.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3781a30fde23dd90175903c7035ebdf451b59070792aad5d2c016e2405c619f3"}},{"ruleId":"D2","level":"warning","message":{"text":"masks.filter_segments_by_distance (cognitive 22): masks.filter_segments_by_distance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, loops 2, 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":"src/supervision/detection/utils/masks.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a400817de1d2ff139a5bafade628f51f43a083c88a51846c506d23f0b1e922"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark.run_scenario (cognitive 21): benchmark.run_scenario has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, ternaries 9, 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":"examples/compact_mask/benchmark.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dc66c523d3505fcf71b6c361ad39f4bf18270a6e571fe787f10f7f4ea7cfe1"}},{"ruleId":"D2","level":"warning","message":{"text":"iou_and_nms.oriented_box_iou_batch (cognitive 21): iou_and_nms.oriented_box_iou_batch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 3, loops 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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"06269fc48bcc7aaff948e829faae9181fdc8837ee447ada8570c6668c3c30149"}},{"ruleId":"D2","level":"warning","message":{"text":"EvaluationDataset.get_annotation_ids (cognitive 21): EvaluationDataset.get_annotation_ids has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, ternaries 4, 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"795617a426000b84f230f0c60d2637bb53b61d90f0d240cf82c248c7316b1b27"}},{"ruleId":"D2","level":"warning","message":{"text":"yolo.detections_to_yolo_annotations (cognitive 20): yolo.detections_to_yolo_annotations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 4, 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":"src/supervision/dataset/formats/yolo.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f138a6a2cc566003ae70e1ed25fb9f523ec8e7e8d2a06155e430d049cb9e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"_BaseVertexEllipseAnnotator._iter_ellipse_params (cognitive 20): _BaseVertexEllipseAnnotator._iter_ellipse_params has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 6, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/key_points/annotators.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6a33a28738e0d11abb6a6ea31d33ad9caec077c3442426ea35e37cd0325264"}},{"ruleId":"D2","level":"warning","message":{"text":"detection._split_detections_by_outcome (cognitive 20): detection._split_detections_by_outcome has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1 (nesting depth added 5). 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":"src/supervision/metrics/detection.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfc1d6e8e9cd75a4c17aab0584f30a3fbca95640422340605b8e97797a1d134"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceAnnotator.annotate (cognitive 19): TraceAnnotator.annotate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, error handling 4, ternaries 2, 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":"src/supervision/annotators/core.py"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"276321612bb4b97a5958108d3fc01582e545fe230b50044f99f18e835b72a339"}},{"ruleId":"D2","level":"warning","message":{"text":"Detections.select (cognitive 19): Detections.select has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12, if/else 7 (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":"src/supervision/detection/core.py"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"b762f30060a57dcf895d63b1895754a1832d8a1c0b08364c674516810e9e8781"}},{"ruleId":"D2","level":"warning","message":{"text":"vlm.from_florence_2 (cognitive 19): vlm.from_florence_2 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/vlm.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c7171efca775a1d52efe7abce668f3b4b3c824900657b4622c53ed169bf84"}},{"ruleId":"D2","level":"warning","message":{"text":"vlm._recover_gemini_json_objects (cognitive 19): vlm._recover_gemini_json_objects has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, error handling 4, boolean chains 2, 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":"src/supervision/detection/vlm.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9c3d71f3fe992b9dd2cdc17583a8d0842ff8f9469ef81ae3d6d68c991cd5dd"}},{"ruleId":"D2","level":"warning","message":{"text":"detection.detections_to_tensor (cognitive 19): detection.detections_to_tensor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"src/supervision/metrics/detection.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"380ec6410dfcd7b1c7f172d0e4353f74a283dc28464818a390dbc5f7091c765d"}},{"ruleId":"D2","level":"warning","message":{"text":"file.list_files_with_extensions (cognitive 19): file.list_files_with_extensions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 7, 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":"src/supervision/utils/file.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b7007d65f8efab4f3ba967187521c661119966749ed314bf835af29efd66c"}},{"ruleId":"D2","level":"warning","message":{"text":"check_doctest_fences._check_content (cognitive 18): check_doctest_fences._check_content has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, loops 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":".github/scripts/check_doctest_fences.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"342a1245a127beec2eb71b838715620c7946d361045518976a38c89e6578de95"}},{"ruleId":"D2","level":"warning","message":{"text":"Detections.from_azure_analyze_image (cognitive 18): Detections.from_azure_analyze_image has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 3, 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":"src/supervision/detection/core.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19e22a0a4f60de8826fc80d62c756e65e79c028f5e7d9d550445f9d218b534"}},{"ruleId":"D2","level":"warning","message":{"text":"LineZoneAnnotatorMulticlass.annotate (cognitive 18): LineZoneAnnotatorMulticlass.annotate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, loops 8 (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":"src/supervision/detection/line_zone.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fde384491802689a3a1c8926d05731bc4839f43cca08b1617ad7197012c1bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.get_data_item (cognitive 18): internal.get_data_item has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc985b9d7450bedbe18b92348d28401a9d4bfc757afa6460d5440417ac8900e5"}},{"ruleId":"D2","level":"warning","message":{"text":"_color._cvt_color (cognitive 17): _color._cvt_color has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3 (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":"src/supervision/_cv2/_color.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89784c0d5f4b21ba796d0ae4de8b4565df2315b93d4439c65b601c4cc30c148"}},{"ruleId":"D2","level":"warning","message":{"text":"core._paint_masks_by_area (cognitive 17): core._paint_masks_by_area has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, ternaries 2, 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":"src/supervision/annotators/core.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4539ad58b02095f2587c2b37a87cc89d6862a534d4e6894a6163a85a04f117fb"}},{"ruleId":"D2","level":"warning","message":{"text":"coco.coco_annotations_to_masks (cognitive 17): coco.coco_annotations_to_masks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 3, ternaries 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":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a70e2b8122843ef37f4dd4d965b90870ad693d3d70260d42c4348414278031"}},{"ruleId":"D2","level":"warning","message":{"text":"CSVSink.parse_detection_data (cognitive 17): CSVSink.parse_detection_data has cognitive complexity 17 (threshold 15). Drivers by points: loops 7, ternaries 6, if/else 4 (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":"src/supervision/detection/tools/csv_sink.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"701e579cf4f1d804c61657f8d288660a962bed3a9de300811eab1d0a9395d6b9"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONSink.parse_detection_data (cognitive 17): JSONSink.parse_detection_data has cognitive complexity 17 (threshold 15). Drivers by points: loops 7, ternaries 6, if/else 4 (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":"src/supervision/detection/tools/json_sink.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2ada4cf1003b0f182e7cffd4ddf7c5f7f0cc1d44e8d69f1f619349827bb29c"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.merge_metadata (cognitive 17): internal.merge_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 3, 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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a36f420d790bd8e3a5fc8b41a551dd05d4f2c3e2956f61d758a8504b3c08f79"}},{"ruleId":"D2","level":"warning","message":{"text":"masks._masks_to_roi (cognitive 17): masks._masks_to_roi has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 3 (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":"src/supervision/detection/utils/masks.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0834648e682fa5e67057cab421cd8b431d7db25839b5876ef03223388a1cb"}},{"ruleId":"D2","level":"warning","message":{"text":"_image._resize (cognitive 16): _image._resize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 1 (nesting depth added 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":"src/supervision/_cv2/_image.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91ece7cebdd2c9438c3f917d87a4e0ca409dd44441a6e10f76e87ffdeb1e81f"}},{"ruleId":"D2","level":"warning","message":{"text":"LineZone.trigger (cognitive 16): LineZone.trigger has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 1, loops 1, ternaries 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":"src/supervision/detection/line_zone.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca2421b985623009743d3531862b8d11fe6108bfd252106e0a2991d8b03f0e4"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.merge_data (cognitive 16): internal.merge_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 5 (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":"src/supervision/detection/utils/internal.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe80bae7e85c40b096171763fbc66fdfb3773bb0612b83ab5cf6bc793c4c1f4"}},{"ruleId":"D2","level":"warning","message":{"text":"iou_and_nms.compact_mask_iou_batch (cognitive 16): iou_and_nms.compact_mask_iou_batch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 6, 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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93cb23dfa48ce490b8ef4505fdd22dcacfb618d26750f65822ca52e6ca82981"}},{"ruleId":"D2","level":"warning","message":{"text":"vlm.from_qwen_2_5_vl (cognitive 16): vlm.from_qwen_2_5_vl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, boolean chains 2, 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":"src/supervision/detection/vlm.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf8849b8d1dfff5a8acb59f24875bf07ae3f6c7db4b5910f9ff342620bd952b"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexLabelAnnotator.annotate (cognitive 16): VertexLabelAnnotator.annotate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 4, ternaries 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":"src/supervision/key_points/annotators.py"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cc04b06f595f46e5727b34f14162ffc522fc71dbce00c6d16db4d19658d6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyPoints._get_by_2d_bool_mask (cognitive 16): KeyPoints._get_by_2d_bool_mask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 1, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/key_points/core.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fafc4c58afe06456971635259be49f69ea01745537f930f60b0bb3444e6fb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: annotators/core.py: FileTooLong \u2014 1713 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/annotators/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53071cae2e627a665e7ac67aef69060eef2c9b12594ba2c48813939f130aacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detection/core.py: FileTooLong \u2014 1101 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/detection/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c874064837f17eed7029a7dd4a2474d500d9884442b5f72fbc5279a2c055505d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/mean_average_precision.py: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a147ee80c5d137de2f8428267153e0040541d1b006eb18c2e34d93e1ebffed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/detection.py: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/metrics/detection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d0709fd0975608d8ed3ee299b82da4451c9dfda1aa7c5daba3a537626a63d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/iou_and_nms.py: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48a1d33ecbd32cf0ac750949f4d5bc1b3cfe2b672c297e42fc2d539e89c998d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detection/compact_mask.py: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/detection/compact_mask.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9ed373c3e20dca6cff800c5cd48897051ae5055372e09e638829683423497c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dataset/core.py: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/dataset/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d66072d370070c3264667334521abcda86d3cfb4f707c81f6e13eac5f52583"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detection/vlm.py: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/detection/vlm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb62532eb673cf1ac01f97d78a739c9d6ed0696bd59cb0cd5c8cc1eaa3639eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: key_points/core.py: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/key_points/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7600a1a7ac146f7d2b7c1ed52a8b38db7867cb89a710e169d7a979ed922991"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/image.py: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/utils/image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e6180eda028ed992be758f748414f3efa0107b807152dc9cd9bb40bd6dd027"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detection/line_zone.py: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"src/supervision/detection/line_zone.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6f6accb2764f8d77a2e779acb9c5a753f7b1a7ed0a077d5ffbc5f6757aa3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): src/supervision/annotators/core.py:1244-1287 | src/supervision/annotators/core.py:2587-2630 \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 \u0060src/supervision/annotators/core.py:1244\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":"src/supervision/annotators/core.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15670630e691065482b95f7b478e105d2a61476a95202b3fc51cc86321fb5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4): src/supervision/annotators/core.py:228-270 | src/supervision/annotators/core.py:952-994 | src/supervision/annotators/core.py:1048-1090 | src/supervision/annotators/core.py:2703-2746 \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 \u0060src/supervision/annotators/core.py:228\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":"src/supervision/annotators/core.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c86cfc8bcb0e64a36dc4e6f2e9bce95ec11029d14d0c45ee3fc7abb4026f6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): src/supervision/detection/vlm.py:651-695 | src/supervision/detection/vlm.py:744-786 \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 \u0060src/supervision/detection/vlm.py:651\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":"src/supervision/detection/vlm.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e755a3517245b4f3b67261e023e1729a5741869981151be3e1d7dfec0cb18dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/supervision/annotators/core.py:2059-2100 | src/supervision/annotators/core.py:2471-2510 \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":"src/supervision/annotators/core.py"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59fd74a4b85baba0549332624a57f7299e53830e766b724f99f91b7e1209dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): src/supervision/metrics/f1_score.py:429-459 | src/supervision/metrics/mean_average_recall.py:579-611 | src/supervision/metrics/precision.py:427-457 | src/supervision/metrics/recall.py:381-411 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/f1_score.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"825118c84c811ff25f91c4eab538a51585aff01f6f2a09dbd745869774d225bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/supervision/detection/utils/boxes.py:249-273 | src/supervision/detection/utils/boxes.py:282-312 \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. 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":"src/supervision/detection/utils/boxes.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a444ed00c5db4593bd700354a8e236b21045d40aa93f1f513380246075b1c2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/supervision/draw/color.py:161-185 | src/supervision/draw/color.py:189-213 \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":"src/supervision/draw/color.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a949db15185bc95bb49351183eba2cef60a4a706a238fff1891f70dace8b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/supervision/draw/color.py:217-241 | src/supervision/draw/color.py:247-271 \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 \u0060src/supervision/draw/color.py:217\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":"src/supervision/draw/color.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb6941e3b7f19188c3de7727de586f41c7e315935055d4352eaae7af5f0b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/supervision/metrics/f1_score.py:259-282 | src/supervision/metrics/recall.py:222-245 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/f1_score.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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"499f23fda4465c1fcc205ed110177cc77e9efad30ad632ef64d1f203ef6a49b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/supervision/metrics/mean_average_recall.py:642-664 | src/supervision/metrics/precision.py:485-507 | src/supervision/metrics/recall.py:439-461 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/mean_average_recall.py:642\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":"src/supervision/metrics/mean_average_recall.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"061585e687c36ec3c78b03256a985baf2a8ffde69d9155889532d1006dafcfac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): examples/count_people_in_zone/inference_example.py:102-124 | examples/count_people_in_zone/ultralytics_example.py:101-123 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/count_people_in_zone/inference_example.py:102\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":"examples/count_people_in_zone/inference_example.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8511e30f4c97872ee78ecb0dd1e7e51891f4218b8665fb41bc9ade5e48a1bf7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): src/supervision/metrics/f1_score.py:100-118 | src/supervision/metrics/mean_average_precision.py:1426-1444 | src/supervision/metrics/mean_average_recall.py:339-357 | src/supervision/metrics/precision.py:102-120 | src/supervision/metrics/recall.py:103-121 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/f1_score.py:100\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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a8a187643f554c3e6d594c3f1c4b7bc708502cfa8df289b59491d4098a9df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/supervision/metrics/f1_score.py:727-745 | src/supervision/metrics/mean_average_recall.py:166-185 | src/supervision/metrics/recall.py:681-699 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/f1_score.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"876daf3dd2fd23be5316d6c7b12234ba4caf35dd352d48841edcaf98ce4c7ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/supervision/metrics/f1_score.py:522-539 | src/supervision/metrics/mean_average_recall.py:674-691 | src/supervision/metrics/recall.py:471-488 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f86ed8dd123987585818dbbeb95355e9ebfbb89c9071febefc15c923cca754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/supervision/annotators/core.py:1510-1528 | src/supervision/annotators/core.py:1859-1876 \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 \u0060src/supervision/annotators/core.py:1510\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":"src/supervision/annotators/core.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f3666db31aa505c6c299329bc6fb684c7e87e734c2ac90cdffaef7bb1c6ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/supervision/metrics/f1_score.py:364-380 | src/supervision/metrics/precision.py:360-376 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/f1_score.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e40dc7f6ac2a8e7bf5d99ae19daa567499a020b2ed3af5a2ae9a1b988acaba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/time_in_zone/rfdetr_file_example.py:73-88 | examples/time_in_zone/rfdetr_naive_stream_example.py:73-88 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"examples/time_in_zone/rfdetr_file_example.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"da80fc86bbf789c9d6584da23dd2f83ea91533d85602d08187273ca400dffb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/supervision/metrics/f1_score.py:127-141 | src/supervision/metrics/mean_average_recall.py:366-380 | src/supervision/metrics/precision.py:129-143 | src/supervision/metrics/recall.py:130-144 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/f1_score.py:127\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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ba2d2c466ce45c1fa87ff7c5cabf5e106609675a9e3c40cf0050a8a26b8e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples/compact_mask/benchmark.py:813-827 | src/supervision/utils/image.py:871-885 \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":"examples/compact_mask/benchmark.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b549abfa7eea3ec4149b1b4563c5cf9dd9e5eb1f9fba50cc69b69849e8d8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/supervision/tracker/byte_tracker/core.py:215-229 | src/supervision/tracker/byte_tracker/core.py:264-278 \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":"src/supervision/tracker/byte_tracker/core.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"093e991e40249453aae15f62de1624dc48e6d600734ef32f4440cbfb9f1bdea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): examples/time_in_zone/inference_naive_stream_example.py:43-56 | examples/time_in_zone/rfdetr_naive_stream_example.py:122-135 | examples/time_in_zone/ultralytics_naive_stream_example.py:43-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/inference_naive_stream_example.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. 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":"examples/time_in_zone/inference_naive_stream_example.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f95ff54e6d5f2db1b68c3cefbca6a6741be00d928b8da51b63130aa58eb783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): examples/time_in_zone/inference_file_example.py:65-77 | examples/time_in_zone/inference_naive_stream_example.py:75-87 | examples/time_in_zone/rfdetr_file_example.py:142-154 | examples/time_in_zone/rfdetr_naive_stream_example.py:152-164 | examples/time_in_zone/ultralytics_file_example.py:69-81 | examples/time_in_zone/ultralytics_naive_stream_example.py:79-91 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/inference_file_example.py:65\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":"examples/time_in_zone/inference_file_example.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d85e183046de185ca01cef6cfa71cdec992a196f6a2a6e54b2c32579cc75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): src/supervision/metrics/f1_score.py:806-818 | src/supervision/metrics/mean_average_precision.py:277-289 | src/supervision/metrics/mean_average_recall.py:256-268 | src/supervision/metrics/precision.py:801-813 | src/supervision/metrics/recall.py:760-772 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/f1_score.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b5124a21bf862a03812e877f31edbc9f743bb2cbaab352e2fbaf0df7e5915f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples/speed_estimation/inference_example.py:73-85 | examples/speed_estimation/ultralytics_example.py:59-71 | examples/speed_estimation/yolo_nas_example.py:60-72 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/speed_estimation/inference_example.py:73\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":"examples/speed_estimation/inference_example.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8576c8d3f310c568f61c83b6f3b6be45b6c7224794e3e52d9fd09fb1bb2e7787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples/speed_estimation/inference_example.py:128-140 | examples/speed_estimation/ultralytics_example.py:112-124 | examples/speed_estimation/yolo_nas_example.py:115-127 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/speed_estimation/inference_example.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bc2ec9b55586e57810b7a5736b3ee2b3b8e00a4a7de319348182e9e09b6930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples/time_in_zone/inference_file_example.py:39-51 | examples/time_in_zone/rfdetr_file_example.py:118-130 | examples/time_in_zone/ultralytics_file_example.py:39-51 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/time_in_zone/inference_file_example.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54b269659450f0cd5bc6556f9a331f5073ba4c267e48f9494ce793252a52aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/count_people_in_zone/inference_example.py:184-196 | examples/count_people_in_zone/ultralytics_example.py:172-184 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"examples/count_people_in_zone/inference_example.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e4d0998418f8ea241ad6986480b705d5fa2839f82ec6f73204641555cf8a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/supervision/dataset/core.py:188-200 | src/supervision/dataset/core.py:1119-1131 \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":"src/supervision/dataset/core.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970e1ca2f01c672eea3e58af5f4fcfe63807a874b8c092808a0469b1d77c5c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/supervision/metrics/mean_average_precision.py:256-268 | src/supervision/metrics/mean_average_recall.py:232-244 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c32ac718a08688d57a1565a72154264ae9b1cd700fc2b09cd9de561ad660b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/supervision/metrics/mean_average_precision.py:1682-1693 | src/supervision/metrics/mean_average_precision.py:1695-1706 | src/supervision/metrics/mean_average_precision.py:1708-1720 \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 \u0060src/supervision/metrics/mean_average_precision.py:1682\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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"265f93df8244ee8725afc374ed6c903f9d8886a78dcdb6f5f721fd43da2896c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/count_people_in_zone/inference_example.py:48-59 | examples/count_people_in_zone/ultralytics_example.py:46-57 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/count_people_in_zone/inference_example.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. 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":"examples/count_people_in_zone/inference_example.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c940edba147093970101774dadf73bd58abeb7c4e4e52f32bf693955058638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/time_in_zone/inference_stream_example.py:52-63 | examples/time_in_zone/ultralytics_stream_example.py:52-63 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/inference_stream_example.py:52\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":"examples/time_in_zone/inference_stream_example.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9df5167714e24bc444db0c25e539a3ecaf068cda9356fcd6a6f9742d417f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/time_in_zone/ultralytics_file_example.py:53-64 | examples/time_in_zone/ultralytics_naive_stream_example.py:56-67 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/time_in_zone/ultralytics_file_example.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4099d5ca1324cdcfe1aba91652de6305be91e9c59580b27987030d5c498807b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/supervision/metrics/f1_score.py:563-573 | src/supervision/metrics/mean_average_recall.py:718-728 | src/supervision/metrics/precision.py:553-563 | src/supervision/metrics/recall.py:517-527 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c67b133cdcad8571ff35c277e922c8641ae51dca283f163afac615094d4c338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/supervision/metrics/f1_score.py:397-407 | src/supervision/metrics/precision.py:393-405 | src/supervision/metrics/recall.py:347-359 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/f1_score.py:397\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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"016e5646ce4fee5ca9abd0dad2be8271459b4d81bd22052a76747a721700f8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/supervision/dataset/formats/coco.py:538-549 | src/supervision/dataset/formats/createml.py:41-51 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/dataset/formats/coco.py:538\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":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f339d11385570c779b1a4042880d5aeb9462ff4dcbb16c117f3687b6f3e7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/supervision/dataset/formats/pascal_voc.py:223-233 | src/supervision/dataset/formats/yolo.py:255-265 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/dataset/formats/pascal_voc.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fcf0b22dd3ac166cb46952596df3bb8af9891ab4d4d8798923e6d1a07800b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/supervision/key_points/annotators.py:468-478 | src/supervision/key_points/annotators.py:568-578 \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 \u0060src/supervision/key_points/annotators.py:468\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":"src/supervision/key_points/annotators.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e968a650d25979a0dcdfb5e7798ae05083f7f11887e932cb0ea426b8dbcf4260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/supervision/metrics/mean_average_precision.py:1533-1543 | src/supervision/metrics/mean_average_precision.py:1614-1624 \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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"92af61693c1435cf08c9b9e5fda374fbafe821500fa2c589d8a838270097315a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): examples/time_in_zone/rfdetr_file_example.py:32-41 | examples/time_in_zone/rfdetr_naive_stream_example.py:32-41 | src/supervision/detection/utils/iou_and_nms.py:41-50 | src/supervision/detection/vlm.py:60-69 | src/supervision/detection/vlm.py:105-114 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/rfdetr_file_example.py:32\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":"examples/time_in_zone/rfdetr_file_example.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1642bffd14ecb3600d28b0152211aab7b448066c947adfff303c5f08d9cbb066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/time_in_zone/inference_stream_example.py:65-74 | examples/time_in_zone/rfdetr_stream_example.py:125-134 | examples/time_in_zone/ultralytics_stream_example.py:65-74 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/inference_stream_example.py:65\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":"examples/time_in_zone/inference_stream_example.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2013572a6a281d58cbf9d5636b773f490de19bcb77c24e685ed803e1ddfc22fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/supervision/detection/utils/iou_and_nms.py:520-529 | src/supervision/detection/utils/iou_and_nms.py:1632-1641 | src/supervision/detection/utils/iou_and_nms.py:1757-1766 \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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"faab12afef42fa3ac3188162fe7c4de42ecca5569582bb27316ddfb1f8623e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/supervision/metrics/mean_average_recall.py:487-496 | src/supervision/metrics/precision.py:324-333 | src/supervision/metrics/recall.py:291-300 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/mean_average_recall.py:487\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":"src/supervision/metrics/mean_average_recall.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9c2d7df20e7a94608f6a917540d9d91203f18a2f30a5cad9701c172bd9f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/traffic_analysis/inference_example.py:105-114 | examples/traffic_analysis/ultralytics_example.py:102-111 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/traffic_analysis/inference_example.py:105\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":"examples/traffic_analysis/inference_example.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c43e0a616775bd72f677e344b436b439121db306aab6fc238a3920e1303a496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/traffic_analysis/inference_example.py:133-142 | examples/traffic_analysis/ultralytics_example.py:130-139 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/traffic_analysis/inference_example.py:133\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":"examples/traffic_analysis/inference_example.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fbbd81f5b5b909ef13cd7b5f891d7ade870064776ef8bd29c9c7dd07b067f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/supervision/annotators/core.py:1452-1461 | src/supervision/annotators/core.py:1802-1811 \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 \u0060src/supervision/annotators/core.py:1452\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":"src/supervision/annotators/core.py"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedec91ac7eba671588eaa67be2302e8dbb047dbec3c1d06e6dc40cd77f1bb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/supervision/dataset/formats/coco.py:528-537 | src/supervision/dataset/formats/createml.py:31-40 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/dataset/formats/coco.py:528\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":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c3ee4e719f5f62afa9a170cb7cf50065e16ad2dfbd789d13be4ede577eade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/supervision/detection/utils/iou_and_nms.py:934-943 | src/supervision/detection/utils/iou_and_nms.py:1026-1035 \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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2a19ebad99a548340f2327a07798a2a00a0ca708c00c6eb5d5aeca6ce34313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/supervision/metrics/mean_average_precision.py:1508-1518 | src/supervision/metrics/mean_average_precision.py:1587-1596 \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":"src/supervision/metrics/mean_average_precision.py"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e171aac3537394dd2ce46aab56444ccac361e8f805bb0868674057a7f60477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/supervision/detection/utils/iou_and_nms.py:1240-1251 | src/supervision/detection/utils/iou_and_nms.py:1403-1411 | src/supervision/detection/utils/iou_and_nms.py:1493-1501 | src/supervision/detection/utils/iou_and_nms.py:1670-1678 \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 \u0060src/supervision/detection/utils/iou_and_nms.py:1493\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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bfbe1d4d9b729a32237e6230f739e36c5518e99680643bdf828047e98707e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples/time_in_zone/inference_stream_example.py:21-29 | examples/time_in_zone/rfdetr_stream_example.py:85-93 | examples/time_in_zone/ultralytics_stream_example.py:22-30 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/inference_stream_example.py:21\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":"examples/time_in_zone/inference_stream_example.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff57a08eadfa3c983af09eb158f0ecd221caa9fb2c40cb61e0fa95f2dbdf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/supervision/metrics/f1_score.py:327-335 | src/supervision/metrics/precision.py:323-331 | src/supervision/metrics/recall.py:290-298 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/f1_score.py:327\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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"537009f21a99717c2e388a99a01ffd52c2d62b652652857e887eb0df2a6a0cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/supervision/validators/__init__.py:86-94 | src/supervision/validators/__init__.py:109-117 | src/supervision/validators/__init__.py:171-179 \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":"src/supervision/validators/__init__.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1e759d00d6cf9887c2c1f8ad91625fab8daac1b803d5d814e26703a94dea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/time_in_zone/rfdetr_file_example.py:55-63 | examples/time_in_zone/rfdetr_naive_stream_example.py:55-63 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/rfdetr_file_example.py:55\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":"examples/time_in_zone/rfdetr_file_example.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c604b7ec6e4853a1e94d0733958092ad4826674c4792ada8ccc419f74b3286e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/traffic_analysis/inference_example.py:39-47 | examples/traffic_analysis/ultralytics_example.py:37-45 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/traffic_analysis/inference_example.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95c09fe540116c68234aecebb712e79d41001fd30a70f7605f45de7287e5bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/traffic_analysis/inference_example.py:164-172 | examples/traffic_analysis/ultralytics_example.py:161-169 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/traffic_analysis/inference_example.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe0531cd336e59850aa83e6eccec1569ce8638eed3d4361a0a6e22aac8f6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/compact_mask/bench_inference_api.py:332-339 | examples/compact_mask/benchmark.py:927-938 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"examples/compact_mask/bench_inference_api.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18bb489b1ee9ff6dae2008d789ee208e1d990b9faede0cb0b9b49d8f50a4b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/time_in_zone/rfdetr_stream_example.py:97-104 | examples/time_in_zone/ultralytics_stream_example.py:34-43 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/time_in_zone/rfdetr_stream_example.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/time_in_zone/rfdetr_stream_example.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f120f5bdede32a74edc4da8dfcf40b7c3304d2993f0dce677d0721eb3418dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/tracking/inference_example.py:37-44 | examples/tracking/ultralytics_example.py:26-33 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/tracking/inference_example.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc0b1b87dbe91622334f4e978d8fa54ced2cf7b99607e8b499cd0d670a15388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/traffic_analysis/inference_example.py:92-99 | examples/traffic_analysis/ultralytics_example.py:89-96 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/traffic_analysis/inference_example.py:92\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":"examples/traffic_analysis/inference_example.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f3677acc0a46ac648d99e8cf97c914942a39a74d9632519f885a1f78a3a60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/supervision/detection/tools/inference_slicer.py:510-517 | src/supervision/detection/tools/inference_slicer.py:600-607 \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 \u0060src/supervision/detection/tools/inference_slicer.py:510\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":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"565002bcabe73775ec53d8388458736c82cd8ab5c3cf3f142d3b7410c98555da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/supervision/key_points/annotators.py:103-110 | src/supervision/key_points/annotators.py:351-358 \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":"src/supervision/key_points/annotators.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d839519cf53bd50a5a9474d4c1f84538c34a76532ff1c3b3b369136ad28422b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/supervision/metrics/f1_score.py:711-717 | src/supervision/metrics/mean_average_recall.py:150-156 | src/supervision/metrics/precision.py:704-711 | src/supervision/metrics/recall.py:664-671 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/supervision/metrics/precision.py:704\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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"47093a9a9e86fe9a18161d2d773e9b323f19dc05ffeef4aa7802db7d72e7fb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/supervision/detection/utils/masks.py:87-93 | src/supervision/detection/utils/masks.py:98-104 \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":"src/supervision/detection/utils/masks.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e010f7b243f930c942f72d81567ae1f51362c1bf4d2d7ec9f41d868c5bc4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/supervision/detection/vlm.py:257-263 | src/supervision/detection/vlm.py:724-730 \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":"src/supervision/detection/vlm.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"deed1a46f8fc990c2c56d369f8df56eb99c8671a517faac9bbfa872390712d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/supervision/metrics/f1_score.py:551-556 | src/supervision/metrics/mean_average_recall.py:703-710 | src/supervision/metrics/precision.py:538-545 | src/supervision/metrics/recall.py:500-507 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"src/supervision/metrics/f1_score.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39a4ff8ca0aaebce74d1f656da79d85601c1b60cac3d80e65c6dfc8e4a3c7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/supervision/annotators/utils.py:324-329 | src/supervision/annotators/utils.py:332-337 \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":"src/supervision/annotators/utils.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9448cd95508dee5ce9a45be233cfb2cd25acfd35d773a26caee002661bc0eb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/supervision/detection/core.py:2488-2493 | src/supervision/key_points/core.py:1275-1280 \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":"src/supervision/detection/core.py"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa97b4739fa10899953db47ad26c49008faf9cc6a190d0fa279808dc5ed53d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/supervision/detection/utils/masks.py:341-346 | src/supervision/detection/utils/masks.py:356-361 \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 \u0060src/supervision/detection/utils/masks.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. 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":"src/supervision/detection/utils/masks.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a27bbdeb5c208c4a6c108a637aa2065b1f97483ab6bbad9e6c548f1181bcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/supervision/metrics/utils/object_size.py:123-127 | src/supervision/metrics/utils/object_size.py:158-162 | src/supervision/metrics/utils/object_size.py:205-209 | src/supervision/metrics/utils/object_size.py:251-255 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/utils/object_size.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f2fc1969e6eb2e15a73e47f4fc49f2a95d47994e8e9a2b3471386e3c249901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/supervision/_cv2/_image.py:235-239 | src/supervision/_cv2/_image.py:260-264 \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":"src/supervision/_cv2/_image.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd62a3c609a1d7bf505d3c8f520b51a3782faa35b469675fbc546077de8035d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/supervision/detection/tools/inference_slicer.py:527-532 | src/supervision/detection/tools/inference_slicer.py:614-618 \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":"src/supervision/detection/tools/inference_slicer.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be61b52ef90c5c5253bc8a007a5d98b5b1b14739aadec546dcb6e6cb09ad130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/supervision/detection/utils/iou_and_nms.py:644-648 | src/supervision/detection/utils/iou_and_nms.py:650-655 \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. 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":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08e9df9c6b47295fa2be3c8d0cd428dca28d714cd9eda9cf2a20baea34b622"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/detection/core.py: src/supervision/detection/core.py changed 29 times in last 90 days, max complexity 22. 13 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb01953b43bc48ce12385270dee72fe1f194f2b10a7c633401a2cc71e4549f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/key_points/core.py: src/supervision/key_points/core.py changed 16 times in last 90 days, max complexity 33. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/key_points/core.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b079ccb28705c66ccbe8bddfbd34acbd71d20f719932e569cdb49e74bfa98940"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/metrics/detection.py: src/supervision/metrics/detection.py changed 15 times in last 90 days, max complexity 21. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/detection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc16917f769df0b6134649dfac4e67a08ee2d7ff0971bfff08fbef7b32bfa20c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/detection/utils/internal.py: src/supervision/detection/utils/internal.py changed 13 times in last 90 days, max complexity 21. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/utils/internal.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f319e31cca3f0eb31d2c746c18cadd31580b0a3277887cfad6773647dc1f3e59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/dataset/formats/coco.py: src/supervision/dataset/formats/coco.py changed 14 times in last 90 days, max complexity 17. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/dataset/formats/coco.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c455fda5ea3bb14538df7de5be6077632a51f317bd908ffb05a0f81a6147f827"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/metrics/f1_score.py: src/supervision/metrics/f1_score.py changed 9 times in last 90 days, max complexity 25. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/f1_score.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"609989e8e132468e0a0d19170f0ae9cb1a182b3f60bccfc1f09c799cd89a78c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/detection/utils/iou_and_nms.py: src/supervision/detection/utils/iou_and_nms.py changed 12 times in last 90 days, max complexity 18. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/utils/iou_and_nms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62d7f28d0d89f8f7f97ff20292697282cd9c694e009a3b481b27a433ab2673c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/detection/vlm.py: src/supervision/detection/vlm.py changed 8 times in last 90 days, max complexity 25. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/vlm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"694157b45d158a5f8c248daa365b372460cbf9c27868592d761e40caeb85e546"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/metrics/precision.py: src/supervision/metrics/precision.py changed 7 times in last 90 days, max complexity 25. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/metrics/precision.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e57155128d0289d6d2e8cd6f6fedc34ea634535f3868e11d68b062060b4983d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/supervision/detection/utils/masks.py: src/supervision/detection/utils/masks.py changed 10 times in last 90 days, max complexity 15. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/supervision/detection/utils/masks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef39a3ae1f35f0a5fcf75795961025e9c76209e890d6be2046eb0e5237fd4e0b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: src/supervision/detection/compact_mask.py, src/supervision/geometry/core.py, src/supervision/utils/notebook.py, src/supervision/utils/iterables.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6940d4f9b40e96ec4ab42c162b1baeb0fb048030aa9bd7478c5a525642d6c60"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc0dae318a341d83c41b8dadd5da0b136c178c341239ec8e94137d580ffbc161"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb9bf53a890da21e030c7f8a18ca63cf9153511f968ad313551649e047b5a2d8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb6b731470226d7e6d6965c963ff7fbc2b7e8716264612d671ccb3115aa10891"},"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":"55f69cdd254b205905e4196b86b7be9ab3e983de7c4e69fc85de61522a241d52"},"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":"cf8075041f8b888e0b8119ebaf20b890369825ee7fb2dd1c67538c7a604a44f8"},"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":"2987f128fdb56d0a10154d02651b53586c3fb98cbb95ed8c156aa54698811d17"},"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":"25b82e3fd80bff4e1dee348d7810fca6325dcb5654b61961f03af71dad931c86"},"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":"47fd61c8029045d4108266ac8b05d26f3d3ddeff6f18c6a55993aebe594c15d6"},"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":"1d5ea08bdced44497dacd0c95c144f5cfb3b945eb7dcddaa6882f7d70ae5cfcd"},"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":"258de2a2b65560e3b7100476ab1716302a3e2d235660d85574167a32f330bbab"},"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":"20acf7d47e7e9088bcea666fe8112beb663af52456fd9da7fea65328615777ef"},"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":"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":"357b87d9a5344a0acd9d940831bab003ffcd0db0b10480224b1f5adeb4b4b3d9"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa25432e2f1dad03b34e766c90d9bb33d23ca2315dc9a5ca060da7da1cf3bc99"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0ab499dcbf11b1c1a0a87295635451f368b5d3e0348e97ac018537e17fc8c7b"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1752479c52d70e7e85b37a57cb1dd02ea87ce1094ba77751d35409240bb66f4a"}},{"ruleId":"D38","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":"ef6be2cd56d2642990405c60a96891b77adc043d3b2b5ff71f04912b74e1411d"}},{"ruleId":"D38","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":"ba43fdd0386a67524d35c8a2c7042b1ef151365794f7ae690f72de9b172f9577"}},{"ruleId":"D38","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":"020ee5b3dd7a61031b9a812753f9f48cdbf8a3836ccc82c9cf0e2377c4392423"}},{"ruleId":"D38","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":"48c6b6532ddefa5e2698fcb0b4490a983a875e3563ecd0f7c3a1fb221007e62c"}}],"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-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-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-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"CWE-611","shortDescription":{"text":"CWE-611"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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-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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.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":22,"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."]}]}