{"$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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"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":"Parser._parse_message (cyclomatic 22): Parser._parse_message 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":"flama/models/wire/dialect/_base.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bb803eb9e89e374322b6634d6e75582c08e9c0d731d69daa865808e79ee43f"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicParser._expand_assistant (cyclomatic 17): AnthropicParser._expand_assistant 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":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"797fd0337ec43b37ab77e93856da4795d7cef3784b006405b6e38e4d18621645"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicAssembler.envelope (cyclomatic 16): AnthropicAssembler.envelope 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":"flama/models/wire/dialect/llm/anthropic/assembler.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c3d39a9d9533d882c4508d8df0271b9cd5f7d0d1d272df1b6924fc876854ba"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeParser._parse_part (cyclomatic 16): NativeParser._parse_part 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":"flama/models/wire/dialect/llm/native/parser.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f174ca71923fd7a5879ca41474e4c8e0de9417a52ca4f887244a4deeaed183"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaGenerator.get_endpoints (cognitive 28): SchemaGenerator.get_endpoints has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, loops 9, boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/schemas/openapi.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1211b4b72ef5fc21ba31c7b37d9fdbf2a212a6bd434a600d831118660b39cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MLXBackend.generate (cognitive 24): MLXBackend.generate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, boolean chains 4, ternaries 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":"flama/models/engine/backend/llm/mlx.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b907f67b5d0f918916bb0eb5e721e6bcdec55218ae91c1ca61b8d89bf3403030"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser._parse_message (cognitive 24): Parser._parse_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 4, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/wire/dialect/_base.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefa11d521010d6e46d42f0b3c24e99151e043a7cacf17bc89e0e3b87cc4a5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicParser._parse_part (cognitive 22): AnthropicParser._parse_part has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, boolean chains 3, match/switch 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":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80fe700108b744b9a2efae374668dc01d2675789487f9788995eb9d68cd04a9"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicAssembler.envelope (cognitive 21): AnthropicAssembler.envelope has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 2, loops 1, ternaries 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":"flama/models/wire/dialect/llm/anthropic/assembler.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865feb1c847efbffd1af674d25aba187a27a08151d91a25c62ece88bb17e996"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerType.__new__ (cognitive 19): WorkerType.__new__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, error handling 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/ddd/workers/_base.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5e1a4fb29d762a416cee9c4b7b015156a940206eabcd91c3791afb29b2b8a2"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkerScanner._scan_outside (cognitive 19): MarkerScanner._scan_outside has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 4, ternaries 3 (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":"flama/models/engine/llm/decoder/markers.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84ea24484ee5e7d5962e30d286bd51559a8cd8acef5d9ca4f25d3fbd5dd4301"}},{"ruleId":"D2","level":"warning","message":{"text":"Decoder._iter_marker_bodies (cognitive 18): Decoder._iter_marker_bodies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/engine/llm/decoder/decoder.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a3aa81f038cc6708c9f3381e3f417483ab7585fbe5ca5d228fd87e83f23bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformerLLMBackend.prepare_input (cognitive 17): TransformerLLMBackend.prepare_input has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 3, match/switch 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/engine/backend/llm/_base.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe99de85388bff287df6fcb6f99486e8627358fe2b46125cc0ae7c2a2d55f857"}},{"ruleId":"D2","level":"warning","message":{"text":"EventBuffer.__anext__ (cognitive 17): EventBuffer.__anext__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, error handling 6, 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":"flama/models/transport/output/llm/buffer.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"45450d82a13b0e0854051d6c5e40bfd87f2a39a1473c12db1c3aab510e0cbee5"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceType._get_attribute (cognitive 17): ResourceType._get_attribute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 2, error handling 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":"flama/resources/resource.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d254f42b351da3a690b3c8e32e76808d91b3a35b21d6cd952586f15ca9b0ac"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAPISchemaRegistry._get_schema_references_from_schema (cognitive 17): OpenAPISchemaRegistry._get_schema_references_from_schema has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/schemas/openapi.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846ac2d1c659589aa732bbc603480b1ec885cddf3648dec0c3c5dd26404541a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicParser._expand_assistant (cognitive 16): AnthropicParser._expand_assistant has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 2, match/switch 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff7f2a2514584f2937136ca9bbdf3e09c58e08531417b4d146d25df07389cda"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIParser._parse_part (cognitive 16): OpenAIParser._parse_part has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/wire/dialect/llm/openai/parser.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9174a7e4de74f9993007c167dcb062c24a02578640dbb776b39cb48644c7d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Path.__init__ (cognitive 16): Path.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 6, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/url.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"520bfd5cb7803491e404aac38480c97a715ebc1ecd48238899475ff36c295d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schemas/openapi.py: FileTooLong \u2014 613 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":"flama/schemas/openapi.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"713cf9a41f5b8c43e2756c9f3ee202db37c770e6000bf2ef899b51c47b24fad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): flama/models/_base.py:379-420 | flama/models/_base.py:448-484 \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":"flama/models/_base.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca468ab71b0246c4ab456bbfb6e8500f903d594e10ad0c02e77b5099cbc47a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): flama/models/resources/serving/llm/anthropic.py:180-209 | flama/models/resources/serving/llm/openai.py:154-182 | flama/models/resources/serving/llm/openai.py:331-358 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flama/models/resources/serving/llm/anthropic.py:180\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":"flama/models/resources/serving/llm/anthropic.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacfbc8c9b15179b9c0264e2ed1babb2ce2cba0942be60dc38b7103c5b67fcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): flama/pagination/paginators/limit_offset.py:110-135 | flama/pagination/paginators/page_number.py:114-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 \u0060flama/pagination/paginators/limit_offset.py:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/pagination/paginators/limit_offset.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0119ed13ffcf5dba778b28eef00c34888772d391417226002162f838627851e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): flama/models/resources/serving/llm/anthropic.py:89-105 | flama/models/resources/serving/llm/openai.py:69-87 \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":"flama/models/resources/serving/llm/anthropic.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7afde5d730da986df7e9026576aca1b57649c152ed5ae1c245971009be581f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): flama/serialize/serializer.py:238-252 | flama/serialize/serializer.py:304-322 | flama/serialize/serializer.py:351-369 \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 \u0060flama/serialize/serializer.py:238\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":"flama/serialize/serializer.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7313845f14f87ea20464672f135edde2bf47c2501feaaded59f3b369251d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): flama/models/wire/dialect/llm/openai/assembler.py:82-96 | flama/models/wire/dialect/llm/openai/assembler.py:160-176 \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":"flama/models/wire/dialect/llm/openai/assembler.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"10591abe9760b0de45ce66904aeba650a9721f5a912abfc82367b5769f491dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): flama/models/resources/llm.py:48-59 | flama/models/resources/ml.py:104-115 \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":"flama/models/resources/llm.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b315dd19ce4414c282d59b465e31ddcd708fb0fc4ab4da190e2d245f2cd5da49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): flama/models/resources/serving/llm/openai.py:132-143 | flama/models/resources/serving/llm/openai.py:309-320 \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 \u0060flama/models/resources/serving/llm/openai.py:132\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":"flama/models/resources/serving/llm/openai.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba5d4cf14c93ed30cec5e089f64c2a7d7859ea849778e0ca049edce30e5ecbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): flama/routing/routes/http.py:59-70 | flama/routing/routes/websocket.py:19-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 \u0060flama/routing/routes/http.py:59\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":"flama/routing/routes/http.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb363b21c5670dcfd3b6043d0343f38e7b400f430730ffd49a900699067e6213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): flama/models/resources/serving/llm/anthropic.py:58-68 | flama/models/resources/serving/llm/openai.py:38-48 | flama/models/resources/serving/llm/openai.py:220-230 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flama/models/resources/serving/llm/anthropic.py:58\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":"flama/models/resources/serving/llm/anthropic.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c191c77e36b03ee731c83fec7db58e2fb27ee10ad25d8e77bcf391d4f152aa3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flama/models/resources/serving/llm/ollama.py:196-206 | flama/models/resources/serving/llm/openai.py:383-394 \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":"flama/models/resources/serving/llm/ollama.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9733a751f71888d4999ef1f7fd9145181f8b410f362fb4b7b6d3b8bb3e1349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): flama/models/wire/dialect/llm/anthropic/parser.py:95-104 | flama/models/wire/dialect/llm/native/parser.py:33-42 | flama/models/wire/dialect/llm/ollama/parser.py:67-76 | flama/models/wire/dialect/llm/openai/parser.py:32-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1665fadbd72c8f64c3ed71503fc41b6997a71c591bfa26c8b90bc69cf59d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flama/models/resources/serving/llm/openai.py:84-93 | flama/models/resources/serving/llm/openai.py:258-267 \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 \u0060flama/models/resources/serving/llm/openai.py:84\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":"flama/models/resources/serving/llm/openai.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53a7d6f5b591f8f4bde730620acc7ee8f4052028fd576f3f91b10c71b44f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flama/serialize/serializer.py:179-188 | flama/serialize/serializer.py:245-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"flama/serialize/serializer.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b669dcff690723191513d0c3e76b49783b38930d50f5eead01a896ca1426e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flama/models/resources/llm.py:113-121 | flama/models/resources/ml.py:126-134 \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":"flama/models/resources/llm.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271cd836a2be67d0003c72ac6c2fb6fc6debb5acac9b4625a332d4e456ba256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flama/models/resources/serving/llm/ollama.py:52-60 | flama/models/resources/serving/llm/ollama.py:181-189 \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":"flama/models/resources/serving/llm/ollama.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"350da7eceb259d2221b36744b9b86a99f766924a7443838dabce5240f0409f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flama/models/resources/serving/llm/ollama.py:94-102 | flama/models/resources/serving/llm/ollama.py:205-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/resources/serving/llm/ollama.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf44a8dd0acd701b3458a1365625f41a35dade98f2f829d3021f594e1e951f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flama/models/resources/serving/llm/ollama.py:179-187 | flama/models/resources/serving/llm/openai.py:366-374 \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":"flama/models/resources/serving/llm/ollama.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"21915a215653fd1cde9d06bfb3aafa8e36233e0e9376ef6503d0ec5beaffd90e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): flama/ddd/repositories/http.py:184-190 | flama/ddd/repositories/http.py:200-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"flama/ddd/repositories/http.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e1cbcbd8275bc69a0c63188261446ae57035bec00594f6dd7820130b5fb421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): flama/resources/crud.py:295-301 | flama/resources/crud.py:338-344 \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":"flama/resources/crud.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"567ceeec50510c23d3598dbf9e731dce6efb557eeece0003317428c5b5752bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flama/ddd/repositories/http.py:77-82 | flama/ddd/repositories/http.py:97-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/ddd/repositories/http.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1d249d100b6b7a6920ef0bb8140da2b9971277f6762059f5e85bedcab2156a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flama/models/streams.py:312-317 | flama/models/streams.py:329-334 \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":"flama/models/streams.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485fc8ac92362e6d2b2227310896fdec96320e20d2a72f86bb9de1982f73ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flama/serialize/protocols/v1.py:252-257 | flama/serialize/protocols/v2.py:413-418 \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":"flama/serialize/protocols/v1.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"507fdecdff632184639c9113e3fb3f20a5ef481f72180d67be5083a1bf297974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flama/models/wire/dialect/llm/anthropic/parser.py:140-144 | flama/models/wire/dialect/llm/anthropic/parser.py:248-252 \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":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aee0e4af141af927a929ba35c97ac1a47c4b0c34ffc214e560b67325aaa67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flama/schemas/_libs/marshmallow/adapter.py:120-124 | flama/schemas/_libs/typesystem/adapter.py:99-103 \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":"flama/schemas/_libs/marshmallow/adapter.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"74676d24f743d7a4514302521b245f6593280fa3432870a1d4db637cdcd6be49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flama/models/wire/dialect/llm/anthropic/assembler.py: flama/models/wire/dialect/llm/anthropic/assembler.py changed 3 times in last 90 days, max complexity 16. 1 of those changes was a fix/bug commit, 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":"flama/models/wire/dialect/llm/anthropic/assembler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f976c23a8b329fc74d3f3040cb210fbbbc5a404711acaa10fd459544d0f165"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flama/models/engine/backend/llm/mlx.py: flama/models/engine/backend/llm/mlx.py changed 3 times in last 90 days, max complexity 15. 1 of those changes was a fix/bug commit, 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":"flama/models/engine/backend/llm/mlx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7575bf10fb6e3aa204209f136ae107fd727aa0808ccdb4720b1e2a2b954b539"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flama/models/wire/dialect/llm/anthropic/parser.py: flama/models/wire/dialect/llm/anthropic/parser.py changed 2 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/wire/dialect/llm/anthropic/parser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aead3d9a72fee817181c74d5a480dd54ac0788d4ccce2141f722d038516457e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flama/models/wire/dialect/llm/native/parser.py: flama/models/wire/dialect/llm/native/parser.py changed 2 times in last 90 days, max complexity 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/models/wire/dialect/llm/native/parser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd7ae7cdb481978d33fc9628a82437515e54c250c12768dfdde084fd0f3963"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 95 significant file(s) lose their only recent owner: flama/models/streams.py, flama/schemas/openapi.py, lib/core/src/compression.rs, flama/_cli/commands/model.py, flama/models/engine/backend/llm/_base.py, flama/models/resources/serving/llm/openai.py, flama/models/resources/serving/llm/ollama.py, flama/_cli/config/uvicorn.py (\u002B87 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ae2b2c0d45f4afd9f1abfa5ee75b963848c8c0df32be8fd9364338ec08fc3dc"}},{"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":"405363f694aed9c03691348cd947d8e3ee5ee09ff9968a0adf952e3bfd59efb8"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","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":"528e04af5ce297d0018520140e39c619c482711ea6f2454c3ac027d5e53904e9"},"taxa":[{"id":"CWE-116","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":"e38bf744952fd3edc27e35e4dde2cd4a98df00ef69912c8ea01e262d6836e0f7"},"taxa":[{"id":"CWE-532","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":"ed8f7b11d9ac2fc21d1ee0545e2f6cc5523fffefd9d8f487578cf54939b921a3"},"taxa":[{"id":"CWE-532","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":"64fee57e81a9f414a845982692df32937614b4f645d6cd00050f26aa0db8ea1d"},"taxa":[{"id":"CWE-532","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":"b1cf8f5fc61cc478027aedd2fbf378bbd520b0b4782609db6a2b4fa7d6c822fa"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afe263b80ac1631393e46a94323abf97664a56548a7dcb63eb71a59ea283940a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e6055f7505742c94cbb2d486e817653ee7b5f090e482a7938f21fee57f15c0a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cef4a45a67bdf449978cd5793b6d592e8ddecc5519f8e895c69bab675fbd33c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: limit_offset.py \u2194 page_number.py: \u0060flama/pagination/paginators/limit_offset.py\u0060 and \u0060flama/pagination/paginators/page_number.py\u0060 change together 75% of the time (24 of the 32 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/pagination/paginators/limit_offset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daae106e0032d3797700031b0eec9c238d4d7282c20233e21c589e68e583f58"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: applications.py \u2194 jsondata.py: \u0060flama/applications.py\u0060 and \u0060flama/codecs/http/jsondata.py\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flama/applications.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3460d80cbe28115d6223b12c7a68c1364e5d53c5ad0bd16ed70110bca15f6fe"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"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":"79f4c8a5c26d52bad2e5e33a76b56d5639d2171450e8edb763dc74dce6cd85ea"}},{"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":"10f42424b9450bcd5507f60462a64b4b716c13d761598fca0e6c4eed2528d9c2"}},{"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":"832f01f2d9b5fed82266173eed24a42cbd702be5bdcd691875be7bad15894d92"}},{"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":"63d8e4ba1386aeed2542cc5f28225cb74a1165478508f78f9fdf362329344b17"}},{"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":"0c1fc433977d578f19698f08c45c16c2a007d3ad256af301692174d71648a7e0"}},{"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":"7f497ccd629d95ea1a2a765fa5ae2598101f52207eab0ca55a12a8b74ee01f3c"}},{"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":"4e6a27cfd768169349401c1bd8940f88c427a60a9c9c4994968a72ad31f56b2a"}},{"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":"2c17622905cf9573ad1c8448dec00be83751eb9c94f4c61e196189c2ae3f6a0a"}},{"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":"6e5f2db31911a96d0a189b1a04f64158201d39095888f365afbf7f18c4352653"}},{"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":"8c94b04a801c5793fc82c1628b4705c01387fd078d6cb3bfc192e932c84efee5"}},{"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":"170accd1898a0343c0543458c795bcb4c578124011726ac0e8ccb5a383a9c56a"}},{"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":"bacbc37090b255c9981d976c8e66189bae0111a9e2c5b85b8b0e30f7f60d859f"}},{"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":"d5f4e1dbc7c5029f8717b725d32b087debe7c0b5ce16606a3391d92cd402e6df"}},{"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":"82abfc6b52e0f4755f897fec90763513062ab7fe8507905c087ca45f61c6e007"}},{"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":"d7f05e74e2166e1a0cacbecfc925c576cfb95a15bcd4446bddc8849d80864251"}},{"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":"95e97a4eed91f5aebd6107c0bc9be94f3ab6727a6d32c40b504d0ad3070b6319"}},{"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":"a60aecd7586c56580a7c31afd645e5264a2dea3cc23dfcaf66458aa12540de54"}},{"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":"752aa0e336dc5a729a0a887d33bfaed256eb7bfcdc8c091ab02de68c49291e99"}},{"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":"ffeaced8690cefdc6e2edd33891dfc519a552f726a4a280a79304601616a36c3"}},{"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":"0d942afbea2af6b91d32add83beb73fff99c69037f3d7ec786e59d6946a6ef27"}},{"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"}},{"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":"9af5e9b94342ea329f24b00807bcec3c2c23ffbcceef2073d9e8edc05e887540"}},{"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":"08a98f80e36273662d6d3b0bd7c59d6832c3cf488c86f96ec35ad686a20b7028"}},{"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":"1b5beee9423e1f16ec873f9cee1cc2b25bfb2393a6dc37ff180cbc37f6643636"}},{"ruleId":"D38","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":"cc6b2e3c8444aea90ad841bcfacee4b9c48ab428f3871727b3579e17dc861833"}},{"ruleId":"D38","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":"82eaea5229a8b570ed91578c64d269517e341ca78dc4cfafcc4b8af63dcc2d3d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"CWE-116","shortDescription":{"text":"CWE-116"},"helpUri":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"CWE-532","shortDescription":{"text":"CWE-532"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-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":41,"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."]}]}