{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CarRacing._create_track (cyclomatic 35): CarRacing._create_track has cyclomatic complexity 35 (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":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19702fdea56d180e37b7f5f8c9a1c184b4508cd1789f352559389062ee7f303"}},{"ruleId":"D1","level":"warning","message":{"text":"registration.make (cyclomatic 34): registration.make has cyclomatic complexity 34 (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":"gymnasium/envs/registration.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ac0b625937a78fdde949ef792ac78981d793e7410ba4be85347472a10cde1c"}},{"ruleId":"D1","level":"warning","message":{"text":"env_match.check_environments_match (cyclomatic 30): env_match.check_environments_match has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_match.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cfa47c73d24950fa4655ed9ef2a3cfc9f9cf4383926190cb41f716115113a5"}},{"ruleId":"D1","level":"warning","message":{"text":"async_vector_env._async_worker (cyclomatic 27): async_vector_env._async_worker has cyclomatic complexity 27 (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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad75703bcc1dc2942d2a1626b8ad379e066e44357c40aa27b11e773d476b3371"}},{"ruleId":"D1","level":"warning","message":{"text":"LunarLander.step (cyclomatic 26): LunarLander.step has cyclomatic complexity 26 (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":"gymnasium/envs/box2d/lunar_lander.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52bc11ab4b45c2275d964a1da65f51fbe6c9f8796ae9678419e509b2be6ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"play.play (cyclomatic 26): play.play has cyclomatic complexity 26 (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":"gymnasium/utils/play.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fe4833a2c46e19c275318b038c9230e2d1dc8d0bef80bff8b6c67515a5fd6a"}},{"ruleId":"D1","level":"warning","message":{"text":"registration.make_vec (cyclomatic 25): registration.make_vec has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/registration.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ea5a54d21685f2e710b785efa0724f07a65631ada256b6c24f748a30fc3f3e"}},{"ruleId":"D1","level":"warning","message":{"text":"BipedalWalker._generate_terrain (cyclomatic 23): BipedalWalker._generate_terrain has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc707180e4f78115e77b057373c786480c63e085013cb15515ec3f61580ba2c"}},{"ruleId":"D1","level":"warning","message":{"text":"BipedalWalker.render (cyclomatic 23): BipedalWalker.render has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd180b7b19068f617933b64d3ae5efdf33593ce2e73efacad6fa529c6990838"}},{"ruleId":"D1","level":"warning","message":{"text":"CliffWalkingEnv._render_gui (cyclomatic 20): CliffWalkingEnv._render_gui 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":"gymnasium/envs/toy_text/cliffwalking.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8eda24174d248fad63469ce7ae7af5c2480c0e10707ba1b2bcec7436445226"}},{"ruleId":"D1","level":"warning","message":{"text":"AtariPreprocessing.__init__ (cyclomatic 20): AtariPreprocessing.__init__ has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/atari_preprocessing.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ba9ef9375e4e168f4ff3c33d7cad2009d9e3e48de1336f1910f22f41b8b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowViewer._key_callback (cyclomatic 19): WindowViewer._key_callback has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_rendering.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ff6c598b269816e4673c66bb1d32e513d0160d986a51151ebab98cc22cdccf"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvSpec.pprint (cyclomatic 19): EnvSpec.pprint has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/registration.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef88d215629bf9de24fd03751f680d9b641895f7c0029afac9c2966217416bed"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordVideo.step (cyclomatic 19): RecordVideo.step 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":"gymnasium/wrappers/vector/rendering.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e363bf70820a7f268bba8d4329816bcd342fb3a95eea90deeb6a78a453fa9e93"}},{"ruleId":"D1","level":"warning","message":{"text":"TaxiEnv._render_gui (cyclomatic 18): TaxiEnv._render_gui has cyclomatic complexity 18 (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":"gymnasium/envs/toy_text/taxi.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"caee144b5b1dbdeb3e9a5aac60fc2b2342b6312345e67386a15154e1449417a6"}},{"ruleId":"D1","level":"warning","message":{"text":"Box.__init__ (cyclomatic 18): Box.__init__ has cyclomatic complexity 18 (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":"gymnasium/spaces/box.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f46f38400b70d5a6167a181a777b1dca69edd67c2ca90557be565c8a3499462"}},{"ruleId":"D1","level":"warning","message":{"text":"Box._cast_low (cyclomatic 18): Box._cast_low 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. This shape REPEATS in the file: one other method here (Box._cast_high) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e3861d31fce059fcaa94bc916863991964c40b706cc95bd4063591b4cbfed"}},{"ruleId":"D1","level":"warning","message":{"text":"Box._cast_high (cyclomatic 18): Box._cast_high 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. This shape REPEATS in the file: one other method here (Box._cast_low) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"de31a06d5a7c40cc90eee969dab12bfa2ed52ca6534fe2e06ccf4ce3cc75b9d7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncVectorEnv.__init__ (cyclomatic 18): AsyncVectorEnv.__init__ has cyclomatic complexity 18 (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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"29948ec23cab47a4cf45155bd94a3f4bff5d31413c25c3e11cdc05b2b2fa1510"}},{"ruleId":"D1","level":"warning","message":{"text":"FrozenLakeEnv._render_gui (cyclomatic 17): FrozenLakeEnv._render_gui 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":"gymnasium/envs/toy_text/frozen_lake.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"630f096f0471e8f3c9802419ce141be41e03a2b9c825030c944dfa202023ede1"}},{"ruleId":"D1","level":"warning","message":{"text":"env_checker.check_env (cyclomatic 17): env_checker.check_env has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4698716cf7dc94a856c3293f7a35d0232066456a4be0048619d0bbbebd95ab53"}},{"ruleId":"D1","level":"warning","message":{"text":"passive_env_checker._check_render_return (cyclomatic 17): passive_env_checker._check_render_return 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":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbe83945dd80a91a96e03667d0b1a9011756d958541dadbaf82faa524aadeae"}},{"ruleId":"D1","level":"warning","message":{"text":"passive_env_checker.check_obs (cyclomatic 16): passive_env_checker.check_obs 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":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6383adc0afb17adad58380e420cbe9ae1de3b2a4001778a43b2a954e69be6bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncVectorEnv.close_extras (cyclomatic 16): AsyncVectorEnv.close_extras 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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56261a320130dffa3dd702dd0b8979418bea1e75e8629a441f6746c26ad7223"}},{"ruleId":"D2","level":"warning","message":{"text":"CarRacing._create_track (cognitive 61): CarRacing._create_track has cognitive complexity 61 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 12 (19 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 28). 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":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"487281fe7c4bc1a9cfbdbcda907c534b7b681cbc4d2eea38c169b2b0822d781c"}},{"ruleId":"D2","level":"warning","message":{"text":"async_vector_env._async_worker (cognitive 47): async_vector_env._async_worker has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1, loops 1 (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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad085df29c7040699c169f3cf8c7017bd81d401c4db18c1409b7457375a64af3"}},{"ruleId":"D2","level":"warning","message":{"text":"registration.make (cognitive 43): registration.make has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 8, loops 2 (3 pts), error handling 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":"gymnasium/envs/registration.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ed29384152f82c55a39204cfafc64a5fd60e6919411489139dce631f59a4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"play.play (cognitive 43): play.play has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 4 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/play.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"621186ef7228694180174e5890f39cd3056bbeafb1881b9c24fa06ef072ab11b"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.contains (cognitive 41): Graph.contains has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (37 pts), boolean chains 4 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/graph.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"825ed743de2b0de1a9544ae3278cf608ca160b64b6b0ae3643ab2f81786906b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DictInfoToList._convert_info_to_list (cognitive 40): DictInfoToList._convert_info_to_list has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 5 (17 pts) (nesting depth added 26). 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":"gymnasium/wrappers/vector/dict_info_to_list.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba53ecc0d55787158a373f1a40d792fc161c41808b9f186ac6aeb3f6e2fd45"}},{"ruleId":"D2","level":"warning","message":{"text":"BipedalWalker.render (cognitive 36): BipedalWalker.render has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 5 (7 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c22846c9679e365b3c587834c71d45b40a29f1b030a14bc9fff145226a1c24"}},{"ruleId":"D2","level":"warning","message":{"text":"env_match.check_environments_match (cognitive 33): env_match.check_environments_match has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (10 pts), boolean chains 9 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_match.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac7a00399e84f17fb36c1dc90d3221a3ef98b7f198d41609c8977330742a6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarLander.step (cognitive 32): LunarLander.step has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 11, ternaries 2 (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":"gymnasium/envs/box2d/lunar_lander.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9439630b6b7a1c565284045c3143b45b2100de8fb66f25a4fe8b4416f12f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"BipedalWalker._generate_terrain (cognitive 31): BipedalWalker._generate_terrain has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 7, loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad610e7b1f0bd2f54181dbe1b56c98e95df831ba29187f1d7a9edde5c79785b"}},{"ruleId":"D2","level":"warning","message":{"text":"CliffWalkingEnv._render_gui (cognitive 31): CliffWalkingEnv._render_gui has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 1 (4 pts), error handling 1, 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":"gymnasium/envs/toy_text/cliffwalking.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a47965d7b1061ae361720a841bc47edc7dc57547a589980ba0ff979064cb1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"registration.make_vec (cognitive 29): registration.make_vec has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (26 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). 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":"gymnasium/envs/registration.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf3b0b97fe65919e3a7d7836f9a64671bdbc360fdc190b3d285c688bb8df7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaxiEnv.__init__ (cognitive 28): TaxiEnv.__init__ has cognitive complexity 28 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 3 (12 pts), boolean chains 1 (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/toy_text/taxi.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a2a0175a89bbce8e267935778145d2741c1c40f464e63bad5957536d4f1a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"passive_env_checker._check_render_return (cognitive 26): passive_env_checker._check_render_return has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaac95aa816f50e21833a416cf07f7d2a019a831457d35cadb5946926f37451d"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncVectorEnv.close_extras (cognitive 26): AsyncVectorEnv.close_extras has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (8 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c87069a94d69a4e50da84a198bcac085065b1c646578dc57b185ba463f9b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"action_masking_taxi.train_q_learning (cognitive 25): action_masking_taxi.train_q_learning has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tutorials/training_agents/action_masking_taxi.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70e9413d70c0faf09834ab5bf9b9df0cd89e202fb33d6a7f4b5ddc15492f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvSpec.pprint (cognitive 25): EnvSpec.pprint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/registration.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412bd4aeed65c2f2787e15cbb7e83a7c4e20899b3974dafa6ef854119f4eda1"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterObservation.__init__ (cognitive 25): FilterObservation.__init__ has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_observation.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d52509b74f74654e4d95fb6f7faed20d8c1f480f4138e8748a2337c1d82f621"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordVideo.step (cognitive 25): RecordVideo.step has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 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":"gymnasium/wrappers/vector/rendering.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e949a40290b4d7c661ddc9326de5b7d9a12b78b9f2471569698345c21f5076c2"}},{"ruleId":"D2","level":"warning","message":{"text":"FrozenLakeEnv.__init__ (cognitive 24): FrozenLakeEnv.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 3 (6 pts), ternaries 1 (6 pts), boolean chains 1 (nesting depth added 15). 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":"gymnasium/envs/toy_text/frozen_lake.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e994a6cf3a31b3f640205bf7088835aeb63babb123fa7afbc0f61e7aa6fde78"}},{"ruleId":"D2","level":"warning","message":{"text":"FrozenLakeEnv._render_gui (cognitive 24): FrozenLakeEnv._render_gui has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (3 pts), 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":"gymnasium/envs/toy_text/frozen_lake.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6a68c4e040443da11ca28a69cbfd852e98b9ef6fc1d51c12ea5ebfae8bfd65"}},{"ruleId":"D2","level":"warning","message":{"text":"registration.pprint_registry (cognitive 23): registration.pprint_registry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (4 pts), 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":"gymnasium/envs/registration.py"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"864d3f8595d0013a34a440329faf4665259867817509d08e5dc8cd94be352cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"env_checker.check_env (cognitive 23): env_checker.check_env has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b514336af79ff1d2b9d47b08bda3cebbccee0b7eb2958b843ff56a2cdffd87"}},{"ruleId":"D2","level":"warning","message":{"text":"step_api_compatibility.convert_to_done_step_api (cognitive 23): step_api_compatibility.convert_to_done_step_api has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/step_api_compatibility.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"da00cf00076f2a6cce6a9d9f5841c0fb4250bed6591d41f02255825d56ab3c78"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncVectorEnv.__init__ (cognitive 22): AsyncVectorEnv.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (4 pts), boolean chains 3, ternaries 2, loops 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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fcc209a9dda8d9691fe224a6a5f5c971a51072c09f3b8363a5b2b4a433b85b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncVectorEnv.reset_async (cognitive 22): AsyncVectorEnv.reset_async has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa118dfd40fdb97057a4820e5a53c42a6a8f4caa1454a9a4e899575f087b09b6"}},{"ruleId":"D2","level":"warning","message":{"text":"OffScreenViewer.render (cognitive 21): OffScreenViewer.render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_rendering.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc2b413c6bdb8b2b6b77579d8c9efe871f46dc588c62c10f60e2c8b6c7344a"}},{"ruleId":"D2","level":"warning","message":{"text":"Box._cast_low (cognitive 21): Box._cast_low has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), 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. This shape REPEATS in the file: one other method here (Box._cast_high) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"727e2b00e7966ae1341487334e7a6654ed59fed9c6c692ac8cbd4481ed5878ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Box._cast_high (cognitive 21): Box._cast_high has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), 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. This shape REPEATS in the file: one other method here (Box._cast_low) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"671cfb5715894b24aae550983170ebf5482b3bde721472030f9305385917dd79"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncVectorEnv.reset (cognitive 21): SyncVectorEnv.reset has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (4 pts), boolean chains 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":"gymnasium/vector/sync_vector_env.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4eaa4df348425e3dc960d16ed19f09d26bd8a7fcbf88081619876a756dbb4d"}},{"ruleId":"D2","level":"warning","message":{"text":"AtariPreprocessing.__init__ (cognitive 21): AtariPreprocessing.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 3, error handling 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":"gymnasium/wrappers/atari_preprocessing.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ebcb352e539c0a3c9edb9e0aef189fa49f3178b6ed4bdbd562b77b40ccf86"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarLander.render (cognitive 20): LunarLander.render has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 6 (8 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/lunar_lander.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a26901b25c5d60db135e236388eb778468784a0813399469868cd757cb35a22"}},{"ruleId":"D2","level":"warning","message":{"text":"Car.draw (cognitive 19): Car.draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_dynamics.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0844b70212ade24979693e1dd8ac4b77aa0a0811974f15e4029497d6396a966"}},{"ruleId":"D2","level":"warning","message":{"text":"frozen_lake.is_valid (cognitive 19): frozen_lake.is_valid has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/toy_text/frozen_lake.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"131367cb34415419c050e297ca1e7c4086d3a92eb5f472c7340cb0acf8859fec"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.sample (cognitive 19): Graph.sample has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/graph.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1975a7bd0b00d461a0a5cfde913a128d2c6d0789af57ebb3630ed0f10db878"}},{"ruleId":"D2","level":"warning","message":{"text":"env_checker.check_space_limit (cognitive 19): env_checker.check_space_limit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec4148899da475604de810a90108f5b70781dcf6db51c2a28315491c16eb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Car.step (cognitive 18): Car.step has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_dynamics.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc920b9d2ea74cb465e2957946085c3bf91f6724a5b61e19616a6fded2f29ded"}},{"ruleId":"D2","level":"warning","message":{"text":"CliffWalkingFunctional.render_image (cognitive 18): CliffWalkingFunctional.render_image has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (4 pts), error handling 1, 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":"gymnasium/envs/tabular/cliffwalking.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"676742f4999a68e8751409230e0bdd5f16eb49d13e191b0ef8975dcaa398c6ce"}},{"ruleId":"D2","level":"warning","message":{"text":"env_checker.check_reset_seed_determinism (cognitive 18): env_checker.check_reset_seed_determinism has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cebd1dffc11d2e03c3e721b70969e7c9cffb828773139a81b6de7a1b5925258"}},{"ruleId":"D2","level":"warning","message":{"text":"passive_env_checker.check_obs (cognitive 18): passive_env_checker.check_obs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), error handling 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":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f62793d3c312c1c9c6cf3b8b60f619c2fad88f085d09d6fd7d382ed202a139d"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorEnv._add_info (cognitive 18): VectorEnv._add_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, 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":"gymnasium/vector/vector_env.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac14c626cee89bc575474e474f104d2c4bd07108042a32d4cc89f88d2f80e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeAwareObservation.__init__ (cognitive 18): TimeAwareObservation.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/stateful_observation.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a2ca610fba843e2b281607f3e3a6fe579d13752e1aa4d0934387bd151c199c"}},{"ruleId":"D2","level":"warning","message":{"text":"TaxiEnv._render_gui (cognitive 17): TaxiEnv._render_gui has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), error handling 1, 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":"gymnasium/envs/toy_text/taxi.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa8554d099d5f45ff7e422b3f795fb57e4b90c96fb64f07f27f979b25ded907"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.seed (cognitive 17): Graph.seed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (17 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/graph.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6474f61edbf841ce72ebb8fe9ab53c27e8c30e00c67498a3d05fdc1d68e3e2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AtariPreprocessing.step (cognitive 17): AtariPreprocessing.step has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, 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":"gymnasium/wrappers/atari_preprocessing.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"976ec870021e4141b48206052d9230b19a1d336dbff21f2cb216e8d72825b3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"BipedalWalkerHeuristics.step_heuristic (cognitive 16): BipedalWalkerHeuristics.step_heuristic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 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":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de856dc75eb3280978e306810c5a5e7393abfc9a8867c589a76fbed4688f7e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.sample (cognitive 16): Text.sample has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/text.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2053074e303957aa5d0e98b53f72a628a2aa47e11bcae6cd0347a5bb1edaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"passive_env_checker.env_render_passive_checker (cognitive 16): passive_env_checker.env_render_passive_checker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5cdf0d9c01a5d3519fda78c08fd9005be4dc6eb125e3da13df5ed4d3ca10e3"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.rescale_box (cognitive 16): utils.rescale_box has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, error handling 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":"gymnasium/wrappers/utils.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5352bc9879d7a87a30c59483f0df5c682fcb1bdc2c1a47d2edb03d4bfd247ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"HumanRendering._render_frame (cognitive 16): HumanRendering._render_frame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/rendering.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf30495080e21ad7b0fe2ac82af122524457e0c772555ae9445ab80d419d83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: box2d/bipedal_walker.py: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fb81a5080e9f4df70005819e18154256a1cab41329b1cde28996e5610a2a96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: envs/registration.py: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/registration.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ec8e385668ef49ec8fca302e1792e36ffdff821cc6590279787a7b7369c79d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mujoco/mujoco_rendering.py: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_rendering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69897a5033678fc51fd7e6f5c690f2de80fa35d6180bd088bba30e98b085e8bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: box2d/car_racing.py: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1255a5382de8dccfa03f8afa8ecb194b24a81c516ed08335e97eb865f7c30090"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vector/async_vector_env.py: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e54138f0ac1be027d246348f6dd65e0df781126be2cec514c4e1466721b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): gymnasium/envs/classic_control/acrobot.py:296-378 | gymnasium/envs/classic_control/cartpole.py:252-346 | gymnasium/envs/classic_control/continuous_mountain_car.py:201-301 | gymnasium/envs/classic_control/mountain_car.py:177-277 \u2014 These 4 members are variants of one another: a block of 30 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/acrobot.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9617348fb2cf0d33e9355fa87bfd340c3f68809625ae9d2bb22087ee90a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): gymnasium/envs/classic_control/cartpole.py:252-346 | gymnasium/envs/classic_control/continuous_mountain_car.py:201-301 | gymnasium/envs/classic_control/mountain_car.py:177-277 | gymnasium/envs/classic_control/pendulum.py:174-270 \u2014 These 4 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c04be281fd9af70490907122582b4f656722aab5aba1c1a6066aacb1e3a3c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): gymnasium/envs/mujoco/hopper_v4.py:161-174 | gymnasium/envs/mujoco/hopper_v5.py:325-338 | gymnasium/envs/mujoco/humanoid_v4.py:171-183 | gymnasium/envs/mujoco/humanoid_v5.py:522-534 | gymnasium/envs/mujoco/humanoidstandup_v5.py:466-478 | gymnasium/envs/mujoco/swimmer_v4.py:105-118 | gymnasium/envs/mujoco/swimmer_v5.py:274-287 | gymnasium/envs/mujoco/walker2d_v4.py:153-166 | gymnasium/envs/mujoco/walker2d_v5.py:324-337 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da66c3399d64955ffef81d2f9ba0ae4a3e16f91033e22a1b48866827b5e789a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): gymnasium/envs/mujoco/ant_v4.py:181-195 | gymnasium/envs/mujoco/ant_v5.py:406-420 | gymnasium/envs/mujoco/half_cheetah_v4.py:112-126 | gymnasium/envs/mujoco/half_cheetah_v5.py:265-279 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52f8c6420f50d868b6621f271919dad6c1fc35b3e23a41222b1a768a6b36ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): gymnasium/envs/classic_control/cartpole.py:518-608 | gymnasium/envs/phys2d/cartpole.py:159-227 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae0996bac69ed748017416b425d02270b1fe12067d4d796ecd56fb9206bc33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): gymnasium/spaces/box.py:239-303 | gymnasium/spaces/box.py:308-372 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9da5ea73604cbf1c08821726655fc1a6e3293ba20930b2a4e05e32aa9ff04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): gymnasium/envs/classic_control/cartpole.py:167-228 | gymnasium/envs/classic_control/cartpole.py:434-495 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1d5579cd5b5929678ca59163fa06edc40bbdbab3bd56c299a65902bf15fa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): gymnasium/wrappers/transform_action.py:266-315 | gymnasium/wrappers/transform_observation.py:828-873 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_action.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a21df0384f2468427cccbf444441e8d51d75024c3b15059d8d7fb9522fe57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): gymnasium/envs/mujoco/humanoid_v5.py:329-413 | gymnasium/envs/mujoco/humanoidstandup_v5.py:304-387 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v5.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"047cebc03a1f373a7f8870fd26895e083829a13d74f4803286b290d3d4b2dfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): gymnasium/spaces/oneof.py:68-109 | gymnasium/spaces/tuple.py:57-95 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/oneof.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d39302b4f61ebbcb7866503668a985997265f3e670a132b8e5ca5cab01ca19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): gymnasium/vector/utils/space_utils.py:190-208 | gymnasium/vector/utils/space_utils.py:229-247 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/utils/space_utils.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4b85b02017019f7419bfd27d134aa717a2480e577e6078ef50b76d12f957b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): gymnasium/envs/classic_control/continuous_mountain_car.py:118-149 | gymnasium/envs/classic_control/mountain_car.py:110-131 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f0aa58bb70eb19d9c8291fe37ed66c91f61868b824db5a3479c63012ee03dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): gymnasium/envs/mujoco/half_cheetah_v4.py:35-70 | gymnasium/envs/mujoco/swimmer_v4.py:31-58 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fbc3dcd75080f338a3d1f1d5b5095422d84aa7f7d3b1730f0f0c28ceaffe40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): gymnasium/spaces/utils.py:418-433 | gymnasium/spaces/utils.py:438-454 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/utils.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d8c0c96a91454152c9fef5b874771f315cdb743c1609cb213a4d73bffa34ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): gymnasium/wrappers/rendering.py:495-518 | gymnasium/wrappers/vector/rendering.py:51-76 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a682e4f51d776510b76220c4752bbb69ee1ac9d23d31d6976e29870642800f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): gymnasium/envs/mujoco/ant_v5.py:348-370 | gymnasium/envs/mujoco/swimmer_v4.py:65-92 | gymnasium/envs/mujoco/swimmer_v5.py:227-248 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94b53563a7041c96c6693b2b393fd5e461ea26aab94f6e9d70d3e505df77a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): gymnasium/envs/mujoco/humanoid_v4.py:136-168 | gymnasium/envs/mujoco/humanoid_v5.py:475-499 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v4.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5dde56f09826a419d369d9ad1159b11d4c742e31c2f21e65850006433d625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): gymnasium/wrappers/vector/vectorize_action.py:73-97 | gymnasium/wrappers/vector/vectorize_observation.py:69-97 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/vectorize_action.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f9737c20ca4aa2b1a59c052396f9cd9738d2e47a5824e92182794668a2dc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): gymnasium/envs/mujoco/pusher_v4.py:45-65 | gymnasium/envs/mujoco/reacher_v4.py:37-56 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/pusher_v4.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"297be6fafc989c53c04080642a18f0a64e9c18661c0b1ad219784f33fc4fd0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): gymnasium/wrappers/rendering.py:348-362 | gymnasium/wrappers/vector/rendering.py:432-451 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cede318c3937239209cecd52f880feb8afbc9f4573e1e7ec6cf6f208998042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): gymnasium/spaces/utils.py:612-619 | gymnasium/spaces/utils.py:624-634 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/utils.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40c9269a8f101fba5436770581f7e2679724b7d32593ad5235bf9d0c34906c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): gymnasium/envs/functional_jax_env.py:60-71 | gymnasium/envs/functional_jax_env.py:169-184 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/functional_jax_env.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c93aef911d5300e572e41f5fb2a692f69e2d1380b92b61e01697eb5e2f073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gymnasium/envs/mujoco/half_cheetah_v4.py:77-99 | gymnasium/envs/mujoco/half_cheetah_v5.py:228-240 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"443965ff5f9b19b256396aac1df9d3dec73642cfe470f896d846dab154c011e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): gymnasium/envs/mujoco/inverted_double_pendulum_v5.py:156-180 | gymnasium/envs/mujoco/inverted_pendulum_v5.py:130-157 | gymnasium/envs/mujoco/pusher_v5.py:180-213 | gymnasium/envs/mujoco/reacher_v5.py:159-191 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_double_pendulum_v5.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31bc993d81187575371b0e137c2edc8817fcc5b619dd8b386357dc4211ddc9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): gymnasium/envs/classic_control/acrobot.py:200-214 | gymnasium/envs/classic_control/cartpole.py:236-249 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/acrobot.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7500bc57bb584c229324afa99007d19a0316359000f0d79e8988ffef1f6dc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): gymnasium/wrappers/rendering.py:697-725 | gymnasium/wrappers/stateful_reward.py:83-115 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e61d4ce5dcb5adaf992c13a74ed9e416ed26790dcfff6d6198a4e29a5b4d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): gymnasium/envs/mujoco/ant_v4.py:168-178 | gymnasium/envs/mujoco/ant_v5.py:393-403 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2911d36411544c59257084f256be3a9c795ac9c4f71e843b5ed62eeb54840032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): gymnasium/wrappers/stateful_action.py:177-195 | gymnasium/wrappers/stateful_observation.py:67-86 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/stateful_action.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"843ae89bfb724b7c9d944c0a101dc482ecd61879f05fe27ce13eda2ddcd5825a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): gymnasium/envs/mujoco/inverted_pendulum_v4.py:39-46 | gymnasium/envs/mujoco/inverted_pendulum_v5.py:160-175 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v4.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa4328f5858f8370c0c9384ea56ee4f8949662a824849bcad1c49b0769c672"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): gymnasium/wrappers/common.py:156-172 | gymnasium/wrappers/common.py:370-386 | gymnasium/wrappers/common.py:481-497 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/common.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3deb36a6c5b077bb50d50343f1b2dc8f9b5c3952c3a8d4f35a058ba90928c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): gymnasium/envs/tabular/blackjack.py:77-97 | gymnasium/envs/tabular/blackjack.py:111-137 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/tabular/blackjack.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3642e2411f11f7546f762adc1506e5a390715036f4c5e85946eb4aeaeb02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): gymnasium/envs/mujoco/inverted_pendulum_v4.py:49-56 | gymnasium/envs/mujoco/inverted_pendulum_v5.py:178-188 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v4.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43d08a53fff518be708ff4f87944106e43b2aa32a226dd7fc70e03ab7ec8385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): gymnasium/envs/phys2d/cartpole.py:306-325 | gymnasium/envs/phys2d/pendulum.py:276-295 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/cartpole.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc8fe4a855773647f248935fbe6bd282bf9f80834c853c2ff7766d3a21e790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): gymnasium/envs/mujoco/inverted_pendulum_v4.py:27-36 | gymnasium/envs/mujoco/pusher_v4.py:28-42 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v4.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"546b32f9617750da2b651754cbbc37d68df43411f89dc799def9b0b026f4d41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): gymnasium/vector/async_vector_env.py:487-509 | gymnasium/vector/async_vector_env.py:596-616 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5368399c1af0d436672ff93ba396ba3b5d9cec97ed0bd206219c14f0cb8f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): gymnasium/vector/utils/space_utils.py:81-83 | gymnasium/vector/utils/space_utils.py:98-106 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/utils/space_utils.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4741a598ae8fd3a953011ffdfcf537c96123dd5c5501b29c77c8900948a5f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): gymnasium/envs/mujoco/humanoidstandup_v4.py:82-92 | gymnasium/envs/mujoco/inverted_double_pendulum_v5.py:225-236 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoidstandup_v4.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c5e968ae6774d9f058d8707f4d6488f12f91f912ab031438f244532dc8aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gymnasium/envs/mujoco/inverted_double_pendulum_v5.py:183-195 | gymnasium/envs/mujoco/reacher_v5.py:194-207 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_double_pendulum_v5.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae75a1378034246fc0070542ad4f257e08135cc03272037292c4676240112fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gymnasium/envs/phys2d/cartpole.py:235-247 | gymnasium/envs/phys2d/pendulum.py:206-218 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/cartpole.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cc41aa6579248f95f91491d4950087e6894a24944ccedb447c2aac779509be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): gymnasium/envs/mujoco/half_cheetah_v4.py:102-109 | gymnasium/envs/mujoco/half_cheetah_v5.py:255-262 | gymnasium/envs/mujoco/swimmer_v4.py:95-102 | gymnasium/envs/mujoco/swimmer_v5.py:264-271 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"17038525aa675083b6f7c124be7af64456a0ef7e7018c941235195a451691058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): gymnasium/envs/mujoco/ant_v5.py:373-390 | gymnasium/envs/mujoco/humanoid_v5.py:502-519 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d2267bd991eb1e8a4be2b28f89aed36ef345233e806330e762eeb19a5eca37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): gymnasium/wrappers/array_conversion.py:254-270 | gymnasium/wrappers/vector/array_conversion.py:96-114 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7c04c93cda4bf296f9d9df2758526e9d8896d81f5c7098d02c7735bfbd97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): gymnasium/envs/mujoco/humanoid_v4.py:16-19 | gymnasium/envs/mujoco/humanoid_v5.py:18-21 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v4.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34330f64ab28b0132e32fb9a5d644d1998fb1c7a9fb6a16f4ff9e95ce2d6466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): gymnasium/envs/mujoco/ant_v4.py:117-120 | gymnasium/envs/mujoco/ant_v5.py:342-345 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b3b68af5a289e11bec8f90467bf2819e405f8f6c5e59815534897963764ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): gymnasium/core.py:570-572 | gymnasium/vector/vector_env.py:660-668 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/core.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"439acbd1e80318512b1a32c431b203cb5047909e2c26648f26cf68458622520b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gymnasium/spaces/discrete.py:244-259 | gymnasium/spaces/multi_discrete.py:324-336 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/discrete.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a7b9bf28c6648f505d4ea6c6ab22725b131cfa313577b9dac89f4925dee9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): gymnasium/wrappers/rendering.py:586-592 | gymnasium/wrappers/vector/rendering.py:206-212 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41fc021600d4e0854c8c9e9439e626e327c6b38e1b16906ea13ef4743c0b078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): gymnasium/envs/mujoco/humanoid_v5.py:371-413 | gymnasium/envs/mujoco/humanoidstandup_v5.py:345-387 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/humanoid_v5.py\u0060 and \u0060gymnasium/envs/mujoco/humanoidstandup_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v5.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"556964963ceecab95545da4228a88501bd0a615214333510b0f9938debe5adeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): gymnasium/envs/mujoco/half_cheetah_v5.py:167-208 | gymnasium/envs/mujoco/swimmer_v5.py:166-207 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/half_cheetah_v5.py:167\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":"gymnasium/envs/mujoco/half_cheetah_v5.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f1b0e02e2e851dea3ff1706b5cd305f393d1dde8ec694e94893e359848cec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): gymnasium/envs/mujoco/half_cheetah_v5.py:182-221 | gymnasium/envs/mujoco/hopper_v5.py:209-248 | gymnasium/envs/mujoco/walker2d_v5.py:213-252 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/half_cheetah_v5.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gymnasium/envs/mujoco/hopper_v5.py:251\u0060 calls \u0060healthy_reward\u0060 and \u0060gymnasium/envs/mujoco/half_cheetah_v5.py:223\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v5.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931c8876f911dd0684567bf252c858a9e840af476e5190da6e9555c28d6358d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): gymnasium/envs/classic_control/continuous_mountain_car.py:222-268 | gymnasium/envs/classic_control/mountain_car.py:198-244 \u2014 before extracting anything, compare \u0060gymnasium/envs/classic_control/continuous_mountain_car.py\u0060 and \u0060gymnasium/envs/classic_control/mountain_car.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/classic_control/continuous_mountain_car.py:222\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":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea62c26e77ee1f9521bb65502b3e4dbc82bf928655ca15a2be856ac9f0963dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): gymnasium/envs/mujoco/humanoid_v5.py:439-472 | gymnasium/envs/mujoco/humanoidstandup_v5.py:390-423 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/humanoid_v5.py\u0060 and \u0060gymnasium/envs/mujoco/humanoidstandup_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v5.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac66d7eee55e5b20dc9a5fc2cf13a33c9cab0092e8c798132d04622e9e21dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201332 lines \u00D7 3): gymnasium/envs/classic_control/continuous_mountain_car.py:263-294 | gymnasium/envs/classic_control/mountain_car.py:239-270 | gymnasium/envs/classic_control/pendulum.py:229-232 \u2014 before extracting anything, compare \u0060gymnasium/envs/classic_control/continuous_mountain_car.py\u0060 and \u0060gymnasium/envs/classic_control/mountain_car.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/classic_control/pendulum.py:229\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":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"441cfaac7dc3db6ebde84d86e77926cb580e23d6358dd4bbc3aa8c7fdf3cc858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v4.py:42-70 | gymnasium/envs/mujoco/hopper_v5.py:185-213 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/hopper_v4.py:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"707562185b17164684d60ee1019b1f16929402639f917c216b08f43ced7d04e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): gymnasium/envs/mujoco/half_cheetah_v5.py:182-209 | gymnasium/envs/mujoco/hopper_v5.py:209-236 | gymnasium/envs/mujoco/swimmer_v5.py:181-208 | gymnasium/envs/mujoco/walker2d_v5.py:213-240 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/half_cheetah_v5.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/half_cheetah_v5.py:182\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":"gymnasium/envs/mujoco/half_cheetah_v5.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2c648584bf60553abca9e2e735e862ec4072a0652e3676d15139311742816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): gymnasium/envs/mujoco/walker2d_v4.py:41-66 | gymnasium/envs/mujoco/walker2d_v5.py:192-217 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/walker2d_v4.py:41\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":"gymnasium/envs/mujoco/walker2d_v4.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"056ec419a021b00b2246935183f54a094fbb2d24c89d182cf6acafdfe53c58d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): gymnasium/wrappers/rendering.py:409-434 | gymnasium/wrappers/vector/rendering.py:520-544 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8385014ea4eb1568f8362306489afed0ef81640566c15b2c2b306e8b6107745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): gymnasium/envs/mujoco/ant_v5.py:279-303 | gymnasium/envs/mujoco/humanoid_v5.py:367-391 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/ant_v5.py:279\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":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dac17f8cc1c3e96d882199a61ba45a7c8bf00ea00cccd4cca49c20f5c817e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): gymnasium/envs/mujoco/half_cheetah_v4.py:35-59 | gymnasium/envs/mujoco/swimmer_v4.py:31-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/half_cheetah_v4.py:35\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":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e4481dc3b00247bc814fb6f57b0f45a7cfeaa2a459f6b2c4da45df7d786e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): gymnasium/envs/classic_control/cartpole.py:173-196 | gymnasium/envs/classic_control/cartpole.py:441-464 \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":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6a500b24724ef3dce6d449a36c1025639aeb88af5403e09e4eccf39c8d6984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v4.py:135-158 | gymnasium/envs/mujoco/walker2d_v4.py:127-150 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea2f3259b8f70593275046e9bf789dffadcb06da3096d4d7763ef346b2adf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): gymnasium/envs/classic_control/cartpole.py:292-336 | gymnasium/envs/classic_control/cartpole.py:558-602 \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":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"31be5e442881998f1cfde332f623c37663fd4b3b0196f7574d9628f368be371e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): gymnasium/spaces/box.py:282-303 | gymnasium/spaces/box.py:351-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f326275289dbc60ecb3b7d62e47dd7b77b0a83b7e89f6c066ef96f77f445ea90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): gymnasium/envs/classic_control/cartpole.py:258-278 | gymnasium/envs/classic_control/continuous_mountain_car.py:207-227 | gymnasium/envs/classic_control/mountain_car.py:183-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/classic_control/cartpole.py:258\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":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b541bf4bfd93bac76f0481afe09c8563af2835ff0ccf36b44625ab975377be7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): gymnasium/envs/box2d/bipedal_walker.py:622-642 | gymnasium/envs/box2d/lunar_lander.py:686-706 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8e7f5fb7de131c55b0d6557bd647b3e895b503ee9e0722b59adb78e839130c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): gymnasium/envs/mujoco/ant_v5.py:352-370 | gymnasium/envs/mujoco/humanoid_v5.py:479-499 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a629e457575c6d44e6a40efb4e1e959c2df0352da093660e9fb4c5437ae308e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): gymnasium/envs/mujoco/pusher_v4.py:68-88 | gymnasium/envs/mujoco/pusher_v5.py:246-266 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/pusher_v4.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb42cbed6cb65e30a98ad1f53137e6939b2b81e5063c0f9210d79b64ca59389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): gymnasium/envs/classic_control/acrobot.py:297-316 | gymnasium/envs/classic_control/cartpole.py:253-272 | gymnasium/envs/classic_control/continuous_mountain_car.py:202-221 | gymnasium/envs/classic_control/mountain_car.py:178-197 | gymnasium/envs/classic_control/pendulum.py:175-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/classic_control/cartpole.py:253\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":"gymnasium/envs/classic_control/acrobot.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"16361342f63a94a51bd165c061ae24af4126b887adfd24e3c4bc0ecd9dde047b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 5): gymnasium/envs/mujoco/half_cheetah_v4.py:48-67 | gymnasium/envs/mujoco/hopper_v4.py:66-85 | gymnasium/envs/mujoco/humanoid_v4.py:64-83 | gymnasium/envs/mujoco/swimmer_v4.py:43-56 | gymnasium/envs/mujoco/walker2d_v4.py:62-81 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/mujoco/half_cheetah_v4.py:48\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":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"527e6df306f6b8c415636ce08e4420bfb8c3ef1938a1408086c3c662af8a246e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): gymnasium/envs/mujoco/inverted_double_pendulum_v5.py:161-180 | gymnasium/envs/mujoco/pusher_v5.py:194-213 | gymnasium/envs/mujoco/reacher_v5.py:172-191 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gymnasium/envs/mujoco/reacher_v5.py:198\u0060 calls \u0060mj_kinematics\u0060 and \u0060gymnasium/envs/mujoco/pusher_v5.py:218\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_double_pendulum_v5.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad21afdbf85791aa09729e1cc466c3ea3d8a99495ac9bbb1fff100473466a705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v5.py:287-304 | gymnasium/envs/mujoco/walker2d_v5.py:287-304 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v5.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v5.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3985ea6ecc864d27f60522500d277d3818b56a3a344bdf61ec94ec706287389d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): gymnasium/wrappers/rendering.py:644-661 | gymnasium/wrappers/rendering.py:745-762 \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":"gymnasium/wrappers/rendering.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e385a4ee3fd50d174f383f7e841d83266d38160a29f609dee5d907031d4c8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): gymnasium/spaces/box.py:261-277 | gymnasium/spaces/box.py:330-346 \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":"gymnasium/spaces/box.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f44ac469428903e0f1af74460cb5e314275424867def48de8288eea5fac45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): gymnasium/envs/box2d/bipedal_walker.py:621-636 | gymnasium/envs/box2d/lunar_lander.py:685-700 | gymnasium/envs/classic_control/acrobot.py:296-311 | gymnasium/envs/classic_control/cartpole.py:252-267 | gymnasium/envs/classic_control/continuous_mountain_car.py:201-216 | gymnasium/envs/classic_control/mountain_car.py:177-192 | gymnasium/envs/classic_control/pendulum.py:174-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/envs/classic_control/continuous_mountain_car.py:197\u0060 calls \u0060_height\u0060, \u0060sin\u0060 and \u0060gymnasium/envs/classic_control/cartpole.py:249\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9261a23db256d8e4c4dc16fb8126e86ecf063e80584e3c3cfabf2e378489ad44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): gymnasium/vector/async_vector_env.py:386-401 | gymnasium/vector/sync_vector_env.py:225-240 | gymnasium/wrappers/vector/common.py:130-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gymnasium/wrappers/vector/common.py:147\u0060 calls \u0060perf_counter\u0060 and \u0060gymnasium/vector/sync_vector_env.py:242\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d13c799e941b7f69ae63e31c2f5a34b8c1498eda9dd0c9143c1477b3027a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): gymnasium/envs/mujoco/ant_v4.py:181-195 | gymnasium/envs/mujoco/ant_v5.py:406-420 | gymnasium/envs/mujoco/half_cheetah_v4.py:112-126 | gymnasium/envs/mujoco/half_cheetah_v5.py:265-279 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f754e5a638b57849e629a4f4e0def61470c342b426ccdb0da8e7546b35184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): gymnasium/envs/mujoco/reacher_v4.py:59-73 | gymnasium/envs/mujoco/reacher_v5.py:224-238 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/reacher_v4.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e369d7d6ccc28afa98ac46336cc575491a8bdfa74eadd5c4a0516dd08391fb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): gymnasium/wrappers/rendering.py:504-518 | gymnasium/wrappers/vector/rendering.py:62-76 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060env\u0060 to \u0060gym.Env[ObsType, ActType]\u0060 in one and \u0060VectorEnv[ObsType, ActType, ArrayType]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fabeb312ce9af43950d400f63ed18252f39845b9819619477a887520e82042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): gymnasium/wrappers/rendering.py:544-557 | gymnasium/wrappers/vector/rendering.py:103-117 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/wrappers/rendering.py:539\u0060 calls \u0060render\u0060 and \u0060gymnasium/wrappers/vector/rendering.py:100\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"494282b2a6e39df7f512b8b5865a20b5457a84fef779e8e91f9afd773f6934ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 9): gymnasium/envs/mujoco/hopper_v4.py:161-174 | gymnasium/envs/mujoco/hopper_v5.py:325-338 | gymnasium/envs/mujoco/humanoid_v4.py:171-183 | gymnasium/envs/mujoco/humanoid_v5.py:522-534 | gymnasium/envs/mujoco/humanoidstandup_v5.py:466-478 | gymnasium/envs/mujoco/swimmer_v4.py:105-118 | gymnasium/envs/mujoco/swimmer_v5.py:274-287 | gymnasium/envs/mujoco/walker2d_v4.py:153-166 | gymnasium/envs/mujoco/walker2d_v5.py:324-337 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ebd92cc0a31ab6aaad2e360194b5094e2eb3c244e72489193245333a7300d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v4.py:103-116 | gymnasium/envs/mujoco/hopper_v5.py:260-273 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"501fc456b176d38b90df17560fa1d6b77754a6e81681159b5fb85cac494f1d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/envs/box2d/bipedal_walker.py:311-322 | gymnasium/envs/box2d/bipedal_walker.py:338-349 \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 \u0060gymnasium/envs/box2d/bipedal_walker.py:311\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":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7406ec83b7d9249df88d749c33a442a01906c5756afccfe0fbc68eab5f0a9790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): gymnasium/envs/mujoco/humanoidstandup_v4.py:29-40 | gymnasium/envs/mujoco/inverted_double_pendulum_v4.py:28-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoidstandup_v4.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47cd3fb32179516d0e09e1e187ceaedee418226d83ae0e5e60074ce92a43374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/vector/async_vector_env.py:230-241 | gymnasium/vector/sync_vector_env.py:125-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b4c5c3c29907688679e89cf0849e23a4cb8c0ad5a7a33092cd257c6da984c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/vector/async_vector_env.py:440-451 | gymnasium/vector/async_vector_env.py:637-648 \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 \u0060gymnasium/vector/async_vector_env.py:440\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":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7d5072c3eaa222ad8333ed62c85860b60be8d0e7b02d00e08a19d9f5b7c2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/wrappers/rendering.py:572-583 | gymnasium/wrappers/vector/rendering.py:192-203 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a2e2d59b9814e893746921f5ea43409b9b9caa02382ba15d2d24cec0af4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/wrappers/transform_action.py:280-291 | gymnasium/wrappers/transform_observation.py:842-853 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_action.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5d765b9867181cceac017bcd97de1500b3230f3f60083494ae6659d08fca57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): gymnasium/envs/mujoco/inverted_pendulum_v4.py:27-36 | gymnasium/envs/mujoco/pusher_v4.py:32-42 | gymnasium/envs/mujoco/reacher_v4.py:25-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/envs/mujoco/pusher_v4.py:29\u0060 calls \u0060ImportError\u0060 and \u0060gymnasium/envs/mujoco/inverted_pendulum_v4.py:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v4.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6144aa5b2ff4ab46fe784f53043fc9a980642678f4ed20ee1bc9cb431fdcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): gymnasium/envs/box2d/car_dynamics.py:299-307 | gymnasium/envs/box2d/car_dynamics.py:334-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":"gymnasium/envs/box2d/car_dynamics.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afc1d641fcc0e70d97476b12a57df2d230e54289b8788756e35b10dbc7b4721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): gymnasium/envs/classic_control/cartpole.py:304-315 | gymnasium/envs/classic_control/cartpole.py:570-581 | gymnasium/envs/phys2d/cartpole.py:190-201 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5549cc565a4e665f16016df04f9e30a39c4e19cc6b2bbfb3229e328b67af93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gymnasium/envs/toy_text/cliffwalking.py:205-214 | gymnasium/envs/toy_text/frozen_lake.py:326-335 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/toy_text/cliffwalking.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aa7969f4ef8fecdc41aa05dee55b3ba4fc791ec7a1a7f0883049a0d16d5157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): gymnasium/spaces/oneof.py:135-144 | gymnasium/spaces/oneof.py:146-154 \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 \u0060gymnasium/spaces/oneof.py:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/spaces/oneof.py:144\u0060 calls \u0060sample\u0060 and \u0060gymnasium/spaces/oneof.py:135\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/oneof.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bd5387d86230974bdfe70849b83ff448ef69ef4524d5727e396a44b03cac73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gymnasium/wrappers/rendering.py:296-305 | gymnasium/wrappers/vector/rendering.py:350-359 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"982dadb7f589943d612d2c65ae913a60af16dc5c2d0a6fcfa11720724410c796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): gymnasium/wrappers/rendering.py:371-379 | gymnasium/wrappers/vector/rendering.py:481-490 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8da4deae8764661f44a7dddd52a8e5461ac5fbd99f973eaa702599576c640c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): gymnasium/envs/classic_control/acrobot.py:370-378 | gymnasium/envs/classic_control/cartpole.py:338-346 | gymnasium/envs/classic_control/continuous_mountain_car.py:293-301 | gymnasium/envs/classic_control/mountain_car.py:269-277 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/envs/classic_control/cartpole.py:334\u0060 calls \u0060hline\u0060 and \u0060gymnasium/envs/classic_control/continuous_mountain_car.py:289\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/acrobot.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934a3d49e3ffaf3a6338d249c5c6bb91b569f4d3f93e04947575293248eb244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gymnasium/envs/classic_control/cartpole.py:126-134 | gymnasium/envs/classic_control/cartpole.py:379-387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gymnasium/envs/classic_control/cartpole.py:391\u0060 calls \u0060zeros\u0060 and \u0060gymnasium/envs/classic_control/cartpole.py:137\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"449b7a7e285a22e6870e4757082e4e322d6d1e4e74b4aaceb53bb21c7ecd93ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gymnasium/envs/classic_control/continuous_mountain_car.py:187-195 | gymnasium/envs/classic_control/mountain_car.py:163-171 \u2014 before extracting anything, compare \u0060gymnasium/envs/classic_control/continuous_mountain_car.py\u0060 and \u0060gymnasium/envs/classic_control/mountain_car.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b732dd1a8f7951515e861937851603d16f0fda4d8b192622cd858d750bb3ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gymnasium/envs/functional_jax_env.py:49-57 | gymnasium/envs/functional_jax_env.py:156-164 \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":"gymnasium/envs/functional_jax_env.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea64352cb462f307c7aac7deb28d90c92b71a168b1cc9de3e399cefe9d054e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): gymnasium/envs/mujoco/half_cheetah_v4.py:77-84 | gymnasium/envs/mujoco/hopper_v4.py:134-141 | gymnasium/envs/mujoco/walker2d_v4.py:126-133 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adbe20ac019cde4037a555be0fc5b48e71c2b91fae80e8008aa9f776038f600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v4.py:124-131 | gymnasium/envs/mujoco/walker2d_v4.py:116-123 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f866a7df603ee377e2f49bce2254bd3f2e83f794a7ab9a644e192d229cba0d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v5.py:276-283 | gymnasium/envs/mujoco/walker2d_v5.py:276-283 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v5.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v5.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5249e64fd10b70b4deb29585b03cd1dd079447e745ad3c768cd6ca72e3721b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/vector/async_vector_env.py:369-376 | gymnasium/vector/sync_vector_env.py:214-221 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ba953a811a43b22e8747c93a321baf134a5443e431876b7588682c1fbccf49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/wrappers/transform_action.py:294-301 | gymnasium/wrappers/transform_observation.py:856-863 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_action.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9981272a1647488bb9882ab1c10313a8aecd4e7a7b0e7e58daea12c013d6e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/wrappers/vector/dict_info_to_list.py:123-130 | gymnasium/wrappers/vector/dict_info_to_list.py:142-149 \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":"gymnasium/wrappers/vector/dict_info_to_list.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61de000445fd973116037226f3d6ee99ed99b30cb2deacf5ccfaa69a00eb55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): gymnasium/envs/mujoco/half_cheetah_v5.py:228-234 | gymnasium/envs/mujoco/hopper_v5.py:286-292 | gymnasium/envs/mujoco/walker2d_v5.py:286-292 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/half_cheetah_v5.py\u0060 and \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v5.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"970e9972bdb50f0f16064af4e3a8020526c80e30984ea9a7dc896e16aad3bec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): gymnasium/envs/box2d/bipedal_walker.py:761-766 | gymnasium/envs/box2d/lunar_lander.py:791-797 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gymnasium/envs/box2d/bipedal_walker.py:761\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":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c6b52da42b4175e61f532c479b499d51c99ecebc89b15734d8874d5f07db43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gymnasium/envs/box2d/car_racing.py:295-301 | gymnasium/envs/box2d/car_racing.py:315-321 \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":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9902e6bc905339ffb4488cf97f0299e6fd277e6abdb9288727f877b6ff197a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gymnasium/envs/classic_control/pendulum.py:205-214 | gymnasium/envs/phys2d/pendulum.py:144-153 \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":"gymnasium/envs/classic_control/pendulum.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab4dba8eaa4b7019b19e489d7ca7454f151753726148b3dc502a5b2d648696c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gymnasium/envs/box2d/car_racing.py:488-493 | gymnasium/envs/box2d/car_racing.py:495-501 \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 \u0060gymnasium/envs/box2d/car_racing.py:488\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":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"db36571f264df4af88d581f8ca0f12de1b592f8527adbf4010b427efc7463544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gymnasium/envs/mujoco/swimmer_v4.py:65-70 | gymnasium/envs/mujoco/swimmer_v5.py:227-232 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/swimmer_v4.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b3bd065edefa6634a13790b71e25ad414fcb44d7fa1977a59012024f1fd1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gymnasium/envs/tabular/cliffwalking.py:250-255 | gymnasium/envs/toy_text/cliffwalking.py:259-264 \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":"gymnasium/envs/tabular/cliffwalking.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77d96cf7a08f63d2d49871c9d3a6d8e692a1f7d43b49b8e62861216070ce6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): gymnasium/envs/classic_control/cartpole.py:336-341 | gymnasium/envs/classic_control/continuous_mountain_car.py:291-296 | gymnasium/envs/classic_control/mountain_car.py:267-272 | gymnasium/envs/classic_control/pendulum.py:260-265 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gymnasium/envs/classic_control/cartpole.py:334\u0060 calls \u0060hline\u0060 and \u0060gymnasium/envs/classic_control/continuous_mountain_car.py:289\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"adef77a0d5fcefd60384791884ddf67f7fe15b8ce1370d721443dc4c83d75c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gymnasium/envs/box2d/bipedal_walker.py:539-546 | gymnasium/envs/box2d/bipedal_walker.py:547-554 \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":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2345640d1fa97ceac4a88bc3f1c8da435a97dee6a4703ec67041efed94f6c460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): gymnasium/envs/classic_control/cartpole.py:293-297 | gymnasium/envs/classic_control/cartpole.py:559-563 | gymnasium/envs/phys2d/cartpole.py:181-184 \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. 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":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"baecbdea04156d071bdf4136467384a14b3f655c37104bd2e35c03901faa3f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): gymnasium/envs/mujoco/hopper_v5.py:307-322 | gymnasium/envs/mujoco/walker2d_v5.py:307-321 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/hopper_v5.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v5.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v5.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"db37bd97eb132642d3ea1b33aa02e8d8b50da86ab3a87095f19aef501414a7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gymnasium/envs/mujoco/walker2d_v4.py:99-108 | gymnasium/envs/mujoco/walker2d_v5.py:264-273 \u2014 before extracting anything, compare \u0060gymnasium/envs/mujoco/walker2d_v4.py\u0060 and \u0060gymnasium/envs/mujoco/walker2d_v5.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/walker2d_v4.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5536e00a8ff4c9f8e89167bf8f071778b3670532744011a9a24153b437f746c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gymnasium/envs/toy_text/cliffwalking.py:217-223 | gymnasium/envs/toy_text/frozen_lake.py:343-349 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/toy_text/cliffwalking.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feddf1c4d18393a21a392ec34d08a6f358646958e28f40f74ba8c35622e187f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): gymnasium/envs/toy_text/cliffwalking.py:226-238 | gymnasium/envs/toy_text/frozen_lake.py:352-364 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/toy_text/cliffwalking.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b729c5a20c2ef7129da944b7c258eea5c8c0161f777d1adfd02983b70537ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): gymnasium/vector/utils/shared_memory.py:50-72 | gymnasium/vector/utils/shared_memory.py:148-174 | gymnasium/vector/utils/shared_memory.py:260-279 | gymnasium/vector/utils/space_utils.py:308-338 | gymnasium/wrappers/utils.py:76-94 \u2014 there are 5 copies across 3 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 \u0060gymnasium/vector/utils/shared_memory.py:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060space\u0060 to \u0060Space[Any]\u0060 in one and \u0060Space\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gymnasium/vector/utils/space_utils.py:342\u0060 calls \u0060_iterate_discrete\u0060, \u0060TypeError\u0060 and \u0060gymnasium/vector/utils/shared_memory.py:76\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/utils/shared_memory.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6ea77bcd6057ae79c2f5d3ac74dc16d7b3a235b9f9d125014960f27614095d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): gymnasium/wrappers/array_conversion.py:277-288 | gymnasium/wrappers/vector/array_conversion.py:117-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"319312c0c9bb1dcae832d4716c5121a3511273eb3716c211e15c1c6c4a85dd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gymnasium/wrappers/array_conversion.py:291-296 | gymnasium/wrappers/vector/array_conversion.py:131-136 \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":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eedae5a691ca5a492971b5aafb31b458197e63e2c1ef1616e8618f41c22d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): gymnasium/wrappers/rendering.py:382-392 | gymnasium/wrappers/vector/rendering.py:493-503 \u2014 before extracting anything, compare \u0060gymnasium/wrappers/rendering.py\u0060 and \u0060gymnasium/wrappers/vector/rendering.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e540a49764e05a603c9d48f21620032de666be1d502302e040d3142147f16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): gymnasium/envs/phys2d/pendulum.py:251-261 | gymnasium/envs/tabular/blackjack.py:446-455 | gymnasium/envs/tabular/cliffwalking.py:349-358 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/pendulum.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb19cd00a4a491a525f902e07f90c263216f6e8ed4f5c6bf8c185dbbc5c74dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gymnasium/wrappers/jax_to_torch.py:82-93 | gymnasium/wrappers/numpy_to_torch.py:68-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/jax_to_torch.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65b0e4ca18174bac6b02f832892cbcc3de4fe2b2fcbb8eb6be9a0c36574d562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): gymnasium/wrappers/transform_action.py:57-72 | gymnasium/wrappers/transform_observation.py:78-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_action.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f543f30f6c3a7ec61e563546d397493a41862402105bd1b49acbff72cfcdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gymnasium/wrappers/vector/jax_to_torch.py:39-47 | gymnasium/wrappers/vector/numpy_to_torch.py:48-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: \u0060Device\u0060 names \u0060gymnasium.wrappers.jax_to_torch\u0060 in one and \u0060gymnasium.wrappers.numpy_to_torch\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/jax_to_torch.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c7d664ed2a46d473c81c93cfd75ba7e4114c6a1434e3bb5cf7e1c365f0d31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Env (LCOM4 4): Env\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/core.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d34c50c2ff6ee916a962b0a741951c71a581c93952c7fe092769d4923f0da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/box2d/__init__.py: 25.0% line coverage (1/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a61e1efd2cea597aef11735698cb6ec90bcc0b5e1200f27159785b38b0d9f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/box2d/bipedal_walker.py: 2.8% line coverage (12/422)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1ede070f34b3bfe7b60582924e7a70e2ebb288a350f4a9673bfc81c21f4319"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/box2d/car_dynamics.py: 0.0% line coverage (0/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_dynamics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3056b56d40054d44cb6ca249a43fae0084a244bbe56f2b9dc010b4a957b11d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/box2d/car_racing.py: 0.0% line coverage (0/464)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_racing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9714e71d5a93782a59e32a18ae84ecbc49222f063b4c940bcb6297d669f2de4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/box2d/lunar_lander.py: 0.0% line coverage (0/329)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/lunar_lander.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2208b4a449c526fadf78cdd1f7b1613e432ea0723077c8b9faceea3620c43f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/classic_control/cartpole.py: 46.4% line coverage (123/265)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/cartpole.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bac77166599484050b06a2fcd77c4adfff9369fe6f2eb2040643f44b7baf6b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/functional_jax_env.py: 0.0% line coverage (0/127)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/functional_jax_env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2db8363c4cfe74ec0b78fb6088020d6cd51e793a0114779bf8a3cefccf1499c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/__init__.py: 33.3% line coverage (1/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489c83f3a027fc9742cb98a3a92347769abf19b9ac6e7c01dec92ac148a3f4c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/ant_v4.py: 0.0% line coverage (0/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb505ee632d274997ec7379355e8560d93915e7ad95e53c4b1ba6efec0f0a288"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/ant_v5.py: 0.0% line coverage (0/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad2e240a6de02ae57151496816eea10bdae9a54facaf9ad12e32eb3cc5e7be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/half_cheetah_v4.py: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f1e2df3d1cf82566f47780f9019a0d16d39a33b9cfe9c3755c2fc8c3516c80"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/half_cheetah_v5.py: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/half_cheetah_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5104ad25910f92f804884340ba56380cb31c7f4af595eac535fd090eca0bae49"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/hopper_v4.py: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd2d708ce3559ffdab09294ff3245b6e19050dc02e3b2d7d9948a607fc9474"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/hopper_v5.py: 0.0% line coverage (0/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/hopper_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa44deec0f6023711a4ac4427ad7d14a444d2b1b34fbc5b01a6485e71ae3f2c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/humanoid_v4.py: 0.0% line coverage (0/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa3a927d71bf7eb47285ead061d8b34637248ee3e506940c1506c93aed71760"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/humanoid_v5.py: 0.0% line coverage (0/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6093fc98dbe2f7349db89735ac3adea7385e62dc5cc2add85c513295bb5191"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/humanoidstandup_v4.py: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoidstandup_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9770db65e0580d46dcad6452e2a70cd437d7023f37d02872c8b9fd66b1353504"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/humanoidstandup_v5.py: 0.0% line coverage (0/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoidstandup_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b153a75501e295c3a6eff84b94a0f0ec3e6616ec8ed2e25c2c63365b1bf782fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/inverted_double_pendulum_v4.py: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_double_pendulum_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100aa67405d9d9e7080cc5c09d7bee1cc8260e5879627d3bd0175422ce787620"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/inverted_double_pendulum_v5.py: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_double_pendulum_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6271510e61850490b5344f589293ab0fd5b7b9505eaf05068ea1797ca746fce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/inverted_pendulum_v4.py: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d4c80a960598ae82788afab84e6db29c1d06171e2f2a24520458d4ed855ea1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/inverted_pendulum_v5.py: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/inverted_pendulum_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1575d2bd6caa46a10cbbfb9a0ae3dd1418a7a8d72226bc25d517582dbe615ec2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/mujoco_env.py: 11.0% line coverage (10/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445cfdb53e2a18502d66471c5dcdabdf0905e13a1630845cba22056a4bb2f0cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/mujoco_rendering.py: 0.0% line coverage (0/417)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_rendering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0349909ca91a7465a881488d15b7b91e4df4d5d104c7a998b3a1641293451cc7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/pusher_v4.py: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/pusher_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed9815ee5dd77012a9c7fa8c64e4fa56f5c6f29bf4d324d226451aa9e58131c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/pusher_v5.py: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/pusher_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfacc8a2d929ed1e577d9e7ef3d2b598254a2f91365f47cc15a88b55d3b43b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/reacher_v4.py: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/reacher_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e47db76b721b62457aec7f9fbf3b9414eee3ccfdc98e0d7ba6f3552eb88943"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/reacher_v5.py: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/reacher_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf719e98b8cb54d9be2f518c6fc338f61b173aa5d3ceae944535f3b6f8b1ad6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/swimmer_v4.py: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/swimmer_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94776de252568230828a4662351ee3493f57547ab1ae28d4065b793889faac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/swimmer_v5.py: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/swimmer_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb3ad8e2339bc154c7bc178976c8be969d51b6b841a0c5f2a631c1ffa6d7621"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/utils.py: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac79a2d80919101e3aaba87965ea1fbe32bcf815400f074c7240bc7af4fafac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/walker2d_v4.py: 0.0% line coverage (0/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/walker2d_v4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7afa9781377a42ebd2c1bd9045f501760186460c05e0ca702561d72cc6d0858"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/mujoco/walker2d_v5.py: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/walker2d_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b658509f1af90ebe7fb583c2aac49788855e748802983fbd667aaea375b236"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/phys2d/cartpole.py: 3.0% line coverage (4/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/cartpole.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4659a3b8d9922cf93c014905fb91bbc12d0477774bc99fc9e2bc776403f9b72"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/phys2d/pendulum.py: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/pendulum.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde83d89c83c05fe0c2744f0183fa43c8af01f1d9bb04bf33a865bc1c52ad3dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/tabular/blackjack.py: 2.4% line coverage (4/170)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/tabular/blackjack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425e0b1c931e0d96ea0650a30e4afbdae4cf0f6a6b04261fe52e0accaceb603"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/envs/tabular/cliffwalking.py: 0.0% line coverage (0/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/tabular/cliffwalking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"547db1e770a8506d4a3ec4003bc4daad820bf8c6be0f4ca46134eed35e47a629"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/utils/env_match.py: 48.3% line coverage (28/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_match.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b219240e73fc5670df4b6a98b824d36b61d4b510c1e38ff8eac4294238319"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/utils/play.py: 0.0% line coverage (0/194)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/play.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298fb7fe6d57f840c8a01939bb62b9b25a3d9491f03077b14a596d5f24dd9aea"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/utils/save_video.py: 34.4% line coverage (11/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/save_video.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cca8f9314b6430e9de95aa49e8e1f75ba1f1f1e3b59deb6e49186871e7b0af8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/array_conversion.py: 17.5% line coverage (17/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d449270b32c9dc28afc464cd7e3d8de5566b289837430ad2122ff7839fcd87"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/atari_preprocessing.py: 16.5% line coverage (16/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/atari_preprocessing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e67ddd52c425d2dd08eb7832a712a12d347886ed3cc89289e4280920e663f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/jax_to_numpy.py: 38.1% line coverage (8/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/jax_to_numpy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca031f58f79777b286a2ec86163c0f5928657b224b7fa74d765364140f0023d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/jax_to_torch.py: 26.1% line coverage (6/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/jax_to_torch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedbb6cbc58da2393051410fbc26b4c72e25ed0b124b2f33cf035a5faf3a933c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/numpy_to_torch.py: 35.0% line coverage (7/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/numpy_to_torch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d7db1b7a1adcc451a99005ac080b77da5703c81b76d3cf3afd3c4a856545a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/rendering.py: 46.3% line coverage (120/259)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5788e5cc2a463040e3308298cfb2ffbbf4c86165a07550d64a7aaec2e3bc8022"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/vector/array_conversion.py: 21.6% line coverage (8/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/array_conversion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d2d379d53da4010859db2dc731dd474e761bf230f0baa6672d714254280173"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/vector/jax_to_numpy.py: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/jax_to_numpy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50da91933327f0bbb07df00589f7fb349e91e1edaad50a206416fadfbfd23593"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/vector/jax_to_torch.py: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/jax_to_torch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513db0d4b7f8166c6f6925c773b2084e59b6820b84fb3efb8d6b7b67be17309"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/vector/numpy_to_torch.py: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/numpy_to_torch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39c269ad3dcb5e85d353628f0bb32045c9d037cb877e25b8b98ab824cc91b70"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: gymnasium/wrappers/vector/rendering.py: 41.2% line coverage (124/301)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/rendering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a0d66d917a20935759ae799e5bc8437f36016be79c77c172ecfed2608129b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: setup.py: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f0bdce8e8ba6e181e92d9a76cceb66bd86def2a774b9aa82b0f3e5949039d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: gymnasium/vector/async_vector_env.py: gymnasium/vector/async_vector_env.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in async_vector_env._async_worker at line 827. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 11:50:57 \u002B00:00\u0027 --until=\u00272026-11-12 11:50:57 \u002B00:00\u0027 --full-history --no-merges -- gymnasium/vector/async_vector_env.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d07f5d17b5365c0434d1a75abd432aff3b237c601fc037857ddc98b2ae62a07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: gymnasium/spaces/box.py: gymnasium/spaces/box.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Box._cast_low at line 236. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, 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. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 11:50:57 \u002B00:00\u0027 --until=\u00272026-11-12 11:50:57 \u002B00:00\u0027 --full-history --no-merges -- gymnasium/spaces/box.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/box.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b48a7f82294f5a404ffd55bfd4cd04f011f98582ee4c4f7d6c9c686699e8b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: gymnasium/utils/env_match.py: gymnasium/utils/env_match.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in env_match.check_environments_match at line 9. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, 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. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 11:50:57 \u002B00:00\u0027 --until=\u00272026-11-12 11:50:57 \u002B00:00\u0027 --full-history --no-merges -- gymnasium/utils/env_match.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_match.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2476333c75b6bba0e1eb36c6f90b5680f947711039009c60a8da89af63031c52"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: gymnasium/utils/performance.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fc53a5e485aacfc5be68af15c6fe6bca5a1465822a45956609255701fd015b0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Functional correctness should be tested \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/wrappers/test_normalize_reward.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"01537fb44971965235e828a1c86442e7a3f68ef8a2431835a0d811f9ce74a49e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo, add check for render, bugged due to mujoco v2/3 and v4 envs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/wrappers/test_passive_env_checker.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c68eb5716ec55d6e8e6c6b9f89877fe6affbee3336ccf0dac0f4d4c170a9f7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO, these tests do nothing, understand the purpose of the tests and fix them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/vector/test_async_vector_env.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"684551299eb7b61e87f2708a4ed9063526874bbae59b3132709e1f2770529187"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO, these tests do nothing, understand the purpose of the tests and fix them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/vector/test_async_vector_env.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f479c5a68a328d612f1eddf4d63fdb0effa210d0fa9771aa4ae464e2707db1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix this test (see https://github.com/openai/gym/issues/3054)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/utils/test_save_video.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf20b0f632efdf3317eb1dffc99e25d8d64a3383377cb0975fb0a2a3fb00bbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Switch to ArrayAPI type once https://github.com/data-apis/array-api/pull/589 is merged"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0bcf2d36a657216cf4be47d10eea9555aa6408ceb2c5fb6d3054782eb3312b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Switch to ArrayAPI type if available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/array_conversion.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad1b30e132f8aa52c263d56a4d26d8c214474dd404930469c5bb749a60c422e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Device was part of the public API, but should be removed in favor of _env_device and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/jax_to_torch.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"76057a807aaae10bda168050344ddfaf588de32748e000a1a2f382cb8dfd0d90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove ignore comment once \u0060ty\u0060 supports \u0060@single_dispatch\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/stateful_observation.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4189f8a1771e1420de75de94eb1fa6c2afd47fcec5f0e37900e8ab7265630388"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We could compute single_action_space from the action_space if only the latter is provided and avoid the warning below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/vectorize_action.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c456b520dbac003f64d80a999e7731363b1d52502c88b2f0ce5dcdee3bcec0ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We could compute single_observation_space from the observation_space if only the latter is provided and avoid the warning below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/vectorize_observation.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53c44b7a0bbdff258672ff83833729beab1fab0de90394cf7fbd299c6b74cf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo - Add to gymlibrary.ml? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"51343b1c0525a38714ff70580e3db4413c3997219c53441e654e304804b04eea"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (28609 LoC, 228 module-visible types across 16 directories) overshoots its size bounds. 1 of 2 build unit(s) (Python) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842ad367a78941ccec73d857627e21e838b932492f4ae73cdd87ada79a9f00"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 63 % of calls cross a namespace and only 36 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","level":"error","message":{"text":"A security 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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0e8d47eaab03850ca7de00fe80691ceff350cdeddda0d7bae78fca3e8762d6b"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"080650c2840d9157b81fa5cd67073879fe28e8bdeaebddaeb39cb6b4598cdc36"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"417c8017c6b457334c212b8ac87783a92a8a502a4c764268e36fcd7e8c838e28"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e93ec58b412107c9ab5273ecfa46ef7ac23aaafc8ab1d3ad3342906aca8d8d1"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2715a124f96178248f998cd029d8539445d8d1013711adc9ab32b5391161b700"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"938de0335a2390a4c70ae4bce995e32f3a8f817cc7abf812ddf19be439afa4b5"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79e7816a71de29fda60725e3aa753e15af8e3084396e647ada617483cb743017"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02a0e59d975577e9e21f0a13840de512c25c810c88dd227afa6a52fc4fbb6aef"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ee49f2b404a8bfe35d1bd4719e5839f3c390215b43f9251803754b889f47cdd"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"556828986f25d8e406b2a6e9c786b52fda27fc50528ad57955178d2069baa24c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54dc837c876d4d3b00661e071adc1b3c5ccb81ed0bf9a2c9e14cc4722059e612"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4e764e6b11b995bb8423a04b7ce65bf45b463e9d8e0725d2367a6cf7308a2cb"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b0c95ae13cc023d190823f694cbf53adf8b423e956185b16a31099029223558"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdc0cc57f4327d9ed05bd727a951c6c6b27042cfe6bc9a5ec00e28b32ced9c8e"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"261f8871c854bd694bf564317268e27ae41a97302c6c6703189562d7452b60c0"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba6968e8206cf2d6a961de90352f95f68721c90a0ecbab6a834aa1856ced3f88"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4af4ba307accc86d86d75bec232faf3b355abd83b46e07cc44980c9f838a66f7"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdc62be9e4b3613ac4e76dfc9a40482365784d8f279be920fc0006893e7b2f86"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4657417803ac704e3373a2ea6a52078d16979cb30aac784c7d414717bda17f3f"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ab72666de8a1c8fde2a7a73c9798ffd24f5fd6c63553039409c55e0954ec75b"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"587ab6ecb2b1056f19f06e8f96659b946e5eb019336df93632b8307def244cae"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b61ac8d198fc74b16b7a8b79631af66ac4bf7981b24246ad4a3c596803ecfa43"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4f02f067082844fc3fa336711865870466d3916f14d42d64c765de123ed09c3"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa6ec48cc717b9a6abb8a01b4808d6f1374751ca70383a7c87ccd473038803ba"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2be10815e4798ab7d89ddc29ab8d29b4c73b232c3639a486d06b51f8a0b35614"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"911dc774d1b74f9ca0e699f2bba5b4fda9152540f58bb9f018077048478bee6c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6195634f8d006cb27d8cdd32b06d932f9f219c4e18414d0dfee5e457087da4b9"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92928106b8c0cd63fd2f5714d7d5834017ae09945816e8d62209a11730a9fe56"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1c6df541bd426acd80a9d268b129401c0488e2b7b40e2eb27aecfc2642c2ce5"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"31fd521c65a3886666fd14cd08bd9f9e081a249904db7efc9d6250f571d6882c"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852a43b2432a42831b2006bf9b54a8dfdba2c21bc6317ad8cbf5c61fb36f0f85"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 6 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: gymnasium/envs/tabular/blackjack.py, gymnasium/envs/box2d/car_dynamics.py, gymnasium/envs/phys2d/cartpole.py, gymnasium/envs/phys2d/pendulum.py, gymnasium/envs/functional_jax_env.py, gymnasium/wrappers/jax_to_numpy.py (7 orphaned of 93 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 93 of the 120 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/tabular/blackjack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735b9923ef8d68b59e47700f4de3ebabaea1e023ce09c58334b4a9dfefcf0fd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/car_dynamics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bf405aa851a6a7d32f84e08459fea920d636076bacb8a035c48857bdf2c176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/cartpole.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b5c570d76c133f0ea78fe00af6bc21e3c031bebe68b16bc15ad008002dae88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/phys2d/pendulum.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14785a1cfe341cf309b9f50b92ee31935b6be88a367d7e15db2a517ddea8fee6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/functional_jax_env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac03cd45a7ed9ac4c1f031e6aa54355269f431777b8dbe304297d84e4ff4219"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/jax_to_numpy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"198a2caa8a6578d27d87183bfb43b734758abc7dd8372ca322c09417782ac8d4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: humanoid_v5.py \u2194 humanoidstandup_v5.py: \u0060gymnasium/envs/mujoco/humanoid_v5.py\u0060 and \u0060gymnasium/envs/mujoco/humanoidstandup_v5.py\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00605d5b2306\u0060 Enforce distinct objects for Env.reset and Env.step observations and \u2026; \u0060d0098540\u0060 Fix \u0060invalid-parameter-default\u0060 ty errors (#1571); \u0060794d2700\u0060 fix Quaternion order in Ant, Humanoids Documentation (#1173) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/humanoid_v5.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b4b534c8303812b65bc9f969cd17e87a94042055b5d1783449be33652764ce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: utils.py \u2194 space_utils.py: \u0060gymnasium/spaces/utils.py\u0060 and \u0060gymnasium/vector/utils/space_utils.py\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060767c7fc8\u0060 Make Dict key sorting optional (#1675); \u0060abf4905a\u0060 Update Graph to accept arbitrary node and edge spaces (#1514); \u006008d8b925\u0060 Enforce and fix four \u0060ty\u0060 rules (#1570) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117023f52dfe5a5563e2dad2aa8b85edd27e867a8cd131d4a21aa4f88f280bba"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060docs\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pypi-publish.yml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68ee1ea2969cbbdae4336ca738b5320c565628ea6ee894219d523831dd0f17"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(not self.is_healthy) and self._terminate_when_unhealthy\u0060 appears character-identically in 4 files \u2014 gymnasium/envs/mujoco/ant_v5.py, gymnasium/envs/mujoco/hopper_v5.py, gymnasium/envs/mujoco/humanoid_v5.py, gymnasium/envs/mujoco/walker2d_v5.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v5.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"096e75b9fd92ade225fc1a6c6946563c007e659dbfe7858d4feffeaa4d52c202"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episode_trigger is None and step_trigger is None\u0060 appears character-identically in 3 files \u2014 gymnasium/utils/save_video.py, gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/save_video.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"70db4b7904673bc54c9947a76f630b6147b9cd7cf5c9ff18f8adb3f4df8384f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(observation_mode, tuple) and len(observation_mode) == 2\u0060 appears character-identically in 2 files \u2014 gymnasium/vector/async_vector_env.py, gymnasium/vector/sync_vector_env.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eff69e9f9a085b1781b3d725ea5908b6b7012ac619d6fe3b712a1d06fb3dbbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mask is not None and probability is not None\u0060 appears character-identically in 9 files \u2014 gymnasium/spaces/dict.py, gymnasium/spaces/discrete.py, gymnasium/spaces/graph.py, gymnasium/spaces/multi_binary.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/spaces/dict.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb929f72d7b07c4c479874867f05f08e07b962186e3f035a7df574d5afe80d14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(observation_mode[0], Space) or not isinstance( observation_mode[1], Space )\u0060 appears character-identically in 2 files \u2014 gymnasium/vector/async_vector_env.py, gymnasium/vector/sync_vector_env.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88f54af1ed3d21e64efb0a2e27e5da8d251b8c771e2434963333023a6af27a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060np.any(np.isinf(self.low)) or np.any(np.isinf(self.high))\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/transform_action.py, gymnasium/wrappers/transform_observation.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/transform_action.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8545d77d921dac7d0b323a6f0bd6a42d593e8f952f8e7329599bc741d8c0036b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060np.isfinite(state).all() and min_z \u003C= state[2] \u003C= max_z\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/mujoco/ant_v4.py, gymnasium/envs/mujoco/ant_v5.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83244850fa0cb07d4fa2e6924adff48e3e603b3eea1e00c4c7706555672dfe8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options is not None and \u0022reset_mask\u0022 in options\u0060 appears character-identically in 5 files \u2014 gymnasium/vector/async_vector_env.py, gymnasium/vector/sync_vector_env.py, gymnasium/vector/vector_env.py, gymnasium/wrappers/vector/stateful_observation.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/vector/async_vector_env.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b171891377376f0a8d4cee6870764c2b2fe33b3cb66cf75fd782c14154f89859"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position == self.min_position and velocity \u003C 0\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/classic_control/continuous_mountain_car.py, gymnasium/envs/classic_control/mountain_car.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"957ee5106dba1ffe86a98f28aa1b96cf725db237baf6eb4765c9ad210068819e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position \u003E= self.goal_position and velocity \u003E= self.goal_velocity\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/classic_control/continuous_mountain_car.py, gymnasium/envs/classic_control/mountain_car.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/classic_control/continuous_mountain_car.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c5999cf21fda3b605832f23d7eea99a52b992a60ed12c2b9bbc87cfeab792e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seed_param is not None and seed_param.default is not None\u0060 appears character-identically in 2 files \u2014 gymnasium/utils/env_checker.py, gymnasium/utils/passive_env_checker.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c77986b0f404f6ac7b4ff9e0ca98894c999acbdbe2ead35a0ca0538e0621e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.autoreset_mode == AutoresetMode.SAME_STEP and \u0022final_obs\u0022 in infos\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/vector/stateful_observation.py, gymnasium/wrappers/vector/vectorize_observation.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/vector/stateful_observation.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e411baff59bf303e074519ef70b895858437bad58421a01e12fd35da40e51d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.episode_trigger and self.episode_trigger(self.episode_id)\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"946b7a2c26229065ef97695469570c2a4d4f8c27486f60beb784f465d77c7b8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.gc_trigger and self.gc_trigger(self.episode_id)\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b04c82d8aba7d50272db6be0d8fba5c4315b8fc65b7a42a8e5c33f69b801a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.is_healthy or self._terminate_when_unhealthy\u0060 appears character-identically in 4 files \u2014 gymnasium/envs/mujoco/ant_v4.py, gymnasium/envs/mujoco/hopper_v4.py, gymnasium/envs/mujoco/humanoid_v4.py, gymnasium/envs/mujoco/walker2d_v4.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/ant_v4.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6110733e9f4575b72074cd619bfd8dfe909dfcd10578fd7a47c48abde11387b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.recording and isinstance(render_out, list)\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"085259cc95f3ad8f0ee9c34a4d0169a6baedbd224aeda5b21d652895f7753570"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.recording and self.video_length == float(\u0022inf\u0022)\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482faea10d03b4ec1ad8385e3d3149b5bb20483b5b098c12208b68562752a8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.screen is None and self.render_mode == \u0022human\u0022\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/box2d/bipedal_walker.py, gymnasium/envs/box2d/lunar_lander.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"464cd8beb6f5c01afec78736288077ffc1036422fac1d1798eaa0dd843844cc2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.step_trigger and self.step_trigger(self.step_id)\u0060 appears character-identically in 2 files \u2014 gymnasium/wrappers/rendering.py, gymnasium/wrappers/vector/rendering.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/wrappers/rendering.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8823db043d90042bd4edb672b9b22bc443326c0e68ffb5de13aeb4db24851"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060steps % 20 == 0 or terminated or truncated\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/box2d/bipedal_walker.py, gymnasium/envs/box2d/lunar_lander.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/box2d/bipedal_walker.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"4073dd09fe1b55428f105cea0e80bf85b1ea1bc00029d4601926ddcc23131b57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str(env.__class__.__base__) == \u0022\u003Cclass \u0027gym.core.Env\u0027\u003E\u0022 or str(env.__class__.__base__) == \u0022\u003Cclass \u0027gym.core.Wrapper\u0027\u003E\u0022\u0060 appears character-identically in 2 files \u2014 gymnasium/envs/registration.py, gymnasium/utils/env_checker.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/registration.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86b28db6258e47f9c4f26ee04781b234fb78cae81b312dd49266084f5b1cbdc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060data_equivalence\u0060 is public and takes \u0060data_1: Any\u0060 from its caller, and it calls itself at line 51 (\u0060data_equivalence\u0060) with a piece of \u0060data_1\u0060 (and at line 55, line 62) \u2014 and nowhere in \u0060data_equivalence\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060data_equivalence\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/env_checker.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1366f20a8a4277581154141350ef54aaee786f3b770d47d8b378bb591c6c5aa"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060check_obs\u0060 is public and takes \u0060obs: Any\u0060 from its caller, and it calls itself at line 163 (\u0060check_obs\u0060) with a piece of \u0060obs\u0060 (and at line 170) \u2014 and nowhere in \u0060check_obs\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060check_obs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7687cd4c55c26ffb2689f52372cd9822fca3d953901d030eac094bbdb344134"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060data_shares_objects\u0060 is public and takes \u0060data_1: Any\u0060 from its caller, and it calls itself at line 196 (\u0060data_shares_objects\u0060) with a piece of \u0060data_1\u0060 (and at line 203, line 209) \u2014 and nowhere in \u0060data_shares_objects\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060data_shares_objects\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/utils/passive_env_checker.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64ff241655d51918211183b36e0c2bb573b8652ce170bad8d2a1dd9f04bf44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/__init__.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"972c02264f5486fb30cf40d2414a869bdaa614e8ae2932241485e980b500752e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gymnasium/envs/mujoco/mujoco_rendering.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e71c442f35778248c13428a599dc53cae730c39f531cdb662cd574e15726b57"}}],"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":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":35,"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."]}]}