{"$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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"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":"v_cookie (cyclomatic 118): v_cookie has cyclomatic complexity 118 (threshold 15). Most of this is not in the body itself: 9 of the 118 points are its own statements and the rest belongs to 106 function items inside it that branch ((anonymous)::p::v, (anonymous)::g, (anonymous)::U, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"615af67dc7f72ca03287565daa38f55e5b0532c24a04bde3ee8c587cca28a710"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 61): (anonymous) has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 90 function items inside it that branch (reset, _doFinalize, encrypt, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"58382cd82f9709a94da8f4edc8aa80ef305b4ee121040550ab765cb8afbeb8e3"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_cot._futures_rank_sum (cyclomatic 28): futures_cot._futures_rank_sum has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc17ae3be785a320fbed07b2f72bfcc17413974fbe4229265c2e3f42afc6bfa9"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_daily_bar.futures_daily_czce (cyclomatic 27): futures_daily_bar.futures_daily_czce 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":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3543b952abd72cb5fcdbef122f5bec630f51e970a8086c1667993b638adff233"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 27): (anonymous) has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 36 function items inside it that branch ((anonymous)::extend, (anonymous)::mixIn, concat, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93993562cd91bc22e4fc58ae27ac8e6566e88c4f40c625173e2297842cf930c"}},{"ruleId":"D1","level":"warning","message":{"text":"option_commodity.option_hist_czce (cyclomatic 26): option_commodity.option_hist_czce 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":"akshare/option/option_commodity.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"de65e07e0397642905ab310c0aa77bcb3bc9fddf0d1cce0adb4e57e21e5f120d"}},{"ruleId":"D1","level":"warning","message":{"text":"fund_etf_pcf._parse_pcf (cyclomatic 25): fund_etf_pcf._parse_pcf 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":"akshare/fund/fund_etf_pcf.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"13242128402e6cb6a0cb82ba599945e525b49c1c6ca44c72a4f82c8e953d57f9"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_receipt.futures_receipt (cyclomatic 24): futures_receipt.futures_receipt has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17474cc75f5ed556fd510607836b2c4c43367ded401dc9f7124dbfe168b58b9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 31 function items inside it that branch (concat, mixIn, _3, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda44a046c1356dac688b34be70774428871838f4e08b705eae88160c0b72363"}},{"ruleId":"D1","level":"warning","message":{"text":"macro_china_nbs._build_nbs_dts (cyclomatic 23): macro_china_nbs._build_nbs_dts 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":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1ab1c98e39a6e4dcdc23e30244b836d5b406359b79e72a4dddfe1b522e774a"}},{"ruleId":"D1","level":"warning","message":{"text":"_doProcessBlock (cyclomatic 21): _doProcessBlock has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0064fbf2980b9f13ec229b3a9640d638f19fcdd18f85cbee83512ee34e425e"}},{"ruleId":"D1","level":"warning","message":{"text":"alternative_air_hebei.alternative_air_quality_hebei (cyclomatic 20): alternative_air_hebei.alternative_air_quality_hebei 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":"akshare/alternative/alternative_air_hebei.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"476f9e1b05e6f0bc39ca60c981b0519a0847f40523594c69fdeb0f9189657d31"}},{"ruleId":"D1","level":"warning","message":{"text":"alternative_taptap.alternative_game_hot_rank_taptap (cyclomatic 20): alternative_taptap.alternative_game_hot_rank_taptap 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":"akshare/alternative/alternative_taptap.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f465c5001d6ed7658f3937cd1a35f342181408004d6e663c9d0f6f50600ea7"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_receipt.get_czce_receipt_3 (cyclomatic 20): futures_receipt.get_czce_receipt_3 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":"akshare/futures/futures_receipt.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2777e59b3914e20891c99dae1373bf4849cc40cb9f2365c8b3991951f04eac4"}},{"ruleId":"D1","level":"warning","message":{"text":"registry._score (cyclomatic 20): registry._score 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":"akshare/registry.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45f206af48383b6865353213de2b6d0b2e8cd1655dfe1a8d3a50a4891b440cf"}},{"ruleId":"D1","level":"warning","message":{"text":"alternative_fortune_hurun.alternative_rank_hurun (cyclomatic 18): alternative_fortune_hurun.alternative_rank_hurun 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":"akshare/alternative/alternative_fortune_hurun.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe73f950be869955e2a570319d645e8aec2dcb176a403324b8119e2e97c66715"}},{"ruleId":"D1","level":"warning","message":{"text":"fund_em.fund_open_fund_info_em (cyclomatic 18): fund_em.fund_open_fund_info_em has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb33093d16d3710a4e278dfd7257bd5cebcdac0e5cdb12cf452b71905dde3183"}},{"ruleId":"D1","level":"warning","message":{"text":"fund_fee_em.fund_fee_em (cyclomatic 18): fund_fee_em.fund_fee_em 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":"akshare/fund/fund_fee_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"607e75de1bea4c32012ebf5baf8791ca722315a7e7e63606af6b48f9337b1b78"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 34 function items inside it that branch (reset, (anonymous)::xorBlock, parse, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f988742eb03faed41d2a99cd9a1c03246437e76ff5b20c0c399dd84abc773922"}},{"ruleId":"D1","level":"warning","message":{"text":"webDES (cyclomatic 18): webDES has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 2174, _0x9843d3, _0x2a2af9, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799a70fa1521031c9eeb9b0ead1a251c90237e465b25128107be539408cad9a"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_finance_ths.stock_financial_key_indicator_ths (cyclomatic 17): stock_finance_ths.stock_financial_key_indicator_ths 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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_profit_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b558a0606796a5e15e2ce87bb107fc1cafd03b8f84938ec2aec5fe10c14def"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_finance_ths.stock_balance_sheet_ths (cyclomatic 17): stock_finance_ths.stock_balance_sheet_ths 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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_profit_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e4b061a6c212a7805a4d92cc4dee8e725439a01950635e7ef94bd85f67242a"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_finance_ths.stock_profit_sheet_ths (cyclomatic 17): stock_finance_ths.stock_profit_sheet_ths 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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b16a2091e50108e77538f4bd935cb5444584de6dbec69806b488063e2067406"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_finance_ths.stock_cash_flow_sheet_ths (cyclomatic 17): stock_finance_ths.stock_cash_flow_sheet_ths 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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_profit_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"178462559d3db82e91cbb1164bf17d06fbd4487cf6ae132167a3bdcad0c4a9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_hsgt_em.stock_hsgt_stock_statistics_em (cyclomatic 17): stock_hsgt_em.stock_hsgt_stock_statistics_em 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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41d384089f0c022dd323579d74db7c71741952fa5c47b161cd94b903de63ba2"}},{"ruleId":"D1","level":"warning","message":{"text":"jm._0x2246 (cyclomatic 17): jm._0x2246 has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 16, _0x9bf5c5, a function literal at line 19). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: jm.webDES (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5715c5cf28e13a727d6c0daadd2e2d8ed91c95f396e5061b88d03e256823c0aa"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::clone (cyclomatic 17): (anonymous)::(anonymous)::clone has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec025b95469bc0f7469e5037871e95f4c343823fec6aeaf124431ec2a4420c7"}},{"ruleId":"D1","level":"warning","message":{"text":"fund_init_ths.fund_new_found_ths (cyclomatic 16): fund_init_ths.fund_new_found_ths has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_init_ths.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba3ee9179bc85a62a6ce289fbccae2d5cdea9bb13029d50ec7b0d9a9e53be02"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_roll_yield.futures_roll_yield_bar (cyclomatic 16): futures_roll_yield.futures_roll_yield_bar 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":"akshare/futures/futures_roll_yield.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8c27cdc18dca7dc18c23a37bc0ffb9ac93cb42ad04a8802fbe4bf3e7e1743"}},{"ruleId":"D1","level":"warning","message":{"text":"futures_warehouse_receipt.__futures_shfe_warehouse_receipt_html (cyclomatic 16): futures_warehouse_receipt.__futures_shfe_warehouse_receipt_html 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":"akshare/futures/futures_warehouse_receipt.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50dfee554c368f19ca65088fe29bc9a59083c56789dcf7c21d6c33d6c495eb0"}},{"ruleId":"D1","level":"warning","message":{"text":"macro_china_nbs.macro_china_nbs_region (cyclomatic 16): macro_china_nbs.macro_china_nbs_region 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":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6df78f0f872b9351b671cc7348f248266ad4cf64550f563ad2f28103e92e18"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 31 function items inside it that branch (t, reset, parse, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546a1d7fd5278d2d1c6066e55918f2fa4d8ed2276a56d40d5fa60910b205fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"v_cookie (cognitive 134): v_cookie has cognitive complexity 134 (threshold 15). Drivers by points: if/else 31 (41 pts), boolean chains 34, loops 22 (28 pts), ternaries 11 (15 pts), error handling 13, match/switch 2 (3 pts) (nesting depth added 21). Most of this is not in the body itself: 8 of the 134 points are its own statements and the rest belongs to 106 function items inside it that branch ((anonymous)::p::v, (anonymous)::k, (anonymous)::L, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fa38d8b877ff681ff2b35c377fe102a301b2295b2d936f1b96d31bab1dbada"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 85): (anonymous) has cognitive complexity 85 (threshold 15). Drivers by points: if/else 28 (33 pts), ternaries 9 (17 pts), loops 8 (16 pts), boolean chains 11, match/switch 3 (8 pts) (nesting depth added 26). None of this is in the body itself: all 85 points belong to 90 function items inside it that branch (parse, reset, _doFinalize, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"92de05380d907584e3599d868036f902b718530b2b066aed1b3d87fbf594227d"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_daily_bar.futures_daily_czce (cognitive 59): futures_daily_bar.futures_daily_czce has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (40 pts), loops 4 (14 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d088eb1860abf78609e8eb4f0e70bc70c8cc34f63b098c29645a91ae745155"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_cot._futures_rank_sum (cognitive 53): futures_cot._futures_rank_sum has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (36 pts), loops 4 (10 pts), ternaries 2 (7 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":"akshare/futures/futures_cot.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc03bc0af44fe6cbabd367455d6692d57051108c1a0d06a1273eb2e9b19f940"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_receipt.futures_receipt (cognitive 53): futures_receipt.futures_receipt has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (46 pts), loops 2 (4 pts), ternaries 2, boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c50f97de596e9db02fde7d18043d94d798cbd27e636176e9c2829a2cf04ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"alternative_air_hebei.alternative_air_quality_hebei (cognitive 49): alternative_air_hebei.alternative_air_quality_hebei has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 12 (39 pts), loops 4 (7 pts), if/else 2, boolean chains 1 (nesting depth added 30). 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":"akshare/alternative/alternative_air_hebei.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e09e97012c35679f5be6edfdebb30b87d35a2e35a20f2407ab0058993e5ab2f"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_warehouse_receipt.__futures_shfe_warehouse_receipt_html (cognitive 35): futures_warehouse_receipt.__futures_shfe_warehouse_receipt_html has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_warehouse_receipt.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"223269148382bfcc043ac9224bfaf1794e07bd21c80a7072fdf288e78561a267"}},{"ruleId":"D2","level":"warning","message":{"text":"_doProcessBlock (cognitive 35): _doProcessBlock has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 18 (31 pts), if/else 2 (3 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c110859dde64e163451d3c9e791674a08a3909e78559948c907b45a2420a3"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_receipt.get_czce_receipt_3 (cognitive 33): futures_receipt.get_czce_receipt_3 has cognitive complexity 33 (threshold 15). Drivers by points: error handling 5 (14 pts), if/else 10 (13 pts), ternaries 5, loops 1 (nesting depth added 12). 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":"akshare/futures/futures_receipt.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9185abd9f9dbf0720ea3c052cfda0787421c0bec65c855a17ebbe637aaebe7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 33): (anonymous) has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (14 pts), loops 9 (12 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 36 function items inside it that branch (concat, _process, (anonymous)::mixIn, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b61e6017963844f27232955fd926e1432eeed3b48d02d725945e80e89da74"}},{"ruleId":"D2","level":"warning","message":{"text":"macro_china_nbs._build_nbs_dts (cognitive 31): macro_china_nbs._build_nbs_dts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 7, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd5568096e3996420dbc7c0470f13493fbafccd82006fb5a0720f5a0fd6bde"}},{"ruleId":"D2","level":"warning","message":{"text":"fund_em.fund_open_fund_info_em (cognitive 29): fund_em.fund_open_fund_info_em has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (29 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc809dd37cfbbfc88baaf9bd4764ac2f91f55344aaaebea070120600108e462b"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_roll_yield.futures_roll_yield_bar (cognitive 29): futures_roll_yield.futures_roll_yield_bar has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (8 pts), error handling 2 (6 pts), ternaries 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_roll_yield.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"88883f04bfe44e442d5773c5252ec35f0b5c772dd5f6cca6d8beb50874fdd0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"registry._score (cognitive 29): registry._score has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/registry.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2285aa2fe5bb3847e3addb857a285b60c7eee5f27c4c6da854dc264e24f2c1db"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_finance_ths.stock_financial_key_indicator_ths (cognitive 29): stock_finance_ths.stock_financial_key_indicator_ths has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (11 pts) (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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_profit_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"480906c086c8d8441019a46eac972453eac661b098b56283bab40e23a4dbb80b"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_finance_ths.stock_balance_sheet_ths (cognitive 29): stock_finance_ths.stock_balance_sheet_ths has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (11 pts) (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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_profit_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcec9c8df79c8f754c80bc71dc468b59a1cde05f9246430ed2272cdd5374d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_finance_ths.stock_profit_sheet_ths (cognitive 29): stock_finance_ths.stock_profit_sheet_ths has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (11 pts) (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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_cash_flow_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cad2c4fa2d8dda23e2b632ffd142e0b5c999aec999323a3ac203d8af8abde50"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_finance_ths.stock_cash_flow_sheet_ths (cognitive 29): stock_finance_ths.stock_cash_flow_sheet_ths has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (11 pts) (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. This shape REPEATS in the file: 3 other methods here (stock_finance_ths.stock_financial_key_indicator_ths, stock_finance_ths.stock_balance_sheet_ths, stock_finance_ths.stock_profit_sheet_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"af719b85c41362c6a6baae79f45c8ee972a063c476a40e219e7cc221f1190497"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x2246 (cognitive 29): _0x2246 has cognitive complexity 29 (threshold 15). Drivers by points: loops 5 (10 pts), ternaries 4 (10 pts), if/else 4 (5 pts), boolean chains 4 (nesting depth added 12). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 19, a function literal at line 16, _0x9bf5c5). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5fe9db9274d65fba39be9f01c0019e5be142ba0fd03a4df9591db1b1c93d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_xzjp_ths (cognitive 28): stock_technology_ths.stock_rank_xzjp_ths has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 2 (3 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11cd358427c610438af01b2e4a7bdaa2422098667b9ffce650cc0731eb98ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: loops 9 (12 pts), boolean chains 8, if/else 4, ternaries 2, error handling 1 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 31 function items inside it that branch (concat, _3, mixIn, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b98afb0afbfe2e3a15fc3dc33a4bce1b1dad29efdc474c8db3fd45e41d8013"}},{"ruleId":"D2","level":"warning","message":{"text":"alternative_taptap.alternative_game_hot_rank_taptap (cognitive 25): alternative_taptap.alternative_game_hot_rank_taptap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_taptap.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731a6fbc0f08c4f98d524cbb3b482d2e1506003ccbaa380d43c4f8506c1e416"}},{"ruleId":"D2","level":"warning","message":{"text":"fund_etf_pcf._parse_pcf (cognitive 25): fund_etf_pcf._parse_pcf has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 4, loops 3, error handling 2, boolean chains 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":"akshare/fund/fund_etf_pcf.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"108581a97e1ce829420255a3a2f7919eaa5cbcb8b59d3e75078cc0ff846b12c8"}},{"ruleId":"D2","level":"warning","message":{"text":"macro_china_nbs.macro_china_nbs_region (cognitive 25): macro_china_nbs.macro_china_nbs_region has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 4 (8 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":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ba49c2ea04d8a30b0ad158c574c957c9cfe0890ea4d3a7d7cbb676c9a8e0e7"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_hsgt_em.stock_hsgt_stock_statistics_em (cognitive 25): stock_hsgt_em.stock_hsgt_stock_statistics_em has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (8 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8725eb72b0db031f60ded3062aa7b7db72942819deeeeda05f254f2866c743e"}},{"ruleId":"D2","level":"warning","message":{"text":"baidu_finance._baidu_finance_calendar (cognitive 25): baidu_finance._baidu_finance_calendar has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/utils/baidu_finance.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48fec9eb6e06d88b353c8ba907a5358310974a857330c0f597d8d82172b2604"}},{"ruleId":"D2","level":"warning","message":{"text":"alternative_news_cctv.alternative_news_cctv (cognitive 24): alternative_news_cctv.alternative_news_cctv has cognitive complexity 24 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 5 (9 pts), loops 3 (6 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":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6885d16dd7d9f7b3058ac546df88d365ab9776e4e671b6894c469ca8b67cf3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 24): (anonymous) has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, boolean chains 5, loops 2. None of this is in the body itself: all 24 points belong to 34 function items inside it that branch (reset, (anonymous)::xorBlock, (anonymous)::selectCipherStrategy, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b2ba4c3424c01fbcdece28ab1ad1c15d67bb8026d9386306d95fc8ff60cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"_doProcessBlock (cognitive 23): _doProcessBlock has cognitive complexity 23 (threshold 15). Drivers by points: loops 9 (19 pts), if/else 2 (4 pts) (nesting depth added 12). 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":"akshare/data/cninfo.js"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa566007015d9fe91061fee565d68f24fc9bb8933a7ecac6d49ba111d6a06b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"fx_quote_baidu.fx_quote_baidu (cognitive 22): fx_quote_baidu.fx_quote_baidu has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (5 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":"akshare/fx/fx_quote_baidu.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"000102c438dcfc3bbb24d61dfaca1d143b3f52ee319ad8a089d2b385518e02d0"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_basis.futures_spot_price (cognitive 21): futures_basis.futures_spot_price has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_basis.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8101457a6307e8371d568dfe18238c3c4bb5169eec45af7292e59cbef4b7f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_cxfl_ths (cognitive 21): stock_technology_ths.stock_rank_cxfl_ths has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 2 (5 pts), loops 2 (3 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. This shape REPEATS in the file: 3 other methods here (stock_technology_ths.stock_rank_cxsl_ths, stock_technology_ths.stock_rank_ljqs_ths, stock_technology_ths.stock_rank_ljqd_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2205b916df2b0e7ba6285d9b702de046a313572336b8833926f9826f372a054d"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_cxsl_ths (cognitive 21): stock_technology_ths.stock_rank_cxsl_ths has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 2 (5 pts), loops 2 (3 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. This shape REPEATS in the file: 3 other methods here (stock_technology_ths.stock_rank_cxfl_ths, stock_technology_ths.stock_rank_ljqs_ths, stock_technology_ths.stock_rank_ljqd_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e832dc6bd371ab38ed9ff08811d362c52d96a2ca53757854012ec2f4ac98aa57"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_ljqs_ths (cognitive 21): stock_technology_ths.stock_rank_ljqs_ths has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 2 (5 pts), loops 2 (3 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. This shape REPEATS in the file: 3 other methods here (stock_technology_ths.stock_rank_cxfl_ths, stock_technology_ths.stock_rank_cxsl_ths, stock_technology_ths.stock_rank_ljqd_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7d1929ef1d31c80a90cc224fdd0d31d3a37569b2e8df6b6a75985b2663561a"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_ljqd_ths (cognitive 21): stock_technology_ths.stock_rank_ljqd_ths has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 2 (5 pts), loops 2 (3 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. This shape REPEATS in the file: 3 other methods here (stock_technology_ths.stock_rank_cxfl_ths, stock_technology_ths.stock_rank_cxsl_ths, stock_technology_ths.stock_rank_ljqs_ths) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dde69991115ff277e94ed07078e0bd593d3e6ef712a137adf23ae304bd05b13"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_notice._stock_notice_report (cognitive 21): stock_notice._stock_notice_report has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_notice.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f1489b0af2b0f75a2d0bdc1ae30a60284a3c062bb1e5f7227a1f678ee4f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"fund_fee_em.fund_fee_em (cognitive 20): fund_fee_em.fund_fee_em has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_fee_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15f001abd1c0edfe9c53c982c1a24cbfaf71a806cdb604da9caebff792757ed"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_cot._futures_position_rank_dce_dict (cognitive 20): futures_cot._futures_position_rank_dce_dict has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (5 pts), loops 2, 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":"akshare/futures/futures_cot.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40bf2326273bd790a8c7218ea693e4287af7a9fb25aa5001ba93af874e315c2"}},{"ruleId":"D2","level":"warning","message":{"text":"index_zh_em.index_zh_hist_min_em (cognitive 20): index_zh_em.index_zh_hist_min_em has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_zh_em.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eb44dc8594f8bfe9994eb6a1133af3a50b6948b13c064085908297de571b23"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_sns_sseinfo.stock_sns_sseinfo (cognitive 20): stock_sns_sseinfo.stock_sns_sseinfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_sns_sseinfo.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9042c0360b35ec55690916f5fd151f5695caf8de6a4143cf35944a457dd9f6"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_receipt.get_czce_receipt_2 (cognitive 19): futures_receipt.get_czce_receipt_2 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1d7e8518fffdf2a46d020db9704bd67bd776b532808f34e67742ca7b7e46ad"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_settle._normalize_settle_columns (cognitive 19): futures_settle._normalize_settle_columns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_settle.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a129550467f72bd2a69daadf94645d2ff7bb0d2ab723eed7150ae09ca11f66cc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 19): (anonymous) has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e2d86b6b959736809bda99e37792efbf6eeb4422130e88059554fdd457fe9c"}},{"ruleId":"D2","level":"warning","message":{"text":"_doReset (cognitive 19): _doReset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":4466}}}],"partialFingerprints":{"codehealthFindingId/v1":"35928e143c97944c5e49a9edf94b19db88847a330c30809d758fc3495404aa1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64 (cognitive 19): Base64 has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 5, loops 4 (nesting depth added 5). None of this is in the body itself: all 19 points belong to 4 function items inside it that branch (_utf8_encode, _utf8_decode, encode, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/crypto.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d403c25d0a483624c8169f527fedf0228b1135440a1e2622c63c2474abda69a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_process (cognitive 19): (anonymous)::_process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (6 pts), ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc81a21d416fd9f1d01efc636622dbd597cd79fdd71924029983dc7135a40292"}},{"ruleId":"D2","level":"warning","message":{"text":"bond_info_cm.bond_info_cm (cognitive 18): bond_info_cm.bond_info_cm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 3, loops 1 (2 pts), 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":"akshare/bond/bond_info_cm.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4a21c9123ff2d7285989bc582834a174dcc58961cbb380cca9924c34613e4"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_receipt.get_shfe_receipt_1 (cognitive 18): futures_receipt.get_shfe_receipt_1 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b1429874deef7d3c61e07a7ebdfd8636427493fd8347b06dab46e2d0d4b7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_receipt.get_czce_receipt_1 (cognitive 18): futures_receipt.get_czce_receipt_1 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"akshare/futures/futures_receipt.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"15944a38b646c26ada3622bf20b997c92571133cac4e3cfe0a34b9f0f0823c9b"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_finance_sina.stock_financial_analysis_indicator (cognitive 18): stock_finance_sina.stock_financial_analysis_indicator has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eaf4b64cc8a1de7053672f43b3cd7a9f87b9bb39e5f30bc7c7aef71d1d9a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_zh_ah_tx.stock_zh_ah_daily_tx (cognitive 18): stock_zh_ah_tx.stock_zh_ah_daily_tx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"252abb8b0ee9e7b3b7b1b0e3a44f685838c0a5f16a1bbec33dd9ddaeff8b763e"}},{"ruleId":"D2","level":"warning","message":{"text":"webDES (cognitive 18): webDES has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 18 points belong to 11 function items inside it that branch (a function literal at line 2174, _0x9843d3, _0x2a2af9, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a858ba1bbc5e905231effaec300eba9a8a09cb14e43e3a346f48a77708b812"}},{"ruleId":"D2","level":"warning","message":{"text":"alternative_car_cpca.alternative_car_market_segment_cpca (cognitive 17): alternative_car_cpca.alternative_car_market_segment_cpca has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 2 (nesting depth added 9). 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":"akshare/alternative/alternative_car_cpca.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15e9828478cd50bcf91575d5c8ed7fd64377023610d13811cbe6b658a1648e"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_cot._futures_rank_table_cffex_dict (cognitive 17): futures_cot._futures_rank_table_cffex_dict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e99ccd9767b393a5650bc21f59507b7108ee33c4a264d628357b9538c51a5ef"}},{"ruleId":"D2","level":"warning","message":{"text":"macro_china_nbs._encode_nbs_period_token (cognitive 17): macro_china_nbs._encode_nbs_period_token has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (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":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d80dbd2ab047687afd97581b7050d2b314f88d47c85adde200fbcb385f259d6"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_xstp_ths (cognitive 17): stock_technology_ths.stock_rank_xstp_ths has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 2 (5 pts), loops 2 (3 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (stock_technology_ths.stock_rank_xxtp_ths) 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2f863b517ad30dcb989618ed206ddc9606e1d8b66e263c4460a3b14afb7e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_technology_ths.stock_rank_xxtp_ths (cognitive 17): stock_technology_ths.stock_rank_xxtp_ths has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 2 (5 pts), loops 2 (3 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (stock_technology_ths.stock_rank_xstp_ths) 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9977e89b6fe24ba6c44db191bb4b43cd10680c7b292729c8f5e0a269117933"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (nesting depth added 6). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (incWord, processBlock, incCounter). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc63433fe8c87b46f66a6f49910b14620e03a58b0130e0bee9e6cef51585c685"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::clone (cognitive 17): (anonymous)::(anonymous)::clone has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8a9c1c7686a629f4b7c9b37d0a9fd2e42eae52043c63bf3d19cfee72f18cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 5, loops 2. None of this is in the body itself: all 17 points belong to 31 function items inside it that branch (reset, t, _9, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c20b47c6110630eb21b71cb9ac64d9c6c392901c8eb861501acf65d4c9a77ce"}},{"ruleId":"D2","level":"warning","message":{"text":"fund_init_ths.fund_new_found_ths (cognitive 16): fund_init_ths.fund_new_found_ths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_init_ths.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"98053f860444b8b8ce32d8efff4aa16e0be8db6b3e9d61ebb22e8e2271261920"}},{"ruleId":"D2","level":"warning","message":{"text":"futures_warehouse_receipt._futures_warehouse_receipt_shfe_dict (cognitive 16): futures_warehouse_receipt._futures_warehouse_receipt_shfe_dict has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 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":"akshare/futures/futures_warehouse_receipt.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a080e16cd31d4356b63927d2c73175207db14e4e7a215505892dae6a5d16f204"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ths.v_cookie: FunctionTooLong \u2014 v_cookie runs 797 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 697 over it, 7.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"499962a3b452eb00bc5ba4ba79afe8b94b96943e29abb37a18e1e82a53a0e0b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/cninfo.js: FileTooLong \u2014 2679 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 1179 over it, 1.79\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":"akshare/data/cninfo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9e35b52a3f89c2fe9e4b2a7b1a5f0b36a14344ca491a1adc637e2111da9270"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: macro/macro_china.py: FileTooLong \u2014 2430 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1930 over it, 4.86\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":"akshare/macro/macro_china.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d0400556d9f63f2976442080885b00b8c4371577d4f2333505dba2a66b39e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/jm.js: FileTooLong \u2014 1823 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 323 over it, 1.22\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":"akshare/data/jm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27627ac5778fddec767e597dd3b06cfd0cdcd3771a19fa415c6815d34c475e9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: quote/stock_hist_em.py: FileTooLong \u2014 1576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1076 over it, 3.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf32e5c2ec6b6c33c06e8746dbb2c05302c8000b90ddf184ccb38dd5bf971d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/stock_hsgt_em.py: FileTooLong \u2014 1129 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 629 over it, 2.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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c273beeea628fdd6bc2e2dce73ff5e7e0c7f2dc27a517ad9c971bdad837cde1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/stock_fund_em.py: FileTooLong \u2014 1047 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 547 over it, 2.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab66f06b2c8d894483537c8ad798b472507394f26e3b9f44bcbdb997260db5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: futures/futures_cot.py: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 521 over it, 2.04\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":"akshare/futures/futures_cot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd52770f0c8be34502426c0447c7430c2372e6741bdcd3ebb9d7eaf4a943a027"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fund/fund_em.py: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 507 over it, 2.01\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":"akshare/fund/fund_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c350d51b3d4df5977c1c2b78650edfde8aa1e99e964e32beeb51ce84152eeea5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: other/stock_technology_ths.py: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead8741165b51df2115922eb5382efcf9f6178c342e2c1dcad98e43c7acaa299"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/ths.js: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: v_cookie (2-978). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b9284740a1e52803d442c7427e8ff3ed9075afa4f7134b4114510c14d5a9d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fund/fund_amac.py: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4246cffc8160e6b5da8e74ac5433c673c8090610cb451035ab8bc58b7a40db9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/stock_lhb_em.py: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4176e74cd602ac1a05ea9fdcf9fd3e43aa92be03b8f4c31419bb07171d28ecd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: holder/stock_gdfx_em.py: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 251 over it, 1.50\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":"akshare/stock/holder/stock_gdfx_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404833423e4678cd9f2b2c7839687a1f8c593e65bd1fa6dd723ae3889d76858b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/outcrypto.js: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df2ee3c833a392c5f9965fc5843de7dee9c5f4de8f4c42ba58e234fe920a1c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: option/option_finance_sina.py: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"akshare/option/option_finance_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9796060ce9f4a2b9676d09f6df0f0a6f32e41b130b92f85494fe6b6502ff418a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: issue/stock_finance_sina.py: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c83e78b0f790769938bd6bf1d41ee9e022ab39628ff84ac23ee8a4ce8eb6b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: futures/futures_daily_bar.py: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 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":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eb90585fec16fa6c3df330361ac185d1f09beaf392c918d277c822ec15d9c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: futures/futures_receipt.py: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b755310ca9595a9afe776d1689d1a19c1bc842fafc9b6afae6216d5f73efb5d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: futures/cons.py: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/cons.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce93944ae33ac4e6a969a9cb443396f32f8cf08e7edbf912ade245d927c9c54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: option/option_commodity.py: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9957fd32e76291957b8828b6165c88b65edbb514986ec2a8af02e833b461da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (14 members, 33 shared lines): akshare/index/index_sox_em.py:15-80 | akshare/macro/macro_china.py:506-562 | akshare/macro/macro_china.py:566-622 | akshare/macro/macro_china.py:626-683 | akshare/macro/macro_china.py:687-752 | akshare/macro/macro_china.py:756-821 | akshare/macro/macro_china.py:825-890 | akshare/macro/macro_china.py:894-959 | akshare/macro/macro_china.py:963-1028 | akshare/macro/macro_china.py:1032-1097 | akshare/macro/macro_china.py:1173-1238 | akshare/macro/macro_china.py:1242-1307 | akshare/macro/macro_china.py:1311-1376 | akshare/macro/macro_china.py:1380-1445 \u2014 These 14 members are variants of one another: a block of 33 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sox_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e62ce0e444009440f36b422efef56ca6b27f0fcff03a2ba62729452a8fa2b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 23 shared lines): akshare/stock/flow/stock_lhb_em.py:324-417 | akshare/stock/flow/stock_lhb_em.py:499-630 | akshare/stock/flow/stock_lhb_em.py:634-704 | akshare/stock/holder/stock_gdfx_em.py:574-663 | akshare/stock/holder/stock_gdfx_em.py:667-760 | akshare/stock/issue/stock_ipo_declare.py:17-92 | akshare/stock/issue/stock_register_em.py:17-85 | akshare/stock/issue/stock_register_em.py:89-158 | akshare/stock/issue/stock_register_em.py:162-231 | akshare/stock/issue/stock_register_em.py:235-304 | akshare/stock/issue/stock_register_em.py:308-377 | akshare/stock/issue/stock_register_em.py:381-450 \u2014 These 12 members are variants of one another: a block of 23 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 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6022515a14b73f74c41d660d185a63fd17768d627cb1da3f7b802760d23ff416"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 20 shared lines): akshare/stock/board/stock_comment_em.py:20-117 | akshare/stock/finance/stock_report_em.py:221-323 | akshare/stock/finance/stock_report_em.py:327-425 | akshare/stock/finance/stock_yjyg_em.py:19-133 | akshare/stock/flow/stock_dzjy_em.py:518-632 | akshare/stock/flow/stock_lhb_em.py:324-417 | akshare/stock/flow/stock_lhb_em.py:499-630 | akshare/stock/flow/stock_lhb_em.py:634-704 | akshare/stock/holder/stock_gdfx_em.py:221-299 | akshare/stock/holder/stock_gpzy_em.py:91-169 | akshare/stock/holder/stock_gpzy_em.py:198-278 \u2014 These 11 members are variants of one another: a block of 20 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc9adba9c34820e7334c49168b8fea2f45dffab04d2ee605ec4594201c269ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 16 shared lines): akshare/fund/fund_amac.py:75-134 | akshare/fund/fund_amac.py:311-373 | akshare/fund/fund_amac.py:378-462 | akshare/fund/fund_amac.py:467-516 | akshare/fund/fund_amac.py:598-663 | akshare/fund/fund_amac.py:668-715 | akshare/fund/fund_amac.py:720-779 | akshare/fund/fund_amac.py:784-833 | akshare/fund/fund_amac.py:838-904 | akshare/fund/fund_amac.py:909-974 | akshare/fund/fund_amac.py:980-1034 \u2014 These 11 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"888cfcf6efe634ce7dee386481ff755f48bfe2aa73e1ad2dfb141675f14f2339"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 35 shared lines): akshare/stock/finance/stock_report_em.py:221-323 | akshare/stock/finance/stock_report_em.py:327-425 | akshare/stock/flow/stock_lhb_em.py:225-320 | akshare/stock/flow/stock_lhb_em.py:423-495 | akshare/stock/holder/stock_gdfx_em.py:18-115 | akshare/stock/holder/stock_gdfx_em.py:221-299 | akshare/stock/holder/stock_gdfx_em.py:303-371 | akshare/stock/holder/stock_gdfx_em.py:866-924 | akshare/stock/holder/stock_gdfx_em.py:928-986 | akshare/stock/holder/stock_gpzy_em.py:91-169 \u2014 These 10 members are variants of one another: a block of 35 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed595d7e1ceda5698fbfc3d29a9213a6c5b16d2b22a889658a73b69ebf9e411"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 27 shared lines): akshare/stock/issue/stock_ipo_declare.py:17-92 | akshare/stock/issue/stock_register_em.py:17-85 | akshare/stock/issue/stock_register_em.py:89-158 | akshare/stock/issue/stock_register_em.py:162-231 | akshare/stock/issue/stock_register_em.py:235-304 | akshare/stock/issue/stock_register_em.py:308-377 | akshare/stock/issue/stock_register_em.py:381-450 | akshare/stock/issue/stock_register_em.py:454-499 | akshare/stock/research/stock_analyst_em.py:16-102 \u2014 These 9 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 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":"akshare/stock/issue/stock_ipo_declare.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"86214821d335a554105f0089134a8f193965e1ff771e6f426b3f8322bb372861"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 29 shared lines): akshare/stock/finance/stock_report_em.py:21-117 | akshare/stock/finance/stock_report_em.py:121-217 | akshare/stock/finance/stock_report_em.py:221-323 | akshare/stock/finance/stock_report_em.py:327-425 | akshare/stock/holder/stock_gdhs.py:16-127 | akshare/stock/holder/stock_gdhs.py:131-227 | akshare/stock/issue/stock_zf_pg.py:19-95 | akshare/stock/issue/stock_zf_pg.py:99-192 \u2014 These 8 members are variants of one another: a block of 29 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 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"710474f3590ae77903917f5dce62e47af89faaa68a609c56aa230f4c2b80b618"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 24 shared lines): akshare/bond/bond_zh_cov.py:138-261 | akshare/bond/bond_zh_cov.py:265-306 | akshare/fund/fund_etf_em.py:326-455 | akshare/fund/fund_lof_em.py:196-314 | akshare/index/index_zh_em.py:197-374 | akshare/stock/quote/stock_hist_em.py:1046-1164 | akshare/stock/quote/stock_hist_em.py:1172-1219 | akshare/stock/quote/stock_hist_em.py:1471-1587 \u2014 These 8 members are variants of one another: a block of 24 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 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b7a50f29926de9ce99963fd562e1b4897a0c097a4aa8e72dc011ee77b1008f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 24 shared lines): akshare/macro/macro_china.py:2682-2731 | akshare/macro/macro_china.py:2827-2857 | akshare/macro/macro_china.py:2861-2891 | akshare/macro/macro_china.py:2940-2970 | akshare/macro/macro_china.py:2974-3004 | akshare/macro/macro_china.py:3008-3038 | akshare/macro/macro_china.py:3042-3073 | akshare/macro/macro_china.py:3077-3109 \u2014 These 8 members are variants of one another: a block of 24 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 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china.py"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb4db261f8a18a436b22f868df9564f001d5a43dd30bcd9ffc40dfe46ddf184"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 63 shared lines): akshare/stock/other/stock_technology_ths.py:343-433 | akshare/stock/other/stock_technology_ths.py:437-532 | akshare/stock/other/stock_technology_ths.py:536-635 | akshare/stock/other/stock_technology_ths.py:639-737 | akshare/stock/other/stock_technology_ths.py:741-827 | akshare/stock/other/stock_technology_ths.py:831-917 \u2014 These 6 members are variants of one another: a block of 63 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"45380db674a86899b7d753c7fc9dfa9bed9607d977758c273745a87c70f6f556"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 56 shared lines): akshare/stock/finance/stock_report_em.py:21-117 | akshare/stock/finance/stock_report_em.py:121-217 | akshare/stock/finance/stock_report_em.py:221-323 | akshare/stock/finance/stock_report_em.py:327-425 | akshare/stock/holder/stock_gdfx_em.py:221-299 | akshare/stock/holder/stock_gpzy_em.py:91-169 \u2014 These 6 members are variants of one another: a block of 56 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9414fec1545b9812ed497673cf922fbcad567556375340834cfb711d2cdae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 54 shared lines): akshare/fund/fund_etf_em.py:326-455 | akshare/fund/fund_lof_em.py:196-314 | akshare/stock/board/stock_board_concept_em.py:294-397 | akshare/stock/board/stock_board_industry_em.py:302-406 | akshare/stock/quote/stock_hist_em.py:1046-1164 | akshare/stock/quote/stock_hist_em.py:1471-1587 \u2014 These 6 members are variants of one another: a block of 54 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_em.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4f4cabd1acaff8fe480d6b4af8b5b9a85c86778df6eae84263dbce82d26525"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 37 shared lines): akshare/stock/other/stock_technology_ths.py:203-269 | akshare/stock/other/stock_technology_ths.py:273-339 | akshare/stock/other/stock_technology_ths.py:343-433 | akshare/stock/other/stock_technology_ths.py:437-532 | akshare/stock/other/stock_technology_ths.py:741-827 | akshare/stock/other/stock_technology_ths.py:831-917 \u2014 These 6 members are variants of one another: a block of 37 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b59bc90ef2b0b78be142b73753c8bb3b1c7ebe331b285c8d84486e54f1196e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 35 shared lines): akshare/stock/flow/stock_dzjy_em.py:15-85 | akshare/stock/flow/stock_dzjy_em.py:329-432 | akshare/stock/flow/stock_dzjy_em.py:436-514 | akshare/stock/flow/stock_lhb_em.py:225-320 | akshare/stock/issue/stock_restricted_em.py:105-201 | akshare/stock/issue/stock_restricted_em.py:205-293 \u2014 These 6 members are variants of one another: a block of 35 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2235aa65930efb430a23c34621b15aefff16fdab1693e6e737b93298a18fa401"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 32 shared lines): akshare/stock/quote/stock_hist_em.py:125-229 | akshare/stock/quote/stock_hist_em.py:233-337 | akshare/stock/quote/stock_hist_em.py:341-445 | akshare/stock/quote/stock_hist_em.py:562-667 | akshare/stock/quote/stock_hist_em.py:671-776 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These 6 members are variants of one another: a block of 32 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"be133d408a51e398c737411e68e98ef41fbeeeb201eb642aa3b8db2d7591128a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 31 shared lines): akshare/bond/bond_em.py:15-141 | akshare/stock/holder/stock_gdfx_em.py:221-299 | akshare/stock/holder/stock_gdfx_em.py:483-568 | akshare/stock/holder/stock_gdfx_em.py:667-760 | akshare/stock/holder/stock_gdfx_em.py:764-862 | akshare/stock/issue/stock_dxsyl_em.py:19-124 \u2014 These 6 members are variants of one another: a block of 31 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb84e2cfb3d65b2ffd5bb1ebd5bc96ca5da9160adb7c50613d2d2883f8c6b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 45 shared lines): akshare/bond/bond_issue_cninfo.py:33-122 | akshare/bond/bond_issue_cninfo.py:128-217 | akshare/bond/bond_issue_cninfo.py:223-316 | akshare/bond/bond_issue_cninfo.py:322-474 | akshare/stock/research/stock_new_cninfo.py:81-166 \u2014 These 5 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70a5eb08289bc383a891540c44222c59b07799363ed6b0ed106fb73a24ada8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 42 shared lines): akshare/stock/holder/stock_gddh_em.py:15-94 | akshare/stock/holder/stock_gdfx_em.py:483-568 | akshare/stock/holder/stock_gdfx_em.py:574-663 | akshare/stock/holder/stock_gdfx_em.py:667-760 | akshare/stock/research/stock_zdhtmx_em.py:17-119 \u2014 These 5 members are variants of one another: a block of 42 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gddh_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac3c23192db3e37e084d5cddf69a67dde455c3be3e1edc821d18916a7af6326"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 23 shared lines): akshare/stock/finance/stock_sy_em.py:101-206 | akshare/stock/finance/stock_sy_em.py:210-307 | akshare/stock/flow/stock_dzjy_em.py:15-85 | akshare/stock/holder/stock_gdfx_em.py:764-862 | akshare/stock/issue/stock_restricted_em.py:105-201 \u2014 These 5 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6537384acbbca2a1bdca4dff788b41cecb18d3e0c16e2bea68ae700abb624edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 52 shared lines): akshare/bond/bond_zh_cov.py:310-462 | akshare/stock/holder/stock_gdhs.py:16-127 | akshare/stock/holder/stock_gdhs.py:131-227 | akshare/stock/holder/stock_gdzjc_em.py:16-128 \u2014 These 4 members are variants of one another: a block of 52 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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b9108e4617cc83c209314270144b8014ee035cc5b4d36f1898fd21c77772d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 48 shared lines): akshare/fund/fund_amac.py:311-373 | akshare/fund/fund_amac.py:378-462 | akshare/fund/fund_amac.py:720-779 | akshare/fund/fund_amac.py:838-904 \u2014 These 4 members are variants of one another: a block of 48 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":"akshare/fund/fund_amac.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f6767b74a037f6b854ea701bac02fc47784e7ff7700a6dc5fb2f2e57f2d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 48 shared lines): akshare/stock/flow/stock_lhb_em.py:324-417 | akshare/stock/flow/stock_lhb_em.py:499-630 | akshare/stock/flow/stock_lhb_em.py:634-704 | akshare/stock/issue/stock_dxsyl_em.py:19-124 \u2014 These 4 members are variants of one another: a block of 48 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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b90ab514029d840ddc1a481f383c42adef59f8613c48f1b25bf24c7b312c683"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 46 shared lines): akshare/stock/flow/stock_lhb_em.py:225-320 | akshare/stock/flow/stock_lhb_em.py:423-495 | akshare/stock/issue/stock_restricted_em.py:18-99 | akshare/stock/issue/stock_restricted_em.py:105-201 \u2014 These 4 members are variants of one another: a block of 46 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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccacadf4bc23d6ac34832bf3cd0e0f998e05546dd2ae6fd60d1c95c2f6f4a22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 44 shared lines): akshare/macro/macro_china.py:1101-1169 | akshare/macro/macro_china.py:1449-1514 | akshare/stock/flow/stock_lhb_em.py:225-320 | akshare/stock/flow/stock_lhb_em.py:423-495 \u2014 These 4 members are variants of one another: a block of 44 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":"akshare/macro/macro_china.py"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ebaf9af0ab759a61ea26442ec9dc49dce737f71f543a5bd8a434a991430a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 38 shared lines): akshare/fund/fund_amac.py:311-373 | akshare/fund/fund_amac.py:378-462 | akshare/fund/fund_amac.py:524-593 | akshare/fund/fund_amac.py:720-779 \u2014 These 4 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"akshare/fund/fund_amac.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8522449f434765d7172be2d448f8f6c8321ba7d3656245c12fa6960bc62c9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): akshare/stock/finance/stock_sy_em.py:101-206 | akshare/stock/finance/stock_sy_em.py:210-307 | akshare/stock/finance/stock_sy_em.py:311-399 | akshare/stock/finance/stock_sy_em.py:403-467 \u2014 These 4 members are variants of one another: a block of 34 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":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc56e240ec2d6e2506439f8ce43cd42f107b85f9fbe70330ba14f38a6d46a0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): akshare/macro/macro_china.py:1101-1169 | akshare/macro/macro_china.py:1449-1514 | akshare/macro/macro_china.py:3113-3182 | akshare/stock/flow/stock_lhb_em.py:423-495 \u2014 These 4 members are variants of one another: a block of 32 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":"akshare/macro/macro_china.py"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba1fad666c91c72d884f2042c08c33fd58cbab63a442aefcd49d9d717403bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): akshare/bond/bond_buy_back_em.py:15-82 | akshare/bond/bond_buy_back_em.py:86-153 | akshare/stock/quote/stock_hsgt_spot_em.py:15-72 | akshare/stock/quote/stock_hsgt_spot_em.py:76-141 \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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa99641fea98ac12acf460513acf35c1399d2cf6ad20d9f6853e747e35f0070b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): akshare/bond/bond_issue_cninfo.py:322-474 | akshare/stock/research/stock_cg_equity_mortgage.py:31-99 | akshare/stock/research/stock_cg_guarantee.py:33-109 | akshare/stock/research/stock_hold_num_cninfo.py:31-103 \u2014 These 4 members are variants of one another: a block of 29 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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6961a3022941b2fb91eea3ab9543938a4d1f6260bd02fd52391630ccbdba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 57 shared lines): akshare/option/option_finance_sina.py:78-147 | akshare/option/option_finance_sina.py:151-220 | akshare/option/option_finance_sina.py:224-293 \u2014 These 3 members are variants of one another: a block of 57 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_finance_sina.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"680d4b43fc9d808d3468ce867a7219219dd3923cd642e17f46d754571b767a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 55 shared lines): akshare/index/index_research_sw.py:338-407 | akshare/index/index_research_sw.py:441-508 | akshare/index/index_research_sw.py:515-581 \u2014 These 3 members are variants of one another: a block of 55 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_sw.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc50f6728589f4b7dc446f2feae353772e343c4470dffee1928437a382ba63"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 52 shared lines): akshare/index/index_sw.py:39-93 | akshare/index/index_sw.py:97-155 | akshare/index/index_sw.py:159-217 \u2014 These 3 members are variants of one another: a block of 52 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sw.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a6be1c4cbb90779e3a241c1ecc60f89c2fb5a52f0eabc54f8542fa3e09a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/interest_rate/interest_rate_ibor_js.py:15-56 | akshare/interest_rate/interest_rate_ibor_js.py:60-101 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/interest_rate/interest_rate_ibor_js.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab26edc24a6691163cb2a4eab82d73f21fc0b4011ba7adba190a39eb13375a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hist_em.py:562-667 \u2014 These two members are one piece of code written twice and then edited apart: 105 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08a9c9cb1b9b06305a8d0ff95338d71ab86a922876385f3f5d36c400188b8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hist_em.py:671-776 \u2014 These two members are one piece of code written twice and then edited apart: 105 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296916bdd2f8e40dddbca2ae60471f85054d345985a610f080686e8b38b7752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (104 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These two members are one piece of code written twice and then edited apart: 104 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce12a4f5d1977e4a1cfaf27e0ff47cc70d9feec5165e36ce97746fe8a3684e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): akshare/stock/flow/stock_fund_em.py:23-119 | akshare/stock/flow/stock_fund_em.py:348-444 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a281ff7ea7f2ff7803fc5fa59f76118a629e4b42f37a79665fafb20b230dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/fund/fund_rank_em.py:247-335 | akshare/fund/fund_rank_em.py:339-430 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/fund/fund_rank_em.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcd17ebfa11afc913760f00c14013cb8711ace672403ae8855c1d2350915837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:125-229 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd718de7d914d2212e2e0486e891c9beac7e85b2614a8627aa7921e85ab3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:233-337 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd0386859b213f239dbf4801403b0cb399fbd2b476b747c5f6a0cb9ccd4175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:341-445 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dba7355d44d069d4ecee56dd04d3bef5663296637c161e5f17fe68f04d2262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:562-667 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"968d6f5842db355789da8803255c14b4fd71cf3000f1a0a244d1697c9f51589a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:671-776 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273633a6f4823c9fcb98cc21f84f9b8f50b5811adc8a4b9ec2fc7e4145d4f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:845-949 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d7bacd2c6e5a24b5b08fc19c7b8700a2079019b34684180ac306f985552f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:125-229 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f6a23fa8945fa89ca96601f9bbc3a21c43d837b0a88f936e96eb9125332694"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:233-337 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151e7c43112decab84a1d0c7c131bcb9a4b4022b34cbe80e59759a497f01e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:341-445 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2478ec8e992a873967b638728c0d42be757ebb04422a1a321efe30d8d28b09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:562-667 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c7e207b3c5ceabec84a664ac1caac954b2d005bffb5ad794bb9d243d8791c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:671-776 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf6bdcaec6fcb3d9853b3f59ba5ddb10bcc832a1e6e46e3a94533a1a0152c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:845-949 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"df87f7e18943fb987fdeba4ed8132c4de9599b8506e26d2879ea24cbb54426e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 83 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fac9196ac28eaa63f5f631bba144e7b5790e11d616add1d98fab7aa148b727d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 83 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c6906e7b977855f27ad95e6f8bb82c6ecfdd9f666de89faaea8cbf25264ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): akshare/stock/flow/stock_fund_em.py:1022-1105 | akshare/stock/flow/stock_fund_em.py:1134-1217 \u2014 These two members are one piece of code written twice and then edited apart: 75 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":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ad90fd0e20051d46b684137e80d68497dd2323705eed562fe49517604ade03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): akshare/fund/fund_etf_em.py:45-216 | akshare/fund/fund_lof_em.py:46-116 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb62eff15982a057afc12b68d832eb0f51d8f1fa1845305953247fbb8ff2b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): akshare/option/option_finance_sina.py:297-334 | akshare/option/option_finance_sina.py:338-375 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"akshare/option/option_finance_sina.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"817d7455ab59e99be5853f7b0f902e6afec3f6b92e35c2205acd65aff0456b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): akshare/option/option_finance_sina.py:297-334 | akshare/option/option_finance_sina.py:381-418 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"akshare/option/option_finance_sina.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce49215649621dede95d3cd89fcffe5c6b2c7ee35897a6bd642917cf7527cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): akshare/option/option_finance_sina.py:338-375 | akshare/option/option_finance_sina.py:381-418 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"akshare/option/option_finance_sina.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9873e35c89b0c872cb83af701039de06958bb601251799ace1558fd4ed063a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): akshare/stock/quote/stock_hist_em.py:1692-1752 | akshare/stock/quote/stock_hist_em.py:1760-1806 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c0f6f4c53e037e062629fcafaaf53f9dce4c553527c6eaf946e1fa84ae647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/index/index_stock_zh.py:209-289 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0196760630cf0ed8f811980d0dea35e82d9961dcdcef8b6265f2488539b6dd5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:21-107 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 87 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d52941fc11dd38c2745077c9950ed9be2dff443aef5b28f7c2b3775aad7dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:21-107 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 87 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9591058c6562d61dcffa80f2f8a7c4288a59d90a37648e6de46cbdf2907aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:111-197 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 87 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a44d7dab599f3fd79eff0f0506c0a07cea363b59ef4381df882bff1217781ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e0f9e472e7c0a72e10d3d2b98bf66982a366691ddf3828427b2ccdd53c7643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c18c77db37626f8664dbeaad1637e5aeda8a2276f15d7d74c7af64a51488f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41016cc3196c1dac819da9829554aeb1a2f0476fdb6dd504ee917e125cb2c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6fc9e78ec7d5e2a64824a71c923bb746b426fecaa1c3c87ce72d90979229fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7959e1b657ec7832c11747acdf6c5068a5e340d99b048fbd02cb314921dc1456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"fede79d359dfc04a85186a2dd5ff573b8c9976cf1a3d2aa4a7c361968b3039ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"521fc354296f8eccf6e131c51744f18298db19f17085c03d7b80d81baf34ab3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef9d25227a23e457eab935c33514ab1861c39017266234dbacbf4b6c943f695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da86d07ea062f81cb50df4292099e6659bd36cb93ac66633b8dd6cf0c4bd430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:16-121 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51255a6c2c6cf7d0d9385e987c570a8422276fe59f8b632f2d73a88875f4b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691d5d62a678f435c242355a4f5b5d0fe3a01b1c88027d636f3f9379c8da68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"30df4bb4a0d9f63164baa7136418a59c056eec4d6dd67b56bc3427c2e2b6bbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:125-229 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f242a762fb9b7ddb938a29f1dd5d2b478738b42b8f23554e045f6cd08cdf58a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:233-337 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"09164315d3930e4ad10a5694ba5345367ceb02abefc5843842e0b0a2577c06c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:341-445 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec111ede3d90d13c0a8a0343a006373ee42fe63f3b758e0b587168ed9074ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:562-667 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a2959a5159e332529f8a6e58e8080e3498a8734bff2dbd75d31c5253b6913b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:671-776 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de4a8cc8def2801b4dea07dd3904a50735650b7d2019c6318e4cc42fbd7199f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"753ddf213e4ded6d4050b47a8d8b4a603521ee3001f137ca5fab8710583731ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"edebb78ebcdf78f700422b1a02ccb8a330e506c8ddfea9258f3b95fddf0d83ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd64f358038a0493dfa56e0f6b85bf9a3613b102e984e35eba53f4ea06ece73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/index/index_stock_zh.py:131-205 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"777c73d55b62b4fe0c42c2aae04f41d626d23c54aceef95a6ed6f69f9e44b86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/index/index_stock_zh.py:209-289 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8030e1f1810ba3063b99c414b0bffa90f7ad0041abeb487176c50f3e214ba05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_hk_sina.py:30-113 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f4638d62bd4905eb133e5f3a43612067f04eb2053aeb440fff6e6739752226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): akshare/fund/fund_qdii_jsl.py:90-159 | akshare/fund/fund_qdii_jsl.py:163-230 \u2014 These two members are one piece of code written twice and then edited apart: 68 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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea656623da4b0be914c9ea89e7615aae266de1e0ff7aaa6cd2cab67d82e2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): akshare/fund/fund_qdii_jsl.py:15-86 | akshare/fund/fund_qdii_jsl.py:90-159 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6858dd7943bdd56fc162ac199243e46de903531a578ed62afc7cfd001af4294b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/board/stock_board_concept_em.py:401-499 \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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f4f04a08cdd7f3748a9291627f2f6a5f82a9ce2d4f628b03f7b7f8d86a7a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/board/stock_board_industry_em.py:410-508 \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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"605156b9e0bb97460558d32ed7415c8f38072d0c290748435c2838220929c960"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:125-229 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b7d447f359210055b624df94f02c4171c9605e1c1af0e3b3a55a5b4e178f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:233-337 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"03175d8fc7953a81f6ce378e9fc16aa5eca8aef923a6364652e461e0e88aa3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:341-445 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"858f5b975c287cdcbec0e01b4ccae89f7fdc340cc2f16c9ccd6a040c443f5259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6714918d563e40063e2d180a395541a40e7dd8b41b1e478965d0046aea6a4732"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:562-667 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a51ea37f3481785e3bade7bc0b1598a971037d46d3c77b6856dfdbdcb1cd98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:671-776 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d782f9fde692ff5a783b57365ca2d546d3065c930ea0025f084981c961b914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c44850bc5a0d5a850cf473b89a33834a43cd708b2ea648529aff20ab7ecc2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c86a505b86a0c8e9fd54e67838e48960e83026c25e2b1fa021241f427d8570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c04717253b1f9f5852537bc0c405c481b4c865ad05df7b7239142c57f02851f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"784d5784845bb7715e484be8906be85499dcd9dcb3d627fe8925c4d699d6a5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c91c3b9ce198a21e475b8e4571179657efb8c0d3bc4861fce8689b0a15f208"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dd2b13a3e79181fd4345165a155eaf721a37eb45c50bd5f1a4e17e07f02507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"27184f786b7a9d8056332133e767cc839623fc6a254c8617ee05200ffdbe792b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/quote/stock_hk_sina.py:30-113 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbd27fbf242c4ebf767f447bada7a8d94c3b1f15d2d55de0fedc54a5cc5f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/quote/stock_hk_sina.py:30-113 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e4283ef122641a685c521bb34c2c533bd9ad95ba89d253875d91e4a301ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/quote/stock_hk_sina.py:30-113 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc6a65ef9ca27cb9cf66d57f83f997fe5c5cd58fd255e32c095c3573686cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:21-107 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"85523cdd73a848604ee1e10af6bc524aa97511e954dd88355e6f853f163630dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:21-107 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21d4c95ae4e9bf201bc6c91c1ba58e4325d8416be7cfe9e122c0ab1bfd5f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:111-197 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1e5240f3b1d539797801ce8ec653909f8abe90accaf5127552513c81523d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:111-197 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaef2b3c18adc6e6596dedd5c0fd0be54e7b9d5b9ec27a95b9e39390f6e2e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:201-287 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a689e83e162e7be1507fe7422a3d747521d81d241db731a31deac13eaf54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_zh_a_special.py:201-287 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdfd970e45a49aadaca736804dd64d90b73c7c1047f7d5ab1d9be1dbf5eac2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_zh_ah_tx.py:41-107 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c51b532ae1b9cd7179e53ab67802ac47bae69da0d342e546e4109eebd25ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1ac2ed9953a2aefbc0e5b469fde5e4109d12b91345d9cc178c6502b365d8dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61c1efbbf3818e165384d4428383fcb575847fca899addcd8cd9eca63c4416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"96528aebc7ec08b8bf2b2b7505aaf02582847d37fe88593996b8e8615bbf34dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07950b7df5781e0ced3bcf3da9fc59929589547a64a225b783847d787f9e914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7cb8d883c7778e8e9de9c2a54fb08da95bf8a3f15fe57c746c6b363514b99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d99b80512a789ab1275ef01e089531887d3f825e5d7c2bdbe59bca8d376db4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a856983b08f279566f62b35e9ccea610f7b23306c34f3f31fecb5767cbce68c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abfaa91c066e261911dfcabdc665ed456310a55678082bc56787a82c0d3ab1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"630e944219e7bd082b516251067b726d1fcce66557f67952778c62ef4d690ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"14013da6af239707b3b464d1af71800e764b48e78c81a5e83407fd216e4375e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2b0246236ef8664b7eb054e28024e182a10616b3a8595f510bae2cf9eecd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ec70374c3633f359c5f931deec89ea12b4d8086890228977085421a7faf408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b67f65ccf12cacaf9f42b674635f42bbaf8e1cd2fdd8f2ee20661bd39985e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a29b5394e02a4ab57af578346fe30cd6ab00085b51b09dc8614a7ffdbec2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a243a645499ffd5e234327298e572174635c0f3980e827d53c14a1a831eb14a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0125c953403bbfd8eb9e268358529f048e6fc5bb8083422e745d54a6bab60a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cbd969a2575d92d941d8fd43d4500a188cf9eaa794fc36fcf043108cf99834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"85036603fe3b98672e488aaec88e408bd5767237ff1cfa03f096386dafebcb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8954cdbc182109bb1e2fd807d9443b2275e2e21d8e03eb8b95ad4d1e32173329"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2637fd8d661079fe829cbeded84a11a2a204722449df01977c8a69b068903d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b3266a13b733855b8f96fca56329a4ad7bf927f4a1dfb9fbe01a9f2c6e153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c108b39c360957a9f1f9d61df2a903bf20c8487755925c77aa872d0f0f8db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"151342519f6dfd83092f8140f95bfe44b1bcbb7f2c54cf2ab55d9c7bd4c55514"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884156909d383e0cc072027b46918416b940b3731dcb219bf041ea39b070234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb0619cc49b61b322bc7c76501c1124b61e46b28269be3e55a33406850d3162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e5b56dad7ffe2fb30ff2bfdde68d6bb9c1dbfb69a97643dd5537a8307cda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a029dcffda759c7303f3c008d0ac4a7c9aba1a93c7ad78edad853124dcfd1c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590ef37bd99751ea028db0e007474f803b19d126c208d8ec68e3246f2960bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:16-121 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b8b2ae3aa04a189168c29e467e3ed42c6c5bb0c35a70568d8488b2ccfe733c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:16-121 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3907ac765286af0f1f8c9e271ee672fe4eabe6641c28cfb7c77821d07044be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/index/index_stock_zh.py:209-289 \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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"402b94a740baeef2570d1cadc5c46bbb555fb3796511c0f4e926455ed211c134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff12b5c94a2da50a53b8c401eb0e3f7572e8aeb640a20cd1d7c11b4f1428c403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b0a5d9b31fb80e8a09171fafd39527e4f4afcbbe94ee72e3d2ac2ec75b70fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615fcf2cc61cd7e98d2487247596dfb14c098911fb9d48bb9a088221e576383"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee6408b5518d9e63b305b3dac308bec21be01caecaa22392ca15ae2d3b4015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe42c478eac314ec956fc44174f2ab2620ed6b048be5bec5bad179cb100ca82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164ad7e7d583cc74d523085d0ead4b5cba42cfe55b9dad574d1a4527b6b05c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eb1b7977dd0f15060b121e51bc34cc60869f8697c036517b6d862035b41a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b39ed9002e3fde34e0f86261475c67a09c1fd9a9208f9620123cf9e9a83823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b224db59be7ca81175f27053d5828b966a726692b011822b92782eaf1f506ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0140dd562d4a1ce0d01813df6a0862996d18d2ac31adc34dabde66ab340b49a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"066d251e149b3c78ae031768d5fc5167da9e945778801ad9e444b412624da48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:125-229 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad6ff59d5b95ba1493e976450652f430c49a0de03440961cb5cf6cdff09b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:233-337 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3c89f2e0ecd83bb70008edadc1459979db9ecf2c7d510b7675318969608985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:341-445 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f301d68bccd509479ae901e7bcedff02b91fb85ea94af0925e22566995f02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:562-667 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2824fa666a9b341825fd033df9c7874504cd46f85bd46b8bb0e5351bb14c4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:671-776 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbed7aaa277848ed02b8647c7feeaca447e96635bf597c4eacfa693fe4add9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63b266ff93c44e6261abcab2132b1ec5b4ed92228bc6c3bc392a5ab81a6f428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"286b9b9eedfd063737aefbbffa1e104803f6228ccebb4f2f31d88f8a330ed2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"93361470944c94fc4a204acf1c896da3e4efaa59984134f3e47816a7aebaa8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3343e6fe53bebc4707400f0fed993acd72e54b3f725b341689d977ddd681161"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb51f039a2d5db410e6d6e2c0ba1c57875d7131394663288a24e1a595d42e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f448f580e3b85efd668f4195074ed6606d37dc3e77a26823957e75e176329277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a26399a49c1c2be550e9f579cdcc902e041dfc003e52eec3bf546be9d58cfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d8943e22cc137f0c8911fb57fc9a2c196dc286331c0924b2d6880280ce2037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"42470d6cf6ffed1c477de91340cb221f8d31676974554f17a3d2654053938744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca22fa189c4fc42a356471ad75b2f8e2ad15cbae000cf1d36b326cace5062e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:125-229 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16aedd307ff5eaa1f5bd065caa67a7cf3aff79558c52aff2aae57bd8b3a6586"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:233-337 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e4aa8df21b3a1a09da537299d17b426cc8ad847c6b4f1683322994bccd6661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:341-445 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fefe4b65de35455f24a4f42b434f7c6c6cbb417d66486764e6102b1b034c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:562-667 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0d5982f1311032356435e4f2bc42b5935a9fa5aa236f9d42a87e85a55b88e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:671-776 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"094192e7b39dbed5226f6a3e1842cdcc9b9d24230f21170b700a071095ddaf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:845-949 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b2573b9b1c853762e1ab134efced74de4348337dda20cc77fab3acd2d04476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9f95dcfcd3b39b82e37ce51192579425cd5bfce450e7fe74cc00db7c9f5eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2169629e794205107436555c3e90dfd6477cb5eeac31f04bdb2b1b1c05b959"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb794a689d4b562fa9cec5ca2df3a4eae2cac02f5866898b8d529eac6adb7c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef3906b96d8e61e09a7c7d9531380c109b989aa4d25243fc580ab5bfd0096b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"495455b7c30c4f0bbba12ea253e323f962cf2add7c79832b1619d2574ba1f725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee742050a2ec10f0e7f4f6077462144aba71b77cbcaf5b1d170ed3b11601605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5aef960487bd92c8bb538761ef1de706716d7cb66578d73f9dd5d6328bcbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ca1437ae5dc6e6073ac16796c42cda82f8552e98c3b0d4666d208c8d4f95f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/option/option_em.py:113-179 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/option/option_em.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2282e2d9bb0650988b428f7615392b7e47f499f3afdc1cabbd2d4f24d832ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): akshare/stock/quote/stock_hist_em.py:16-121 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d012f89b59b41ec2b1cada3090b378f5ef66e42542af943ff3441d214b2ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/stock/quote/stock_hist_em.py:16-121 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dece094f503b8bd164917d7d89e9699847aa7771739aec1d207f1e2089896eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/stock/quote/stock_hist_em.py:16-121 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82266082245c26ae8920761ba94d8f62f812401c5e57fec71c415ffd2c55aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/option/option_em.py:15-109 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d189cef0a382a401e7bbca32626f7c89997088ac50f5cb5533a3457ba14a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:16-121 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d433c4a4ff9bfcefd036ab9eee9281fbb6e545f56955dd6cbb11784272fedc10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/option/option_em.py:15-109 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28c7f9172a289972c6902d44b5f725466bb0cf7162e75d298f3e7e7be35232f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:449-558 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fcd2f0b72e3de2bc085a41df9631257a5b1ae7abdad6ee641e29873eb8a267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/option/option_em.py:15-109 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"42072c17a7b465ec93775a492bb02a9ec9883d3277e7d845c356a6d3cc176369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:449-558 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d61ec1a3d8a6b48ea08631abfa368e5956bebb9f00374c3d441a5c51d061ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/option/option_em.py:15-109 | akshare/option/option_em.py:113-179 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e8a5ac5cc06a88e03987a4c940bc31013abc0f8b924be8cf3bc30bc64dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/stock/issue/stock_ipo_ths.py:16-79 | akshare/stock/issue/stock_ipo_ths.py:83-131 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/stock/issue/stock_ipo_ths.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd37c533c0eb106fda03a6b40ede712fe706d2c532bc10b9dc9226034744b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): akshare/stock/research/stock_hold_control_cninfo.py:107-195 | akshare/stock/research/stock_hold_num_cninfo.py:31-103 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"akshare/stock/research/stock_hold_control_cninfo.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c23bb5cde7ec274b2ea4a691da30b467d0e50cda8601e0bcd04f49ec14d4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/index/index_stock_hk.py:149-214 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8311b53e8bd2937b7b04b55b5010cfc7274c986aa5132a057a8ffbf46927b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): akshare/futures/futures_hf_em.py:171-243 | akshare/fx/fx_forex_em.py:77-140 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008713a7dc39c4ee8d0d780251512232b48ef6eb48352b97585333c1aed9145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): akshare/stock/board/stock_board_industry_em.py:216-296 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4bb059c4500e23c73ef2be51dbd17771536b9a9d3cd201136dc0fdd0b21956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): akshare/stock/board/stock_board_industry_em.py:216-296 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd47c5da5afec78929658739ae832e8a399a98fe9ade4d1d45618585c8f40792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): akshare/stock/board/stock_board_industry_em.py:216-296 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd77079accfb2e4bdaae0f03def8f2ec9036ae8e58e90262989bf4e9900739eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11efa46b9ad2c7b2aa1b3cde0417c591af62b433aff9a4f3e7b619c2eda5c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa002edea40e7cd2820ad10467aad961d52be778067f6ce7d43f9df49708c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04f0a19cee8c420478f43ad7dd31978e5eb9c4f92eb7f5b3ef4ab8439aa375a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4073881d54183a25e6a1091afefeee27f0ba81d097a6a00bfe1c4af559e99c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218920b49e4edec86de54e8af6d046fef0a39e1ab46089c7a37ff36c6c457a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8707cd3b7983d9339d9c6b28daeb026ce9854be26d04ea02020a292d1fbddcd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"91865d4f80cae86ac2b2e339442b9d38168960bb5737741d2cc0d01e87dd9918"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb1d36e44815f151cc5759699d51f418b12170ef33ec147dcbd7dd1bed8a096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): akshare/fund/fund_qdii_jsl.py:15-86 | akshare/fund/fund_qdii_jsl.py:163-230 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b504c6bfb5e83bc860266db260e0d28cb83cb47e5dc704b549ed24ad2ddd464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/index/index_stock_zh.py:209-289 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"481f10701f66fe6bb15693260c5bff9ce9c7435ee63b2f17bb86ca262656ec92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaec771b17f7f97b75306a65eb3972bc9009f81fc6f83abb1637be9a958bcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18edbec641185b2bde802596ff8a2f756b3e304bd380fd205b07203e79ef514"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1591-1682 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e0e884b56aad904494f23e453d54f389444db912be2eaf6beb50bc22ff5e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1591-1682 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c2f619e536a26f12c2dd13bf6142334b25e88f3c942b3f78a286839cec2669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"17816e993750c19e8762ca9ed2d87913653325583e5a31b875af9b2cc43a6a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c5a10ab4e991b0dbc160bc16b29afe31940600704d94c58938f0b2f3858155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b67fa61197251be20a4dedf3f3f87dea09f30044b81171ef24c3fd98575b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f291b0ddf7f3cae20819f341327870e69eb59b80a0e65986f2ca4b2b854cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/fx/fx_forex_em.py:77-140 | akshare/index/index_global_em.py:95-158 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb1a36c5fd52f0a2adbf728cd2f117db4b2b995d811adaba2dbd145ae6fda2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"382512a9a67068c1606d9f304442772af7e7a138f1842e7385102d396a4ba358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"db77fcc8f4a2875703f294fde090292a2b7d75ad0a9dc42f7f888d09c131648e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6026538541366d6302cd357ce31231aa9db7d2e1850c52420f4c01e6f2b18802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a2df8500a12cadf84736189d5150cbbdeee824d2f0ad839e5a55f6183f1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/futures/futures_zh_sina.py:653-688 | akshare/futures/futures_zh_sina.py:692-733 \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":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae0899e77889539795736469636e744a0836c55e24e0ded3ff51434d9e1fc56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/futures/futures_hf_em.py:171-243 | akshare/index/index_global_em.py:95-158 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2b07a0ee59e36b4a996bb0b56a2339f8d7b8c0d131de607cc167e387f3606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/fund/fund_reits.py:47-113 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ec40eec3341de523d34337b4a003874e76f5b0f23befbc096c8bbd2cb9ef70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/index/index_stock_hk.py:149-214 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b72d9c6b1596dc66bea225730c1b990cab827961542bb0d147c8ae5bfe4108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/index/index_stock_zh.py:209-289 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"06878af2986a9c44c4d682070a77c317601cc1a1875fe2ecae70b024954e3f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/index/index_stock_hk.py:149-214 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"12062b2dfa2f392ffbd5be7ccb70d4a1cf435083dd818ffa83840b6f90285660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/index/index_stock_zh.py:131-205 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3728d62bbc9934fe976cf9a43ac6e6a9ebb98d41627678a5af8e26a16d2e8765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/fund/fund_etf_em.py:45-216 | akshare/fund/fund_reits.py:47-113 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8721430316e5730508a5b67c419fac950973134e45ebf887edc90a61cbec90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/board/stock_board_industry_em.py:20-86 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5f4b20d4a5c54b9e2ad78a0ad42e8ae0187b559d8f1140809b2f9f5b86dfdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae950f13f581b36c5faefa47b345ea4f5dd6b45cb7dc5e84e7998a5e3c72313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/board/stock_board_industry_em.py:20-86 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"62edff4f49cc5a93435d59d93738ec9f11e3496b7dc3136ffe48a3d0de584cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d76dc0516aff51a9f273993adfdde343dccda4d0c553cda90caac2f6170bbb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): akshare/stock/board/stock_board_industry_em.py:20-86 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4ab44c3b7006c4ca14208e547b225ba5563dbdeb5e08ad114dc520184f80d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7289e68826153216c30cd92e5f61706c2ffd21a557c232bf966253b9e0bd822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd7022efbdeba4f416349456e21c4ce7cf49923aa11755d8820ccacf338b007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a694bdec526ddca6132dd27978cecb909a7149487b1555d1e4af0b511b77a0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90792af1b819ecad6aeae6874d6427d396e251b7dd506d71ab03e342c684d38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9d559a3313e9af4300da3640b8f6d5c8b7ae12256f14d8256c1c7a6c708274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab6b5cab7020e387bf0da698017388eae50078fabff58cc402939f42e011342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"693fd54775d6a4b794033d6d59dc13b170894213ab902f38e547115b855669fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b0f9725455f82f9a4223b1db1a820520be2be50ba29e9e6def7e8f8bee7ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6191cdd7eec55b90b5504321941d546153755ecfb6185fe77e1ab5f33f9428a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/index/index_stock_zh.py:60-127 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d1d6d9c420e6393fd3d8c1ab18bf9676e2cf476f5de08eca3da5dbab6bb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/option/option_em.py:15-109 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7b174b590b8eb0e3fe64e82ae73a8aea4c521240be22b2821c1e3c79127e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3bcbc09de2d45103bebe58f1723544fdfbdfc3c2cbf72ace3ed7f3e2f5a3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a12f43fbf594f3f021f97d7ca5bbb9a80e63696e3cebaafbe9a425f07a52d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ff7e858edb9a0005712e7202ab312c340c50e92cbe48bef7e8246617ce9f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_zh.py:209-289 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d857f64ee75706a7bf5019bf67b39a57e99c9efc5aab9f7a1f8c1b39de0bcd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf208d32829929f0f87a1df900dcedc702231bc0c8e8b9aca1c37c756fd5e9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd79abc28ab92ffb2b6e57e573c440fbb84a2ee709a1c83fe1e960e200947e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b85831781a42fc430856028e3fe70f71b20402e150828af51f4e41348cf0a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e7178bfae10aaf1d5a56d15170244e892f7f0a3453df9c8957a21aa20c1e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f15f211faf823e22eb73d98a8405bfdb0846235b4adfb9b2eed9f146c0ae4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f42eb3ebd65c86c87b2e68055e6e1de54064bc9022e904b189b170fcca710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"45773540292f4a9fe1ac10cce988833c8e8ba6793a27e5a38a57a5619ecc77a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8679d46cbf1b569dffe59370a4c3480a363d56e0959ddcb697a488162f29f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_famous.py:15-112 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2d0380fa5a8f5cf45dae59de322cd99e0ff1e13e60a55cb9bf8136d8e25155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_famous.py:15-112 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3411c15fb04ac5d39ddb658716d7ced923f6bc42cc8b491fbc5aa5dc0af7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_famous.py:15-112 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5f332b93369637f126b128e50d993caac1b7a478923a5d80e0cc9d3aa3912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_pink.py:16-114 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_pink.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"44640c50adabd314b186a5bd225dff135a129bf492df188d30c732ddb1847f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_pink.py:16-114 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_pink.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555930872ba63c3828126b4a1e80591f29ed7c23b6cd79fd16598347927039d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/stock/quote/stock_us_pink.py:16-114 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/stock/quote/stock_us_pink.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b2374c426d844bebfa15ea05025a256566940664c1cfa3f44877ce0e8ef2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/index/index_stock_hk.py:149-214 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d4eb1e817aa23431714aef4ed3244003db39e94a3b14788b53eaea77b0f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"16885ebcb2b70c2ad47c1481f655f961b099b43065bf0a8a9a7b65900259ee7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9dad822e26dfd1f303db715679a09417afd81705ef5551c79cdfd148af32c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3434995cf776ce92a4f3b22362ac1461d49c9db3d91cec37f3b45bf026125fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7298447e04b2590b878a1adf586dcad805ab13553a7d209b1b202fb79b137fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9540e6e0205da51678692a460476c0bd977d8a803c8bdb90f11dc1554bf82715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d3b0f7e3ef9760e32fae7269e048563e4d63cf7de37b8e31ef026016ed3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa48bbfa9c217a8f4a8726bfc232a6f51e6354d52679e865855638b5f4c4d9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c47fbf776c766b4551479103e7323c5e001acb0b068791a6a5e02e484f14362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df881957a5a9dc1e90f13e9fa20303e36385492107a53f06d594367a4126fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889c481145154930c16e9f2d83a70c39740831c5092cb70fa8171b14c9fc8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9debc8f6c66c96d5d2cb829551e1bcad3d3fb97c3334ff778864b7f36380b7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6e6de3abf9f5339761984b23cd1dd74540dce86f6bfca44e41bf514fd1ac6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): akshare/futures/futures_contract_info_ine.py:15-64 | akshare/futures/futures_contract_info_shfe.py:15-66 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"akshare/futures/futures_contract_info_ine.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd9e7f706df618145774fa61af29ce183a17c2b066310a6a6010637799ec890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/index/index_stock_zh.py:60-127 \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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc31ac8c516746e2893269c5e1a80ad96ad9ef4652c39eb5226f07abd170df1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edeaa46d109df1f61ec25e33fe5afc8bfcf1430d634e4b52f438bfb6a0cd69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f47e88a942867cd498d1f2273029f8d63c317b4059952aafd82a74f7f09a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1eee2b285080d08e4f9cb860df07cdb82706b8f729eaa4f2701187928abd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1037d036d18dcc1fde39b823ccd04bd92c0e74a2481f83206fda4831f70d2866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hist_em.py:1591-1682 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a071846f0007402a35fa9b49f450d6bcbf377f9a4c31f25be5db9cf6305b736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd59677da8bcccbe94a8a8b0ed48b999d0629103c8ef1e34eeed82c2b504778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e91ad7d830af1f38c8a00a43461a71201f1fcc83adbaaf9f37ecff928314058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"426eb51b8d966b352b8583747bc0c297d9e8b629d6e71a214cf0258ebcb5c441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c014cf77de8db391c017e812615d2c2250a5fb6d059ec16cabbe7a88cbdf0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"466b68ce4f4c453a461658594dbe3cd9df7c2db2924ce4f20a44e2113644d825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9e161e8ed41cc5108b5da76e442e107a104bb885ddd7dcf91f6611f8de6dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e8e87cb81a102e196174bd8c317d51d5b2f7235ac1e8ba1280f4c42bb69bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/index/index_stock_zh.py:131-205 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8508cf56d46e87e0d87169bac2b6ddbc58bfefd94874c290cb9975c7d5e00da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/index/index_stock_zh.py:209-289 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b5776ae39b29b96bf4dca649336358947a25f4ad2d2b1327abdf3b7a8c8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/index/index_stock_zh.py:60-127 | akshare/stock/quote/stock_hk_famous.py:15-103 \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":"akshare/index/index_stock_zh.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b867ce108feaa001d098c658c4f9a28463e2fc67726494ca5e06174e59783c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/board/stock_board_concept_em.py:401-499 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6157f2e4b13e913e69fc35ecaa1980e40113f142c2e0da115703316554b2e29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/board/stock_board_industry_em.py:410-508 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a56de7d5ff761ffd3482aa41818054eed523a28a45dab38925886d01132e31a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hist_em.py:1223-1304 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a052c37a994f9e004be40df3f835cca0720050a49d61c4098248e781f7c85c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hist_em.py:1308-1389 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"de976dd1c88f904b6bad0fc94a175c748d1492881077c2b8e87ae6fc6267208d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hist_em.py:1591-1682 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c671070c870444a33a6279e69f4d4ac10cc737c0994497ecf95986599b1f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9e1331dc57f5d2382ebf8bc9dc43f1e8f35aa10ea8915203e9497c6e935b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec299be3e51392eab88ca818370d5fcfb47015af09dd9eed02208640614a7de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79617c6eed9c4f3633897dc5cf1307f39d41ec82e94505c834560094f8909b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc3bea3a49fc53e425d4f7edbb8e55f04a733c013730c2fc2cdbd9154357c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c568e3c08617dbc4653cb1473d462add2f5252632e0ebb5184658d461e2a491"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/stock/quote/stock_hk_famous.py:15-103 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd79698603d9834d20ae63783fa2af1712d1a83fc400863c65b8c69e7ab9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_us_famous.py:15-112 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad5a3c0fb531b148f92821120f3adb7e7e4c2ca9a60f5049182cf7f30912d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_us_pink.py:16-114 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"73527d26db40985cae188886fe2ff8b2c105f3985597be291e13ad58379ea3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/option/option_em.py:15-109 \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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"251a80e83a896335425ca119ce3c8f2be7c7aa58a27c177405d1688a2ac9a88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/quote/stock_hist_em.py:449-558 \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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1438bd9c4d65c54c74b0607a678e7478bd60330c385e94d8c2743abd0dc50dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/option/option_em.py:15-109 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5400da0d943a7f9c8feda8ed86d6b21f1d85b7e78649c4ee713ff0565f9c126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akshare/index/index_stock_hk.py:149-214 | akshare/stock/quote/stock_hist_em.py:449-558 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a436af5c16c4a4ef6872375b353b44b9fd1c4d1340b875cd1527d2c36cd223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/option/option_em.py:15-109 | akshare/stock/quote/stock_hk_famous.py:15-103 \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":"akshare/option/option_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6868c4f13e032a85a2a8c0b15861e59bef58fbd23b44691eea28afc803fd68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): akshare/stock/quote/stock_hist_em.py:449-558 | akshare/stock/quote/stock_hk_famous.py:15-103 \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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"de131b2302a0d359bc2857f2f09a38108e9d3ebe63512236593ff1d2d3ceec70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): akshare/option/option_premium_analysis_em.py:15-80 | akshare/option/option_risk_analysis_em.py:15-82 \u2014 These two members are one piece of code written twice and then edited apart: 64 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":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c7e9ee17a6405deab4ed93cf848f8f7c2d199c7e9791311eba9e5004c930d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/option/option_risk_analysis_em.py:15-82 | akshare/option/option_value_analysis_em.py:15-84 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/option/option_risk_analysis_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef80835e0e2948d0400ca7412fb55232be8ed8cb766f0e6d73fb59e67b8c949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/board/stock_board_industry_em.py:20-86 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0622fcfbd617acf72abf0f9927cdc7e5909230c7315d29937e0e6e5a65671d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7130f7d65bab54fabb1184dd0a453fd4c33bed2153425cdf167515aaa41d052a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/board/stock_board_concept_em.py:58-109 | akshare/stock/board/stock_board_industry_em.py:20-86 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bd94c995aac2e0602e76fc9c44d7d7a4789a54d4e0c255e786bd94d23eb022"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): akshare/stock/board/stock_board_concept_em.py:58-109 | akshare/stock/board/stock_board_industry_em.py:90-156 \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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e217969a7fbc20ae39832b939bc6af64507cb20d9f4f9d1da588c546eabde558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/board/stock_board_industry_em.py:20-86 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"674605f9794b33b534bc7788cd76312c845b86283958865752f846ca6dc0ec93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): akshare/index/index_stock_zh.py:131-205 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"akshare/index/index_stock_zh.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d7db787527371de517b8ae84f02d18ad466b75239b2dcf7050e3410ca1f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/fund/fund_lof_em.py:46-116 | akshare/fx/fx_forex_em.py:17-73 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f790b40dc361fccfeb21b2dd9ef09e50af15309d7d1f703eb19e4097d24ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/index/index_stock_hk.py:149-214 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfd947529b62725fc0628f460252e49d8e45f8dd0d303a689d7214c04e9081a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/board/stock_board_industry_em.py:20-86 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8ee125a48f804a149f4e86d147f9a217966ea3280a9e52058470728dc0066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/board/stock_board_industry_em.py:90-156 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6a49bf8d871b0e3642ccb3b810a134ccd5b8a252a6e8e1a46886778e974ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/stock/board/stock_board_concept_ths.py:92-121 | akshare/stock/board/stock_board_industry_ths.py:89-118 \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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abec5c5733c17fc45a15073c23e5b838e478729c0c4d6c366fb021a037c006a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/index/index_stock_zh.py:209-289 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061310cf601d40c76a2b16c91af2083237a979c48d18f5e1fba920294fce621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/macro/macro_china.py:1611-1674 | akshare/macro/macro_china.py:2242-2292 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/macro/macro_china.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"75def23471609d53122f6d077141d48b2c43484eed26c3a2b3b95c0a18974946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/stock/board/stock_board_industry_em.py:20-86 | akshare/stock/board/stock_board_industry_em.py:410-508 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfeaa275a18605eb12b69479404bc9dc01c7f815752fc3f9185d75f00b11596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/stock/board/stock_board_industry_em.py:20-86 | akshare/stock/quote/stock_hist_em.py:1591-1682 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6473180082e2bc094fd0afac17224cd251fdfd3fd33ddde02ca934444bd77c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/stock/board/stock_board_industry_em.py:90-156 | akshare/stock/board/stock_board_industry_em.py:410-508 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"40853a7b76190dab316bff827c272b1ca4df65967c47d9df2a48dab92da5dce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/stock/board/stock_board_industry_em.py:90-156 | akshare/stock/quote/stock_hist_em.py:1591-1682 \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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1589dd20febe8ba25e744c66c3b2ec220c2d26031054c5d48cac63614a5d1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): akshare/fund/fund_reits.py:47-113 | akshare/fx/fx_forex_em.py:17-73 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"akshare/fund/fund_reits.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3066bc6136e53e4adbe49a0e516c3cf63f6e0dd4385f10305d9934fee30d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): akshare/futures/futures_hf_em.py:88-167 | akshare/fx/fx_forex_em.py:17-73 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hf_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ac0793d3f125d47103d9f67658a0cfecbff0fd45f840703d3d5fb585418444"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/index/index_stock_zh.py:131-205 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"910c17071d0332c512a9b7899dd35da1020306a31cb9fbe6b551287b51f9af65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/board/stock_board_concept_em.py:401-499 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"df31f0b82b87e7f268b71e967eaf9e1a38f0ff299b5d9625237b82f4d5228d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/board/stock_board_industry_em.py:410-508 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33da4466c2ffbd58514a854319f6dd160e7220777da23b8330743b3c6364789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_hist_em.py:1223-1304 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9819970dc68d898e659c1837cb1b797b5a474ae39fed957a1298320a6a213832"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_hist_em.py:1308-1389 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cb24282c186dfbce24ce3dfdbb351cb15c77ba1a54ed81df6463a97a5ad915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_zh_a_special.py:21-107 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b27923b070c3664cb95127a667ec350222d54bf3fba88a5b11b0e4d025276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_zh_a_special.py:111-197 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0907cd4e10421ecb89c68df10a4b7d6e54c736773d72db4be5f31b0fc6f6df14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_zh_a_special.py:201-287 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f85de05df1b0ec6533befa15831e6860544b21e2345c1fa69645b7d56890564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): akshare/fund/fund_reits.py:117-170 | akshare/index/index_stock_hk.py:235-287 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_reits.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e7629c9882af7a162fccc502afaf51e13d0a98fb10fc25840066c5cfa384cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/index/index_stock_zh.py:60-127 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a31303457f2073b41954e568d5eb55321810b62a8233a06f1dac58d9162b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_hk_sina.py:30-113 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbe14985d4fbe38e4a0b52fad6c55e3ce77684b1841100670ea2a5d1ddf64c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9643d0221c613b54252df2343f7ccc01dfa223680cda3f77b1bf1e3a6f32e134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1616af19b66c6df5e83146ab524602a488a183c9faea9f310a68f980928e6ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): akshare/macro/macro_china.py:134-185 | akshare/macro/macro_china.py:1611-1674 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"akshare/macro/macro_china.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28d6fc9af36f0206aa6b2fdb3fc0f8e9059ef718d41e997d8a899a578a6e6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_hk_famous.py:15-103 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"870e2734aefad844d486ebb1cc83fbd0ae1c2ef67e7dd16cbeb566383afb36cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fund/fund_etf_sina.py:20-115 | akshare/fx/fx_forex_em.py:17-73 \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":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec50a4b05dd2d9ecce69d5a8bf5249dbfddfd25345095ed730e2c2a1c306ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/index/index_stock_hk.py:55-118 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d42350ea607e14e0cb61ab751a65ab3e698454826e18e53b81c6fe2b7fe02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/index/index_stock_zh.py:60-127 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5667fcc9edf04d63da5b0d87764f3ca695a3ea8f505174b22d8d9b005b716914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/board/stock_board_concept_em.py:401-499 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404260c44b11b40b993cdc048525a771723e4800445fb1da61f4f6cc5f97e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/board/stock_board_industry_em.py:410-508 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"56683782794b415223f131da33dda75b8a96b05ade0413c2ee38ed7a626dad8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_hist_em.py:1223-1304 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23cf98450bb1c2a9fe1d89240367bf412a4099f7e04cb4718ef7b6400ff0de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_hist_em.py:1308-1389 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efaa761f79762605170c7cf23a4ca251ee8f00433a2df46c47a8948f2edd1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_hk_sina.py:30-113 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebaa1e1ba7442cb5fc6c05ef6fb61ae8009b407e1bd4676061349c6ef35a3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_us_pink.py:16-114 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3799928e6d39756914277d06e632cad53723dd7dd09e3b29c41dbfa9fba34c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_zh_a_special.py:21-107 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a115a46cae6583609675fff1c072352a60b0deab013386386dd3d0a023ccde5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_zh_a_special.py:111-197 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9882c2d8454ac057276690441b45ef411d45e31693456f10266bf2b4b0ce94fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_zh_a_special.py:201-287 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f68f5f9ffb1bb209fdcefa1c97e73b095a2d58af5ab5b4c0d61609e631f8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_zh_ah_tx.py:41-107 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22567227c1e86de0f7ea518c47e850f9f6a18297ffaef25528e328413c2c62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_zh_b_sina.py:56-128 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d83268817ac458cf79aed1932a05f82e326359f3ea7e884e37f01a5354608b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/index/index_stock_hk.py:149-214 \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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ae9e25c326fa07fb82d159428e2e59f652dff6aa2303bb014840d32fcd456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/index/index_stock_zh.py:131-205 \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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab0cbf05ee0ec30be5df6ce834da039934e6f0087961ba74bcb967d37a8c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/index/index_stock_zh.py:209-289 \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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b891af74f5517aeb28a7931845891b3b8edd062f779ccc4e88d0e666d1deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/index/index_stock_hk.py:55-118 | akshare/stock/quote/stock_hk_famous.py:15-103 \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":"akshare/index/index_stock_hk.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"92738be744c542b72dd797ae4a03c45c39ed12197cde0576e7b0cfc9807edb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/macro/macro_china.py:134-185 | akshare/macro/macro_china.py:2615-2668 \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":"akshare/macro/macro_china.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294a4db8dff8d75c320816f6edf54f1fefccad6cf1194a9afe365cc21f539de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/macro/macro_china.py:1611-1674 | akshare/macro/macro_china.py:2296-2343 \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":"akshare/macro/macro_china.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"733abdc1fe599261209c1232be839ed607a7af3df314d454aabd76e63470556e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/macro/macro_china.py:2242-2292 | akshare/macro/macro_china.py:2615-2668 \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":"akshare/macro/macro_china.py"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fea3574c68361141f637f1dbf30859094f4d914363e3ee1846e4c29b6e500a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/option/option_em.py:15-109 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c48a77e09a883d7f7256ecc6a8cf94a16eddae193f663c3c7ce71ac648677fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akshare/fx/fx_forex_em.py:17-73 | akshare/stock/quote/stock_hist_em.py:449-558 \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":"akshare/fx/fx_forex_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf69e3d1e48c8e4ce0e53899ad3c1c6294ae0974daa7c47a6530b18fe6d0b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): akshare/macro/macro_china.py:464-501 | akshare/macro/macro_china.py:1562-1607 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"akshare/macro/macro_china.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb796819ba0a641e38563f97dd519a8eaeffd08f879f7880e1e6d0d9d7f6f727"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): akshare/bond/bond_gb_sina.py:15-52 | akshare/bond/bond_gb_sina.py:56-97 | akshare/fund/fund_scale_em.py:16-68 | akshare/fund/fund_scale_em.py:72-118 | akshare/index/index_option_qvix.py:31-50 | akshare/index/index_option_qvix.py:71-90 | akshare/index/index_option_qvix.py:111-130 | akshare/index/index_option_qvix.py:151-170 | akshare/index/index_option_qvix.py:191-210 | akshare/index/index_option_qvix.py:231-250 | akshare/index/index_option_qvix.py:271-290 | akshare/index/index_option_qvix.py:311-330 | akshare/index/index_option_qvix.py:351-370 | akshare/spot/spot_sge.py:110-160 | akshare/stock/flow/stock_cyq_em.py:18-309 | akshare/stock/quote/stock_hist_em.py:959-1036 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_gb_sina.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9d03cc86749ae1ba3332d0a4008e12e67a16cef7b8663d3c25bd090df95557"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): akshare/bond/bond_em.py:15-141 | akshare/stock/finance/stock_three_report_em.py:36-81 | akshare/stock/finance/stock_three_report_em.py:85-139 | akshare/stock/finance/stock_three_report_em.py:143-188 | akshare/stock/finance/stock_three_report_em.py:192-237 | akshare/stock/finance/stock_three_report_em.py:243-288 | akshare/stock/finance/stock_three_report_em.py:294-339 | akshare/stock/finance/stock_three_report_em.py:345-390 | akshare/stock/finance/stock_three_report_em.py:396-441 \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":"akshare/bond/bond_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9e1284e0535f83af60564e379ace5161f0fbe901622cc68d6f66c5eec23d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): akshare/stock/board/stock_board_concept_ths.py:40-68 | akshare/stock/board/stock_board_concept_ths.py:236-270 | akshare/stock/board/stock_board_concept_ths.py:274-305 | akshare/stock/board/stock_board_industry_ths.py:39-65 | akshare/stock/board/stock_board_industry_ths.py:223-271 | akshare/stock/board/stock_board_industry_ths.py:275-341 | akshare/stock/board/stock_board_industry_ths.py:345-407 | akshare/stock/flow/stock_fund_flow.py:60-173 | akshare/stock/flow/stock_fund_flow.py:439-507 \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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ff2b92f639d485792cf90fd086640d717953b46a334ba0e2ce809c04cd6715"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): akshare/spot/spot_hog_soozhu.py:16-39 | akshare/spot/spot_hog_soozhu.py:43-63 | akshare/spot/spot_hog_soozhu.py:67-87 | akshare/spot/spot_hog_soozhu.py:91-111 | akshare/spot/spot_hog_soozhu.py:115-135 | akshare/spot/spot_hog_soozhu.py:139-159 | akshare/spot/spot_hog_soozhu.py:163-183 | akshare/spot/spot_hog_soozhu.py:187-207 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_hog_soozhu.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1ff886cc6b8494999a381ce3b7249222cdf4f680754b511bb5167e9278c7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): akshare/energy/energy_oil_em.py:15-46 | akshare/futures/futures_index_ccidx.py:15-50 | akshare/interest_rate/interest_rate_lpr_em.py:15-66 | akshare/macro/macro_china.py:1101-1169 | akshare/macro/macro_china.py:1449-1514 | akshare/macro/macro_china.py:3113-3182 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/energy/energy_oil_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d18cf69717b701de726487887dcff0a89743f5aee477f041397cb89194721d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): akshare/stock/quote/stock_hk_comparison_em.py:15-59 | akshare/stock/quote/stock_hk_comparison_em.py:63-116 | akshare/stock/quote/stock_hk_comparison_em.py:120-165 | akshare/stock/quote/stock_zh_comparison_em.py:15-70 | akshare/stock/quote/stock_zh_comparison_em.py:164-217 | akshare/stock/quote/stock_zh_comparison_em.py:221-269 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_comparison_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"985d0eda6c3d6a1d8bd5c7ab51fc6228739a24257dff4ad58b2fb90ab856bdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): akshare/stock/quote/stock_ztb_em.py:26-108 | akshare/stock/quote/stock_ztb_em.py:112-185 | akshare/stock/quote/stock_ztb_em.py:189-274 | akshare/stock/quote/stock_ztb_em.py:278-355 | akshare/stock/quote/stock_ztb_em.py:359-437 | akshare/stock/quote/stock_ztb_em.py:441-523 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_ztb_em.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58d0b106f39320447d89deee8dc285d9e4fa42fcf9f726a963527c55dace329"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): akshare/bond/bond_zh_cov.py:66-86 | akshare/bond/bond_zh_sina.py:122-146 | akshare/index/index_stock_hk.py:122-145 | akshare/index/index_stock_us_sina.py:19-40 | akshare/index/index_stock_zh.py:293-315 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2fbd25f2723776e9301eab42753ac34bc6876e6333865e7518b9d80b1a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): akshare/stock/valuation/stock_a_pe_and_pb.py:323-393 | akshare/stock/valuation/stock_a_pe_and_pb.py:397-470 | akshare/stock/valuation/stock_a_pe_and_pb.py:474-516 | akshare/stock/valuation/stock_a_pe_and_pb.py:520-573 | akshare/stock/valuation/stock_all_pb.py:16-38 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb54755802cdf766449e5d4e7ba027c4824fb72287d29ae49c0b9e81d509f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/fund/fund_rating.py:16-89 | akshare/fund/fund_rating.py:93-187 | akshare/fund/fund_rating.py:191-274 | akshare/fund/fund_rating.py:278-362 \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":"akshare/fund/fund_rating.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d0f36b1aa6a7adde27067ee4d35aef9c1ec131d24498f31667c621399f5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/futures/futures_cftc_js.py:16-42 | akshare/futures/futures_cftc_js.py:46-72 | akshare/futures/futures_cftc_js.py:76-102 | akshare/futures/futures_cftc_js.py:106-132 \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":"akshare/futures/futures_cftc_js.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9b693c8ceb4d0d86c2c42f20af093f1b39e68ffc0c8e8d4ce31764ce0da416"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/futures/futures_receipt.py:39-80 | akshare/futures/futures_receipt.py:86-154 | akshare/futures/futures_receipt.py:276-331 | akshare/futures/futures_receipt.py:335-389 \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":"akshare/futures/futures_receipt.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcb78ef843a66e40e84f31578468b282f57342ae3d9b734e4861aed21663041"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/stock/finance/stock_finance_ths.py:45-136 | akshare/stock/finance/stock_finance_ths.py:142-233 | akshare/stock/finance/stock_finance_ths.py:239-330 | akshare/stock/finance/stock_finance_ths.py:336-427 \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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"320ac2a2b1c4ea8ac3ee3155e9104884887882e5db199d22979bc8ec3f16203a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/stock/flow/stock_hsgt_exchange_rate.py:21-46 | akshare/stock/flow/stock_hsgt_exchange_rate.py:50-75 | akshare/stock/flow/stock_hsgt_exchange_rate.py:79-132 | akshare/stock/flow/stock_hsgt_exchange_rate.py:136-189 \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":"akshare/stock/flow/stock_hsgt_exchange_rate.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23818051ccda7f694d9dcafbec337232fdb4d3325db07d0c3cabbfd3f6ff4c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/stock/flow/stock_lhb_sina.py:92-125 | akshare/stock/flow/stock_lhb_sina.py:129-163 | akshare/stock/flow/stock_lhb_sina.py:167-205 | akshare/stock/flow/stock_lhb_sina.py:209-246 \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":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"261d20734f9628bb569fc6707ebe32c31b719dc75069d0a3832efcb678f8ade7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/stock/quote/stock_hk_sina.py:117-239 | akshare/stock/quote/stock_zh_a_sina.py:144-319 | akshare/stock/quote/stock_zh_a_sina.py:359-388 | akshare/stock/quote/stock_zh_b_sina.py:137-278 \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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"769e57b73869817d5286363b6d174742d62a4c6e9e9fc81ed0e0eb8292d0b601"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): akshare/stock/quote/stock_hk_sina.py:117-239 | akshare/stock/quote/stock_zh_a_sina.py:144-319 | akshare/stock/quote/stock_zh_b_sina.py:137-278 | akshare/stock/quote/stock_zh_kcb_sina.py:128-246 \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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"454f7d1ac7bc6aaf967d5e1c293555fc8a3715a335d674f20fbe4e08981f09ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): akshare/stock/other/stock_technology_ths.py:37-116 | akshare/stock/other/stock_technology_ths.py:120-199 \u2014 These two members are one piece of code written twice and then edited apart: 80 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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ea55cae8bc585fdc5d1c08eb09685db78cb7130b56174a1271446efa0dabd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): akshare/stock/board/stock_board_concept_ths.py:129-231 | akshare/stock/board/stock_board_industry_ths.py:126-219 \u2014 These two members are one piece of code written twice and then edited apart: 94 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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c9d632cd7602d58e8536ec5b14112a3ee086a1ddf7fe2a214849aa73eda34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (128 corresponding lines): akshare/stock/flow/stock_fund_flow.py:177-304 | akshare/stock/flow/stock_fund_flow.py:308-435 \u2014 These two members are one piece of code written twice and then edited apart: 128 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":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"00500c2c6bea9e6128ee1294437bf66b3140ca2a34b66b3a240ce72dc2143f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/stock/quote/stock_zh_a_sina.py:423-498 | akshare/stock/quote/stock_zh_b_sina.py:316-372 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"322b175f11885f97ba0c1ae6f74dd9d583d547e2cc5005a506a89931af9589e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): akshare/fund/fund_etf_em.py:243-316 | akshare/index/index_zh_em.py:61-188 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2add0dfc71f16d482316cdc887f8f120f99d1133bc2392ced1585410d55b6d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): akshare/stock/issue/stock_finance_sina.py:607-677 | akshare/stock/issue/stock_finance_sina.py:681-736 | akshare/stock/issue/stock_finance_sina.py:740-798 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 56 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":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7405e87479460df1911851ffe2b84e40b5cfee68cd606bc636a080f6cf0ae6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): akshare/futures/futures_hog.py:15-55 | akshare/futures/futures_hog.py:59-114 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"akshare/futures/futures_hog.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f299cef521e3ab262d28739001d2bd9bd8b3c12089db0b1383fb29958e3fbbe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): akshare/stock/flow/stock_hsgt_em.py:1049-1137 | akshare/stock/flow/stock_hsgt_em.py:1141-1225 \u2014 These two members are one piece of code written twice and then edited apart: 85 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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c3bb36cc1cc5fab25ace50d1cda647160b98ef7b22d657d75e5efacbce3107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): akshare/stock/issue/stock_ipo_review.py:20-121 | akshare/stock/issue/stock_ipo_tutor.py:20-103 \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":"akshare/stock/issue/stock_ipo_review.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412ee93d3e1a08b5aac5c6b5de5b3ffceb2fd3011476e673b779b1ff4f9e6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): akshare/futures/futures_hist_em.py:98-185 | akshare/stock/quote/stock_hist_em.py:1399-1461 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"akshare/futures/futures_hist_em.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c30f95d764843a0be3f1d87a89679aba035b8562dcd227fc7f9901810ad8a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): akshare/stock/holder/stock_jgdy_em.py:19-112 | akshare/stock/holder/stock_jgdy_em.py:116-193 \u2014 These two members are one piece of code written twice and then edited apart: 78 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":"akshare/stock/holder/stock_jgdy_em.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe1363c3937209f6e1f6a48c3520d505c215b80a2cdadee6a88d3472580f674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): akshare/fund/fund_fhsp_em.py:25-109 | akshare/fund/fund_fhsp_em.py:119-199 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2530a6e10e6203fa393bf209402f1b63b45dbf33bb68b901912a59db479964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): akshare/stock/flow/stock_margin_szse.py:49-93 | akshare/stock/flow/stock_margin_szse.py:97-148 | akshare/stock/quote/stock_summary.py:62-115 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"akshare/stock/flow/stock_margin_szse.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8162c00c2baa1bdd5578ce9872f702c7c4d52a4d498f94a107af9ac9b6d742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): akshare/fund/fund_em.py:738-787 | akshare/fund/fund_em.py:926-978 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"akshare/fund/fund_em.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58546ab61a76743ad5540b0e4b512d8a1469ff053f220859a84604a0c794e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): akshare/futures/futures_receipt.py:160-216 | akshare/futures/futures_receipt.py:222-272 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"akshare/futures/futures_receipt.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddffb491a6cac7463dc8f6d17429c32ed750c0e745f7fd4d9ac57d61ca90cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): akshare/stock/board/stock_board_concept_em.py:123-169 | akshare/stock/board/stock_board_industry_em.py:160-206 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf7d3819ea742dd25d198ef8ca500f804f44ada3ea3755cf012504fbf3f3fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): akshare/alternative/alternative_movie_yien.py:442-517 | akshare/alternative/alternative_movie_yien.py:523-612 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a7aa83f6cbab2635594061724cd15300ea9db714c495b19858042a6aa0ad38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 67\u002B corresponding lines): akshare/fund/fund_scale_sina.py:16-91 | akshare/fund/fund_scale_sina.py:95-161 | akshare/fund/fund_scale_sina.py:165-231 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 67 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":"akshare/fund/fund_scale_sina.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cdb33a3b90a3d079f2e6f5a85e1767ccb59187d37fa10b3a1567be920bfa6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): akshare/bond/bond_cbond.py:31-70 | akshare/bond/bond_cbond.py:76-129 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"akshare/bond/bond_cbond.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"497b62916b5aadd9c6b605e4cd43865804edf8126f8b6fff11bf59d6ea2e8a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): akshare/stock/flow/stock_margin_bse.py:130-186 | akshare/stock/flow/stock_margin_bse.py:190-238 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"akshare/stock/flow/stock_margin_bse.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c3521f8973f16957818de32e59541c20a736f4faf5c703e0148cd0babb9468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): akshare/option/option_commodity.py:361-434 | akshare/option/option_commodity.py:438-490 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"akshare/option/option_commodity.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"097facc90e7762d86b115847b5006db1564a7d4bb23f22757b1f7faed8971167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): akshare/alternative/alternative_movie_yien.py:267-340 | akshare/alternative/alternative_movie_yien.py:616-673 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f6cef584edfbb24febc619b913b128a54bdfc3773dcf81e29a20510cbe32f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): akshare/option/option_premium_analysis_em.py:15-80 | akshare/option/option_value_analysis_em.py:15-84 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a9f22acd8f5e280609f0cbaad9e2df8bd748e6e77beafa18fc0da472091397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): akshare/stock/finance/stock_disclosure_cninfo.py:136-201 | akshare/stock/finance/stock_disclosure_cninfo.py:210-266 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"akshare/stock/finance/stock_disclosure_cninfo.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbea66e0a696275ac9ce865ddd30c417d1b0d6ce074d7574fffdc36ffc6d5c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): akshare/stock/board/stock_hk_hot_rank_em.py:15-58 | akshare/stock/board/stock_hot_rank_em.py:15-65 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da88b0cb9d0c83c40ceb6d510fa06dc5e8752cb07829f745632787846b1591c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): akshare/stock/quote/stock_basic_info_xq.py:22-62 | akshare/stock/quote/stock_xq.py:34-75 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"akshare/stock/quote/stock_basic_info_xq.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c28909b7a0459f73795f71c2c22f40553777371c77e55ff568e48e47ce4359a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): akshare/fx/fx_quote.py:25-41 | akshare/fx/fx_quote.py:81-97 \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":"akshare/fx/fx_quote.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a437088bd63666ec369619690e7a0cd717c35518174fb2e77c05b5b758001a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 45\u002B corresponding lines): akshare/macro/macro_australia.py:16-60 | akshare/macro/macro_australia.py:65-109 | akshare/macro/macro_australia.py:114-158 | akshare/macro/macro_australia.py:163-207 | akshare/macro/macro_australia.py:212-256 | akshare/macro/macro_australia.py:261-305 | akshare/macro/macro_australia.py:310-354 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 45 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_australia.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0585cf92f7a48de42037990663e315c3eaededc445333b1e3176e191de392e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 58\u002B corresponding lines): akshare/option/option_commodity.py:33-144 | akshare/option/option_commodity.py:494-576 | akshare/option/option_commodity.py:580-637 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 58 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":"akshare/option/option_commodity.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c0f8f2ee599a0b326814ab527f2059915384de353fee4b83da45ba03d71c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): akshare/stock/board/stock_comment_em.py:152-184 | akshare/stock/board/stock_comment_em.py:188-221 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f8de7f20000e03e63652649ee3971a1bc8f4ecc79aec24abedf70d7a7a25b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): akshare/bond/bond_cbond.py:135-213 | akshare/bond/bond_cbond.py:219-290 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"akshare/bond/bond_cbond.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef8e45f0d642c4a1d2fa2e9474734e4c1f93cfe4346cc0fdefa0ac74d643d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): akshare/stock/valuation/stock_gxl_lg.py:16-51 | akshare/stock/valuation/stock_gxl_lg.py:55-82 \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":"akshare/stock/valuation/stock_gxl_lg.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c9373a2d7c7eea84a04cc93cb934a1c28bf9a6d0751b162dcd73269052e9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): akshare/bond/bond_cb_sina.py:33-51 | akshare/futures/futures_contract_detail.py:18-39 \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":"akshare/bond/bond_cb_sina.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"253482b8c35067ebf870ecc9798c7726010d46b901b8926c6747c4f1a9d03d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): akshare/index/index_cni.py:135-160 | akshare/index/index_cni.py:164-186 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"akshare/index/index_cni.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caf6e9b395e22c787ae774d8a7c4ba2dd76208e31d0f2a9fd11f0fbb5f462fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): akshare/bond/bond_summary.py:17-48 | akshare/bond/bond_summary.py:52-85 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"akshare/bond/bond_summary.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c90c7f57447ddada45317356ed2c30b05f3f67bebc1b10c95cb7b85c78a6c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): akshare/stock/issue/stock_info.py:317-342 | akshare/stock/issue/stock_info.py:346-369 \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":"akshare/stock/issue/stock_info.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c509e99b7cec98a52e63d74fe0cac1a0d7a321d5ea06303cbfae29607fc5b849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): akshare/stock/board/stock_hot_xq.py:51-81 | akshare/stock/board/stock_inner_trade_xq.py:19-51 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"akshare/stock/board/stock_hot_xq.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"28989e7afa853ba04de9a9e6b924c0c8e5e469b922c07a4e3a49a6e9aa3e293f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): akshare/stock/valuation/stock_hk_valuation_baidu.py:17-56 | akshare/stock/valuation/stock_us_valuation_baidu.py:17-57 | akshare/stock/valuation/stock_zh_valuation_baidu.py:17-56 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"akshare/stock/valuation/stock_hk_valuation_baidu.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeb2cd3b3297723685f9557b13760d72d244940df8e45a8434d9cadcc81d149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): akshare/bond/bond_zh_cov.py:47-62 | akshare/stock/quote/stock_zh_a_sina.py:54-135 \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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8c4b6831130f99808e5d944fe6215899b11d0babae3436e062ef13a1d9a630"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): akshare/stock/issue/stock_info.py:123-180 | akshare/stock/issue/stock_info.py:249-313 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_info.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2365cf45c95708a699b9e42f3550ddb118f8b1d3354a0228166d35ed7e372794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): akshare/futures/cons.py:552-569 | akshare/option/cons.py:67-82 \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":"akshare/futures/cons.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab74bb504f8fbde953bd133877d9a4c075a78baa776ee473539ea35c342e9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): akshare/macro/macro_china_cx.py:37-58 | akshare/macro/macro_china_cx.py:62-79 \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":"akshare/macro/macro_china_cx.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"427ad0fb7efc22e06fb1e17ee920c2d555c0718657ef5ee135078a993c4d8aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): akshare/fund/fund_em.py:388-450 | akshare/fund/fund_em.py:856-922 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"akshare/fund/fund_em.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe085df25e51f43d08221adfac688807a9c47b2ba01f275c654ceac1d77257"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): akshare/bond/bond_zh_cov.py:29-43 | akshare/bond/bond_zh_sina.py:28-42 | akshare/index/index_stock_hk.py:38-51 | akshare/stock/quote/stock_zh_b_sina.py:37-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f769b874cf1f2ff3eec17811ff14d9637f5538ac1f3f655fc4895db1a1c4500"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): akshare/futures/futures_comm_qihuo.py:35-54 | akshare/option/option_comm_qihuo.py:22-40 \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":"akshare/futures/futures_comm_qihuo.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411475fb41f3e332b425464bf9c7d704f185f4d58907da7824a619870fda54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 4): akshare/stock/finance/stock_finance_ths.py:45-136 | akshare/stock/finance/stock_finance_ths.py:142-233 | akshare/stock/finance/stock_finance_ths.py:239-330 | akshare/stock/finance/stock_finance_ths.py:336-427 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b388df517794b10e16108649128ae00f556b728184149fa9c8bb8c533ed72a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80\u201388 lines \u00D7 2): akshare/stock/issue/stock_ipo_review.py:20-107 | akshare/stock/issue/stock_ipo_tutor.py:20-99 \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":"akshare/stock/issue/stock_ipo_review.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a699cae2d289af25bf03b2ae7f7ef822cfa5e542483b9597dfbb0a9f099e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): akshare/futures/futures_settle.py:394-473 | akshare/futures/futures_settle.py:477-556 \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":"akshare/futures/futures_settle.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"24093038b64e94b7c29c74aa39d136385884c22ee097dda7a39d3b99322b8ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67\u201371 lines \u00D7 2): akshare/bond/bond_cbond.py:135-205 | akshare/bond/bond_cbond.py:219-285 \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":"akshare/bond/bond_cbond.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8546d134c868c7cd636e098371b7a001265d0ecee8e69406dd7bc2f164e4a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66\u201371 lines \u00D7 2): akshare/fund/fund_rank_em.py:253-318 | akshare/fund/fund_rank_em.py:346-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_rank_em.py:345\u0060 calls \u0060now\u0060, \u0060date\u0060, \u0060isoformat\u0060 and \u0060akshare/fund/fund_rank_em.py:251\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_rank_em.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"de67d36b586008df8f0629ae2eb4e8f6ab94d4798d1131e4310abe88670a4561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): akshare/stock/flow/stock_hsgt_em.py:1049-1119 | akshare/stock/flow/stock_hsgt_em.py:1141-1211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002200700\u0022\u0060 in one and \u0060str = \u0022002008\u0022\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"353e1b804c47871107df84a24f3f7334ef53f7ad2b9104585c8496a22edc5cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201370 lines \u00D7 4): akshare/stock/quote/stock_profile_em.py:15-76 | akshare/stock/quote/stock_profile_em.py:81-150 | akshare/stock/quote/stock_profile_em.py:155-185 | akshare/stock/quote/stock_zh_comparison_em.py:74-98 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_profile_em.py:155\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002203900\u0022\u0060 in one and \u0060str = \u0022SZ000895\u0022\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":"akshare/stock/quote/stock_profile_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e684fd41645cd57dece49c187464daa709c5dbb1fb75e7cd6f8ddaa200a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201369 lines \u00D7 2): akshare/stock/research/stock_hold_control_cninfo.py:36-99 | akshare/stock/research/stock_hold_control_cninfo.py:199-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_hold_control_cninfo.py:269\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/research/stock_hold_control_cninfo.py:101\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_hold_control_cninfo.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccffe03ded317bdce8ec57bdeca9a71e91836c3e2f79abd51328275147a4059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201367 lines \u00D7 6): akshare/bond/bond_issue_cninfo.py:46-108 | akshare/bond/bond_issue_cninfo.py:141-203 | akshare/bond/bond_issue_cninfo.py:236-302 | akshare/bond/bond_issue_cninfo.py:335-361 | akshare/fund/fund_report_cninfo.py:42-87 | akshare/fund/fund_report_cninfo.py:108-151 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_issue_cninfo.py:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/bond/bond_issue_cninfo.py:303\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/bond/bond_issue_cninfo.py:109\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c67001230cfeed5bfc4f1ff5177a7c32efefe03e5c498ce3ef459ca3cc9210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): akshare/alternative/alternative_movie_yien.py:442-506 | akshare/alternative/alternative_movie_yien.py:523-587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220240218\u0022\u0060 in one and \u0060str = \u002220261113\u0022\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"48283e28a703a241550f50e92b4c394980fcd50f2beac0bb7111fbd5268605cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): akshare/futures/futures_cot.py:907-972 | akshare/futures/futures_cot.py:1001-1066 \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":"akshare/futures/futures_cot.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf8eb788b3787f658af1413e5de79d7186e29894d9530e28b41f91bdb942c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): akshare/stock/board/stock_board_concept_ths.py:160-225 | akshare/stock/board/stock_board_industry_ths.py:148-213 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060end_date\u0060 to \u0060str = \u002220250228\u0022\u0060 in one and \u0060str = \u002220240108\u0022\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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b7ce499f51e975f278b2677eba1f28f8b2d1b9d90c229f5ce84d4b1a0fa075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201364 lines \u00D7 5): akshare/stock/research/stock_cg_equity_mortgage.py:42-91 | akshare/stock/research/stock_cg_guarantee.py:55-100 | akshare/stock/research/stock_hold_control_cninfo.py:123-186 | akshare/stock/research/stock_hold_num_cninfo.py:42-89 | akshare/stock/research/stock_new_cninfo.py:90-146 \u2014 before extracting anything, compare \u0060akshare/stock/research/stock_cg_equity_mortgage.py\u0060 and \u0060akshare/stock/research/stock_cg_guarantee.py\u0060 as WHOLE FILES: this scan already matched 4 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5168\u90E8\u0022\u0060 in one and \u0060str = \u0022\u589E\u6301\u0022\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, \u0060akshare/stock/research/stock_cg_equity_mortgage.py:92\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/research/stock_cg_guarantee.py:101\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_cg_equity_mortgage.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbbe1222420ce008b0e7a6e4b229d745c1ba184e5487683c3411dda4608e2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201360 lines \u00D7 2): akshare/fund/fund_qdii_jsl.py:90-149 | akshare/fund/fund_qdii_jsl.py:163-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_qdii_jsl.py:151\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/fund/fund_qdii_jsl.py:223\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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37ca1034946e257b839bf331d2d8c54f7d6cc977a1a35004e941f8e602ac680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201359 lines \u00D7 4): akshare/macro/macro_china.py:1611-1660 | akshare/macro/macro_china.py:1678-1736 | akshare/macro/macro_china.py:2615-2662 | akshare/stock/research/stock_us_js.py:15-60 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_us_js.py:61\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/macro/macro_china.py:1661\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":"akshare/macro/macro_china.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f85892943d036f7c51b2e1e156e31ac6dc943f57e4980cd8ae6edb4d5c0734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201358 lines \u00D7 2): akshare/bond/bond_issue_cninfo.py:478-535 | akshare/fund/fund_report_cninfo.py:160-209 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9113a703bd88aa300eb365d4736109a4a445de5006f25d21d1fcebf39d7f38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): akshare/stock/flow/stock_fund_flow.py:247-304 | akshare/stock/flow/stock_fund_flow.py:378-435 \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":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"34700a3d1fb8d9569433789ecc95bfc0db4c34d1ca11b5adacb0d60ac8903fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): akshare/fund/fund_etf_holding_js.py:18-74 | akshare/fund/fund_etf_holding_js.py:83-139 \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":"akshare/fund/fund_etf_holding_js.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d4680cb1aaf6457316131e5052d7ff6a4704fd68def0f3bb9628ba993ba24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 2): akshare/stock/flow/stock_fund_em.py:34-89 | akshare/stock/flow/stock_fund_em.py:354-410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdcb842002581c4d53f07c4b8d3a0da9839056b7e2a5d462f8fe40e33a8e368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): akshare/stock/flow/stock_margin_sse.py:71-127 | akshare/stock/flow/stock_margin_sse.py:138-196 \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":"akshare/stock/flow/stock_margin_sse.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"946847a973a4d2cf67a0aaa59e200577517e9f740f96252aaf4ff8fb29df8de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3): akshare/fund/fund_scale_sina.py:31-86 | akshare/fund/fund_scale_sina.py:101-156 | akshare/fund/fund_scale_sina.py:171-226 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_scale_sina.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"294f6746f72f3d6f212b15d68c9bca441f45d7278ee9a086fb279a957f5e7949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201356 lines \u00D7 2): akshare/stock/holder/stock_jgdy_em.py:19-57 | akshare/stock/holder/stock_jgdy_em.py:116-171 \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 \u0060akshare/stock/holder/stock_jgdy_em.py:19\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261101\u0022\u0060 in one and \u0060str = \u002220261112\u0022\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":"akshare/stock/holder/stock_jgdy_em.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8058026c902fbd9f6ece000ce66e4a25dc7bc010e9f37d573be63a323bf80a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3): akshare/stock/flow/stock_fund_em.py:753-807 | akshare/stock/flow/stock_fund_em.py:841-895 | akshare/stock/flow/stock_fund_em.py:929-983 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7706dda8a0b18bd408a534454f38a6fd02ce6d9083c520249a02d54e379048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201353 lines \u00D7 7): akshare/fund/fund_etf_em.py:51-74 | akshare/fund/fund_lof_em.py:52-104 | akshare/fx/fx_forex_em.py:23-66 | akshare/index/index_stock_hk.py:155-205 | akshare/stock/board/stock_board_industry_em.py:26-76 | akshare/stock/board/stock_board_industry_em.py:96-146 | akshare/stock/flow/stock_fund_em.py:1239-1290 \u2014 before extracting anything, compare \u0060akshare/fund/fund_etf_em.py\u0060 and \u0060akshare/fund/fund_lof_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 345 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 \u0060akshare/fund/fund_etf_em.py:51\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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0f5ec19c7e43403893fa16a911949cab91c553a64d0ad8fc54a7e029b84c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201353 lines \u00D7 5): akshare/fund/fund_etf_sse.py:24-62 | akshare/option/option_daily_stats_sse_szse.py:25-77 | akshare/stock/flow/stock_hsgt_exchange_rate.py:86-123 | akshare/stock/flow/stock_hsgt_exchange_rate.py:143-180 | akshare/stock/issue/stock_info.py:262-308 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_etf_sse.py:23\u0060 calls \u0060join\u0060 and \u0060akshare/option/option_daily_stats_sse_szse.py:23\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":"akshare/fund/fund_etf_sse.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fa845daf83eaacdbe2781f6e8737f91428d96d7f2d4c121ac17b5eb0d49f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201353 lines \u00D7 3): akshare/fund/fund_amac.py:334-371 | akshare/fund/fund_amac.py:401-453 | akshare/fund/fund_amac.py:743-777 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_amac.py:334\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":"akshare/fund/fund_amac.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cc3ce33058ff97b6d041cd422b355b81800c46bdd4c2e3c881bab668eb12d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201352 lines \u00D7 4): akshare/fund/fund_amac.py:97-133 | akshare/fund/fund_amac.py:333-369 | akshare/fund/fund_amac.py:400-451 | akshare/fund/fund_amac.py:742-775 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e220a532fe1979fc0fbd38f779c785ebb80a88fe38dd6d976937d8363ddd2435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): akshare/stock/finance/stock_report_em.py:49-100 | akshare/stock/finance/stock_report_em.py:149-200 \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":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d332879312c4a53e4338899463045d09316eb1482836c5424f529361162accbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 3): akshare/option/option_finance_sina.py:78-128 | akshare/option/option_finance_sina.py:151-201 | akshare/option/option_finance_sina.py:224-274 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022ho2303\u0022\u0060 in one and \u0060str = \u0022io2204\u0022\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":"akshare/option/option_finance_sina.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8bc9c95a326514bea9ad86133f528eeefd680e912b47624dbe96588b0dd660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201351 lines \u00D7 2): akshare/stock/research/stock_industry_pe_cninfo.py:51-101 | akshare/stock/research/stock_rank_forecast.py:43-91 \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":"akshare/stock/research/stock_industry_pe_cninfo.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4607763e743ac2929b38912459c04df95c7e123a14e2a21279684b9f605a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 5): akshare/stock/quote/stock_ztb_em.py:48-95 | akshare/stock/quote/stock_ztb_em.py:134-181 | akshare/stock/quote/stock_ztb_em.py:211-259 | akshare/stock/quote/stock_ztb_em.py:298-347 | akshare/stock/quote/stock_ztb_em.py:386-433 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/quote/stock_ztb_em.py:46\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/stock/quote/stock_ztb_em.py:296\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":"akshare/stock/quote/stock_ztb_em.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1159f279d2aac4e487d6970588a1744738e0301578c4da46ab7616eb59d2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201350 lines \u00D7 2): akshare/stock/flow/stock_dzjy_em.py:185-227 | akshare/stock/flow/stock_dzjy_em.py:266-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9954a695767c8f2592884e2163a621ea2f07cf7ebf5c535332071d000c1d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201348 lines \u00D7 4): akshare/fund/fund_rank_em.py:271-317 | akshare/fund/fund_rank_em.py:368-415 | akshare/stock/research/stock_analyst_em.py:134-164 | akshare/stock/research/stock_analyst_em.py:189-217 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"akshare/fund/fund_rank_em.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e86cda8d618ab56d4916ddbc8213b67d0dc2387b7a1e63191f4c68d5d13f5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201348 lines \u00D7 3): akshare/stock/flow/stock_fund_flow.py:110-154 | akshare/stock/flow/stock_fund_flow.py:229-276 | akshare/stock/flow/stock_fund_flow.py:360-407 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c28252bcb44f96da197b5ac1fe770d3ca263c3e00724fe39738adbc1243974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201347 lines \u00D7 2): akshare/option/option_commodity.py:388-434 | akshare/option/option_commodity.py:460-490 \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 \u0060akshare/option/option_commodity.py:388\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":"akshare/option/option_commodity.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ced6b3aeaddb8886ef4214c2da2a60233b39edf34343dffca4b75cb2d2b3cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201346 lines \u00D7 21): akshare/bond/bond_issue_cninfo.py:71-114 | akshare/bond/bond_issue_cninfo.py:166-209 | akshare/bond/bond_issue_cninfo.py:261-306 | akshare/bond/bond_issue_cninfo.py:428-433 | akshare/bond/bond_issue_cninfo.py:508-539 | akshare/fund/fund_qdii_jsl.py:33-78 | akshare/fund/fund_qdii_jsl.py:106-151 | akshare/fund/fund_scale_sina.py:50-87 | akshare/fund/fund_scale_sina.py:120-157 | akshare/fund/fund_scale_sina.py:190-227 | akshare/futures/futures_contract_info_ine.py:32-55 | akshare/futures/futures_contract_info_shfe.py:33-56 | akshare/stock/finance/stock_yjyg_em.py:307-335 | akshare/stock/holder/stock_gddh_em.py:50-83 | akshare/stock/holder/stock_gdfx_em.py:519-557 | akshare/stock/holder/stock_gdfx_em.py:615-651 | akshare/stock/holder/stock_gdfx_em.py:701-740 | akshare/stock/issue/stock_info.py:293-312 | akshare/stock/other/stock_esg_sina.py:113-152 | akshare/stock/research/stock_share_hold.py:69-105 | akshare/stock/research/stock_zdhtmx_em.py:88-110 \u2014 before extracting anything, compare \u0060akshare/fund/fund_qdii_jsl.py\u0060 and \u0060akshare/fund/fund_scale_sina.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 95 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 \u0060akshare/bond/bond_issue_cninfo.py:428\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220241129\u0022\u0060 in one and \u0060str = \u002220240513\u0022\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, \u0060akshare/bond/bond_issue_cninfo.py:115\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/fund/fund_qdii_jsl.py:78\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859546a3009a4568791e992375669b51c2d4dd1bf927e856c254a0036bafcca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201346 lines \u00D7 19): akshare/fund/fund_em.py:622-642 | akshare/fund/fund_rank_em.py:273-318 | akshare/fund/fund_rank_em.py:371-416 | akshare/futures/futures_to_spot.py:34-51 | akshare/fx/fx_china_bank_sina.py:94-111 | akshare/macro/macro_china.py:346-374 | akshare/macro/macro_china.py:1135-1160 | akshare/macro/macro_china.py:1480-1505 | akshare/macro/macro_china.py:3147-3172 | akshare/stock/flow/stock_dzjy_em.py:45-72 | akshare/stock/flow/stock_dzjy_em.py:369-410 | akshare/stock/flow/stock_dzjy_em.py:476-503 | akshare/stock/flow/stock_lhb_em.py:266-307 | akshare/stock/flow/stock_lhb_em.py:460-490 | akshare/stock/holder/stock_gpzy_em.py:51-76 | akshare/stock/holder/stock_gpzy_em.py:457-482 | akshare/stock/issue/stock_finance_sina.py:346-367 | akshare/stock/issue/stock_restricted_em.py:60-87 | akshare/stock/issue/stock_restricted_em.py:234-269 \u2014 there are 19 copies across 10 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 19 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_em.py:622\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_rank_em.py:318\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_em.py:642\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":"akshare/fund/fund_em.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6003851113f28ed0c87825ef4cf1bf90252ab13fb2de324b449a7b1c619b3f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): akshare/stock/research/stock_cg_guarantee.py:33-78 | akshare/stock/research/stock_cg_lawsuit.py:34-82 \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":"akshare/stock/research/stock_cg_guarantee.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5f971c3aa637de3857f2a44a5207a7f0c8f99d11b052157fba156c67399516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201345 lines \u00D7 5): akshare/fund/fund_amac.py:217-247 | akshare/stock/holder/stock_gdfx_em.py:49-93 | akshare/stock/holder/stock_gdfx_em.py:151-195 | akshare/stock/holder/stock_gdfx_em.py:335-367 | akshare/stock/holder/stock_gdfx_em.py:452-478 \u2014 there are 5 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 5 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_amac.py:248\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py:478\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":"akshare/fund/fund_amac.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b6f69932b87303c413ed72939a983be5ca0198d24c2816f983ec44b99eaa93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:144-188 | akshare/stock/quote/stock_zh_b_sina.py:137-181 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e46cdad55e268820b016acb3e33f4707f78487a4144d1b69798a1e23acceb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201344 lines \u00D7 14): akshare/stock/finance/stock_report_em.py:256-298 | akshare/stock/finance/stock_report_em.py:362-398 | akshare/stock/flow/stock_dzjy_em.py:365-408 | akshare/stock/flow/stock_dzjy_em.py:472-501 | akshare/stock/flow/stock_dzjy_em.py:555-595 | akshare/stock/flow/stock_lhb_em.py:262-305 | akshare/stock/flow/stock_lhb_em.py:456-487 | akshare/stock/holder/stock_gdfx_em.py:47-86 | akshare/stock/holder/stock_gdfx_em.py:250-282 | akshare/stock/holder/stock_gdfx_em.py:332-364 | akshare/stock/holder/stock_gdfx_em.py:896-922 | akshare/stock/holder/stock_gdfx_em.py:958-984 | akshare/stock/holder/stock_gpzy_em.py:122-160 | akshare/stock/holder/stock_gpzy_em.py:222-263 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_report_em.py\u0060 and \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/flow/stock_dzjy_em.py:409\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/finance/stock_report_em.py:300\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"261fdf6669e9c2d8c67b9995afdf14ab2835ef5045e63554adba167cea35d37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201344 lines \u00D7 11): akshare/stock/finance/stock_report_em.py:59-101 | akshare/stock/finance/stock_report_em.py:159-201 | akshare/stock/finance/stock_report_em.py:259-301 | akshare/stock/finance/stock_report_em.py:365-405 | akshare/stock/flow/stock_dzjy_em.py:558-601 | akshare/stock/holder/stock_gdfx_em.py:253-288 | akshare/stock/holder/stock_gdfx_em.py:397-426 | akshare/stock/holder/stock_gpzy_em.py:125-162 | akshare/stock/holder/stock_gpzy_em.py:224-266 | akshare/stock/holder/stock_gpzy_em.py:327-354 | akshare/stock/holder/stock_gpzy_em.py:392-419 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_report_em.py\u0060 and \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 292 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 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, \u0060akshare/stock/finance/stock_report_em.py:363\u0060 calls \u0060concat\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py:326\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":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d508c4922a48a2c058f44cbfe80f47479107b91f072bc53a1536b017d8dc6f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201344 lines \u00D7 6): akshare/bond/bond_buy_back_em.py:170-210 | akshare/stock/board/stock_board_concept_em.py:345-386 | akshare/stock/board/stock_board_industry_em.py:244-285 | akshare/stock/board/stock_board_industry_em.py:352-395 | akshare/stock/flow/stock_fund_em.py:1032-1073 | akshare/stock/flow/stock_fund_em.py:1144-1185 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/flow/stock_fund_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 141 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 \u0060symbol\u0060 to \u0060str = \u0022204001\u0022\u0060 in one and \u0060str = \u0022\u6C7D\u8F66\u670D\u52A1\u0022\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, \u0060akshare/bond/bond_buy_back_em.py:211\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py:387\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff963b63e64178eaefdf3b38c9157275b16ad81edc19105b7beca5cb5b5397ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 4): akshare/stock/flow/stock_margin_sse.py:82-127 | akshare/stock/flow/stock_margin_sse.py:147-196 | akshare/stock/research/stock_hold_control_cninfo.py:56-99 | akshare/stock/research/stock_hold_control_cninfo.py:220-267 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_hold_control_cninfo.py:100\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/flow/stock_margin_sse.py:128\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":"akshare/stock/flow/stock_margin_sse.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf534cacb23bb00fe1ad9853dba9bbf47116e1293177236b773cb65cdbbf34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 3): akshare/fund/fund_qdii_jsl.py:32-76 | akshare/fund/fund_qdii_jsl.py:105-149 | akshare/fund/fund_qdii_jsl.py:178-221 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_qdii_jsl.py:78\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/fund/fund_qdii_jsl.py:223\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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bd2c787697fe00f45337c460b54d40d549e5d388a394fb9f5672c5d419ba7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): akshare/fund/fund_amac.py:620-663 | akshare/fund/fund_amac.py:931-974 \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":"akshare/fund/fund_amac.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa2f716cd7eac71cfa1afc1e2581503db2bd2cf6613fa8c4444a2e4c3faf65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201344 lines \u00D7 18): akshare/bond/bond_china.py:168-170 | akshare/energy/energy_oil_em.py:39-41 | akshare/energy/energy_oil_em.py:92-94 | akshare/fund/fund_em.py:849-852 | akshare/fund/fund_report_cninfo.py:153-156 | akshare/fund/fund_scale_sina.py:88-91 | akshare/fund/fund_scale_sina.py:158-161 | akshare/fund/fund_scale_sina.py:228-231 | akshare/index/index_cflp.py:15-58 | akshare/index/index_cflp.py:65-107 | akshare/interest_rate/interest_rate_repo.py:26-28 | akshare/interest_rate/interest_rate_repo.py:37-39 | akshare/option/option_finance_sina.py:809-811 | akshare/stock/flow/stock_hsgt_min_em.py:53-56 | akshare/stock/holder/stock_yzxdr_em.py:98-101 | akshare/stock/other/stock_esg_sina.py:96-99 | akshare/stock/valuation/stock_a_high_low.py:29-31 | akshare/stock/valuation/stock_ebs_lg.py:50-53 \u2014 before extracting anything, compare \u0060akshare/fund/fund_report_cninfo.py\u0060 and \u0060akshare/option/option_finance_sina.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5468\u6307\u6570\u0022\u0060 in one and \u0060str = \u0022\u6708\u6307\u6570\u0022\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 before the matched lines, \u0060akshare/fund/fund_em.py:847\u0060 calls \u0060sort_values\u0060 and \u0060akshare/fund/fund_report_cninfo.py:151\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":"akshare/bond/bond_china.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2295287ebd26829183643e3fcaec7f7e2a505b2cc266137894443a84da9faf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): akshare/stock/finance/stock_finance_ths.py:431-474 | akshare/stock/finance/stock_finance_ths.py:478-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f3a997c6ad0367d848a5f13369dfbba4ec2c6ca64df40b3c38b7251adb57eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 10): akshare/bond/bond_zh_cov.py:628-670 | akshare/macro/macro_china.py:40-100 | akshare/macro/macro_china.py:2152-2207 | akshare/macro/macro_china_hk.py:15-61 | akshare/macro/macro_germany.py:14-60 | akshare/macro/macro_japan.py:15-61 | akshare/macro/macro_swiss.py:15-61 | akshare/macro/macro_uk.py:15-61 | akshare/option/option_daily_stats_sse_szse.py:86-130 | akshare/stock/research/stock_hold_control_em.py:114-183 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 262 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022113527\u0022\u0060 in one and \u0060str = \u0022EMG00341602\u0022\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, \u0060akshare/stock/research/stock_hold_control_em.py:184\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/bond/bond_zh_cov.py:671\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd351912cc6ec99422f56c40f4eee37be997a3bef9dcc74a61ea070aa6b904b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): akshare/futures/futures_hf_em.py:116-157 | akshare/option/option_em.py:127-169 \u2014 before extracting anything, compare \u0060akshare/futures/futures_hf_em.py\u0060 and \u0060akshare/option/option_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 122 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, \u0060akshare/futures/futures_hf_em.py:115\u0060 calls \u0060concat\u0060 and \u0060akshare/option/option_em.py:126\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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e749b002ab955c23db9f8171e83197e8208cdb809d27195bdaa1cba2c03ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): akshare/research/research_ff_factor.py:26-68 | akshare/research/research_ff_factor.py:71-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_ff_factor.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea712a209d023e5d8d80045510a1431eb7edde6c5947c56d168b0f4bf82c149e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201342 lines \u00D7 35): akshare/futures/futures_to_spot.py:288-307 | akshare/index/index_research_sw.py:298-324 | akshare/macro/macro_china.py:160-180 | akshare/macro/macro_china.py:203-234 | akshare/macro/macro_china.py:420-447 | akshare/macro/macro_china.py:1640-1667 | akshare/macro/macro_china.py:1704-1742 | akshare/macro/macro_china.py:1790-1824 | akshare/macro/macro_china.py:1875-1909 | akshare/macro/macro_china.py:1950-1981 | akshare/macro/macro_china.py:2027-2043 | akshare/macro/macro_china.py:2073-2093 | akshare/macro/macro_china.py:2127-2145 | akshare/macro/macro_china.py:2267-2287 | akshare/macro/macro_china.py:2321-2339 | akshare/macro/macro_china.py:2372-2390 | akshare/macro/macro_china.py:2424-2458 | akshare/macro/macro_china.py:2555-2590 | akshare/macro/macro_china.py:2644-2664 | akshare/macro/macro_info_ws.py:63-89 | akshare/stock/board/stock_board_industry_ths.py:373-399 | akshare/stock/finance/stock_report_em.py:62-101 | akshare/stock/finance/stock_report_em.py:162-201 | akshare/stock/finance/stock_report_em.py:262-301 | akshare/stock/finance/stock_report_em.py:368-406 | akshare/stock/flow/stock_dzjy_em.py:561-602 | akshare/stock/flow/stock_lhb_em.py:790-816 | akshare/stock/holder/stock_gdfx_em.py:256-289 | akshare/stock/holder/stock_gdfx_em.py:400-426 | akshare/stock/holder/stock_gpzy_em.py:128-162 | akshare/stock/holder/stock_gpzy_em.py:227-266 | akshare/stock/holder/stock_gpzy_em.py:330-354 | akshare/stock/holder/stock_gpzy_em.py:395-419 | akshare/stock/issue/stock_finance_sina.py:713-732 | akshare/stock/issue/stock_restricted_em.py:329-355 \u2014 there are 35 copies across 12 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 35 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_to_spot.py:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:2094\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/futures/futures_to_spot.py:307\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":"akshare/futures/futures_to_spot.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74ddea9ae524a45ad6ad76a06d209d0d844b78a0b4f861e52fd913f754d6d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201342 lines \u00D7 35): akshare/macro/macro_australia.py:38-57 | akshare/macro/macro_australia.py:87-106 | akshare/macro/macro_australia.py:136-155 | akshare/macro/macro_australia.py:185-204 | akshare/macro/macro_australia.py:234-253 | akshare/macro/macro_australia.py:283-302 | akshare/macro/macro_australia.py:332-351 | akshare/macro/macro_canada.py:38-57 | akshare/macro/macro_canada.py:86-105 | akshare/macro/macro_canada.py:134-153 | akshare/macro/macro_canada.py:182-201 | akshare/macro/macro_canada.py:230-249 | akshare/macro/macro_canada.py:278-297 | akshare/macro/macro_canada.py:326-345 | akshare/macro/macro_canada.py:374-393 | akshare/macro/macro_canada.py:422-441 | akshare/macro/macro_canada.py:470-489 | akshare/macro/macro_china.py:156-180 | akshare/macro/macro_china.py:417-446 | akshare/macro/macro_china.py:1637-1666 | akshare/macro/macro_china.py:1701-1742 | akshare/macro/macro_china.py:1787-1823 | akshare/macro/macro_china.py:1872-1909 | akshare/macro/macro_china.py:1947-1980 | akshare/macro/macro_china.py:2024-2043 | akshare/macro/macro_china.py:2070-2093 | akshare/macro/macro_china.py:2123-2145 | akshare/macro/macro_china.py:2263-2287 | akshare/macro/macro_china.py:2317-2339 | akshare/macro/macro_china.py:2368-2390 | akshare/macro/macro_china.py:2420-2457 | akshare/macro/macro_china.py:2504-2523 | akshare/macro/macro_china.py:2552-2589 | akshare/macro/macro_china.py:2641-2664 | akshare/macro/macro_usa.py:40-59 \u2014 before extracting anything, compare \u0060akshare/macro/macro_australia.py\u0060 and \u0060akshare/macro/macro_canada.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 143 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:2094\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/macro/macro_china.py:447\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":"akshare/macro/macro_australia.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b637d5d7043f07462b0a2018ff9983dfcc9c31eef330e4c9db98d7b5087796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201342 lines \u00D7 6): akshare/bond/bond_zh_cov.py:417-443 | akshare/stock/holder/stock_gdhs.py:68-108 | akshare/stock/holder/stock_gdhs.py:168-209 | akshare/stock/holder/stock_gdzjc_em.py:84-107 | akshare/stock/issue/stock_fhps_em.py:86-114 | akshare/stock/quote/stock_hk_sina.py:81-103 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/stock/holder/stock_gdhs.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_zh_cov.py:417\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/holder/stock_gdhs.py:111\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_gdhs.py:212\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fadd8427fd6ad3f113578e39abc9b84cacd4f462e01e656561f23916c73c8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): akshare/stock/finance/stock_allotment_cninfo.py:33-74 | akshare/stock/finance/stock_share_changes_cninfo.py:36-76 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060end_date\u0060 to \u0060str = \u002222220222\u0022\u0060 in one and \u0060str = \u002220241021\u0022\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":"akshare/stock/finance/stock_allotment_cninfo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7b10f83d0c8068fa48d38826b734d4da7ccbc3ec198106532b50936d17c388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): akshare/stock/issue/stock_ipo_ths.py:38-79 | akshare/stock/issue/stock_ipo_ths.py:90-131 \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":"akshare/stock/issue/stock_ipo_ths.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b2f71f31c39c9c0407906b6a9cdbd1013474d83714f9d07fa7e9d3c8bc6ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201341 lines \u00D7 8): akshare/bond/bond_zh_cov.py:650-672 | akshare/index/index_research_fund_sw.py:35-55 | akshare/index/index_research_sw.py:227-248 | akshare/macro/macro_china.py:64-104 | akshare/macro/macro_china.py:2176-2213 | akshare/macro/macro_china_hk.py:40-63 | akshare/macro/macro_japan.py:40-63 | akshare/stock/flow/stock_margin_sse.py:46-64 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/index/index_research_fund_sw.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/index/index_research_sw.py:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e52110b18dea5e8c8fa82bb6948c1bd5d5143f1f063de8cf33c304955d4e2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201341 lines \u00D7 7): akshare/bond/bond_zh_cov.py:417-443 | akshare/stock/holder/stock_gdhs.py:69-108 | akshare/stock/holder/stock_gdhs.py:169-209 | akshare/stock/holder/stock_gdzjc_em.py:84-107 | akshare/stock/issue/stock_fhps_em.py:86-115 | akshare/stock/quote/stock_hk_sina.py:81-103 | akshare/stock/quote/stock_zh_b_sina.py:99-118 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/stock/holder/stock_gdhs.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_zh_cov.py:417\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/holder/stock_gdhs.py:111\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_gdhs.py:212\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1852b443d71cd66fb794748c161046b9aeff5fffee8a3a56ce27a75d1e61e4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 6): akshare/stock/issue/stock_register_em.py:45-85 | akshare/stock/issue/stock_register_em.py:118-158 | akshare/stock/issue/stock_register_em.py:191-231 | akshare/stock/issue/stock_register_em.py:264-304 | akshare/stock/issue/stock_register_em.py:337-377 | akshare/stock/issue/stock_register_em.py:410-450 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"akshare/stock/issue/stock_register_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec9d5e56d2bb37f1ea9572a4c2162f9a214ba80c5170d0dc3a28b695f355335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 3): akshare/bond/bond_buy_back_em.py:15-55 | akshare/bond/bond_buy_back_em.py:86-126 | akshare/stock/issue/stock_gsrl_em.py:15-50 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/issue/stock_gsrl_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceaeaea96d4dce91e1a1a0c495d4ff659d43bd099481b0071ef091d90f9a877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201341 lines \u00D7 2): akshare/fund/fund_reits.py:117-157 | akshare/fund/fund_reits.py:174-204 \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":"akshare/fund/fund_reits.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5937456f52de646ba6085ededb03fff2b97c01134586aeeb7952dd3af1976e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): akshare/fund/fund_scale_em.py:16-56 | akshare/fund/fund_scale_em.py:72-111 \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 \u0060akshare/fund/fund_scale_em.py:16\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":"akshare/fund/fund_scale_em.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f425b5da6126ef50fb2c091090bf531d6ff9d6e1f26770efd0b045cea44e7f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201341 lines \u00D7 2): akshare/index/index_zh_em.py:233-264 | akshare/index/index_zh_em.py:304-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":"akshare/index/index_zh_em.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c8dbf4c394775f0a845e51aefa9c16e0b3480384c579acefb9ce4ca5ea24a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 36): akshare/index/index_cni.py:17-59 | akshare/macro/macro_australia.py:16-55 | akshare/macro/macro_australia.py:65-104 | akshare/macro/macro_australia.py:114-153 | akshare/macro/macro_australia.py:163-202 | akshare/macro/macro_australia.py:212-251 | akshare/macro/macro_australia.py:261-300 | akshare/macro/macro_australia.py:310-349 | akshare/macro/macro_canada.py:16-55 | akshare/macro/macro_canada.py:64-103 | akshare/macro/macro_canada.py:112-151 | akshare/macro/macro_canada.py:160-199 | akshare/macro/macro_canada.py:208-247 | akshare/macro/macro_canada.py:256-295 | akshare/macro/macro_canada.py:304-343 | akshare/macro/macro_canada.py:352-391 | akshare/macro/macro_canada.py:400-439 | akshare/macro/macro_canada.py:448-487 | akshare/macro/macro_china.py:134-178 | akshare/macro/macro_china.py:317-369 | akshare/macro/macro_china.py:395-440 | akshare/macro/macro_china.py:506-551 | akshare/macro/macro_china.py:566-611 | akshare/macro/macro_china.py:1765-1816 | akshare/macro/macro_china.py:1849-1907 | akshare/macro/macro_china.py:1925-1974 | akshare/macro/macro_china.py:2003-2041 | akshare/macro/macro_china.py:2049-2089 | akshare/macro/macro_china.py:2102-2143 | akshare/macro/macro_china.py:2242-2285 | akshare/macro/macro_china.py:2296-2337 | akshare/macro/macro_china.py:2347-2388 | akshare/macro/macro_china.py:2397-2450 | akshare/macro/macro_china.py:2483-2521 | akshare/macro/macro_china.py:2530-2583 | akshare/macro/macro_usa.py:18-57 \u2014 before extracting anything, compare \u0060akshare/macro/macro_australia.py\u0060 and \u0060akshare/macro/macro_canada.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 143 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:370\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/macro/macro_china.py:441\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_cni.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f4b48b65cddef7d20f8f27bd362483b7d3a20ff468c0f25857b17b43db7717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201339 lines \u00D7 29): akshare/bond/bond_buy_back_em.py:184-212 | akshare/fund/fund_em.py:172-209 | akshare/fund/fund_rank_em.py:111-135 | akshare/fund/fund_rating.py:148-173 | akshare/fund/fund_rating.py:244-266 | akshare/fund/fund_rating.py:331-354 | akshare/futures/futures_hf_em.py:198-232 | akshare/fx/fx_forex_em.py:104-135 | akshare/index/index_global_em.py:122-153 | akshare/interest_rate/interest_rate_interbank_em.py:107-127 | akshare/option/option_lhb_em.py:75-93 | akshare/option/option_lhb_em.py:130-148 | akshare/option/option_lhb_em.py:185-203 | akshare/stock/finance/stock_sy_em.py:57-83 | akshare/stock/finance/stock_yjyg_em.py:201-218 | akshare/stock/flow/stock_fund_em.py:52-90 | akshare/stock/flow/stock_fund_em.py:373-410 | akshare/stock/flow/stock_hsgt_em.py:44-81 | akshare/stock/flow/stock_hsgt_em.py:259-276 | akshare/stock/flow/stock_hsgt_em.py:374-391 | akshare/stock/flow/stock_hsgt_em.py:487-504 | akshare/stock/flow/stock_hsgt_em.py:601-618 | akshare/stock/flow/stock_hsgt_em.py:676-710 | akshare/stock/flow/stock_hsgt_em.py:747-779 | akshare/stock/flow/stock_hsgt_em.py:815-847 | akshare/stock/flow/stock_hsgt_em.py:883-915 | akshare/stock/research/stock_cg_equity_mortgage.py:66-93 | akshare/stock/research/stock_hold_control_cninfo.py:78-101 | akshare/stock/research/stock_hold_num_cninfo.py:66-93 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/flow/stock_fund_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rank_em.py:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220230630\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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, \u0060akshare/fund/fund_rating.py:266\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_buy_back_em.py:212\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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b68cc607415c8a00fac6df17fda0e8b47005d7a1689a8a36a3b5ab85bdf25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201339 lines \u00D7 6): akshare/stock/other/stock_technology_ths.py:388-426 | akshare/stock/other/stock_technology_ths.py:597-629 | akshare/stock/other/stock_technology_ths.py:699-731 | akshare/stock/other/stock_technology_ths.py:786-820 | akshare/stock/other/stock_technology_ths.py:876-910 | akshare/stock/other/stock_technology_ths.py:981-1003 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/other/stock_technology_ths.py:981\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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087ad34fa0e42774c7fddfec92ab9ff3cafff85448abef36d2d2402faa9563d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201339 lines \u00D7 3): akshare/option/option_finance_sina.py:545-574 | akshare/option/option_finance_sina.py:626-649 | akshare/option/option_finance_sina.py:689-727 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/option/option_finance_sina.py:545\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002210003720\u0022\u0060 in one and \u0060str = \u0022sh510300\u0022\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":"akshare/option/option_finance_sina.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974238d96f454726a6668aaffec1068127f76313f72db1d64f810102b025693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201338 lines \u00D7 5): akshare/fund/fund_amac.py:345-372 | akshare/fund/fund_amac.py:417-454 | akshare/fund/fund_amac.py:565-592 | akshare/fund/fund_amac.py:753-778 | akshare/fund/fund_amac.py:863-888 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"akshare/fund/fund_amac.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"980ff44262b69a67719e3726d0aa1073f52fa8184698b124a8d0e5bfbca279df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 3): akshare/fund/fund_announcement_em.py:17-54 | akshare/fund/fund_announcement_em.py:58-95 | akshare/fund/fund_announcement_em.py:99-135 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_announcement_em.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c900f2a5e39a0f7a4157953074cfdc9f875dec9057b710acff5bd02ba47703f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201338 lines \u00D7 3): akshare/index/index_zh_em.py:90-127 | akshare/index/index_zh_em.py:223-251 | akshare/index/index_zh_em.py:291-328 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_zh_em.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d7570cf98317ca8ba3a294cbc873302c9eb9527dc8bd832c53371e37d5b54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): akshare/futures/futures_cot.py:653-690 | akshare/futures/futures_cot.py:708-745 \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":"akshare/futures/futures_cot.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5094ca6d82d40217dd7c54d00d7e7a4f5bd723a41cf8cd9d0f195a9e755b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201338 lines \u00D7 3): akshare/alternative/alternative_movie_yien.py:433-434 | akshare/stock/other/stock_technology_ths.py:75-112 | akshare/stock/other/stock_technology_ths.py:158-195 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u521B\u6708\u65B0\u9AD8\u0022\u0060 in one and \u0060str = \u0022\u521B\u6708\u65B0\u4F4E\u0022\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"2114915c4e52c441d41b7aeb03dd8ff01e6539089e409473d73f7a0d22790e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201337 lines \u00D7 10): akshare/fund/fund_amac.py:95-121 | akshare/fund/fund_amac.py:331-357 | akshare/fund/fund_amac.py:398-434 | akshare/fund/fund_amac.py:487-510 | akshare/fund/fund_amac.py:618-650 | akshare/fund/fund_amac.py:688-709 | akshare/fund/fund_amac.py:740-764 | akshare/fund/fund_amac.py:808-827 | akshare/fund/fund_amac.py:929-961 | akshare/fund/fund_amac.py:1003-1024 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_amac.py:95\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":"akshare/fund/fund_amac.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5cef1986d4b85982cae36f6a5b3e550614110cb087a61e8598c15e1a4b65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201337 lines \u00D7 5): akshare/stock/flow/stock_dzjy_em.py:261-297 | akshare/stock/flow/stock_lhb_em.py:163-169 | akshare/stock/holder/stock_gpzy_em.py:324-352 | akshare/stock/holder/stock_gpzy_em.py:389-417 | akshare/stock/holder/stock_gpzy_em.py:452-480 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 461 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 \u0060akshare/stock/flow/stock_lhb_em.py:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/flow/stock_lhb_em.py:161\u0060 calls \u0060f\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py:450\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e2821e1f098f48a02ba06fc27cc61bedc41254a47236837bdac4bf878e377f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201337 lines \u00D7 4): akshare/stock/flow/stock_dzjy_em.py:43-71 | akshare/stock/issue/stock_restricted_em.py:58-86 | akshare/stock/issue/stock_restricted_em.py:146-180 | akshare/stock/issue/stock_restricted_em.py:232-268 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 362 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_restricted_em.py:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/flow/stock_dzjy_em.py:42\u0060 calls \u0060concat\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py:57\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"27009ea80f3e3f1eee29d3fe1a7167618aebb70e16bcf310274dbc480397275a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): akshare/stock/finance/stock_yjyg_em.py:19-55 | akshare/stock/finance/stock_yjyg_em.py:137-172 \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 \u0060akshare/stock/finance/stock_yjyg_em.py:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_yjyg_em.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c90809475287432774fb349deeaed57124f7c1e3b9e1f82f70cd28c7d7a4008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201336 lines \u00D7 2): akshare/stock/holder/stock_jgdy_em.py:91-108 | akshare/stock/holder/stock_jgdy_em.py:155-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/holder/stock_jgdy_em.py:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/holder/stock_jgdy_em.py:109\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_jgdy_em.py:191\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":"akshare/stock/holder/stock_jgdy_em.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c69a7bf0824ff69d4365149fb5fb1f2689065f01c955f70f3511c0cd360e8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 6): akshare/stock/other/stock_technology_ths.py:203-237 | akshare/stock/other/stock_technology_ths.py:273-307 | akshare/stock/other/stock_technology_ths.py:343-377 | akshare/stock/other/stock_technology_ths.py:437-471 | akshare/stock/other/stock_technology_ths.py:741-775 | akshare/stock/other/stock_technology_ths.py:831-865 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7fdb4068fb6135ce81da607971975fd0a8c9320eb54483af3fad4e39e63793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 3): akshare/fund/fund_position_lg.py:16-48 | akshare/fund/fund_position_lg.py:52-86 | akshare/fund/fund_position_lg.py:90-124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_position_lg.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"776cd9e73db7af0ffcd05e3de92ca2967c3de0cea0e912ac91eacc8a27d15c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 3): akshare/stock/flow/stock_hsgt_em.py:282-316 | akshare/stock/flow/stock_hsgt_em.py:397-430 | akshare/stock/flow/stock_hsgt_em.py:510-544 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:282\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"638398ff7419386d4b2e1b5d4a12b2948b3dc804d8e9dba33c77f65b48e4dc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201335 lines \u00D7 2): akshare/futures/futures_contract_info_cffex.py:29-63 | akshare/futures/futures_contract_info_czce.py:33-52 \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 \u0060akshare/futures/futures_contract_info_czce.py:33\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":"akshare/futures/futures_contract_info_cffex.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e826f674f5fa381129294f01bb1bb0b83082ee4b292276070ece1a512bd726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): akshare/stock/flow/stock_fund_flow.py:177-211 | akshare/stock/flow/stock_fund_flow.py:308-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1747f19df4c2889e7c94667536261ebe1d7f0ec4212f3671d20f9c76c9a3fac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): akshare/stock/other/stock_technology_ths.py:536-570 | akshare/stock/other/stock_technology_ths.py:639-673 \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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fb711f8bb8fd81bb8bec9721038405abe030391f8d592ae5dd9eea526dcdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): akshare/stock/valuation/stock_a_pe_and_pb.py:397-431 | akshare/stock/valuation/stock_a_pe_and_pb.py:520-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/valuation/stock_a_pe_and_pb.py:397\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u6CAA\u6DF1300\u0022\u0060 in one and \u0060str = \u0022\u4E0A\u8BC150\u0022\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":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9409efddda31b4a1b9d42af9375ce8e53635998f253d433c036906197f010805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201334 lines \u00D7 6): akshare/bond/bond_china.py:123-135 | akshare/stock/flow/stock_margin_sse.py:100-129 | akshare/stock/flow/stock_margin_sse.py:167-198 | akshare/stock/research/stock_cg_guarantee.py:79-102 | akshare/stock/research/stock_industry_pe_cninfo.py:70-103 | akshare/stock/research/stock_rank_forecast.py:62-93 \u2014 before extracting anything, compare \u0060akshare/bond/bond_china.py\u0060 and \u0060akshare/stock/flow/stock_margin_sse.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_china.py:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_industry_pe_cninfo.py:104\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_china.py:136\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":"akshare/bond/bond_china.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c480d6e98c4fe5491b58b2966f6d5f87f1b64363b0986b11780b4b55861fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): akshare/futures/futures_basis.py:36-67 | akshare/futures/futures_cot.py:61-94 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060end_date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220210510\u0022\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":"akshare/futures/futures_basis.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"215776d2cec694cf7bc5b3bf471452f9f6ac2d011303e5ca2cf9375d3aaa4ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): akshare/stock/board/stock_hot_rank_em.py:15-53 | akshare/stock/board/stock_hot_up_em.py:15-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. 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":"akshare/stock/board/stock_hot_rank_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b5f5b6d6c30798f18a9753f2a3986176c636d81f4a2eba126935f72a8bfb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): akshare/stock/other/stock_technology_ths.py:37-70 | akshare/stock/other/stock_technology_ths.py:120-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u521B\u6708\u65B0\u9AD8\u0022\u0060 in one and \u0060str = \u0022\u521B\u6708\u65B0\u4F4E\u0022\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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb5ac8053be297e5cd8220a0946bc12618d474547638a76d6226dcfe70aa30b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201333 lines \u00D7 7): akshare/stock/other/stock_technology_ths.py:378-410 | akshare/stock/other/stock_technology_ths.py:472-504 | akshare/stock/other/stock_technology_ths.py:587-615 | akshare/stock/other/stock_technology_ths.py:689-717 | akshare/stock/other/stock_technology_ths.py:776-806 | akshare/stock/other/stock_technology_ths.py:866-896 | akshare/stock/other/stock_technology_ths.py:939-951 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/other/stock_technology_ths.py:939\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/other/stock_technology_ths.py:586\u0060 calls \u0060read_html\u0060, \u0060StringIO\u0060 and \u0060akshare/stock/other/stock_technology_ths.py:688\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f9831934f3c6a5ac2928619e78f781119af9c3d882d3d8ea719e6d227568f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): akshare/fund/fund_rating.py:93-125 | akshare/fund/fund_rating.py:191-223 | akshare/fund/fund_rating.py:278-310 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rating.py:93\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220230630\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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":"akshare/fund/fund_rating.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eadc6f7a0399308d3046b71351b0b604a6892cc889b55f097366423cd286e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 3): akshare/index/index_research_sw.py:338-370 | akshare/index/index_research_sw.py:441-470 | akshare/index/index_research_sw.py:515-544 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220221031\u0022\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":"akshare/index/index_research_sw.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bff23056651dd8eb8344f2cf5c7159c10ad8d788d707df39f978f51da2a958c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): akshare/option/option_finance_sina.py:297-329 | akshare/option/option_finance_sina.py:338-370 | akshare/option/option_finance_sina.py:381-413 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022ho2303P2350\u0022\u0060 in one and \u0060str = \u0022io2202P4350\u0022\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":"akshare/option/option_finance_sina.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fa6f361fb004c4109244e773dc7db8d91723d5e0393fb41700c02f375cd061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): akshare/stock/holder/stock_gdfx_em.py:390-422 | akshare/stock/holder/stock_gdfx_em.py:445-475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220240930\u0022\u0060 in one and \u0060str = \u002220260930\u0022\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":"akshare/stock/holder/stock_gdfx_em.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c11cc32effc258adec88c34e1caff3eba09c0dd1df915eac8c23916c42de13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201332 lines \u00D7 12): akshare/bond/bond_zh_cov.py:156-181 | akshare/bond/bond_zh_cov.py:201-232 | akshare/bond/bond_zh_cov.py:274-296 | akshare/fund/fund_etf_em.py:360-384 | akshare/fund/fund_etf_em.py:397-426 | akshare/fund/fund_lof_em.py:219-243 | akshare/fund/fund_lof_em.py:256-285 | akshare/stock/quote/stock_hist_em.py:1069-1093 | akshare/stock/quote/stock_hist_em.py:1106-1135 | akshare/stock/quote/stock_hist_em.py:1185-1207 | akshare/stock/quote/stock_hist_em.py:1493-1516 | akshare/stock/quote/stock_hist_em.py:1529-1558 \u2014 there are 12 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022sh113570\u0022\u0060 in one and \u0060str = \u0022000001\u0022\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, \u0060akshare/stock/quote/stock_hist_em.py:1208\u0060 calls \u0060date\u0060, \u0060isoformat\u0060 and \u0060akshare/bond/bond_zh_cov.py:297\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a373de7ff07f635253a752070d69f50ae44bb31bb2c74041bfb2e5b8ad8eaf87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201332 lines \u00D7 10): akshare/interest_rate/interest_rate_lpr_em.py:15-42 | akshare/macro/macro_china.py:1101-1127 | akshare/stock/finance/stock_report_em.py:21-47 | akshare/stock/finance/stock_report_em.py:121-147 | akshare/stock/finance/stock_report_em.py:221-247 | akshare/stock/finance/stock_report_em.py:327-353 | akshare/stock/holder/stock_gdfx_em.py:574-605 | akshare/stock/issue/stock_zf_pg.py:19-45 | akshare/stock/issue/stock_zf_pg.py:99-125 | akshare/stock/research/stock_zdhtmx_em.py:17-46 \u2014 before extracting anything, compare \u0060akshare/interest_rate/interest_rate_lpr_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220240331\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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":"akshare/interest_rate/interest_rate_lpr_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"10042b90ed39078fead156125e0e759721627ad2173683d08f7e08fb92d178d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 8): akshare/bond/bond_buy_back_em.py:169-200 | akshare/futures/futures_settlement_price_sgx.py:28-59 | akshare/index/index_stock_hk.py:250-281 | akshare/stock/board/stock_board_concept_em.py:344-372 | akshare/stock/board/stock_board_industry_em.py:243-271 | akshare/stock/board/stock_board_industry_em.py:351-381 | akshare/stock/flow/stock_fund_em.py:1031-1059 | akshare/stock/flow/stock_fund_em.py:1143-1171 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/flow/stock_fund_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_buy_back_em.py:169\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022204001\u0022\u0060 in one and \u0060str = \u0022\u6C7D\u8F66\u670D\u52A1\u0022\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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba88d293085fe171a7f70c03258977fa6574b8bb5dbbb8cdaf0b7bb5171102c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 7): akshare/bond/bond_issue_cninfo.py:33-68 | akshare/bond/bond_issue_cninfo.py:128-163 | akshare/bond/bond_issue_cninfo.py:223-258 | akshare/bond/bond_issue_cninfo.py:322-357 | akshare/fund/fund_report_cninfo.py:31-63 | akshare/fund/fund_report_cninfo.py:97-129 | akshare/stock/research/stock_new_cninfo.py:81-112 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fce5153f45f97bb10946f25ec9ff0b86e058c11350dd7995ce3b90badd03f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 6): akshare/fund/fund_etf_em.py:395-425 | akshare/fund/fund_lof_em.py:254-284 | akshare/stock/board/stock_board_concept_em.py:342-371 | akshare/stock/board/stock_board_industry_em.py:349-380 | akshare/stock/quote/stock_hist_em.py:1104-1134 | akshare/stock/quote/stock_hist_em.py:1527-1557 \u2014 before extracting anything, compare \u0060akshare/fund/fund_etf_em.py\u0060 and \u0060akshare/fund/fund_lof_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 345 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_etf_em.py:394\u0060 calls \u0060to_datetime\u0060, \u0060astype\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py:341\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_em.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2212ee404357d28bfaf5b448642da2fbadd091b146c3fbcf12332c0ae6c39ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201332 lines \u00D7 6): akshare/stock/quote/stock_hk_comparison_em.py:40-59 | akshare/stock/quote/stock_hk_comparison_em.py:89-116 | akshare/stock/quote/stock_hk_comparison_em.py:146-165 | akshare/stock/quote/stock_zh_comparison_em.py:62-70 | akshare/stock/quote/stock_zh_comparison_em.py:186-217 | akshare/stock/quote/stock_zh_comparison_em.py:247-269 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_zh_comparison_em.py:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/quote/stock_hk_comparison_em.py:40\u0060 calls \u0060get\u0060 and \u0060akshare/stock/quote/stock_zh_comparison_em.py:62\u0060 does not \u2014 after which the two agree again for 5 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":"akshare/stock/quote/stock_hk_comparison_em.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a740c79eb007f3ac5c4c63a721a08c53be16e702493b23124fb055f9a29782e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201332 lines \u00D7 5): akshare/stock/issue/stock_finance_sina.py:578-596 | akshare/stock/issue/stock_finance_sina.py:653-672 | akshare/stock/issue/stock_info.py:218-244 | akshare/stock/research/stock_analyst_em.py:136-167 | akshare/stock/research/stock_analyst_em.py:191-220 \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. 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":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48db9c3c6127142a4dc069d5dee69be59a23dbbe1587d0be50f39aa35b877e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): akshare/fund/fund_em.py:738-769 | akshare/fund/fund_em.py:791-821 | akshare/fund/fund_em.py:926-956 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022000009\u0022\u0060 in one and \u0060str = \u0022000134\u0022\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":"akshare/fund/fund_em.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"12de2777fb7634ca87e53177e6924f7ff1249b8d8b52e67e5619bebcc2c13205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): akshare/macro/macro_china.py:464-495 | akshare/macro/macro_china.py:1562-1597 \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 \u0060akshare/macro/macro_china.py:1562\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":"akshare/macro/macro_china.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a48f457190b0811edc8e8d0a3ea0eee462ff676ad5d6900e61afe86819a07ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 9): akshare/stock/issue/stock_ipo_declare.py:17-44 | akshare/stock/issue/stock_register_em.py:17-43 | akshare/stock/issue/stock_register_em.py:89-116 | akshare/stock/issue/stock_register_em.py:162-189 | akshare/stock/issue/stock_register_em.py:235-262 | akshare/stock/issue/stock_register_em.py:308-335 | akshare/stock/issue/stock_register_em.py:381-408 | akshare/stock/issue/stock_register_em.py:454-480 | akshare/stock/research/stock_analyst_em.py:16-46 \u2014 before extracting anything, compare \u0060akshare/stock/issue/stock_ipo_declare.py\u0060 and \u0060akshare/stock/issue/stock_register_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 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":"akshare/stock/issue/stock_ipo_declare.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0749928f1da504318134196600c187101004910225e0f749fa39b8f6a0f8ca95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): akshare/stock/finance/stock_industry_cninfo.py:110-149 | akshare/stock/finance/stock_ipo_summary_cninfo.py:31-61 | akshare/stock/finance/stock_profile_cninfo.py:31-62 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_industry_cninfo.py\u0060 and \u0060akshare/stock/finance/stock_ipo_summary_cninfo.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022002594\u0022\u0060 in one and \u0060str = \u0022600030\u0022\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":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2ffbf9fe6c97a373e441c9de502a78610828b676fdfa2e4e7337c58387c157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): akshare/fund/fund_reits.py:127-158 | akshare/index/index_stock_hk.py:251-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_reits.py:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/fund/fund_reits.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a5eab4582c8ee739c21b9bcdf85e1ab28b39ee9edd24b8c099429f4383dbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201330 lines \u00D7 5): akshare/bond/bond_buy_back_em.py:22-41 | akshare/bond/bond_buy_back_em.py:93-112 | akshare/stock/issue/stock_gsrl_em.py:24-41 | akshare/stock/issue/stock_restricted_em.py:41-70 | akshare/stock/issue/stock_restricted_em.py:311-339 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/issue/stock_gsrl_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_buy_back_em.py:22\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5168\u90E8\u80A1\u7968\u0022\u0060 in one and \u0060str = \u0022600000\u0022\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 before the matched lines, \u0060akshare/stock/issue/stock_restricted_em.py:310\u0060 calls \u0060join\u0060 and \u0060akshare/bond/bond_buy_back_em.py:21\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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa478e2b5e43dc0564ed38246f534d90b262d118cddf1b8067a904ebf6a5e45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 5): akshare/futures/futures_comex_em.py:16-45 | akshare/stock/flow/stock_lhb_em.py:324-354 | akshare/stock/flow/stock_lhb_em.py:499-529 | akshare/stock/flow/stock_lhb_em.py:634-664 | akshare/stock/holder/stock_gdzjc_em.py:16-47 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u9EC4\u91D1\u0022\u0060 in one and \u0060str = \u0022\u8FD1\u4E00\u6708\u0022\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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf7f0be49331faa4043576ea43f772ed47d2f599fd521083f76bc6ece38afd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): akshare/bond/bond_buy_back_em.py:40-74 | akshare/bond/bond_buy_back_em.py:111-145 | akshare/stock/quote/stock_hsgt_spot_em.py:38-67 | akshare/stock/quote/stock_hsgt_spot_em.py:97-129 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/quote/stock_hsgt_spot_em.py:36\u0060 calls \u0060reset_index\u0060, \u0060astype\u0060 and \u0060akshare/stock/quote/stock_hsgt_spot_em.py:96\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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142b2aab2a0ad96e50cf86db788172760866d9686a3ac6a532ab1c6588c6b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 4): akshare/stock/research/stock_cg_equity_mortgage.py:39-64 | akshare/stock/research/stock_cg_guarantee.py:52-79 | akshare/stock/research/stock_cg_lawsuit.py:54-83 | akshare/stock/research/stock_hold_num_cninfo.py:39-64 \u2014 before extracting anything, compare \u0060akshare/stock/research/stock_cg_equity_mortgage.py\u0060 and \u0060akshare/stock/research/stock_cg_guarantee.py\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_cg_equity_mortgage.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fdbf5e8bf1ce7a8aa1008e2f4b5af225607264e1ca5b0c51c38831bd6b5a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201330 lines \u00D7 3): akshare/index/index_zh_em.py:147-176 | akshare/index/index_zh_em.py:243-266 | akshare/index/index_zh_em.py:317-346 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_zh_em.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdb01dea87784b95fa70068be9f01922881cfce9c73059762c4ae9afbbd2605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 3): akshare/stock/board/stock_hot_xq.py:85-144 | akshare/stock/board/stock_hot_xq.py:148-207 | akshare/stock/board/stock_hot_xq.py:211-270 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_xq.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2f37aefdff31b164e852be6bfc7ef9188b85ca8316bde501dc4c007b8ff8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): akshare/stock/finance/stock_three_report_em.py:475-504 | akshare/stock/finance/stock_three_report_em.py:508-537 | akshare/stock/finance/stock_three_report_em.py:543-572 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_three_report_em.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cee86247f7a84ccb851b6c42371512da87e347e9bdbc01636bdcac7ac8115a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): akshare/index/index_cons.py:127-155 | akshare/index/index_cons.py:161-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/index/index_cons.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc14e708af0b5cedb5bfaaf6167d4e71eb9d62febb2344b6251b5e545f07c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 12): akshare/index/index_sox_em.py:41-69 | akshare/macro/macro_china.py:713-741 | akshare/macro/macro_china.py:782-810 | akshare/macro/macro_china.py:851-879 | akshare/macro/macro_china.py:920-948 | akshare/macro/macro_china.py:989-1017 | akshare/macro/macro_china.py:1058-1086 | akshare/macro/macro_china.py:1199-1227 | akshare/macro/macro_china.py:1268-1296 | akshare/macro/macro_china.py:1337-1365 | akshare/macro/macro_china.py:1406-1434 | akshare/macro/macro_china.py:1475-1503 \u2014 before extracting anything, compare \u0060akshare/index/index_sox_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 148 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":"akshare/index/index_sox_em.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b91d97e80c7054ebda598dd93cb37b0b107c8ab9804804a190032ff8b898808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 8): akshare/bond/bond_issue_cninfo.py:43-70 | akshare/bond/bond_issue_cninfo.py:138-165 | akshare/bond/bond_issue_cninfo.py:233-260 | akshare/bond/bond_issue_cninfo.py:332-359 | akshare/fund/fund_report_cninfo.py:39-65 | akshare/fund/fund_report_cninfo.py:105-131 | akshare/stock/research/stock_hold_control_cninfo.py:120-148 | akshare/stock/research/stock_new_cninfo.py:87-114 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0782cb0d906db186318c42d1af35ed908974cd06339b19fa13099d72fbccb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201329 lines \u00D7 5): akshare/interest_rate/interest_rate_interbank_em.py:95-118 | akshare/stock/holder/stock_gdhs.py:60-86 | akshare/stock/holder/stock_gdhs.py:160-188 | akshare/stock/holder/stock_gdzjc_em.py:49-59 | akshare/stock/issue/stock_zf_pg.py:127-136 \u2014 before extracting anything, compare \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 and \u0060akshare/stock/holder/stock_gdhs.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/holder/stock_gdzjc_em.py:49\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":"akshare/interest_rate/interest_rate_interbank_em.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73f8be410a0235bfb02103b792e68b651add4aa6a07ef1553139be7c6e3092d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): akshare/stock/finance/stock_sy_em.py:101-129 | akshare/stock/finance/stock_sy_em.py:210-238 | akshare/stock/finance/stock_sy_em.py:311-339 | akshare/stock/finance/stock_sy_em.py:403-431 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad204f816b5880c1705292c69897e36c487fa7685084fe7d9c23862180801f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201329 lines \u00D7 10): akshare/stock/flow/stock_fund_flow.py:251-279 | akshare/stock/flow/stock_fund_flow.py:382-410 | akshare/stock/other/stock_technology_ths.py:240-263 | akshare/stock/other/stock_technology_ths.py:310-333 | akshare/stock/other/stock_technology_ths.py:429-430 | akshare/stock/other/stock_technology_ths.py:528-529 | akshare/stock/other/stock_technology_ths.py:632-633 | akshare/stock/other/stock_technology_ths.py:734-735 | akshare/stock/other/stock_technology_ths.py:823-824 | akshare/stock/other/stock_technology_ths.py:913-914 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fcd730f74598b72bf0309921c04d1c51326384ecc90eabb5b4307e440e141f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): akshare/stock/finance/stock_disclosure_cninfo.py:173-201 | akshare/stock/finance/stock_disclosure_cninfo.py:238-266 \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":"akshare/stock/finance/stock_disclosure_cninfo.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2059c1411a5f9bf152a3e68701f9bcb01e69b0142e5b6c0477b1c5b658437e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201328 lines \u00D7 8): akshare/fund/fund_amac.py:231-248 | akshare/futures/futures_comm_qihuo.py:170-196 | akshare/stock/holder/stock_fund_hold.py:163-177 | akshare/stock/holder/stock_gdfx_em.py:69-96 | akshare/stock/holder/stock_gdfx_em.py:171-198 | akshare/stock/holder/stock_gdfx_em.py:351-368 | akshare/stock/quote/stock_zh_kcb_sina.py:82-109 | akshare/stock/research/stock_qsjy_em.py:55-78 \u2014 there are 8 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. 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":"akshare/fund/fund_amac.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033c7f5463e5eabf4c81964c809291a5b1e863b13f00e2cadabcf1d28992ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 4): akshare/stock/finance/stock_industry_cninfo.py:123-150 | akshare/stock/finance/stock_ipo_summary_cninfo.py:39-62 | akshare/stock/finance/stock_profile_cninfo.py:40-63 | akshare/stock/research/stock_industry_pe_cninfo.py:44-70 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_industry_cninfo.py\u0060 and \u0060akshare/stock/finance/stock_ipo_summary_cninfo.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 90 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022002594\u0022\u0060 in one and \u0060str = \u0022600030\u0022\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":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be6a0177cc1477fa2123a7057321a07beba449e01a6558bba8c255057100bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 3): akshare/fund/fund_etf_szse.py:18-41 | akshare/stock/flow/stock_margin_szse.py:17-44 | akshare/stock/flow/stock_margin_szse.py:97-124 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220230925\u0022\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":"akshare/fund/fund_etf_szse.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"32466d664666c839d1d8659c94c5f4742fa03376b2e42278c710d735440972df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): akshare/stock/flow/stock_hsgt_em.py:713-740 | akshare/stock/flow/stock_hsgt_em.py:782-808 | akshare/stock/flow/stock_hsgt_em.py:850-876 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:713\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7323e05bdfd500774760fa57aad99cd8562d5d2a772d9cced9c227edddbef427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): akshare/bond/bond_cbond.py:43-70 | akshare/bond/bond_cbond.py:102-129 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060indicator\u0060 to \u0060str = \u0022\u5168\u4EF7\u0022\u0060 in one and \u0060str = \u0022\u8D22\u5BCC\u0022\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":"akshare/bond/bond_cbond.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d854bf80f9f7fba30b8286e962fd15a4ea7fc369f44c5533fd7a89d97f31494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): akshare/spot/spot_sge.py:164-191 | akshare/spot/spot_sge.py:195-222 \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":"akshare/spot/spot_sge.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a950a1b989d000e06b3a93d927b83883a19b1c23c86904047263301439e0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): akshare/stock/holder/stock_gpzy_em.py:22-47 | akshare/stock/issue/stock_tfp_em.py:15-42 \u2014 before extracting anything, compare \u0060akshare/stock/holder/stock_gpzy_em.py\u0060 and \u0060akshare/stock/issue/stock_tfp_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"akshare/stock/holder/stock_gpzy_em.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d4684dc0d044b06ea24f171275514df58688a8e53c4b11fa9ff1b3bff0a29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 14): akshare/index/index_sox_em.py:46-72 | akshare/macro/macro_china.py:528-554 | akshare/macro/macro_china.py:588-614 | akshare/macro/macro_china.py:649-675 | akshare/macro/macro_china.py:718-744 | akshare/macro/macro_china.py:787-813 | akshare/macro/macro_china.py:856-882 | akshare/macro/macro_china.py:925-951 | akshare/macro/macro_china.py:994-1020 | akshare/macro/macro_china.py:1063-1089 | akshare/macro/macro_china.py:1204-1230 | akshare/macro/macro_china.py:1273-1299 | akshare/macro/macro_china.py:1342-1368 | akshare/macro/macro_china.py:1411-1437 \u2014 before extracting anything, compare \u0060akshare/index/index_sox_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 148 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, \u0060akshare/index/index_sox_em.py:44\u0060 calls \u0060concat\u0060, \u0060drop_duplicates\u0060 and \u0060akshare/macro/macro_china.py:527\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":"akshare/index/index_sox_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"230bd66ab67651f0bdaab95714f7bc3743ab506559e5e52de177ff250a19a18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 10): akshare/futures/futures_hf_em.py:118-157 | akshare/index/index_stock_zh.py:158-195 | akshare/option/option_em.py:129-169 | akshare/stock/flow/stock_fund_em.py:770-809 | akshare/stock/flow/stock_fund_em.py:858-897 | akshare/stock/flow/stock_fund_em.py:946-985 | akshare/stock/flow/stock_lhb_em.py:363-405 | akshare/stock/flow/stock_lhb_em.py:538-586 | akshare/stock/flow/stock_lhb_em.py:673-699 | akshare/stock/issue/stock_dxsyl_em.py:52-95 \u2014 before extracting anything, compare \u0060akshare/futures/futures_hf_em.py\u0060 and \u0060akshare/option/option_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 122 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 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, \u0060akshare/futures/futures_hf_em.py:115\u0060 calls \u0060concat\u0060 and \u0060akshare/option/option_em.py:126\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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f829b822853f1838bbb617049bfcbd9d8c1daf2c27de3421550f567d480019a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): akshare/stock/flow/stock_lhb_em.py:360-402 | akshare/stock/flow/stock_lhb_em.py:535-579 | akshare/stock/flow/stock_lhb_em.py:670-696 | akshare/stock/holder/stock_gdfx_em.py:611-649 | akshare/stock/holder/stock_gdfx_em.py:697-738 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_lhb_em.py\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 434 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/holder/stock_gdfx_em.py:650\u0060 calls \u0060to_datetime\u0060, \u0060to_numeric\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py:581\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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9937171435fffe98637798862a842d6e90b2ae59ee8eabfe321207337c7e975e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): akshare/futures/futures_cftc_js.py:16-42 | akshare/futures/futures_cftc_js.py:46-72 | akshare/futures/futures_cftc_js.py:76-102 | akshare/futures/futures_cftc_js.py:106-132 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cftc_js.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1670b35738b28cf83df30cf9ab1b9b46e10202034c0c00e92dce777618159b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): akshare/index/index_global_sina.py:31-58 | akshare/stock/board/stock_comment_em.py:152-178 | akshare/stock/board/stock_comment_em.py:188-215 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/index/index_global_sina.py:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022OMX\u0022\u0060 in one and \u0060str = \u0022600000\u0022\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":"akshare/index/index_global_sina.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd112900eb954798e3d040f2f5262797883b96f6a6db3b4c09b778c31a7bffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 3): akshare/macro/macro_china.py:526-552 | akshare/macro/macro_china.py:586-612 | akshare/stock/research/stock_us_js.py:39-62 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/research/stock_us_js.py:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/macro/macro_china.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c83b4aabd8be315157f682c203f6a52590129af9fd53b0b7a2c0d56ee15c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): akshare/stock/holder/stock_gdfx_em.py:866-892 | akshare/stock/holder/stock_gdfx_em.py:928-954 \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":"akshare/stock/holder/stock_gdfx_em.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e787a4657a860db7097fc62d35c2870b85a70a856613919bc3f87bcaf73b6be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 9): akshare/stock/flow/stock_dzjy_em.py:45-72 | akshare/stock/flow/stock_dzjy_em.py:369-410 | akshare/stock/flow/stock_dzjy_em.py:476-503 | akshare/stock/flow/stock_lhb_em.py:266-307 | akshare/stock/flow/stock_lhb_em.py:460-490 | akshare/stock/holder/stock_gpzy_em.py:457-482 | akshare/stock/issue/stock_restricted_em.py:60-87 | akshare/stock/issue/stock_restricted_em.py:148-180 | akshare/stock/issue/stock_restricted_em.py:234-269 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 461 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. 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, \u0060akshare/stock/flow/stock_dzjy_em.py:42\u0060 calls \u0060concat\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py:57\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2db6997c521c5862b15ab35675ed4dae6dcba642607a84e5da2fd4c483d07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 7): akshare/bond/bond_zh_cov.py:155-180 | akshare/fund/fund_etf_em.py:359-383 | akshare/fund/fund_lof_em.py:218-242 | akshare/stock/board/stock_board_concept_em.py:311-334 | akshare/stock/board/stock_board_industry_em.py:317-340 | akshare/stock/quote/stock_hist_em.py:1068-1092 | akshare/stock/quote/stock_hist_em.py:1492-1515 \u2014 there are 7 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/bond/bond_zh_cov.py:181\u0060 calls \u0060to_datetime\u0060, \u0060reset_index\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py:335\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4067e56a227b683061e47345329344827d59cb6ddeabc3ea3e889eb47469d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 6): akshare/stock/quote/stock_hk_comparison_em.py:15-55 | akshare/stock/quote/stock_hk_comparison_em.py:63-112 | akshare/stock/quote/stock_hk_comparison_em.py:120-161 | akshare/stock/quote/stock_zh_comparison_em.py:15-40 | akshare/stock/quote/stock_zh_comparison_em.py:164-212 | akshare/stock/quote/stock_zh_comparison_em.py:221-264 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_zh_comparison_em.py:15\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002203900\u0022\u0060 in one and \u0060str = \u0022SZ000895\u0022\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":"akshare/stock/quote/stock_hk_comparison_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa74cf1943f913994de97ead5534bae5e7101c4bd264b69d0346c3e4b9afe8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 6): akshare/stock/quote/stock_ztb_em.py:47-70 | akshare/stock/quote/stock_ztb_em.py:133-156 | akshare/stock/quote/stock_ztb_em.py:210-234 | akshare/stock/quote/stock_ztb_em.py:297-322 | akshare/stock/quote/stock_ztb_em.py:385-408 | akshare/stock/quote/stock_ztb_em.py:465-488 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/quote/stock_ztb_em.py:46\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/stock/quote/stock_ztb_em.py:296\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":"akshare/stock/quote/stock_ztb_em.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"db80a7a1cda57498ec84f1fc5913245dc89df4f98e11ecb7011c2b045b2a57a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 3): akshare/futures/futures_contract_info_dce.py:31-56 | akshare/macro/macro_china_hk.py:42-63 | akshare/macro/macro_japan.py:42-63 \u2014 before extracting anything, compare \u0060akshare/macro/macro_china_hk.py\u0060 and \u0060akshare/macro/macro_japan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 197 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 \u0060akshare/futures/futures_contract_info_dce.py:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_dce.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac18b8907147832edcd1e5cadbda884e13f6ae3fbdd4c8cbcaccc79fefa8a526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): akshare/index/index_stock_zh.py:86-119 | akshare/stock/finance/stock_yjbb_em.py:96-121 | akshare/stock/finance/stock_yjyg_em.py:85-110 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_yjbb_em.py\u0060 and \u0060akshare/stock/finance/stock_yjyg_em.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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 \u0060akshare/stock/finance/stock_yjbb_em.py:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_zh.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3318bdcb4167ae4a32ffae6bfa699019be7704cb78629f35062e3cbdc0264fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201326 lines \u00D7 3): akshare/stock/finance/stock_sy_em.py:162-187 | akshare/stock/finance/stock_sy_em.py:271-291 | akshare/stock/finance/stock_sy_em.py:372-391 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_sy_em.py:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/finance/stock_sy_em.py:293\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/finance/stock_sy_em.py:393\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":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"33919882549d68ac7f733627eb4b1b48acac5170269d7aad3dc63baab7a99daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): akshare/fund/fund_fhsp_em.py:51-76 | akshare/fund/fund_fhsp_em.py:147-170 \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 \u0060akshare/fund/fund_fhsp_em.py:51\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":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba03d9f2d3c1ae6ad2f132c25ca771b373ac3cc4c67973cb8b27d0b8579c3911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): akshare/fund/fund_fhsp_em.py:173-198 | akshare/fund/fund_fhsp_em.py:238-263 \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":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ce34fd4049667948562af2baeade0abb5c057488b0716518b47ac20d9ac36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201326 lines \u00D7 2): akshare/futures/futures_zh_sina.py:326-351 | akshare/futures/futures_zh_sina.py:423-441 \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 \u0060akshare/futures/futures_zh_sina.py:326\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":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f280969a11e6a6a0776086efce13309fec5769ec54865c0b5e160a914b8b215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): akshare/stock/finance/stock_finance_us_em.py:62-87 | akshare/stock/finance/stock_finance_us_em.py:136-161 \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 \u0060akshare/stock/finance/stock_finance_us_em.py:136\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u7EFC\u5408\u635F\u76CA\u8868\u0022\u0060 in one and \u0060str = \u0022TSLA\u0022\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":"akshare/stock/finance/stock_finance_us_em.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbb0c223d1ab0dad058dcf94ad60be900f939d53093b005f34bca0eb4acb7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201325 lines \u00D7 12): akshare/stock/flow/stock_lhb_em.py:359-382 | akshare/stock/flow/stock_lhb_em.py:534-558 | akshare/stock/flow/stock_lhb_em.py:669-684 | akshare/stock/holder/stock_gdfx_em.py:610-631 | akshare/stock/holder/stock_gdfx_em.py:696-719 | akshare/stock/issue/stock_ipo_declare.py:45-63 | akshare/stock/issue/stock_register_em.py:44-63 | akshare/stock/issue/stock_register_em.py:117-136 | akshare/stock/issue/stock_register_em.py:190-209 | akshare/stock/issue/stock_register_em.py:263-282 | akshare/stock/issue/stock_register_em.py:336-355 | akshare/stock/issue/stock_register_em.py:409-428 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_lhb_em.py\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 434 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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74c034c618ce9c95c4918a4401808052729d2da134f6e0f251bc501c7b3863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 8): akshare/stock/finance/stock_three_report_em.py:55-81 | akshare/stock/finance/stock_three_report_em.py:113-139 | akshare/stock/finance/stock_three_report_em.py:162-188 | akshare/stock/finance/stock_three_report_em.py:211-237 | akshare/stock/finance/stock_three_report_em.py:262-288 | akshare/stock/finance/stock_three_report_em.py:313-339 | akshare/stock/finance/stock_three_report_em.py:364-390 | akshare/stock/finance/stock_three_report_em.py:415-441 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022SH600519\u0022\u0060 in one and \u0060str = \u0022SH600036\u0022\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":"akshare/stock/finance/stock_three_report_em.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9abe28211ff44d8fc0c163bb42a95f90e15273f9bf98cd2a4de5ba911f669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 7): akshare/stock/finance/stock_yjyg_cninfo.py:58-83 | akshare/stock/research/stock_cg_equity_mortgage.py:64-92 | akshare/stock/research/stock_hold_control_cninfo.py:76-100 | akshare/stock/research/stock_hold_control_cninfo.py:147-187 | akshare/stock/research/stock_hold_control_cninfo.py:240-268 | akshare/stock/research/stock_hold_num_cninfo.py:64-90 | akshare/stock/research/stock_new_cninfo.py:113-149 \u2014 before extracting anything, compare \u0060akshare/stock/research/stock_cg_equity_mortgage.py\u0060 and \u0060akshare/stock/research/stock_hold_control_cninfo.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 196 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_hold_control_cninfo.py:188\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/stock/research/stock_cg_equity_mortgage.py:93\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":"akshare/stock/finance/stock_yjyg_cninfo.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5522858662db847f41e4733ce0ff1760dbba33131fdeb6b4a5a06779f6fa534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): akshare/stock/flow/stock_fund_flow.py:102-126 | akshare/stock/flow/stock_fund_flow.py:221-245 | akshare/stock/flow/stock_fund_flow.py:352-376 | akshare/stock/flow/stock_fund_flow.py:468-492 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9363b9050ec723d31e1a112bf82217acceb367a4b356d187468b8e50bc3dd156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): akshare/fund/fund_reits.py:184-207 | akshare/stock/board/stock_board_concept_em.py:313-336 | akshare/stock/board/stock_board_industry_em.py:319-343 \u2014 before extracting anything, compare \u0060akshare/fund/fund_reits.py\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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":"akshare/fund/fund_reits.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c845ba486dedec2bb8cb5dee057d2fb1df312791976a74b5048aedb2d9c92257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): akshare/fund/fund_fhsp_em.py:76-102 | akshare/fund/fund_fhsp_em.py:235-259 \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 \u0060akshare/fund/fund_fhsp_em.py:76\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":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39cc846d99191c602e09a70d00db96f3bbc34ec1abcd68d86b840ea158be9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): akshare/option/option_commodity_sina.py:17-38 | akshare/option/option_commodity_sina.py:58-82 \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 \u0060akshare/option/option_commodity_sina.py:17\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u7389\u7C73\u671F\u6743\u0022\u0060 in one and \u0060str = \u0022\u9EC4\u91D1\u671F\u6743\u0022\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":"akshare/option/option_commodity_sina.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd28c38d4e266d0e6775ea941ce434f1d3bc150c52eb4fc085bbe3224a08b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201324 lines \u00D7 26): akshare/stock/finance/stock_report_em.py:255-278 | akshare/stock/finance/stock_report_em.py:361-381 | akshare/stock/flow/stock_dzjy_em.py:364-387 | akshare/stock/flow/stock_dzjy_em.py:471-487 | akshare/stock/flow/stock_dzjy_em.py:554-576 | akshare/stock/flow/stock_lhb_em.py:261-284 | akshare/stock/flow/stock_lhb_em.py:358-364 | akshare/stock/flow/stock_lhb_em.py:455-472 | akshare/stock/flow/stock_lhb_em.py:533-539 | akshare/stock/flow/stock_lhb_em.py:668-674 | akshare/stock/holder/stock_gdfx_em.py:46-67 | akshare/stock/holder/stock_gdfx_em.py:249-267 | akshare/stock/holder/stock_gdfx_em.py:331-349 | akshare/stock/holder/stock_gdfx_em.py:609-616 | akshare/stock/holder/stock_gdfx_em.py:695-702 | akshare/stock/holder/stock_gdfx_em.py:895-910 | akshare/stock/holder/stock_gdfx_em.py:957-972 | akshare/stock/holder/stock_gpzy_em.py:121-142 | akshare/stock/holder/stock_gpzy_em.py:221-243 | akshare/stock/issue/stock_ipo_declare.py:44-51 | akshare/stock/issue/stock_register_em.py:43-49 | akshare/stock/issue/stock_register_em.py:116-122 | akshare/stock/issue/stock_register_em.py:189-195 | akshare/stock/issue/stock_register_em.py:262-268 | akshare/stock/issue/stock_register_em.py:335-341 | akshare/stock/issue/stock_register_em.py:408-414 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_report_em.py\u0060 and \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_report_em.py:255\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":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a272ab6a99345bb855f43114885516d7bec32860d5847a65d94d28f19e980494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 25): akshare/bond/bond_em.py:15-39 | akshare/bond/bond_zh_cov.py:310-336 | akshare/index/index_sox_em.py:15-38 | akshare/macro/macro_china.py:687-710 | akshare/macro/macro_china.py:756-779 | akshare/macro/macro_china.py:825-848 | akshare/macro/macro_china.py:894-917 | akshare/macro/macro_china.py:963-986 | akshare/macro/macro_china.py:1032-1055 | akshare/macro/macro_china.py:1173-1196 | akshare/macro/macro_china.py:1242-1265 | akshare/macro/macro_china.py:1311-1334 | akshare/macro/macro_china.py:1380-1403 | akshare/stock/board/stock_comment_em.py:20-43 | akshare/stock/flow/stock_lhb_em.py:875-899 | akshare/stock/holder/stock_gddh_em.py:15-39 | akshare/stock/holder/stock_gdfx_em.py:18-42 | akshare/stock/holder/stock_gdfx_em.py:119-143 | akshare/stock/holder/stock_gdfx_em.py:221-245 | akshare/stock/holder/stock_gdfx_em.py:303-327 | akshare/stock/holder/stock_gdfx_em.py:483-509 | akshare/stock/holder/stock_gdfx_em.py:667-691 | akshare/stock/holder/stock_gdfx_em.py:764-788 | akshare/stock/holder/stock_gdhs.py:131-158 | akshare/stock/issue/stock_dxsyl_em.py:19-43 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/bond/bond_zh_cov.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 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002210188715\u0022\u0060 in one and \u0060str = \u0022000001\u0022\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":"akshare/bond/bond_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2cbd8315dad51927e027330e3c2ab86777cfce2cdbd762a35a90fba16ed44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 11): akshare/bond/bond_issue_cninfo.py:46-70 | akshare/bond/bond_issue_cninfo.py:141-165 | akshare/bond/bond_issue_cninfo.py:236-260 | akshare/bond/bond_issue_cninfo.py:335-359 | akshare/fund/fund_report_cninfo.py:42-65 | akshare/fund/fund_report_cninfo.py:108-131 | akshare/stock/research/stock_cg_equity_mortgage.py:42-65 | akshare/stock/research/stock_cg_guarantee.py:55-80 | akshare/stock/research/stock_hold_control_cninfo.py:123-148 | akshare/stock/research/stock_hold_num_cninfo.py:42-65 | akshare/stock/research/stock_new_cninfo.py:90-114 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 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 \u0060start_date\u0060 to \u0060str = \u002220260914\u0022\u0060 in one and \u0060str = \u002220251108\u0022\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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ccbf395ee6081ba1e995791b62b711f649a599d24e9f4d2337b68b334a064a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201324 lines \u00D7 4): akshare/stock/flow/stock_lhb_em.py:54-62 | akshare/stock/holder/stock_gdfx_em.py:146-169 | akshare/stock/holder/stock_gdfx_em.py:512-520 | akshare/stock/issue/stock_dxsyl_em.py:46-53 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_lhb_em.py\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 434 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_lhb_em.py:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24e510b130d50d4cab7b8686f5b713e54797242d5258540e180f031998d5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): akshare/fund/fund_em.py:510-529 | akshare/fund/fund_em.py:651-674 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_em.py:509\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/fund/fund_em.py:650\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":"akshare/fund/fund_em.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82b8da845ff85346d4d5956a97b9193ee2308a70cc071dfe67486eac397e4fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): akshare/futures/cons.py:597-620 | akshare/option/cons.py:107-130 \u2014 \u0060akshare/futures/cons.py\u0060 and \u0060akshare/option/cons.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/cons.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4182ad4a29b1f95ba4ec5691a33e657a327ab9f427ab5331c71a49d136e65203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): akshare/macro/macro_china.py:2735-2760 | akshare/macro/macro_china.py:2793-2818 \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":"akshare/macro/macro_china.py"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07661266e61a46e9b51d292883633d81fe75e2bf90ffab9b1cff957ffc006a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): akshare/stock/quote/stock_ztb_em.py:359-382 | akshare/stock/quote/stock_ztb_em.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/quote/stock_ztb_em.py:384\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/stock/quote/stock_ztb_em.py:465\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":"akshare/stock/quote/stock_ztb_em.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"667ef252b49935fd565804ad2cfd9853b8808339da181c3549ed329ee13062bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201323 lines \u00D7 48): akshare/bond/bond_em.py:24-40 | akshare/bond/bond_zh_cov.py:317-337 | akshare/futures/futures_comex_em.py:29-46 | akshare/index/index_sox_em.py:22-39 | akshare/interest_rate/interest_rate_interbank_em.py:72-94 | akshare/interest_rate/interest_rate_lpr_em.py:26-43 | akshare/macro/macro_china.py:694-711 | akshare/macro/macro_china.py:763-780 | akshare/macro/macro_china.py:832-849 | akshare/macro/macro_china.py:901-918 | akshare/macro/macro_china.py:970-987 | akshare/macro/macro_china.py:1039-1056 | akshare/macro/macro_china.py:1111-1128 | akshare/macro/macro_china.py:1180-1197 | akshare/macro/macro_china.py:1249-1266 | akshare/macro/macro_china.py:1318-1335 | akshare/macro/macro_china.py:1387-1404 | akshare/macro/macro_china.py:1456-1473 | akshare/stock/board/stock_comment_em.py:27-44 | akshare/stock/finance/stock_report_em.py:33-48 | akshare/stock/finance/stock_report_em.py:133-148 | akshare/stock/finance/stock_report_em.py:233-248 | akshare/stock/finance/stock_report_em.py:339-354 | akshare/stock/flow/stock_lhb_em.py:30-49 | akshare/stock/flow/stock_lhb_em.py:238-254 | akshare/stock/flow/stock_lhb_em.py:339-355 | akshare/stock/flow/stock_lhb_em.py:436-452 | akshare/stock/flow/stock_lhb_em.py:514-530 | akshare/stock/flow/stock_lhb_em.py:649-665 | akshare/stock/flow/stock_lhb_em.py:884-900 | akshare/stock/holder/stock_gddh_em.py:22-40 | akshare/stock/holder/stock_gdfx_em.py:27-43 | akshare/stock/holder/stock_gdfx_em.py:128-144 | akshare/stock/holder/stock_gdfx_em.py:230-246 | akshare/stock/holder/stock_gdfx_em.py:312-328 | akshare/stock/holder/stock_gdfx_em.py:492-510 | akshare/stock/holder/stock_gdfx_em.py:590-606 | akshare/stock/holder/stock_gdfx_em.py:676-692 | akshare/stock/holder/stock_gdfx_em.py:773-789 | akshare/stock/holder/stock_gdhs.py:40-59 | akshare/stock/holder/stock_gdhs.py:140-159 | akshare/stock/holder/stock_gdzjc_em.py:30-48 | akshare/stock/holder/stock_gpzy_em.py:101-118 | akshare/stock/issue/stock_dxsyl_em.py:26-44 | akshare/stock/issue/stock_dxsyl_em.py:280-296 | akshare/stock/issue/stock_zf_pg.py:29-46 | akshare/stock/issue/stock_zf_pg.py:109-126 | akshare/stock/research/stock_zdhtmx_em.py:31-47 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/bond/bond_zh_cov.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u9EC4\u91D1\u0022\u0060 in one and \u0060str = \u0022Shibor\u4EBA\u6C11\u5E01\u0022\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 before the matched lines, \u0060akshare/interest_rate/interest_rate_lpr_em.py:23\u0060 calls \u0060filterwarnings\u0060 and \u0060akshare/bond/bond_em.py:21\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":"akshare/bond/bond_em.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4df97161130ee06ca8002bb1fe11e71b03063002600efb8be062e646d7bec9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 8): akshare/fund/fund_etf_em.py:52-74 | akshare/fund/fund_lof_em.py:53-104 | akshare/fx/fx_forex_em.py:24-66 | akshare/index/index_stock_hk.py:156-205 | akshare/index/index_stock_zh.py:227-278 | akshare/stock/board/stock_board_industry_em.py:27-76 | akshare/stock/board/stock_board_industry_em.py:97-146 | akshare/stock/flow/stock_fund_em.py:1240-1290 \u2014 before extracting anything, compare \u0060akshare/fund/fund_etf_em.py\u0060 and \u0060akshare/fund/fund_lof_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 345 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 \u0060akshare/fund/fund_etf_em.py:52\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u4E0A\u8BC1\u7CFB\u5217\u6307\u6570\u0022\u0060 in one and \u0060str = \u0022\u5168\u90E8\u80A1\u7968\u0022\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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fd15f1a4e20177c53e4aae3f0e61e691b2599c97c77f0dd4cb0c7d090c44b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): akshare/stock/flow/stock_dzjy_em.py:236-265 | akshare/stock/flow/stock_lhb_em.py:708-732 | akshare/stock/holder/stock_gpzy_em.py:304-328 | akshare/stock/holder/stock_gpzy_em.py:369-393 | akshare/stock/holder/stock_gpzy_em.py:434-456 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 461 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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"064e0d4597602647ee4f2253bba001c654eeaf19664fdc1b1a18acba1e74fff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201323 lines \u00D7 4): akshare/index/index_research_sw.py:286-308 | akshare/index/index_research_sw.py:366-377 | akshare/index/index_research_sw.py:466-477 | akshare/index/index_research_sw.py:540-551 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/index/index_research_sw.py:286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_sw.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"494fb404b0bbaf9faec762abdcb90733dd3259fd5c5b1836be8de3cbf41509d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): akshare/fund/fund_rank_em.py:111-134 | akshare/fund/fund_rank_em.py:208-230 | akshare/stock/research/stock_analyst_em.py:51-93 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rank_em.py:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_rank_em.py:231\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/fund/fund_rank_em.py:135\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_rank_em.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf410e0d9f9300973b2d1d0420beea6f79e148b685c40fd49ef4bd42d76ca605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): akshare/stock/finance/stock_industry_cninfo.py:129-151 | akshare/stock/issue/stock_dividend_cninfo.py:41-63 | akshare/stock/research/stock_industry_pe_cninfo.py:49-71 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_industry_cninfo.py\u0060 and \u0060akshare/stock/research/stock_industry_pe_cninfo.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/issue/stock_dividend_cninfo.py:64\u0060 calls \u0060rename\u0060 and \u0060akshare/stock/finance/stock_industry_cninfo.py:152\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a62110b164c341db90a85acb50df5d067b3b4c590fc0965018fc20f94db3027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 3): akshare/stock/flow/stock_dzjy_em.py:154-176 | akshare/stock/flow/stock_dzjy_em.py:210-228 | akshare/stock/flow/stock_dzjy_em.py:297-316 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_dzjy_em.py:154\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094f747c1f5de346fbddb27289001a3abfe1fab9f187ba101a95e61ca3d5cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 3): akshare/stock/quote/stock_hist_em.py:1648-1670 | akshare/stock/quote/stock_us_famous.py:86-104 | akshare/stock/quote/stock_us_pink.py:88-106 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_hist_em.py\u0060 and \u0060akshare/stock/quote/stock_us_famous.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 before the matched lines, \u0060akshare/stock/quote/stock_us_famous.py:83\u0060 calls \u0060reset_index\u0060, \u0060rename\u0060 and \u0060akshare/stock/quote/stock_hist_em.py:1647\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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc9de5c458745e76df9a002e7ae7a262cdcfe3ff6424b912903799912b4872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): akshare/energy/energy_oil_em.py:50-72 | akshare/stock/holder/stock_fund_hold.py:113-138 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220260930\u0022\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":"akshare/energy/energy_oil_em.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0604ff4103a415c1098aad20d7fe93c114f9c94c8624a5064e46dde4cd74ba39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): akshare/stock/finance/stock_share_changes_cninfo.py:55-77 | akshare/stock/research/stock_rank_forecast.py:41-63 \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":"akshare/stock/finance/stock_share_changes_cninfo.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd3170fea30186c4c55779105c961666c65840b08d096e60b57446fb3a5b312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): akshare/stock/flow/stock_hsgt_exchange_rate.py:21-43 | akshare/stock/flow/stock_hsgt_exchange_rate.py:50-72 \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 \u0060akshare/stock/flow/stock_hsgt_exchange_rate.py:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/stock/flow/stock_hsgt_exchange_rate.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef98cf7ba97bcec31b554cabf49d00b5636c1d38569f2325fee58527b8cfbd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): akshare/stock/flow/stock_lhb_em.py:145-167 | akshare/stock/flow/stock_lhb_em.py:766-786 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u8FD1\u4E00\u6708\u0022\u0060 in one and \u0060str = \u0022000788\u0022\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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaf5e37baaf44bb1bb8cf55cc1d9916714188a2041801f515ea093337924506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): akshare/stock/issue/stock_fhps_em.py:28-50 | akshare/stock/issue/stock_fhps_em.py:150-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/issue/stock_fhps_em.py:26\u0060 calls \u0060simplefilter\u0060 and \u0060akshare/stock/issue/stock_fhps_em.py:148\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":"akshare/stock/issue/stock_fhps_em.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97f2524a4a278b714558c8e03792c4867095ba52a769fd3a820369daeb2b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): akshare/stock/issue/stock_restricted_em.py:117-137 | akshare/stock/research/stock_hold_control_em.py:22-44 \u2014 before extracting anything, compare \u0060akshare/stock/issue/stock_restricted_em.py\u0060 and \u0060akshare/stock/research/stock_hold_control_em.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_restricted_em.py:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/issue/stock_restricted_em.py:115\u0060 calls \u0060join\u0060 and \u0060akshare/stock/research/stock_hold_control_em.py:20\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":"akshare/stock/issue/stock_restricted_em.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f612d8226d3eb0483175afc4582c3213f78f339d503d547823fd9bbf1a7299e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:236-258 | akshare/stock/quote/stock_zh_b_sina.py:204-224 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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 \u0060akshare/stock/quote/stock_zh_a_sina.py:236\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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e793b0241c2fa10f0234379c40d1195b73ca271f687971e2cc646bc6938d8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): akshare/stock/valuation/stock_a_pe_and_pb.py:495-516 | akshare/stock/valuation/stock_a_pe_and_pb.py:551-573 \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 \u0060akshare/stock/valuation/stock_a_pe_and_pb.py:551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"083e4ba6a566ccb1f0348dc3eb8f75c45b61c524babb68d091ca019acdf4b3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 6): akshare/stock/flow/stock_dzjy_em.py:246-267 | akshare/stock/flow/stock_lhb_em.py:151-169 | akshare/stock/flow/stock_lhb_em.py:716-733 | akshare/stock/holder/stock_gpzy_em.py:310-330 | akshare/stock/holder/stock_gpzy_em.py:375-395 | akshare/stock/holder/stock_gpzy_em.py:439-458 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/flow/stock_lhb_em.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 461 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 \u0060akshare/stock/flow/stock_dzjy_em.py:246\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u8FD1\u4E00\u6708\u0022\u0060 in one and \u0060str = \u0022600077\u0022\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70674e7e1de7a360dd7b31bd5f34e38957171ac1d963b9bed508a5f03acb52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): akshare/bond/bond_buy_back_em.py:36-72 | akshare/bond/bond_buy_back_em.py:107-143 | akshare/index/index_research_sw.py:169-190 | akshare/stock/issue/stock_gsrl_em.py:36-61 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/issue/stock_gsrl_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e94ec553b87eca8c77b812066d70f2144a6bc76f0d184b983054087eb49b360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201322 lines \u00D7 3): akshare/stock/finance/stock_yjyg_em.py:50-55 | akshare/stock/finance/stock_yjyg_em.py:167-172 | akshare/stock/holder/stock_yzxdr_em.py:58-79 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_yjyg_em.py:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/stock/finance/stock_yjyg_em.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a95046c715ce7965b12899a0274833724cd6e8f6b4a193526e6f6184faa73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): akshare/stock/board/stock_board_concept_em.py:413-486 | akshare/stock/board/stock_board_industry_em.py:422-495 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_em.py\u0060 and \u0060akshare/stock/board/stock_board_industry_em.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 424 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u878D\u8D44\u878D\u5238\u0022\u0060 in one and \u0060str = \u0022\u5C0F\u91D1\u5C5E\u0022\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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4662ce036a20aa55ef0e9c36761d55dfaa3f8bc07234a70f3f3512d2f007ba26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): akshare/stock/board/stock_hk_hot_rank_em.py:62-82 | akshare/stock/board/stock_hot_rank_em.py:69-90 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_hk_hot_rank_em.py\u0060 and \u0060akshare/stock/board/stock_hot_rank_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002200700\u0022\u0060 in one and \u0060str = \u0022SZ000665\u0022\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":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"730cd1817ef23b59031b9867e1578af3142f7cc8257122b2121276b9917affe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): akshare/stock/finance/stock_industry_cninfo.py:131-165 | akshare/stock/finance/stock_share_changes_cninfo.py:57-78 \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 \u0060akshare/stock/finance/stock_share_changes_cninfo.py:57\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":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b98811d7de7d9f15059bd05831d5c846c23b2d324100b54178fe46348e131e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): akshare/stock/valuation/stock_a_pe_and_pb.py:341-361 | akshare/stock/valuation/stock_a_pe_and_pb.py:487-508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u6DF1\u8BC1\u0022\u0060 in one and \u0060str = \u0022\u4E0A\u8BC1\u0022\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":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc522258084c87a359d77b4d102cd0216f4c21a704557a991b10bac6edbf68a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 15): akshare/bond/bond_zh_cov.py:157-180 | akshare/bond/bond_zh_cov.py:202-231 | akshare/bond/bond_zh_cov.py:275-295 | akshare/fund/fund_etf_em.py:361-383 | akshare/fund/fund_etf_em.py:398-425 | akshare/fund/fund_lof_em.py:220-242 | akshare/fund/fund_lof_em.py:257-284 | akshare/index/index_zh_em.py:147-174 | akshare/index/index_zh_em.py:243-264 | akshare/index/index_zh_em.py:317-344 | akshare/stock/quote/stock_hist_em.py:1070-1092 | akshare/stock/quote/stock_hist_em.py:1107-1134 | akshare/stock/quote/stock_hist_em.py:1186-1206 | akshare/stock/quote/stock_hist_em.py:1494-1515 | akshare/stock/quote/stock_hist_em.py:1530-1557 \u2014 there are 15 copies across 5 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 15 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022sh113570\u0022\u0060 in one and \u0060str = \u0022000001\u0022\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, \u0060akshare/stock/quote/stock_hist_em.py:1208\u0060 calls \u0060date\u0060, \u0060isoformat\u0060 and \u0060akshare/bond/bond_zh_cov.py:297\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd7f57c69da9912f58c60bae93feee455f9d1fe40e48a17301088980b50cdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 7): akshare/stock/finance/stock_three_report_em.py:36-56 | akshare/stock/finance/stock_three_report_em.py:143-163 | akshare/stock/finance/stock_three_report_em.py:192-212 | akshare/stock/finance/stock_three_report_em.py:243-263 | akshare/stock/finance/stock_three_report_em.py:294-314 | akshare/stock/finance/stock_three_report_em.py:345-365 | akshare/stock/finance/stock_three_report_em.py:396-416 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_three_report_em.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"54652d68cc9151ccaba5dab0367c4143bc96ec221a75227472cc79b4ac55583e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201321 lines \u00D7 6): akshare/stock/finance/stock_sy_em.py:129-135 | akshare/stock/finance/stock_sy_em.py:238-244 | akshare/stock/finance/stock_sy_em.py:339-345 | akshare/stock/flow/stock_dzjy_em.py:40-56 | akshare/stock/holder/stock_gdfx_em.py:792-799 | akshare/stock/issue/stock_restricted_em.py:142-162 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_sy_em.py:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"17238506714986247e86ed63d5378c5ce8e0b7fe2f61a5a4c6cba390c6e9c713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): akshare/option/option_finance.py:113-133 | akshare/option/option_finance.py:136-156 | akshare/option/option_finance.py:159-179 | akshare/option/option_finance.py:182-202 | akshare/option/option_finance.py:205-225 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/option/option_finance.py:113\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":"akshare/option/option_finance.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"73919793508d4e3f356e9ac49f8d806175c602ddd681199b906fbf5115e4a618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): akshare/index/index_research_sw.py:373-393 | akshare/index/index_research_sw.py:473-493 | akshare/index/index_research_sw.py:547-567 | akshare/stock/flow/stock_margin_em.py:52-72 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_sw.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750acdc76d8a83f4ff505147cca26490cbb2cf75b0532f04e90323a73240572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): akshare/fund/fund_rank_em.py:55-80 | akshare/fund/fund_rank_em.py:159-179 \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":"akshare/fund/fund_rank_em.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef8814eeb0594fc53b4545aa0470aafa5954961f0294b682524d7621f902794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): akshare/fund/fund_xq.py:75-95 | akshare/fund/fund_xq.py:229-250 \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":"akshare/fund/fund_xq.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e63048fb326720ebfde9633fd5f509d17c6517d737f85cf5ab95ed9f81f4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): akshare/option/option_commodity.py:361-381 | akshare/option/option_commodity.py:438-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8797875c19581b6236bb328f4e22a8fbafefca4909a4a194424575d56ab279e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): akshare/stock/board/stock_board_concept_ths.py:101-121 | akshare/stock/board/stock_board_industry_ths.py:98-118 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u963F\u91CC\u5DF4\u5DF4\u6982\u5FF5\u0022\u0060 in one and \u0060str = \u0022\u534A\u5BFC\u4F53\u0022\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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae8662b479fc653e30718f0cb4351cf39758dce979f26e9ad4d9f1dbb9b47ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): akshare/stock/board/stock_hk_hot_rank_em.py:110-130 | akshare/stock/board/stock_hot_rank_em.py:152-172 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_hk_hot_rank_em.py\u0060 and \u0060akshare/stock/board/stock_hot_rank_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002200700\u0022\u0060 in one and \u0060str = \u0022SZ000665\u0022\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":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"38771ee1388ebac6d8192af2c7180e8eb90e9a8b57fd55ad5f1f0b08442aff0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): akshare/stock/issue/stock_finance_sina.py:427-446 | akshare/stock/issue/stock_finance_sina.py:495-515 \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 \u0060akshare/stock/issue/stock_finance_sina.py:427\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca7b3475a185b4ca334f197148cf12546cdedbeabe5c05502c4b2af73e8be69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:472-492 | akshare/stock/quote/stock_zh_b_sina.py:347-366 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022sh600519\u0022\u0060 in one and \u0060str = \u0022sh900901\u0022\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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c799dfff8938e3a070758c14ff814cf593ad6bd050ada1153a63701d4bdc207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201320 lines \u00D7 12): akshare/macro/macro_australia.py:48-58 | akshare/macro/macro_australia.py:97-107 | akshare/macro/macro_australia.py:146-156 | akshare/macro/macro_australia.py:195-205 | akshare/macro/macro_australia.py:244-254 | akshare/macro/macro_australia.py:293-303 | akshare/macro/macro_australia.py:342-352 | akshare/macro/macro_china.py:2514-2524 | akshare/macro/macro_china_hk.py:54-64 | akshare/macro/macro_japan.py:54-64 | akshare/macro/macro_usa.py:50-60 | akshare/stock/holder/stock_jgdy_em.py:172-191 \u2014 before extracting anything, compare \u0060akshare/macro/macro_australia.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 163 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":"akshare/macro/macro_australia.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"226e53c9b9ff837e5f687ff0cc2ad21cf6d364ece17ebd149d39908d68b09d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 9): akshare/bond/bond_convert.py:238-264 | akshare/bond/bond_zh_cov.py:651-672 | akshare/futures/futures_contract_info_dce.py:30-55 | akshare/index/index_research_fund_sw.py:36-55 | akshare/index/index_research_sw.py:229-248 | akshare/macro/macro_china.py:65-104 | akshare/macro/macro_china.py:2177-2213 | akshare/macro/macro_china_hk.py:41-63 | akshare/macro/macro_japan.py:41-63 \u2014 there are 9 copies across 8 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_convert.py:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/bond/bond_convert.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b891340dcc03ad3bbb9894962aaf4fb31ff1f1257b64f67748480ce226aa72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201320 lines \u00D7 7): akshare/stock/board/stock_board_concept_ths.py:243-253 | akshare/stock/board/stock_board_concept_ths.py:281-291 | akshare/stock/board/stock_board_industry_ths.py:230-241 | akshare/stock/board/stock_board_industry_ths.py:282-295 | akshare/stock/board/stock_board_industry_ths.py:352-362 | akshare/stock/flow/stock_fund_flow.py:71-90 | akshare/stock/flow/stock_fund_flow.py:446-465 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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. 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, \u0060akshare/stock/flow/stock_fund_flow.py:69\u0060 calls \u0060_check_ths_fund_flow_symbol\u0060 and \u0060akshare/stock/board/stock_board_concept_ths.py:278\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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fed7046923b43d0f8bf51d826f3c97d8570db1085b38a927fd6f8f1e826593b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 5): akshare/index/index_zh_em.py:159-178 | akshare/index/index_zh_em.py:252-268 | akshare/index/index_zh_em.py:329-348 | akshare/stock/quote/stock_hist_em.py:1724-1741 | akshare/stock/quote/stock_hist_em.py:1784-1798 \u2014 before extracting anything, compare \u0060akshare/index/index_zh_em.py\u0060 and \u0060akshare/stock/quote/stock_hist_em.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. 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":"akshare/index/index_zh_em.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dec9c703342e762f9a9a0e32a776705880c7db430c3d670e54c50a4417114e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 5): akshare/stock/flow/stock_lhb_em.py:28-47 | akshare/stock/flow/stock_lhb_em.py:236-252 | akshare/stock/flow/stock_lhb_em.py:434-450 | akshare/stock/holder/stock_gpzy_em.py:99-116 | akshare/stock/issue/stock_restricted_em.py:116-134 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_lhb_em.py\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 525 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 \u0060end_date\u0060 to \u0060str = \u002220230417\u0022\u0060 in one and \u0060str = \u002220240430\u0022\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 before the matched lines, \u0060akshare/stock/flow/stock_lhb_em.py:27\u0060 calls \u0060join\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py:97\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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e570cabdc8b6f1ad37f9d3c832957b2c53af7cca2c06fdb4dc76a60d409029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): akshare/stock/finance/stock_industry_cninfo.py:129-150 | akshare/stock/finance/stock_ipo_summary_cninfo.py:43-62 | akshare/stock/issue/stock_dividend_cninfo.py:41-62 | akshare/stock/research/stock_industry_pe_cninfo.py:49-70 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_industry_cninfo.py\u0060 and \u0060akshare/stock/finance/stock_ipo_summary_cninfo.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/finance/stock_industry_cninfo.py:126\u0060 calls \u0060join\u0060 and \u0060akshare/stock/finance/stock_ipo_summary_cninfo.py:41\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b938b16fc95893a6010d88fc4e77a378cd74340b7be9071dc3be2de97d7d7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): akshare/stock/flow/stock_lh_yybpm.py:20-39 | akshare/stock/flow/stock_lh_yybpm.py:43-62 | akshare/stock/flow/stock_lh_yybpm.py:66-85 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lh_yybpm.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"578f64aade620e714eb3bfba0e5fee9915a95980a93c49f05586fcb6e3c7c912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): akshare/stock/flow/stock_lhb_sina.py:92-111 | akshare/stock/flow/stock_lhb_sina.py:129-148 | akshare/stock/flow/stock_lhb_sina.py:167-186 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd107c054c6f5cff0b8b49874243d08cff94bd12275393216a0791452495b475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 3): akshare/stock/valuation/stock_a_pe_and_pb.py:348-362 | akshare/stock/valuation/stock_a_pe_and_pb.py:374-389 | akshare/stock/valuation/stock_a_pe_and_pb.py:428-447 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/valuation/stock_a_pe_and_pb.py:348\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":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd75120ec253743c6612d9005573da4295f005e7918bcb63ec40095f6070715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): akshare/alternative/alternative_news_cctv.py:108-128 | akshare/alternative/alternative_news_cctv.py:146-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/alternative/alternative_news_cctv.py:108\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":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bdb14f923a547a84d0c444d2ab6709ea5756f0f7a43936ec1c081e37033ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): akshare/futures/futures_receipt.py:160-179 | akshare/futures/futures_receipt.py:222-241 \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":"akshare/futures/futures_receipt.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03f0929ba6a5b82ebcc49bcb69f43d5369cc44f18f132de169ae3c4574e8cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): akshare/stock/board/stock_board_concept_ths.py:46-65 | akshare/stock/board/stock_board_industry_ths.py:45-64 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bc530939f75bf578d1891db487ab641050cac039c8a9f0c6977401c3bb0886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): akshare/stock/issue/stock_info.py:317-336 | akshare/stock/issue/stock_info.py:346-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u7EC8\u6B62\u4E0A\u5E02\u516C\u53F8\u0022\u0060 in one and \u0060str = \u0022\u5168\u79F0\u53D8\u66F4\u0022\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, \u0060akshare/stock/issue/stock_info.py:338\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/stock/issue/stock_info.py:366\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":"akshare/stock/issue/stock_info.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4583e6cf1e7b58444974e3a7fd2b27695f2bb6d592dfebbee487ddf1530c999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): akshare/bond/bond_zh_cov.py:243-261 | akshare/fund/fund_etf_em.py:437-455 | akshare/fund/fund_lof_em.py:296-314 | akshare/stock/quote/stock_hist_em.py:1146-1164 | akshare/stock/quote/stock_hist_em.py:1569-1587 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. 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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6661634dae9ac05dec9d3f86ffe91d9ea239333a86220e6475ee94ac7fd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201319 lines \u00D7 4): akshare/energy/energy_oil_em.py:58-72 | akshare/index/index_cni.py:83-93 | akshare/stock/holder/stock_fund_hold.py:123-139 | akshare/stock/issue/stock_restricted_em.py:39-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_restricted_em.py:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220260930\u0022\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, \u0060akshare/stock/holder/stock_fund_hold.py:140\u0060 calls \u0060reset_index\u0060 and \u0060akshare/index/index_cni.py:94\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":"akshare/energy/energy_oil_em.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b9034133c4828a2c7ec89c53e5d4532271b2f8a2021c3b3bf1a88f672f2f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): akshare/stock/board/stock_board_industry_ths.py:310-335 | akshare/stock/other/stock_technology_ths.py:88-106 | akshare/stock/other/stock_technology_ths.py:171-189 | akshare/stock/other/stock_technology_ths.py:505-525 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/other/stock_technology_ths.py:526\u0060 calls \u0060astype\u0060, \u0060strip\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py:336\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":"akshare/stock/board/stock_board_industry_ths.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2210fbd7069fb147c15fd44064708153638b2f5bc28f92ea4ce2554a4e0582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): akshare/index/index_sw.py:39-57 | akshare/index/index_sw.py:97-115 | akshare/index/index_sw.py:159-177 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sw.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd58c2067f6bc39cb9abd93a5724039ec8fc27775ea99f2b90f9e1b1470b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 3): akshare/stock/valuation/stock_a_pe_and_pb.py:373-388 | akshare/stock/valuation/stock_a_pe_and_pb.py:427-445 | akshare/stock/valuation/stock_a_pe_and_pb.py:550-565 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/valuation/stock_a_pe_and_pb.py:373\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f386fd9d81f8a7b050acb5400effd844747106d10644a75465cc98d38ccaa000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): akshare/futures/futures_zh_sina.py:664-680 | akshare/futures/futures_zh_sina.py:705-723 \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 \u0060akshare/futures/futures_zh_sina.py:705\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022IF2008\u0022\u0060 in one and \u0060str = \u0022RB0\u0022\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":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3067bb31914ef2f6b4de91bacfb6b6a2e6d016311d902fd8373663238f30274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): akshare/index/index_sw.py:131-149 | akshare/index/index_sw.py:193-211 \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 \u0060akshare/index/index_sw.py:131\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":"akshare/index/index_sw.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3398dab5d3ff9f70198b3a463e780321f56db5634d3dd9218cb32e5225eb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201319 lines \u00D7 3): akshare/interest_rate/interest_rate_ibor_js.py:15-33 | akshare/interest_rate/interest_rate_ibor_js.py:60-78 | akshare/macro/macro_usa.py:119-122 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/macro/macro_usa.py:119\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":"akshare/interest_rate/interest_rate_ibor_js.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f77bf6c29445e529c2bd55d236850ba2aa6f90b5a9bfaec00e8b1143080dfd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): akshare/stock/board/stock_board_concept_em.py:149-167 | akshare/stock/board/stock_board_industry_em.py:186-204 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_em.py\u0060 and \u0060akshare/stock/board/stock_board_industry_em.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 424 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u53EF\u71C3\u51B0\u0022\u0060 in one and \u0060str = \u0022\u5C0F\u91D1\u5C5E\u0022\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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5786acc30d886cf225a7064cf2045249bb90dcaaceac4e463b45924f792efaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): akshare/stock/board/stock_hot_xq.py:63-81 | akshare/stock/board/stock_inner_trade_xq.py:33-51 \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":"akshare/stock/board/stock_hot_xq.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b531bb8e1fb5ddb9a670bcaf97cb24be324f435b42458dc6fec9d55ed47512b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 3): akshare/stock/issue/stock_info.py:48-66 | akshare/stock/issue/stock_info.py:68-86 | akshare/stock/issue/stock_info.py:87-96 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_info.py:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_info.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"df57395560df72c0120a8c583dd00e23c2c684516905e898b49a01aa4d241ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 54): akshare/futures/futures_to_spot.py:287-306 | akshare/index/index_research_sw.py:297-324 | akshare/macro/macro_australia.py:40-57 | akshare/macro/macro_australia.py:89-106 | akshare/macro/macro_australia.py:138-155 | akshare/macro/macro_australia.py:187-204 | akshare/macro/macro_australia.py:236-253 | akshare/macro/macro_australia.py:285-302 | akshare/macro/macro_australia.py:334-351 | akshare/macro/macro_canada.py:40-57 | akshare/macro/macro_canada.py:88-105 | akshare/macro/macro_canada.py:136-153 | akshare/macro/macro_canada.py:184-201 | akshare/macro/macro_canada.py:232-249 | akshare/macro/macro_canada.py:280-297 | akshare/macro/macro_canada.py:328-345 | akshare/macro/macro_canada.py:376-393 | akshare/macro/macro_canada.py:424-441 | akshare/macro/macro_canada.py:472-489 | akshare/macro/macro_china.py:159-180 | akshare/macro/macro_china.py:202-233 | akshare/macro/macro_china.py:419-446 | akshare/macro/macro_china.py:1639-1666 | akshare/macro/macro_china.py:1703-1742 | akshare/macro/macro_china.py:1789-1823 | akshare/macro/macro_china.py:1874-1909 | akshare/macro/macro_china.py:1949-1980 | akshare/macro/macro_china.py:2026-2043 | akshare/macro/macro_china.py:2072-2093 | akshare/macro/macro_china.py:2126-2145 | akshare/macro/macro_china.py:2266-2287 | akshare/macro/macro_china.py:2320-2339 | akshare/macro/macro_china.py:2371-2390 | akshare/macro/macro_china.py:2423-2457 | akshare/macro/macro_china.py:2506-2523 | akshare/macro/macro_china.py:2554-2589 | akshare/macro/macro_china.py:2643-2664 | akshare/macro/macro_info_ws.py:62-89 | akshare/macro/macro_usa.py:42-59 | akshare/stock/board/stock_board_industry_ths.py:372-399 | akshare/stock/finance/stock_report_em.py:61-101 | akshare/stock/finance/stock_report_em.py:161-201 | akshare/stock/finance/stock_report_em.py:261-301 | akshare/stock/finance/stock_report_em.py:367-405 | akshare/stock/flow/stock_dzjy_em.py:560-601 | akshare/stock/flow/stock_lhb_em.py:789-816 | akshare/stock/holder/stock_gdfx_em.py:255-288 | akshare/stock/holder/stock_gdfx_em.py:399-426 | akshare/stock/holder/stock_gpzy_em.py:127-162 | akshare/stock/holder/stock_gpzy_em.py:226-266 | akshare/stock/holder/stock_gpzy_em.py:329-354 | akshare/stock/holder/stock_gpzy_em.py:394-419 | akshare/stock/issue/stock_finance_sina.py:712-732 | akshare/stock/issue/stock_restricted_em.py:328-355 \u2014 there are 54 copies across 15 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 54 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/futures/futures_to_spot.py:306\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/macro/macro_china.py:233\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":"akshare/futures/futures_to_spot.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"194617fee147325fd6ec7bce4c08e3004f2f5273b36ef5c197a804926a532ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 8): akshare/macro/macro_china.py:2682-2700 | akshare/macro/macro_china.py:2827-2845 | akshare/macro/macro_china.py:2861-2879 | akshare/macro/macro_china.py:2940-2958 | akshare/macro/macro_china.py:2974-2992 | akshare/macro/macro_china.py:3008-3026 | akshare/macro/macro_china.py:3042-3060 | akshare/macro/macro_china.py:3077-3095 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china.py"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fa270e2d1c58463e4d7d85208da9682706d54a20acc3e261fb83f2fecf9532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): akshare/stock/other/stock_technology_ths.py:68-85 | akshare/stock/other/stock_technology_ths.py:151-168 | akshare/stock/other/stock_technology_ths.py:568-585 | akshare/stock/other/stock_technology_ths.py:671-688 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/other/stock_technology_ths.py:68\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 \u0060symbol\u0060 to \u0060str = \u0022\u521B\u6708\u65B0\u9AD8\u0022\u0060 in one and \u0060str = \u0022\u521B\u6708\u65B0\u4F4E\u0022\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, \u0060akshare/stock/other/stock_technology_ths.py:586\u0060 calls \u0060read_html\u0060, \u0060StringIO\u0060 and \u0060akshare/stock/other/stock_technology_ths.py:689\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"57de4865c21831dbf7cc1856d96d4adaee17d71aabd483781d7febbf4032617b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201318 lines \u00D7 4): akshare/bond/bond_zh_cov.py:285-299 | akshare/fund/fund_etf_em.py:305-307 | akshare/fund/fund_lof_em.py:160-177 | akshare/stock/quote/stock_hist_em.py:1449-1451 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_lof_em.py:159\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/bond/bond_zh_cov.py:284\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d7cbbf8f823be73ee9b291e12ac5145312fcb499d1785e76b2ca67bdc36ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): akshare/fund/fund_em.py:539-556 | akshare/fund/fund_em.py:566-585 \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":"akshare/fund/fund_em.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37961e6cc9d7dfd792c9214acde9b60806f14d652d1863efabeefed5d6d22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): akshare/stock/quote/stock_hk_famous.py:21-40 | akshare/stock/quote/stock_us_famous.py:31-48 \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 \u0060akshare/stock/quote/stock_hk_famous.py:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9da2b90167b40e4f8f364ddab12df84e7c75d9b58a71b5f6355dc098e92fc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 15): akshare/option/option_premium_analysis_em.py:15-70 | akshare/option/option_risk_analysis_em.py:15-70 | akshare/option/option_value_analysis_em.py:56-72 | akshare/stock/quote/stock_hist_em.py:125-146 | akshare/stock/quote/stock_hist_em.py:233-254 | akshare/stock/quote/stock_hist_em.py:341-362 | akshare/stock/quote/stock_hist_em.py:449-471 | akshare/stock/quote/stock_hist_em.py:562-584 | akshare/stock/quote/stock_hist_em.py:671-693 | akshare/stock/quote/stock_hist_em.py:845-866 | akshare/stock/quote/stock_hist_em.py:1277-1294 | akshare/stock/quote/stock_hist_em.py:1362-1379 | akshare/stock/quote/stock_zh_a_special.py:74-96 | akshare/stock/quote/stock_zh_a_special.py:164-186 | akshare/stock/quote/stock_zh_a_special.py:254-276 \u2014 before extracting anything, compare \u0060akshare/option/option_premium_analysis_em.py\u0060 and \u0060akshare/option/option_risk_analysis_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 136 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 \u0060akshare/option/option_value_analysis_em.py:56\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. 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":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"68acbdd4dd9669c5ceca85da647b1dc198768d2904a54c78f092211bc33ad66f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 10): akshare/fund/fund_amac.py:75-91 | akshare/fund/fund_amac.py:311-327 | akshare/fund/fund_amac.py:378-394 | akshare/fund/fund_amac.py:467-483 | akshare/fund/fund_amac.py:598-614 | akshare/fund/fund_amac.py:668-684 | akshare/fund/fund_amac.py:720-736 | akshare/fund/fund_amac.py:838-854 | akshare/fund/fund_amac.py:909-925 | akshare/fund/fund_amac.py:980-999 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b247621669657ad64622ee4bac42abae9b3c969ceaf9b81f5b5ba6c9b026f362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 10): akshare/stock/other/stock_technology_ths.py:64-80 | akshare/stock/other/stock_technology_ths.py:147-163 | akshare/stock/other/stock_technology_ths.py:219-235 | akshare/stock/other/stock_technology_ths.py:289-305 | akshare/stock/other/stock_technology_ths.py:359-375 | akshare/stock/other/stock_technology_ths.py:453-469 | akshare/stock/other/stock_technology_ths.py:564-580 | akshare/stock/other/stock_technology_ths.py:667-683 | akshare/stock/other/stock_technology_ths.py:757-773 | akshare/stock/other/stock_technology_ths.py:847-863 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f9335eec1d8a61746cacabc08c420073e0d07d13143ed2b101e4eff8293fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 9): akshare/interest_rate/interest_rate_interbank_em.py:106-126 | akshare/stock/flow/stock_hsgt_em.py:259-275 | akshare/stock/flow/stock_hsgt_em.py:374-390 | akshare/stock/flow/stock_hsgt_em.py:487-503 | akshare/stock/flow/stock_hsgt_em.py:601-617 | akshare/stock/flow/stock_hsgt_em.py:746-778 | akshare/stock/flow/stock_hsgt_em.py:814-846 | akshare/stock/flow/stock_hsgt_em.py:882-914 | akshare/stock/issue/stock_fhps_em.py:208-232 \u2014 before extracting anything, compare \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 and \u0060akshare/stock/flow/stock_hsgt_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_interbank_em.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a396e4e26f411b7cb23ffb61988f248726fcc9266ce19087c48a8cce395953a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): akshare/stock/board/stock_board_concept_ths.py:40-56 | akshare/stock/board/stock_board_concept_ths.py:236-253 | akshare/stock/board/stock_board_concept_ths.py:274-291 | akshare/stock/board/stock_board_industry_ths.py:39-55 | akshare/stock/board/stock_board_industry_ths.py:223-241 | akshare/stock/board/stock_board_industry_ths.py:275-293 | akshare/stock/board/stock_board_industry_ths.py:345-362 | akshare/stock/flow/stock_fund_flow.py:439-465 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"92478910ebf634c69cbba5fc855582296b980749b3a03bc28f315cbda75fbcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 4): akshare/fund/fund_em.py:767-781 | akshare/fund/fund_em.py:819-835 | akshare/fund/fund_em.py:954-969 | akshare/fund/fund_em.py:1051-1066 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_em.py:970\u0060 calls \u0060sort_values\u0060 and \u0060akshare/fund/fund_em.py:1067\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c85e04012c9ba9cc4d041045532776a63f833c48d12712fa0c7cfefff2abef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): akshare/stock/flow/stock_hsgt_em.py:713-734 | akshare/stock/flow/stock_hsgt_em.py:782-802 | akshare/stock/flow/stock_hsgt_em.py:850-870 | akshare/stock/research/stock_analyst_em.py:169-185 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:713\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d27b72022b1177bb9fdce32785e431136d1557b35646c092f34606fe85d0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/alternative/alternative_movie_yien.py:314-330 | akshare/alternative/alternative_movie_yien.py:414-430 \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 \u0060akshare/alternative/alternative_movie_yien.py:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/alternative/alternative_movie_yien.py:331\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/alternative/alternative_movie_yien.py:431\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"648e8f01a12235310452df8f6aaa5d822cdfcd722ce8001425751a2621ecef00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/alternative/alternative_sunrise_tad.py:44-60 | akshare/alternative/alternative_sunrise_tad.py:77-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/alternative/alternative_sunrise_tad.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9026a94ae9cc02a8e9322bde9039359b5dbeda9520437b107e0cbfea838178e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/fund/fund_etf_em.py:287-303 | akshare/fund/fund_lof_em.py:157-173 \u2014 before extracting anything, compare \u0060akshare/fund/fund_etf_em.py\u0060 and \u0060akshare/fund/fund_lof_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 345 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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"279bb70adde5b07d3f42848365b1d87cc7f93fd0fe0888665de76cb18f21dd3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/fund/fund_lof_em.py:143-159 | akshare/stock/quote/stock_hist_em.py:976-992 \u2014 before extracting anything, compare \u0060akshare/fund/fund_lof_em.py\u0060 and \u0060akshare/stock/quote/stock_hist_em.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 217 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":"akshare/fund/fund_lof_em.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"accbc82a953e27018f3e3f32965797cac535eaca995d4741e82aa505ef067d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/futures/futures_contract_info_cffex.py:74-95 | akshare/futures/futures_contract_info_gfex.py:50-66 \u2014 before extracting anything, compare \u0060akshare/futures/futures_contract_info_cffex.py\u0060 and \u0060akshare/futures/futures_contract_info_gfex.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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, \u0060akshare/futures/futures_contract_info_cffex.py:96\u0060 calls \u0060sort_values\u0060 and \u0060akshare/futures/futures_contract_info_gfex.py:67\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":"akshare/futures/futures_contract_info_cffex.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e21d1dd4a30a908cbbeb47415833492cf48876d66372e6fc2d3aca3dac99aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/futures/futures_hog.py:128-144 | akshare/futures/futures_hog.py:213-229 \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":"akshare/futures/futures_hog.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b21d005928d15cab74f60e033bc94a98520d6aa43ae30f32b41b0dcf67fd015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/futures/futures_receipt.py:200-216 | akshare/futures/futures_receipt.py:256-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/futures/futures_receipt.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c0b9d382841174a7ff89c944b3e6fc8cd59719302e749c783e43681bc24e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/option/option_finance.py:290-306 | akshare/option/option_finance.py:309-325 \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 \u0060akshare/option/option_finance.py:290\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":"akshare/option/option_finance.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e57dfc063efe3d0af7a6bf47923f76f848a28a936f88674cdfa1198f177c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): akshare/stock/board/stock_board_industry_ths.py:243-256 | akshare/stock/board/stock_board_industry_ths.py:297-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/board/stock_board_industry_ths.py:297\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":"akshare/stock/board/stock_board_industry_ths.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f31a59a335bff9648f3656de6b7e88fbf6ecc4b6fb6eacd7d68469f72a9adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): akshare/stock/research/stock_analyst_em.py:172-188 | akshare/stock/research/stock_analyst_em.py:221-235 \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":"akshare/stock/research/stock_analyst_em.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac26492e81ba33a503785cdbb7a7687d83cd9abe70fdc92e9dcab5a15f7e5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 17): akshare/option/option_premium_analysis_em.py:21-70 | akshare/option/option_risk_analysis_em.py:21-70 | akshare/option/option_value_analysis_em.py:56-72 | akshare/stock/board/stock_board_concept_em.py:465-486 | akshare/stock/board/stock_board_industry_em.py:474-495 | akshare/stock/quote/stock_hist_em.py:131-146 | akshare/stock/quote/stock_hist_em.py:239-254 | akshare/stock/quote/stock_hist_em.py:347-362 | akshare/stock/quote/stock_hist_em.py:455-471 | akshare/stock/quote/stock_hist_em.py:568-584 | akshare/stock/quote/stock_hist_em.py:677-693 | akshare/stock/quote/stock_hist_em.py:851-866 | akshare/stock/quote/stock_hist_em.py:1277-1294 | akshare/stock/quote/stock_hist_em.py:1362-1379 | akshare/stock/quote/stock_zh_a_special.py:74-96 | akshare/stock/quote/stock_zh_a_special.py:164-186 | akshare/stock/quote/stock_zh_a_special.py:254-276 \u2014 before extracting anything, compare \u0060akshare/option/option_premium_analysis_em.py\u0060 and \u0060akshare/option/option_risk_analysis_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 136 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 \u0060akshare/option/option_value_analysis_em.py:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1524304f914a40aa79f396ad1d986f48b5793e7c5aeece8cdfd632c36c2c932e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): akshare/index/index_option_qvix.py:71-86 | akshare/index/index_option_qvix.py:111-126 | akshare/index/index_option_qvix.py:151-166 | akshare/index/index_option_qvix.py:191-206 | akshare/index/index_option_qvix.py:231-246 | akshare/index/index_option_qvix.py:271-286 | akshare/index/index_option_qvix.py:311-326 | akshare/index/index_option_qvix.py:351-366 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_option_qvix.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8cf97c9997ba47a8bcfac1e5a5efdc3af4a7328dbf8b15e9e8f5e39e1949f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): akshare/bond/bond_buy_back_em.py:57-74 | akshare/bond/bond_buy_back_em.py:128-145 | akshare/stock/quote/stock_hist_em.py:822-837 | akshare/stock/quote/stock_hsgt_spot_em.py:52-67 | akshare/stock/quote/stock_hsgt_spot_em.py:113-129 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b584feff30ddfa3498fc189b860317301f45a23f4cd3c4ca2bb34c67692fde5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201316 lines \u00D7 5): akshare/stock/flow/stock_hsgt_em.py:1293-1298 | akshare/stock/holder/stock_gpzy_em.py:46-61 | akshare/stock/issue/stock_dxsyl_em.py:298-303 | akshare/stock/issue/stock_zf_pg.py:51-58 | akshare/stock/research/stock_hold_control_em.py:50-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:1293\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8a3945497b596b3afa5ba18576c5b79782450bd0892d02bd8db7a34fdc410d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201316 lines \u00D7 6): akshare/alternative/alternative_movie_yien.py:316-330 | akshare/alternative/alternative_movie_yien.py:331-333 | akshare/alternative/alternative_movie_yien.py:416-431 | akshare/alternative/alternative_movie_yien.py:432-434 | akshare/alternative/alternative_movie_yien.py:495-509 | akshare/alternative/alternative_movie_yien.py:589-604 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/alternative/alternative_movie_yien.py:331\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/alternative/alternative_movie_yien.py:334\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efd746ae80b9b8f02a0d1b098742df85048b4fd8cfd8db4cf1cbd4ae1171f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): akshare/fund/fund_etf_sina.py:68-105 | akshare/futures/futures_zh_sina.py:531-553 | akshare/futures/futures_zh_sina.py:625-640 | akshare/stock/flow/stock_lhb_em.py:847-863 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_zh_sina.py:531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74cbbbc2fcf11b914e7ebb7492328491e01b188d0f54e79e682a1ffe7b9888d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 3): akshare/stock/finance/stock_yjyg_em.py:290-302 | akshare/stock/issue/stock_restricted_em.py:131-143 | akshare/stock/research/stock_hold_control_em.py:38-53 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_yjyg_em.py\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/finance/stock_yjyg_em.py:305\u0060 calls \u0060reset_index\u0060, \u0060insert\u0060 and \u0060akshare/stock/research/stock_hold_control_em.py:56\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":"akshare/stock/finance/stock_yjyg_em.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"25af6f4767056f1b442c396f4b68a1bf281f999e23e7d2675f8747db142008ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201316 lines \u00D7 3): akshare/futures/futures_hf_em.py:181-196 | akshare/fx/fx_forex_em.py:87-102 | akshare/index/index_global_em.py:117-121 \u2014 before extracting anything, compare \u0060akshare/futures/futures_hf_em.py\u0060 and \u0060akshare/fx/fx_forex_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 111 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 \u0060symbol\u0060 to \u0060str = \u0022HG00Y\u0022\u0060 in one and \u0060str = \u0022USDCNH\u0022\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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"38232cf208bff9bc72eee1f04f45af8592d23cef356d6aff25841583fa6c9789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): akshare/stock/board/stock_board_industry_em.py:242-257 | akshare/stock/quote/stock_hist_em.py:1416-1429 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_industry_em.py\u0060 and \u0060akshare/stock/quote/stock_hist_em.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/quote/stock_hist_em.py:1431\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/stock/board/stock_board_industry_em.py:258\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":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b1f609fa29622f4f019387d14599c7ef2f567c8947aa68ab589eae3bc2cb05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): akshare/stock/flow/stock_hsgt_em.py:209-223 | akshare/stock/flow/stock_hsgt_em.py:310-324 | akshare/stock/flow/stock_hsgt_em.py:424-438 | akshare/stock/flow/stock_hsgt_em.py:538-552 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:209\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a2a7b9020a0fd8b7b340d18fac53e760dde2170a771f1105eefdd3bb8b83e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): akshare/futures/cons.py:552-566 | akshare/option/cons.py:67-80 \u2014 \u0060akshare/futures/cons.py\u0060 and \u0060akshare/option/cons.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/cons.py:552\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":"akshare/futures/cons.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcba2091770b45d61a95f12dd07594f25c69b5a2046953a99722adedaf47600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): akshare/futures/cons.py:624-638 | akshare/option/cons.py:134-148 \u2014 \u0060akshare/futures/cons.py\u0060 and \u0060akshare/option/cons.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/cons.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fc431e4de22111b48f3ad3af190866a69181ef3b0977b3c8556f6c62bb271e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): akshare/index/index_stock_zh.py:535-548 | akshare/stock/quote/stock_hist_em.py:1418-1432 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_hist_em.py:1418\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":"akshare/index/index_stock_zh.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"160d4c88d82ce04491c4617c775be1375c09bd82f4b16c82439449a2fc54e49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): akshare/stock/board/stock_classify_sina.py:63-77 | akshare/stock/quote/stock_zh_a_special.py:299-313 \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":"akshare/stock/board/stock_classify_sina.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae49c66406701203474cb2b3300fbef91b2cc02120e637166149b3b7eb5b8014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 14): akshare/fund/fund_qdii_jsl.py:54-78 | akshare/fund/fund_qdii_jsl.py:127-151 | akshare/fund/fund_scale_sina.py:72-87 | akshare/fund/fund_scale_sina.py:142-157 | akshare/fund/fund_scale_sina.py:212-227 | akshare/stock/holder/stock_gdfx_em.py:538-557 | akshare/stock/holder/stock_gdfx_em.py:631-651 | akshare/stock/holder/stock_gdfx_em.py:719-740 | akshare/stock/issue/stock_finance_sina.py:583-596 | akshare/stock/issue/stock_finance_sina.py:658-672 | akshare/stock/research/stock_analyst_em.py:148-167 | akshare/stock/research/stock_analyst_em.py:202-220 | akshare/stock/research/stock_share_hold.py:86-105 | akshare/stock/research/stock_zdhtmx_em.py:89-110 \u2014 before extracting anything, compare \u0060akshare/fund/fund_qdii_jsl.py\u0060 and \u0060akshare/fund/fund_scale_sina.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 95 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 \u0060akshare/fund/fund_qdii_jsl.py:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220260930\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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, \u0060akshare/stock/research/stock_zdhtmx_em.py:112\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py:559\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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1e8c527af666f6bf5db8d9d9b349d4e77dfe96bc08dad8765b93c823ed39d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): akshare/stock/other/stock_technology_ths.py:412-427 | akshare/stock/other/stock_technology_ths.py:510-526 | akshare/stock/other/stock_technology_ths.py:617-630 | akshare/stock/other/stock_technology_ths.py:719-732 | akshare/stock/other/stock_technology_ths.py:808-821 | akshare/stock/other/stock_technology_ths.py:898-911 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/other/stock_technology_ths.py:510\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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8152fbfd041dce4b0a8d77fc1d9b3fe3d95af45d29295cee9dcab8f9b84819d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): akshare/fund/fund_em.py:501-514 | akshare/fund/fund_em.py:525-538 | akshare/fund/fund_em.py:552-565 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_em.py:500\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_em.py:524\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac8f0167e6851a83fb3e56a86ba2767c3cca36a0badc2dc246c87d2b23889c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 3): akshare/futures/futures_hog.py:166-179 | akshare/futures/futures_hog.py:183-192 | akshare/futures/futures_hog.py:199-206 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_hog.py:166\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/futures/futures_hog.py:198\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/futures/futures_hog.py:166\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hog.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ff8eda24ce0ee30307dd9cc32b593f6deb9803d6a565dd117db3e1e944548f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): akshare/stock/board/stock_hk_hot_rank_em.py:33-44 | akshare/stock/board/stock_hot_rank_em.py:35-48 | akshare/stock/board/stock_hot_up_em.py:35-48 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_hk_hot_rank_em.py\u0060 and \u0060akshare/stock/board/stock_hot_rank_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/board/stock_hot_rank_em.py:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bfd6b7aa50cd8a8704617cf17aa080ec8c18284e7d9c411b4c7dd5a1c097f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): akshare/stock/issue/stock_restricted_em.py:88-98 | akshare/stock/issue/stock_restricted_em.py:182-194 | akshare/stock/issue/stock_restricted_em.py:270-283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/issue/stock_restricted_em.py:85\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py:180\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":"akshare/stock/issue/stock_restricted_em.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b6b41d1139c452a2ac6b3d045001a213c319fac51ca4cb77cc0c7af4f9b376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akshare/futures/futures_cot.py:1099-1112 | akshare/futures/futures_cot.py:1117-1131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_cot.py:1099\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":"akshare/futures/futures_cot.py"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2355b953e8e9e756f72e74f7ffbd50718330fa9b9aa45329d08611952aa9dc63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akshare/futures/futures_hog.py:15-28 | akshare/futures/futures_hog.py:59-72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5916\u4E09\u5143\u0022\u0060 in one and \u0060str = \u0022\u7389\u7C73\u0022\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":"akshare/futures/futures_hog.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"56def7ef957d83ddaa919b1153f6f07066cde152a7d03a034ff63dd66aea6cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): akshare/stock/board/stock_irm_cninfo.py:116-127 | akshare/stock/board/stock_irm_cninfo.py:175-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/board/stock_irm_cninfo.py:175\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":"akshare/stock/board/stock_irm_cninfo.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba11ecc4618c488c32599bcd94fd0659e880c87f1c47bf764278d5bc5430ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akshare/stock/research/stock_info.py:143-156 | akshare/stock/research/stock_info.py:175-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \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":"akshare/stock/research/stock_info.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"620788209f62fbd871b7b71423714c05478ae1b8649aabfd867739d07fff0fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 16): akshare/fund/fund_qdii_jsl.py:55-78 | akshare/fund/fund_qdii_jsl.py:128-151 | akshare/fund/fund_scale_sina.py:73-87 | akshare/fund/fund_scale_sina.py:143-157 | akshare/fund/fund_scale_sina.py:213-227 | akshare/stock/holder/stock_gdfx_em.py:540-557 | akshare/stock/holder/stock_gdfx_em.py:633-651 | akshare/stock/holder/stock_gdfx_em.py:720-740 | akshare/stock/issue/stock_finance_sina.py:584-596 | akshare/stock/issue/stock_finance_sina.py:659-672 | akshare/stock/research/stock_analyst_em.py:149-168 | akshare/stock/research/stock_analyst_em.py:203-220 | akshare/stock/research/stock_hold_control_cninfo.py:167-188 | akshare/stock/research/stock_hold_control_cninfo.py:254-269 | akshare/stock/research/stock_share_hold.py:87-107 | akshare/stock/research/stock_zdhtmx_em.py:90-110 \u2014 before extracting anything, compare \u0060akshare/fund/fund_qdii_jsl.py\u0060 and \u0060akshare/fund/fund_scale_sina.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 95 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 \u0060akshare/stock/research/stock_analyst_em.py:149\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220260930\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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, \u0060akshare/stock/holder/stock_gdfx_em.py:557\u0060 calls \u0060to_datetime\u0060, \u0060to_numeric\u0060 and \u0060akshare/stock/research/stock_analyst_em.py:168\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":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5deb8aaa14ea9b7281715039547efd573c8ba0d8c232fe2c82e420a5127375e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12): akshare/bond/bond_china.py:123-135 | akshare/crypto/crypto_hold.py:29-68 | akshare/stock/board/stock_board_concept_em.py:358-388 | akshare/stock/board/stock_board_industry_em.py:258-287 | akshare/stock/board/stock_board_industry_em.py:367-397 | akshare/stock/flow/stock_account_em.py:39-74 | akshare/stock/flow/stock_fund_em.py:1042-1080 | akshare/stock/flow/stock_fund_em.py:1154-1192 | akshare/stock/flow/stock_margin_sse.py:102-129 | akshare/stock/flow/stock_margin_sse.py:169-198 | akshare/stock/research/stock_cg_guarantee.py:81-103 | akshare/stock/research/stock_industry_pe_cninfo.py:72-104 \u2014 before extracting anything, compare \u0060akshare/bond/bond_china.py\u0060 and \u0060akshare/stock/flow/stock_margin_sse.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_china.py:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/research/stock_industry_pe_cninfo.py:104\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_china.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":"akshare/bond/bond_china.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6156fd7ef7704d2c2921d1807c782985c4616554f41ec08d7730dea716e91fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 11): akshare/fund/fund_amac.py:81-96 | akshare/fund/fund_amac.py:317-332 | akshare/fund/fund_amac.py:384-399 | akshare/fund/fund_amac.py:473-488 | akshare/fund/fund_amac.py:604-619 | akshare/fund/fund_amac.py:674-689 | akshare/fund/fund_amac.py:726-741 | akshare/fund/fund_amac.py:794-809 | akshare/fund/fund_amac.py:844-859 | akshare/fund/fund_amac.py:915-930 | akshare/fund/fund_amac.py:989-1004 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/fund/fund_amac.py:792\u0060 calls \u0060filterwarnings\u0060 and \u0060akshare/fund/fund_amac.py:79\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":"akshare/fund/fund_amac.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b63ee757cd44bd350a3b64485288617a1b08542ed3747db19cf51d5630c2ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): akshare/alternative/alternative_air_zhenqi.py:109-124 | akshare/index/index_cni.py:70-84 | akshare/interest_rate/interest_rate_repo.py:49-61 | akshare/interest_rate/interest_rate_swap_cm.py:18-30 | akshare/stock/flow/stock_lhb_em.py:17-29 | akshare/stock/flow/stock_lhb_em.py:225-237 | akshare/stock/flow/stock_lhb_em.py:423-435 | akshare/stock/issue/stock_restricted_em.py:105-117 \u2014 there are 8 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060end_date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220240114\u0022\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":"akshare/alternative/alternative_air_zhenqi.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be7fd983572e044f5d048becf453218863a153889e1230cb009ab641b3ac2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): akshare/futures/futures_index_ccidx.py:32-44 | akshare/index/index_research_sw.py:376-395 | akshare/index/index_research_sw.py:476-495 | akshare/index/index_research_sw.py:550-569 | akshare/stock/issue/stock_dividend_cninfo.py:64-83 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220261113\u0022\u0060 in one and \u0060str = \u002220221031\u0022\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":"akshare/futures/futures_index_ccidx.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ae2ab77ca91177655ef97e4127990b06392900d909d0191c15301f3d7fff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): akshare/index/index_sw.py:77-89 | akshare/index/index_sw.py:138-151 | akshare/index/index_sw.py:200-213 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/index/index_sw.py:77\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":"akshare/index/index_sw.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6f08f6e74154c71b6339c9a8286f8a4bb6cd2c38e25fc300498f899bb1faed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): akshare/stock/board/stock_hot_xq.py:65-77 | akshare/stock/board/stock_inner_trade_xq.py:35-47 | akshare/stock/quote/stock_basic_info_xq.py:45-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/board/stock_hot_xq.py:65\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":"akshare/stock/board/stock_hot_xq.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcdefeddaef64c845bef5fa53ce9db1f95b63246c1a1e953e48f6237693326b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): akshare/futures/futures_hog.py:86-98 | akshare/futures/futures_hog.py:99-111 \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":"akshare/futures/futures_hog.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d68294ef3cc1f3e8da8985455412e4b1de0ba4eacb10c4cb2795680ca17b640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): akshare/stock/issue/stock_finance_sina.py:681-693 | akshare/stock/issue/stock_finance_sina.py:740-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81cbdce835e567cb1bdd188afdfa4547d2ad1b693619260f7ae5ef7f827a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): akshare/stock/quote/stock_hk_sina.py:152-163 | akshare/stock/quote/stock_hk_sina.py:184-196 \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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d7a888f5105e467160999952ed42687306164ba7cb1ecddb56743fe6fe9a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): akshare/stock/research/stock_profit_forecast_ths.py:39-51 | akshare/stock/research/stock_profit_forecast_ths.py:72-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/research/stock_profit_forecast_ths.py:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_profit_forecast_ths.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76e5b7363b8e865f0fe62de7101a305cbfc406587a4a2bc1857ba3cebd86ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 14): akshare/crypto/crypto_js_spot.py:32-45 | akshare/fund/fund_aum_em.py:78-91 | akshare/fund/fund_reits.py:196-208 | akshare/index/index_sw.py:77-90 | akshare/index/index_sw.py:138-152 | akshare/index/index_sw.py:200-214 | akshare/macro/macro_finance_ths.py:96-117 | akshare/option/option_commodity_sina.py:94-117 | akshare/stock/board/stock_board_concept_em.py:325-337 | akshare/stock/board/stock_board_industry_em.py:331-344 | akshare/stock/flow/stock_lhb_sina.py:43-55 | akshare/stock/flow/stock_lhb_sina.py:151-162 | akshare/stock/holder/stock_hold.py:37-49 | akshare/stock/quote/stock_summary.py:185-203 \u2014 before extracting anything, compare \u0060akshare/fund/fund_reits.py\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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 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, \u0060akshare/stock/holder/stock_hold.py:35\u0060 calls \u0060astype\u0060, \u0060zfill\u0060 and \u0060akshare/fund/fund_aum_em.py:77\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":"akshare/crypto/crypto_js_spot.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f767f8a272cc044ac5650e3494b908e8d8f1ccd764bccd71d3f1338f5941260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): akshare/stock/board/stock_board_concept_ths.py:45-56 | akshare/stock/board/stock_board_concept_ths.py:242-253 | akshare/stock/board/stock_board_concept_ths.py:280-291 | akshare/stock/board/stock_board_industry_ths.py:44-55 | akshare/stock/board/stock_board_industry_ths.py:229-241 | akshare/stock/board/stock_board_industry_ths.py:281-293 | akshare/stock/board/stock_board_industry_ths.py:351-362 | akshare/stock/flow/stock_fund_flow.py:70-90 | akshare/stock/flow/stock_fund_flow.py:445-465 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/flow/stock_fund_flow.py:69\u0060 calls \u0060_check_ths_fund_flow_symbol\u0060 and \u0060akshare/stock/board/stock_board_concept_ths.py:278\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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f952de3b26ad2b1f7bcfa759fae823377183e0cf660eb03006f300862883e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): akshare/spot/spot_hog_soozhu.py:16-27 | akshare/spot/spot_hog_soozhu.py:43-54 | akshare/spot/spot_hog_soozhu.py:67-78 | akshare/spot/spot_hog_soozhu.py:91-102 | akshare/spot/spot_hog_soozhu.py:115-126 | akshare/spot/spot_hog_soozhu.py:139-150 | akshare/spot/spot_hog_soozhu.py:163-174 | akshare/spot/spot_hog_soozhu.py:187-198 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_hog_soozhu.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e936721ee52e2d7d96ba97cc6eb1f8d9ebefe13e19d1c8eebf89cf96363293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 7): akshare/fund/fund_amac.py:244-249 | akshare/macro/macro_china.py:2920-2929 | akshare/stock/holder/stock_gdfx_em.py:88-99 | akshare/stock/holder/stock_gdfx_em.py:190-201 | akshare/stock/holder/stock_gdzjc_em.py:109-118 | akshare/stock/issue/stock_repurchase_em.py:105-110 | akshare/stock/research/stock_qsjy_em.py:74-81 \u2014 there are 7 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/macro/macro_china.py:2920\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:2929\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/holder/stock_gdfx_em.py:99\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":"akshare/fund/fund_amac.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7945b5be43df05670f6eaf94404be9dc0a7bf723bb41ca14ca5871a988e0c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): akshare/fund/fund_rating.py:26-37 | akshare/fund/fund_rating.py:114-125 | akshare/fund/fund_rating.py:212-223 | akshare/fund/fund_rating.py:299-310 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rating.py:26\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":"akshare/fund/fund_rating.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fc6a3bb9fea15849c8f5ad805ae570fd6d8fc488db1795d5f8aa3b59ec0450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): akshare/stock/valuation/stock_a_pe_and_pb.py:370-381 | akshare/stock/valuation/stock_a_pe_and_pb.py:424-433 | akshare/stock/valuation/stock_a_pe_and_pb.py:547-556 | akshare/stock/valuation/stock_all_pb.py:27-36 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae489fa949dfa0f9e53c58065c5abb805bc020b76ddcd112a6297587e995f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): akshare/futures/futures_comm_qihuo.py:111-122 | akshare/futures/futures_comm_qihuo.py:128-139 | akshare/futures/futures_comm_qihuo.py:145-156 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_comm_qihuo.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75e149c7806dbc6ee7b88441041d8646e40d0d007212f9d27db12c3f0689087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akshare/futures/futures_cot.py:85-96 | akshare/futures/futures_receipt.py:595-606 \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: the declarations holding them bind \u0060end_date\u0060 to \u0060str = \u002220210510\u0022\u0060 in one and \u0060str = None\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":"akshare/futures/futures_cot.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc8d3fd9ba2c60f94a1ea277a813e6d7f3f69359ccc68ed86894deb0a834b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akshare/index/index_cni.py:146-157 | akshare/index/index_cni.py:172-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/index/index_cni.py:145\u0060 calls \u0060simplefilter\u0060 and \u0060akshare/index/index_cni.py:170\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":"akshare/index/index_cni.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43cf82f316567330817529816aba905bab3cbca5de21d852b81ac1ab943442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akshare/index/index_stock_us_sina.py:19-30 | akshare/stock/quote/stock_us_sina.py:140-156 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022.INX\u0022\u0060 in one and \u0060str = \u0022FB\u0022\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":"akshare/index/index_stock_us_sina.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e937c94e41047d39fb54e451d80b7f8bb2ab7d70b48985400be28c26ffdee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akshare/stock/finance/stock_yjbb_em.py:45-56 | akshare/stock/flow/stock_fund_em.py:168-179 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_yjbb_em.py\u0060 and \u0060akshare/stock/flow/stock_fund_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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":"akshare/stock/finance/stock_yjbb_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff258345e7ee8e9a7c62830da05d79787614cbe489138cac79302d26f380d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akshare/stock/valuation/stock_gxl_lg.py:40-51 | akshare/stock/valuation/stock_gxl_lg.py:71-82 \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":"akshare/stock/valuation/stock_gxl_lg.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd05317e217bd368304245067ac75aff223ac7dc71117660b7b6e600948c390a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201311 lines \u00D7 82): akshare/bond/bond_em.py:104-112 | akshare/crypto/crypto_hold.py:66-70 | akshare/fund/fund_etf_ths.py:93-99 | akshare/fund/fund_rank_em.py:319-325 | akshare/fund/fund_rating.py:172-181 | akshare/fund/fund_rating.py:265-270 | akshare/fund/fund_rating.py:353-358 | akshare/fund/fund_report_cninfo.py:212-220 | akshare/fund/fund_xq.py:180-185 | akshare/futures/futures_cot.py:968-975 | akshare/futures/futures_cot.py:1062-1069 | akshare/futures/futures_cot.py:1307-1313 | akshare/futures/futures_zh_sina.py:351-355 | akshare/futures/futures_zh_sina.py:441-445 | akshare/futures/futures_zh_sina.py:553-557 | akshare/futures/futures_zh_sina.py:640-644 | akshare/fx/fx_china_bank_sina.py:112-116 | akshare/index/index_sw.py:87-91 | akshare/index/index_sw.py:149-153 | akshare/index/index_sw.py:211-215 | akshare/macro/macro_china.py:102-108 | akshare/macro/macro_china.py:230-237 | akshare/macro/macro_china.py:373-382 | akshare/macro/macro_china.py:443-452 | akshare/macro/macro_china.py:1663-1670 | akshare/macro/macro_china.py:1739-1744 | akshare/macro/macro_china.py:1820-1829 | akshare/macro/macro_china.py:1977-1986 | akshare/macro/macro_china.py:2210-2219 | akshare/macro/macro_china.py:2454-2463 | akshare/macro/macro_china.py:2586-2595 | akshare/macro/macro_china.py:2764-2768 | akshare/macro/macro_cnbs.py:56-60 | akshare/macro/macro_finance_ths.py:112-120 | akshare/option/option_commodity_sina.py:114-118 | akshare/option/option_finance_sina.py:124-129 | akshare/option/option_finance_sina.py:197-202 | akshare/option/option_finance_sina.py:270-275 | akshare/stock/finance/stock_gbjg_em.py:143-149 | akshare/stock/finance/stock_ipo_summary_cninfo.py:92-98 | akshare/stock/finance/stock_report_em.py:402-411 | akshare/stock/finance/stock_sy_em.py:84-88 | akshare/stock/finance/stock_sy_em.py:190-196 | akshare/stock/finance/stock_sy_em.py:293-299 | akshare/stock/finance/stock_sy_em.py:393-397 | akshare/stock/finance/stock_sy_em.py:461-465 | akshare/stock/finance/stock_yjbb_em.py:118-126 | akshare/stock/finance/stock_yjyg_em.py:107-115 | akshare/stock/flow/stock_account_em.py:70-79 | akshare/stock/flow/stock_dzjy_em.py:73-77 | akshare/stock/flow/stock_dzjy_em.py:504-510 | akshare/stock/flow/stock_dzjy_em.py:598-607 | akshare/stock/flow/stock_fund_em.py:89-98 | akshare/stock/flow/stock_fund_em.py:809-815 | akshare/stock/flow/stock_fund_em.py:897-903 | akshare/stock/flow/stock_fund_em.py:985-991 | akshare/stock/flow/stock_fund_em.py:1076-1085 | akshare/stock/flow/stock_fund_em.py:1188-1197 | akshare/stock/flow/stock_fund_em.py:1290-1298 | akshare/stock/flow/stock_hsgt_em.py:711-717 | akshare/stock/flow/stock_hsgt_em.py:780-786 | akshare/stock/flow/stock_hsgt_em.py:848-854 | akshare/stock/flow/stock_hsgt_em.py:916-922 | akshare/stock/flow/stock_lhb_em.py:583-593 | akshare/stock/holder/stock_gdfx_em.py:285-294 | akshare/stock/holder/stock_gdfx_em.py:653-661 | akshare/stock/holder/stock_gdfx_em.py:742-750 | akshare/stock/holder/stock_gdfx_em.py:844-852 | akshare/stock/holder/stock_gpzy_em.py:354-358 | akshare/stock/holder/stock_gpzy_em.py:419-423 | akshare/stock/issue/stock_dxsyl_em.py:95-101 | akshare/stock/issue/stock_dxsyl_em.py:238-246 | akshare/stock/issue/stock_dxsyl_em.py:387-391 | akshare/stock/issue/stock_fhps_em.py:111-120 | akshare/stock/issue/stock_fhps_em.py:245-254 | akshare/stock/issue/stock_finance_sina.py:482-486 | akshare/stock/issue/stock_restricted_em.py:281-289 | akshare/stock/quote/stock_summary.py:198-204 | akshare/stock/research/stock_industry_pe_cninfo.py:103-107 | akshare/stock/research/stock_new_cninfo.py:159-163 | akshare/stock/research/stock_profit_forecast_em.py:122-130 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:70-76 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/crypto/crypto_hold.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rating.py:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:108\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:112\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":"akshare/bond/bond_em.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ef066f0a5df46092644258d53a5c818e0010e5da9e353cb9a80d10d28371b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 20): akshare/fund/fund_em.py:489-500 | akshare/fund/fund_em.py:628-642 | akshare/fund/fund_rank_em.py:294-318 | akshare/fund/fund_rank_em.py:392-416 | akshare/futures/futures_to_spot.py:41-51 | akshare/fx/fx_china_bank_sina.py:99-111 | akshare/macro/macro_china.py:357-374 | akshare/macro/macro_china.py:1146-1160 | akshare/macro/macro_china.py:1491-1505 | akshare/macro/macro_china.py:3158-3172 | akshare/stock/flow/stock_dzjy_em.py:57-72 | akshare/stock/flow/stock_dzjy_em.py:388-410 | akshare/stock/flow/stock_dzjy_em.py:488-503 | akshare/stock/flow/stock_lhb_em.py:285-307 | akshare/stock/flow/stock_lhb_em.py:473-490 | akshare/stock/holder/stock_gpzy_em.py:62-76 | akshare/stock/holder/stock_gpzy_em.py:468-482 | akshare/stock/issue/stock_finance_sina.py:352-367 | akshare/stock/issue/stock_restricted_em.py:71-87 | akshare/stock/issue/stock_restricted_em.py:250-269 \u2014 there are 20 copies across 10 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 20 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_em.py:489\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_rank_em.py:318\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_em.py:642\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":"akshare/fund/fund_em.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fa9638fc472d86a8d5affeac44c9397c3513bd2b71aff6c149da3dbae8e4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): akshare/index/index_research_fund_sw.py:46-57 | akshare/index/index_research_sw.py:239-250 | akshare/macro/macro_china.py:2035-2045 | akshare/stock/board/stock_pankou_em.py:124-140 | akshare/stock/flow/stock_dzjy_em.py:215-230 | akshare/stock/holder/stock_gdfx_em.py:412-428 \u2014 before extracting anything, compare \u0060akshare/index/index_research_fund_sw.py\u0060 and \u0060akshare/index/index_research_sw.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 128 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 \u0060akshare/index/index_research_fund_sw.py:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_fund_sw.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24e099fd1b58525b6195101cf9fa259cefdbfe0dfbdce6d11632b9d71afef20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): akshare/option/option_finance.py:290-300 | akshare/option/option_finance.py:309-319 | akshare/option/option_finance.py:328-338 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/option/option_finance.py:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_finance.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"654b19384ab369240ed7db743b514e6d833aae16d47fa54b1b7d02a8875746b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/fund/fund_portfolio_em.py:180-190 | akshare/fund/fund_portfolio_em.py:310-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_portfolio_em.py:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_portfolio_em.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"988a7bc3d3c774621c6e2eae118f9323702d284a4e60e5e9d5d7c7a8e2eee4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/futures/futures_receipt.py:318-328 | akshare/futures/futures_receipt.py:376-386 \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":"akshare/futures/futures_receipt.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"865d54a4f046f2c7abadcc46c8dc8aa62b3109fd424d28023587d88d4ad11a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/futures/futures_zh_sina.py:362-372 | akshare/futures/futures_zh_sina.py:564-574 \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 \u0060akshare/futures/futures_zh_sina.py:362\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba6ba9b57a2d8de14dbfb094f6359dbeb660dae1250bff4b3b341fcf0517801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/macro/macro_china_nbs.py:543-553 | akshare/macro/macro_china_nbs.py:672-682 \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":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d882c6800e5527bc38897af8a1d26325c10b40064d158d357f2dda4c3d93f2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): akshare/stock/quote/stock_zh_ah_tx.py:49-62 | akshare/stock/quote/stock_zh_ah_tx.py:119-131 \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 \u0060akshare/stock/quote/stock_zh_ah_tx.py:119\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":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e1078dcd48b5daffcbd5746ed2ae3c64a425e738673894e60efa7acbf5ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/stock/quote/stock_zh_kcb_sina.py:181-191 | akshare/stock/quote/stock_zh_kcb_sina.py:204-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_zh_kcb_sina.py:181\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":"akshare/stock/quote/stock_zh_kcb_sina.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e405d6ab6d38973b95b3cf61c082f83aea2e40cb88bab58c4c3cd4431e3c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 32): akshare/bond/bond_buy_back_em.py:199-212 | akshare/fund/fund_em.py:187-209 | akshare/fund/fund_rank_em.py:111-135 | akshare/fund/fund_rating.py:148-173 | akshare/fund/fund_rating.py:244-266 | akshare/fund/fund_rating.py:331-354 | akshare/futures/futures_hf_em.py:215-232 | akshare/fx/fx_forex_em.py:121-135 | akshare/index/index_global_em.py:139-153 | akshare/interest_rate/interest_rate_interbank_em.py:118-127 | akshare/option/option_finance_sina.py:318-329 | akshare/option/option_finance_sina.py:359-370 | akshare/option/option_finance_sina.py:402-413 | akshare/option/option_lhb_em.py:75-93 | akshare/option/option_lhb_em.py:130-148 | akshare/option/option_lhb_em.py:185-203 | akshare/stock/finance/stock_sy_em.py:69-83 | akshare/stock/finance/stock_yjyg_em.py:201-218 | akshare/stock/flow/stock_fund_em.py:68-90 | akshare/stock/flow/stock_fund_em.py:389-410 | akshare/stock/flow/stock_hsgt_em.py:62-81 | akshare/stock/flow/stock_hsgt_em.py:259-276 | akshare/stock/flow/stock_hsgt_em.py:374-391 | akshare/stock/flow/stock_hsgt_em.py:487-504 | akshare/stock/flow/stock_hsgt_em.py:601-618 | akshare/stock/flow/stock_hsgt_em.py:695-710 | akshare/stock/flow/stock_hsgt_em.py:766-779 | akshare/stock/flow/stock_hsgt_em.py:834-847 | akshare/stock/flow/stock_hsgt_em.py:902-915 | akshare/stock/research/stock_cg_equity_mortgage.py:77-93 | akshare/stock/research/stock_hold_control_cninfo.py:87-101 | akshare/stock/research/stock_hold_num_cninfo.py:76-93 \u2014 before extracting anything, compare \u0060akshare/bond/bond_buy_back_em.py\u0060 and \u0060akshare/stock/flow/stock_fund_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_buy_back_em.py:199\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220230630\u0022\u0060 in one and \u0060str = \u002220230331\u0022\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, \u0060akshare/fund/fund_rating.py:266\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_buy_back_em.py:212\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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcdc9009e726c4271360253d709c9d55105d80535f8cf49e10002e48950d395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 17): akshare/futures/futures_comex_em.py:44-53 | akshare/interest_rate/interest_rate_interbank_em.py:92-104 | akshare/stock/finance/stock_report_em.py:46-55 | akshare/stock/finance/stock_report_em.py:146-155 | akshare/stock/finance/stock_report_em.py:246-255 | akshare/stock/finance/stock_report_em.py:352-361 | akshare/stock/flow/stock_lhb_em.py:47-56 | akshare/stock/flow/stock_lhb_em.py:252-261 | akshare/stock/holder/stock_gddh_em.py:38-47 | akshare/stock/holder/stock_gdhs.py:57-66 | akshare/stock/holder/stock_gdhs.py:157-166 | akshare/stock/holder/stock_gdzjc_em.py:46-55 | akshare/stock/issue/stock_zf_pg.py:44-53 | akshare/stock/issue/stock_zf_pg.py:124-133 | akshare/stock/research/stock_profit_forecast_em.py:42-54 | akshare/stock/research/stock_research_report_em.py:48-60 | akshare/stock/research/stock_zdhtmx_em.py:45-54 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"298833ec385090216cc85a762a16a79db7d88a498f5dd8040ea4e0a5e7123305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 16): akshare/futures/futures_comex_em.py:43-52 | akshare/interest_rate/interest_rate_interbank_em.py:91-103 | akshare/stock/finance/stock_report_em.py:45-54 | akshare/stock/finance/stock_report_em.py:145-154 | akshare/stock/finance/stock_report_em.py:245-254 | akshare/stock/finance/stock_report_em.py:351-360 | akshare/stock/flow/stock_lhb_em.py:46-55 | akshare/stock/flow/stock_lhb_em.py:251-260 | akshare/stock/holder/stock_gddh_em.py:37-46 | akshare/stock/holder/stock_gdhs.py:56-65 | akshare/stock/holder/stock_gdhs.py:156-165 | akshare/stock/holder/stock_gdzjc_em.py:45-54 | akshare/stock/holder/stock_yzxdr_em.py:45-55 | akshare/stock/issue/stock_zf_pg.py:43-52 | akshare/stock/issue/stock_zf_pg.py:123-132 | akshare/stock/research/stock_zdhtmx_em.py:44-53 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b6386cd3bd19e17d950997c037cea7a2cad186da238f1026ede1509502017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 12): akshare/fund/fund_amac.py:88-93 | akshare/fund/fund_amac.py:190-199 | akshare/fund/fund_amac.py:324-329 | akshare/fund/fund_amac.py:391-396 | akshare/fund/fund_amac.py:480-485 | akshare/fund/fund_amac.py:611-616 | akshare/fund/fund_amac.py:681-686 | akshare/fund/fund_amac.py:733-738 | akshare/fund/fund_amac.py:801-806 | akshare/fund/fund_amac.py:851-856 | akshare/fund/fund_amac.py:922-927 | akshare/fund/fund_amac.py:996-1001 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_amac.py:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fee054dcb5fa8399b2e586e6a58723c52733481f264659e0327d0217f4b5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11): akshare/fund/fund_amac.py:94-106 | akshare/fund/fund_amac.py:330-342 | akshare/fund/fund_amac.py:397-414 | akshare/fund/fund_amac.py:486-497 | akshare/fund/fund_amac.py:551-563 | akshare/fund/fund_amac.py:617-632 | akshare/fund/fund_amac.py:687-697 | akshare/fund/fund_amac.py:739-750 | akshare/fund/fund_amac.py:807-816 | akshare/fund/fund_amac.py:928-943 | akshare/fund/fund_amac.py:1002-1012 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a2d8ffa0c3616a687590b2e87b0d56c1082545f725751075947f2ee401207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 7): akshare/futures/futures_hog.py:136-143 | akshare/futures/futures_hog.py:146-153 | akshare/futures/futures_hog.py:171-180 | akshare/futures/futures_hog.py:186-193 | akshare/futures/futures_hog.py:200-207 | akshare/futures/futures_hog.py:210-217 | akshare/futures/futures_hog.py:221-228 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/futures/futures_hog.py:198\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/futures/futures_hog.py:184\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":"akshare/futures/futures_hog.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"868564ae399ad3f4a96b4fc8440405bd85452f732318df1a4a307295b612fbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): akshare/index/index_cni.py:83-92 | akshare/stock/flow/stock_lhb_em.py:28-45 | akshare/stock/flow/stock_lhb_em.py:236-250 | akshare/stock/flow/stock_lhb_em.py:434-448 | akshare/stock/issue/stock_restricted_em.py:39-56 | akshare/stock/issue/stock_restricted_em.py:116-132 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_restricted_em.py:39\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 \u0060end_date\u0060 to \u0060str = \u002220240114\u0022\u0060 in one and \u0060str = \u002220230417\u0022\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, \u0060akshare/stock/flow/stock_lhb_em.py:48\u0060 calls \u0060get_tqdm\u0060 and \u0060akshare/stock/issue/stock_restricted_em.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":"akshare/index/index_cni.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eec4df2a6b589fcdd818b6d340db1305c0849236fe5676300ffb1aed550158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): akshare/alternative/alternative_news_cctv.py:88-96 | akshare/alternative/alternative_news_cctv.py:131-139 | akshare/alternative/alternative_news_cctv.py:175-184 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/alternative/alternative_news_cctv.py:175\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":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41752b779727cde29e5fae2dacb63fd88db7282bfd0ed77377d3c45c3ab6293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): akshare/bond/bond_gb_sina.py:38-47 | akshare/bond/bond_gb_sina.py:83-92 | akshare/spot/spot_sge.py:147-156 \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":"akshare/bond/bond_gb_sina.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19263b2e7e262cac10065e74547296ce2dc57b4591681b7e650539d29d29815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): akshare/fund/fund_em.py:522-531 | akshare/fund/fund_em.py:549-558 | akshare/fund/fund_em.py:610-617 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_em.py:533\u0060 calls \u0060DataFrame\u0060 and \u0060akshare/fund/fund_em.py:618\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":"akshare/fund/fund_em.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b567302e8a5f9702f0519d54031d548425b325da5a327776eda601b45f922f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): akshare/futures/futures_receipt.py:68-78 | akshare/futures/futures_receipt.py:320-329 | akshare/futures/futures_receipt.py:378-387 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b44d58d3bdddf722d207357dde61436627ad9c86112298f23dbcaf58b6d9a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): akshare/option/option_finance_sina.py:29-41 | akshare/option/option_finance_sina.py:46-58 | akshare/option/option_finance_sina.py:62-74 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_finance_sina.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d5c39d7446b6446b641bd51f0c596191898f683d23923db37de1245194d28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akshare/fund/fund_em.py:704-717 | akshare/fund/fund_em.py:982-995 \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":"akshare/fund/fund_em.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"430fd3a74339999263f40325d540e068736ed66904f16d42d4cae29cd16d2ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akshare/stock/flow/stock_fund_em.py:163-172 | akshare/stock/flow/stock_fund_em.py:499-508 \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":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dccd527415921d80d792d701da422af238437b57cb8a0335bcb257abfa8eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akshare/stock/quote/stock_zh_kcb_sina.py:174-183 | akshare/stock/quote/stock_zh_kcb_sina.py:220-229 \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":"akshare/stock/quote/stock_zh_kcb_sina.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a124eeb91c424e47a78769117ad2553f7bce27f487e1623bbcee94770f3b18ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akshare/stock/quote/stock_zh_kcb_sina.py:197-206 | akshare/stock/quote/stock_zh_kcb_sina.py:232-241 \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":"akshare/stock/quote/stock_zh_kcb_sina.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa8aed9ec851090992b01e352d537324334d68007a01defa6273f58b06e8977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): akshare/stock/research/stock_profit_forecast_ths.py:53-62 | akshare/stock/research/stock_profit_forecast_ths.py:85-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/research/stock_profit_forecast_ths.py:53\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":"akshare/stock/research/stock_profit_forecast_ths.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3641a174256a0764d9af1a1bd33e30b2793e6aabf9cc4e372662d1c817047865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 18): akshare/futures/futures_comex_em.py:45-53 | akshare/interest_rate/interest_rate_interbank_em.py:93-104 | akshare/stock/finance/stock_report_em.py:47-55 | akshare/stock/finance/stock_report_em.py:147-155 | akshare/stock/finance/stock_report_em.py:247-255 | akshare/stock/finance/stock_report_em.py:353-361 | akshare/stock/flow/stock_fund_em.py:166-174 | akshare/stock/flow/stock_lhb_em.py:48-56 | akshare/stock/flow/stock_lhb_em.py:253-261 | akshare/stock/holder/stock_gddh_em.py:39-47 | akshare/stock/holder/stock_gdhs.py:58-66 | akshare/stock/holder/stock_gdhs.py:158-166 | akshare/stock/holder/stock_gdzjc_em.py:47-55 | akshare/stock/issue/stock_zf_pg.py:45-53 | akshare/stock/issue/stock_zf_pg.py:125-133 | akshare/stock/research/stock_profit_forecast_em.py:43-54 | akshare/stock/research/stock_research_report_em.py:49-60 | akshare/stock/research/stock_zdhtmx_em.py:46-54 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee80b4ec1d4ebbfd3bd5bb4dd1cde0f6320c602f9292bc5772474314ad9c90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 18): akshare/futures/futures_comex_em.py:46-54 | akshare/interest_rate/interest_rate_interbank_em.py:94-105 | akshare/stock/finance/stock_report_em.py:48-56 | akshare/stock/finance/stock_report_em.py:148-156 | akshare/stock/finance/stock_report_em.py:248-256 | akshare/stock/finance/stock_report_em.py:354-362 | akshare/stock/finance/stock_yjbb_em.py:44-52 | akshare/stock/flow/stock_fund_em.py:167-175 | akshare/stock/flow/stock_lhb_em.py:49-57 | akshare/stock/flow/stock_lhb_em.py:254-262 | akshare/stock/holder/stock_gddh_em.py:40-48 | akshare/stock/holder/stock_gdhs.py:59-67 | akshare/stock/holder/stock_gdhs.py:159-167 | akshare/stock/holder/stock_gdzjc_em.py:48-56 | akshare/stock/issue/stock_zf_pg.py:46-54 | akshare/stock/issue/stock_zf_pg.py:126-134 | akshare/stock/research/stock_profit_forecast_em.py:44-55 | akshare/stock/research/stock_zdhtmx_em.py:47-55 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/futures/futures_comex_em.py:57\u0060 calls \u0060reset_index\u0060 and \u0060akshare/stock/holder/stock_gddh_em.py:50\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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"020c063c5369c42141e00630efe602becc5bd6ce9082eee84a663feccfbd549a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 15): akshare/bond/bond_gb_sina.py:38-47 | akshare/bond/bond_gb_sina.py:83-92 | akshare/fund/fund_scale_em.py:101-111 | akshare/index/index_option_qvix.py:38-46 | akshare/index/index_option_qvix.py:78-86 | akshare/index/index_option_qvix.py:118-126 | akshare/index/index_option_qvix.py:158-166 | akshare/index/index_option_qvix.py:198-206 | akshare/index/index_option_qvix.py:238-246 | akshare/index/index_option_qvix.py:278-286 | akshare/index/index_option_qvix.py:318-326 | akshare/index/index_option_qvix.py:358-366 | akshare/spot/spot_sge.py:147-156 | akshare/stock/flow/stock_cyq_em.py:287-299 | akshare/stock/quote/stock_hist_em.py:995-1010 \u2014 there are 15 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 15 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_gb_sina.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5af9a0b1cacaec9ff8aed224680afe1a6f24de29821ea741a1728f5227edf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 15): akshare/interest_rate/interest_rate_interbank_em.py:95-106 | akshare/stock/finance/stock_report_em.py:249-257 | akshare/stock/finance/stock_report_em.py:355-363 | akshare/stock/finance/stock_yjyg_em.py:43-51 | akshare/stock/finance/stock_yjyg_em.py:160-168 | akshare/stock/finance/stock_yjyg_em.py:295-303 | akshare/stock/flow/stock_lhb_em.py:255-263 | akshare/stock/holder/stock_gdhs.py:60-68 | akshare/stock/holder/stock_gdhs.py:160-168 | akshare/stock/holder/stock_gdzjc_em.py:49-57 | akshare/stock/issue/stock_restricted_em.py:136-144 | akshare/stock/issue/stock_zf_pg.py:47-55 | akshare/stock/issue/stock_zf_pg.py:127-135 | akshare/stock/research/stock_hold_control_em.py:43-54 | akshare/stock/research/stock_profit_forecast_em.py:45-56 \u2014 before extracting anything, compare \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 and \u0060akshare/stock/finance/stock_report_em.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/finance/stock_yjyg_em.py:53\u0060 calls \u0060reset_index\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py:107\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":"akshare/interest_rate/interest_rate_interbank_em.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c33f03f483bc5c32e45860d70538d29e0037fe78d5e62fb634001c562ed1bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): akshare/bond/bond_cb_ths.py:72-80 | akshare/futures/futures_contract_info_cffex.py:68-76 | akshare/futures/futures_contract_info_dce.py:56-64 | akshare/futures/futures_contract_info_gfex.py:47-55 | akshare/stock/issue/stock_fhps_ths.py:34-42 | akshare/stock/issue/stock_finance_sina.py:425-433 | akshare/stock/issue/stock_finance_sina.py:487-495 | akshare/stock/issue/stock_hk_fhpx_ths.py:47-55 \u2014 before extracting anything, compare \u0060akshare/futures/futures_contract_info_cffex.py\u0060 and \u0060akshare/futures/futures_contract_info_gfex.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220240228\u0022\u0060 in one and \u0060str = \u0022\u0022\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 before the matched lines, \u0060akshare/futures/futures_contract_info_dce.py:54\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_cb_ths.py:71\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_cb_ths.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f7fc21864da678cee83fecda044e7df514b2d905bdd4cf513e791487a230e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 6): akshare/bond/bond_convert.py:320-327 | akshare/futures/futures_contract_info_cffex.py:66-73 | akshare/futures/futures_contract_info_dce.py:55-61 | akshare/futures/futures_contract_info_gfex.py:46-52 | akshare/stock/issue/stock_finance_sina.py:424-430 | akshare/stock/issue/stock_finance_sina.py:484-492 \u2014 there are 6 copies across 5 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_convert.py:320\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 \u0060date\u0060 to \u0060str = \u002220240228\u0022\u0060 in one and \u0060str = \u0022\u0022\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, \u0060akshare/futures/futures_contract_info_dce.py:62\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/bond/bond_convert.py:328\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_convert.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c66ec95c51d92cfef0ea2c64be323e4c611353fb7f23e1a3e8050917c4273d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): akshare/macro/macro_china.py:3136-3145 | akshare/stock/flow/stock_hsgt_em.py:736-745 | akshare/stock/flow/stock_hsgt_em.py:804-813 | akshare/stock/flow/stock_hsgt_em.py:872-881 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china.py"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4216cdd17d4ee492fb5b61a20d2f7c6c85480e4bda0e8b6bc75af6742259a6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): akshare/stock/finance/stock_yjyg_em.py:291-299 | akshare/stock/issue/stock_restricted_em.py:132-140 | akshare/stock/research/stock_hold_control_em.py:39-50 | akshare/stock/research/stock_share_hold.py:54-64 \u2014 before extracting anything, compare \u0060akshare/stock/finance/stock_yjyg_em.py\u0060 and \u0060akshare/stock/issue/stock_restricted_em.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 147 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":"akshare/stock/finance/stock_yjyg_em.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92c0aa89602346a46b9264bbe47e60a037e425369fb6810bbd3bd82d87a9484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): akshare/stock/flow/stock_lhb_sina.py:104-112 | akshare/stock/flow/stock_lhb_sina.py:141-149 | akshare/stock/flow/stock_lhb_sina.py:179-187 | akshare/stock/flow/stock_lhb_sina.py:227-234 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"27debbaea27b7a6a7183edb27446694c99f2135c46b7f34b5c04abd3fb84b894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): akshare/index/index_sw.py:59-75 | akshare/index/index_sw.py:120-136 | akshare/index/index_sw.py:182-198 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/index/index_sw.py:118\u0060 calls \u0060find\u0060, \u0060get_text\u0060, \u0060split\u0060 and \u0060akshare/index/index_sw.py:58\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":"akshare/index/index_sw.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba522b69d7f0e4254b03508395c208b5e6001291b25e51e0a893aff139776552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): akshare/macro/macro_china_nbs.py:548-556 | akshare/macro/macro_china_nbs.py:632-640 | akshare/macro/macro_china_nbs.py:677-685 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8236c9609c8295489d71428bc536ee346590ba63dda4eb236d1fcb74d7db2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): akshare/stock/quote/stock_hk_sina.py:131-138 | akshare/stock/quote/stock_zh_a_sina.py:196-204 | akshare/stock/quote/stock_zh_b_sina.py:185-192 \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 \u0060akshare/stock/quote/stock_hk_sina.py:131\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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9772355a1e759fe049173aa2530c7f04e6fb601ff38902de5ced8feffecf6bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/bond/bond_zh_cov.py:76-84 | akshare/bond/bond_zh_sina.py:132-140 \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 \u0060akshare/bond/bond_zh_cov.py:76\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"716807d8cbd6849235efed5e10c99f4c3337b0f717417715419f4b34f367723e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/futures/futures_zh_sina.py:46-56 | akshare/futures/futures_zh_sina.py:72-82 \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":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f782b8a5fcecfbf8da03c308cb2323725703c6113eb81d90032c0fd2f00c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/fx/fx_quote.py:33-41 | akshare/fx/fx_quote.py:89-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/fx/fx_quote.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8673ae17598818b29fa701a0350d4410776abe2d2d35c0a39724044cf49e991d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/stock/flow/stock_lhb_em.py:815-823 | akshare/stock/flow/stock_lhb_em.py:862-870 \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 \u0060akshare/stock/flow/stock_lhb_em.py:815\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":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2202d3ac8d9d0bae010a7049ed56ab05dcbf6ffbed2165e8d6bc910affef72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:268-276 | akshare/stock/quote/stock_zh_a_sina.py:296-304 \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 \u0060akshare/stock/quote/stock_zh_a_sina.py:268\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91bf364a6a9463431a19671e10f92c3e6d04a82e4590abab13aaaac64bd712e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/stock/research/stock_share_hold.py:56-66 | akshare/stock/research/stock_share_hold.py:143-151 \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":"akshare/stock/research/stock_share_hold.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8cc2e24f05e5f3d16c92c00b21157dde2754dea5bded11d882b0b9def9f234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/stock/valuation/stock_hk_valuation_baidu.py:48-56 | akshare/stock/valuation/stock_us_valuation_baidu.py:49-57 \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":"akshare/stock/valuation/stock_hk_valuation_baidu.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b21ec13480f57f8337f2ea8ffb7d5756d35f50d2aff21e0a2a38b3100f13ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 21): akshare/futures/futures_comex_em.py:47-54 | akshare/interest_rate/interest_rate_interbank_em.py:95-105 | akshare/stock/finance/stock_report_em.py:49-56 | akshare/stock/finance/stock_report_em.py:149-156 | akshare/stock/finance/stock_report_em.py:249-256 | akshare/stock/finance/stock_report_em.py:355-362 | akshare/stock/finance/stock_yjyg_em.py:43-50 | akshare/stock/finance/stock_yjyg_em.py:160-167 | akshare/stock/finance/stock_yjyg_em.py:295-302 | akshare/stock/flow/stock_lhb_em.py:50-57 | akshare/stock/flow/stock_lhb_em.py:255-262 | akshare/stock/holder/stock_gddh_em.py:41-48 | akshare/stock/holder/stock_gdhs.py:60-67 | akshare/stock/holder/stock_gdhs.py:160-167 | akshare/stock/holder/stock_gdzjc_em.py:49-56 | akshare/stock/issue/stock_restricted_em.py:136-143 | akshare/stock/issue/stock_zf_pg.py:47-54 | akshare/stock/issue/stock_zf_pg.py:127-134 | akshare/stock/research/stock_hold_control_em.py:43-53 | akshare/stock/research/stock_profit_forecast_em.py:45-55 | akshare/stock/research/stock_zdhtmx_em.py:48-55 \u2014 before extracting anything, compare \u0060akshare/futures/futures_comex_em.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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, \u0060akshare/futures/futures_comex_em.py:45\u0060 calls \u0060get_tqdm\u0060 and \u0060akshare/stock/finance/stock_yjyg_em.py:293\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":"akshare/futures/futures_comex_em.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b1a6696a3b128523c356c67c00e46dbb82eff41d69871a227ccfe39de4d0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): akshare/stock/flow/stock_hsgt_em.py:218-225 | akshare/stock/flow/stock_hsgt_em.py:319-326 | akshare/stock/flow/stock_hsgt_em.py:433-440 | akshare/stock/flow/stock_hsgt_em.py:547-554 | akshare/stock/flow/stock_hsgt_em.py:1288-1294 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_em.py:218\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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d929259be195df1304244fc43addfd0153a63584da37f152d65bb296fd93f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): akshare/stock/quote/stock_zh_a_sina.py:267-274 | akshare/stock/quote/stock_zh_a_sina.py:295-302 | akshare/stock/quote/stock_zh_b_sina.py:233-239 | akshare/stock/quote/stock_zh_b_sina.py:258-264 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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 \u0060akshare/stock/quote/stock_zh_a_sina.py:267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba4a02e61eb67e50a050ec656cba7cfc44b5e385752ddd7533ab1f093a5f8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): akshare/futures/futures_hog.py:32-39 | akshare/futures/futures_hog.py:43-50 | akshare/futures/futures_hog.py:76-83 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5916\u4E09\u5143\u0022\u0060 in one and \u0060str = \u0022\u7389\u7C73\u0022\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":"akshare/futures/futures_hog.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4cf6f8d44f36389c6d634d4fe9d9dae7a3bfab3a2dceb3e5bf84a541ca843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): akshare/stock/issue/stock_fhps_em.py:43-48 | akshare/stock/issue/stock_fhps_em.py:165-170 | akshare/stock/research/stock_profit_forecast_em.py:39-46 \u2014 before extracting anything, compare \u0060akshare/stock/issue/stock_fhps_em.py\u0060 and \u0060akshare/stock/research/stock_profit_forecast_em.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/research/stock_profit_forecast_em.py:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/stock/issue/stock_fhps_em.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"562cb3e0fc65ee06ea5a6d93c1a6ed1503b838d358d6875678c3040c762d8852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): akshare/stock/issue/stock_finance_sina.py:617-624 | akshare/stock/issue/stock_finance_sina.py:689-696 | akshare/stock/issue/stock_finance_sina.py:749-756 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022600000\u0022\u0060 in one and \u0060str = \u0022600004\u0022\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 before the matched lines, \u0060akshare/stock/issue/stock_finance_sina.py:616\u0060 calls \u0060set_option\u0060 and \u0060akshare/stock/issue/stock_finance_sina.py:687\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e95ab6d5d0889447d5541f8eae81797d506d715ae272b6498908ea207d520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): akshare/stock/quote/stock_hk_sina.py:230-237 | akshare/stock/quote/stock_zh_kcb_sina.py:227-234 | akshare/stock/quote/stock_zh_kcb_sina.py:239-246 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/quote/stock_hk_sina.py:230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb163ad20fd1a2f511994dfa135b2fd154d0bf289b18e5035fa94dc58df5790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): akshare/fund/fund_em.py:671-681 | akshare/fund/fund_em.py:685-695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83e92b9185ea9f43e58399b56bd8bc2af87a0a214bcf50be414a0b64bb5fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/futures/futures_basis.py:103-110 | akshare/futures/futures_basis.py:309-316 \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":"akshare/futures/futures_basis.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35da23b3a17843430097bb9f9defcb977945dc2bad060f4254563bf2bb3649c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/futures/futures_cftc_js.py:144-151 | akshare/spot/spot_sge_js.py:22-29 \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":"akshare/futures/futures_cftc_js.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b0948e1adf829dc17350b9a7efcceb8150eed3a9e9151e9ffb30fd9a1c46ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/futures/futures_cot_sina.py:37-44 | akshare/futures/futures_cot_sina.py:45-52 \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":"akshare/futures/futures_cot_sina.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"753f0e2b99bb91233f5c6f45963b377e3248ac95ae9cfe34cb51fda575a3f59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/option/option_lhb_em.py:97-104 | akshare/option/option_lhb_em.py:152-159 \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 \u0060akshare/option/option_lhb_em.py:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_lhb_em.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05475d65f4d738962a6658630697336bc96a98ca7b71a694338574b945785ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/stock/quote/stock_zh_b_sina.py:223-230 | akshare/stock/quote/stock_zh_b_sina.py:248-255 \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":"akshare/stock/quote/stock_zh_b_sina.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560065c929c240f8fd7962053faac27fff6638d94d5fd92b5c0b5fd09b86f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/stock/valuation/stock_us_valuation_baidu.py:47-54 | akshare/stock/valuation/stock_zh_valuation_baidu.py:46-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_us_valuation_baidu.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"811ecaa5abf223c6d2c3e450d23dbeb6cba5e9e17409a6a69956893d85a6621b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 49): akshare/bond/bond_zh_cov.py:333-337 | akshare/futures/futures_comex_em.py:42-48 | akshare/index/index_sox_em.py:35-39 | akshare/interest_rate/interest_rate_interbank_em.py:90-96 | akshare/interest_rate/interest_rate_lpr_em.py:39-43 | akshare/macro/macro_china.py:707-711 | akshare/macro/macro_china.py:776-780 | akshare/macro/macro_china.py:845-849 | akshare/macro/macro_china.py:914-918 | akshare/macro/macro_china.py:983-987 | akshare/macro/macro_china.py:1052-1056 | akshare/macro/macro_china.py:1124-1128 | akshare/macro/macro_china.py:1193-1197 | akshare/macro/macro_china.py:1262-1266 | akshare/macro/macro_china.py:1331-1335 | akshare/macro/macro_china.py:1400-1404 | akshare/macro/macro_china.py:1469-1473 | akshare/stock/board/stock_comment_em.py:40-44 | akshare/stock/finance/stock_report_em.py:44-50 | akshare/stock/finance/stock_report_em.py:144-150 | akshare/stock/finance/stock_report_em.py:244-250 | akshare/stock/finance/stock_report_em.py:350-356 | akshare/stock/flow/stock_lhb_em.py:45-51 | akshare/stock/flow/stock_lhb_em.py:250-256 | akshare/stock/flow/stock_lhb_em.py:351-355 | akshare/stock/flow/stock_lhb_em.py:448-452 | akshare/stock/flow/stock_lhb_em.py:526-530 | akshare/stock/flow/stock_lhb_em.py:661-665 | akshare/stock/flow/stock_lhb_em.py:896-900 | akshare/stock/holder/stock_gddh_em.py:36-42 | akshare/stock/holder/stock_gdfx_em.py:39-43 | akshare/stock/holder/stock_gdfx_em.py:140-144 | akshare/stock/holder/stock_gdfx_em.py:242-246 | akshare/stock/holder/stock_gdfx_em.py:324-328 | akshare/stock/holder/stock_gdfx_em.py:506-510 | akshare/stock/holder/stock_gdfx_em.py:602-606 | akshare/stock/holder/stock_gdfx_em.py:688-692 | akshare/stock/holder/stock_gdfx_em.py:785-789 | akshare/stock/holder/stock_gdfx_em.py:888-892 | akshare/stock/holder/stock_gdfx_em.py:950-954 | akshare/stock/holder/stock_gdhs.py:55-61 | akshare/stock/holder/stock_gdhs.py:155-161 | akshare/stock/holder/stock_gdzjc_em.py:44-50 | akshare/stock/holder/stock_gpzy_em.py:114-118 | akshare/stock/issue/stock_dxsyl_em.py:40-44 | akshare/stock/issue/stock_dxsyl_em.py:292-296 | akshare/stock/issue/stock_zf_pg.py:42-48 | akshare/stock/issue/stock_zf_pg.py:122-128 | akshare/stock/research/stock_zdhtmx_em.py:43-49 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/futures/futures_comex_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_comex_em.py:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/futures/futures_comex_em.py:39\u0060 calls \u0060f\u0060 and \u0060akshare/bond/bond_zh_cov.py:330\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86305aabcb73817a2dad52a9b5e6d15ec5fc5f6b5f36daf8d4c4fb4e52bfe41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): akshare/bond/bond_issue_cninfo.py:90-114 | akshare/bond/bond_issue_cninfo.py:185-209 | akshare/bond/bond_issue_cninfo.py:282-307 | akshare/bond/bond_issue_cninfo.py:428-434 | akshare/bond/bond_issue_cninfo.py:522-540 | akshare/futures/futures_contract_info_ine.py:43-56 | akshare/futures/futures_contract_info_shfe.py:44-57 | akshare/stock/finance/stock_yjyg_cninfo.py:72-84 | akshare/stock/finance/stock_yjyg_em.py:318-336 | akshare/stock/holder/stock_gddh_em.py:66-83 | akshare/stock/issue/stock_fhps_em.py:209-235 | akshare/stock/issue/stock_tfp_em.py:62-79 | akshare/stock/other/stock_esg_sina.py:130-153 | akshare/stock/research/stock_new_cninfo.py:130-152 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/stock/research/stock_new_cninfo.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_issue_cninfo.py:282\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220241129\u0022\u0060 in one and \u0060str = \u002220240513\u0022\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, \u0060akshare/stock/holder/stock_gddh_em.py:83\u0060 calls \u0060to_datetime\u0060 and \u0060akshare/bond/bond_issue_cninfo.py:307\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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"324aa5306e1b550b350a5df2f69d674230f4803f4aae0807957d4b8d24e783da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): akshare/bond/bond_em.py:55-61 | akshare/stock/finance/stock_three_report_em.py:74-80 | akshare/stock/finance/stock_three_report_em.py:132-138 | akshare/stock/finance/stock_three_report_em.py:181-187 | akshare/stock/finance/stock_three_report_em.py:230-236 | akshare/stock/finance/stock_three_report_em.py:281-287 | akshare/stock/finance/stock_three_report_em.py:332-338 | akshare/stock/finance/stock_three_report_em.py:383-389 | akshare/stock/finance/stock_three_report_em.py:434-440 \u2014 there are 9 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 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_em.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca207df4c578bd72b2c845850e2d5da4a14ba8f4d5f1ca69e73605eb2478f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): akshare/futures/futures_hog.py:24-33 | akshare/futures/futures_hog.py:35-44 | akshare/futures/futures_hog.py:46-55 | akshare/futures/futures_hog.py:68-77 | akshare/futures/futures_hog.py:79-88 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hog.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"82245afd2c5557645cabccd0e90cfb16eeb8d2dd2a025644007e9c9c8650e64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): akshare/futures/futures_hog.py:30-35 | akshare/futures/futures_hog.py:41-46 | akshare/futures/futures_hog.py:74-79 | akshare/futures/futures_hog.py:85-91 | akshare/futures/futures_hog.py:208-213 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_hog.py:85\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5916\u4E09\u5143\u0022\u0060 in one and \u0060str = \u0022\u7389\u7C73\u0022\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 before the matched lines, \u0060akshare/futures/futures_hog.py:29\u0060 calls \u0060rename\u0060 and \u0060akshare/futures/futures_hog.py:207\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":"akshare/futures/futures_hog.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac719109cbb911f6ffe8bd697df91bf1eb2337a997d152705d75a5d5ab5041f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): akshare/stock/board/stock_hot_up_em.py:55-69 | akshare/stock/issue/stock_dxsyl_em.py:235-241 | akshare/stock/quote/stock_hist_em.py:1649-1670 | akshare/stock/quote/stock_us_famous.py:87-104 | akshare/stock/quote/stock_us_pink.py:89-106 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_hot_up_em.py\u0060 and \u0060akshare/stock/issue/stock_dxsyl_em.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_dxsyl_em.py:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/quote/stock_hist_em.py:1648\u0060 calls \u0060astype\u0060 and \u0060akshare/stock/issue/stock_dxsyl_em.py:235\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_up_em.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c142583f9023ad4abf2d296de8d3e07f80c960940fd6f9e792f77db92a0212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 14): akshare/bond/bond_convert.py:278-279 | akshare/crypto/crypto_js_spot.py:47-48 | akshare/fund/fund_em.py:207-213 | akshare/fund/fund_etf_sina.py:145-146 | akshare/fund/fund_manager.py:85-91 | akshare/fund/fund_rank_em.py:425-426 | akshare/futures/futures_daily_bar.py:255-256 | akshare/futures/futures_hq_sina.py:222-223 | akshare/index/index_stock_zh.py:494-495 | akshare/stock/flow/stock_hsgt_em.py:86-87 | akshare/stock/holder/stock_gpzy_em.py:81-82 | akshare/stock/quote/stock_hist_tx.py:132-133 | akshare/stock/research/stock_profit_forecast_em.py:128-136 | akshare/stock/research/stock_share_hold.py:188-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 14 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 14 times. 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":"akshare/bond/bond_convert.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce7e2251c8b9dc733ed439818dc58d5dd460358f531c320e4095e282218401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): akshare/option/option_lhb_em.py:96-102 | akshare/option/option_lhb_em.py:151-157 | akshare/option/option_lhb_em.py:206-212 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_lhb_em.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce713596dc40a6d2b022208361b8a105eb343d1c002d8fb7ae3bd2e33929e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): akshare/stock/quote/stock_zh_a_sina.py:257-263 | akshare/stock/quote/stock_zh_a_sina.py:284-290 | akshare/stock/quote/stock_zh_a_sina.py:312-318 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"add371942e96d03f9f4ae4b631287ba4eb7339bbc339e610852a8e05fb822797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): akshare/stock/quote/stock_zh_kcb_sina.py:152-158 | akshare/stock/quote/stock_zh_kcb_sina.py:184-191 | akshare/stock/quote/stock_zh_kcb_sina.py:207-214 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_kcb_sina.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"52914a01443cd7d9c2b90aff7007ebeefeb185762c16feb555a05dd0ab1221ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): akshare/stock/valuation/stock_hk_valuation_baidu.py:47-53 | akshare/stock/valuation/stock_us_valuation_baidu.py:48-54 | akshare/stock/valuation/stock_zh_valuation_baidu.py:47-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_hk_valuation_baidu.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f644ff6e97acb83b545a5d1b08c4cb4c07bdd82cb7b855ced1838e26250161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/alternative/alternative_movie_yien.py:256-263 | akshare/alternative/alternative_movie_yien.py:333-340 \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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cfc45b884a26e21fd74bebf8c6d64f435678ae68500a789509efd93eaa935a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): akshare/futures/futures_cot.py:625-631 | akshare/futures/futures_cot.py:776-782 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220230706\u0022\u0060 in one and \u0060str = \u002220190805\u0022\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":"akshare/futures/futures_cot.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"774788bcc88c863ba0c774830fb9969b88e0a4a639272f568d7c7f1fd29b5dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): akshare/futures/futures_hog.py:98-104 | akshare/futures/futures_hog.py:144-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_hog.py:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u7389\u7C73\u0022\u0060 in one and \u0060str = \u0022\u732A\u8089\u6279\u53D1\u4EF7\u0022\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":"akshare/futures/futures_hog.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"428db88bd684a872387c58df062c9a497eae3dcbdfc52fa32ab46cc94b89c0d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/stock/quote/stock_hk_sina.py:174-182 | akshare/stock/quote/stock_hk_sina.py:207-215 \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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2931acd8a45a7b18740c30758178849fdb6c7df5451c2b532c802b1de80a774a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:371-377 | akshare/stock/quote/stock_zh_b_sina.py:181-187 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b762c640d20550eedfc1e4e436db46d6275f2c4656ef7f60e607dc86694546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 50): akshare/bond/bond_em.py:35-40 | akshare/bond/bond_zh_cov.py:332-337 | akshare/futures/futures_comex_em.py:41-46 | akshare/index/index_sox_em.py:34-39 | akshare/interest_rate/interest_rate_interbank_em.py:89-94 | akshare/interest_rate/interest_rate_lpr_em.py:38-43 | akshare/macro/macro_china.py:706-711 | akshare/macro/macro_china.py:775-780 | akshare/macro/macro_china.py:844-849 | akshare/macro/macro_china.py:913-918 | akshare/macro/macro_china.py:982-987 | akshare/macro/macro_china.py:1051-1056 | akshare/macro/macro_china.py:1123-1128 | akshare/macro/macro_china.py:1192-1197 | akshare/macro/macro_china.py:1261-1266 | akshare/macro/macro_china.py:1330-1335 | akshare/macro/macro_china.py:1399-1404 | akshare/macro/macro_china.py:1468-1473 | akshare/stock/board/stock_comment_em.py:39-44 | akshare/stock/finance/stock_report_em.py:43-48 | akshare/stock/finance/stock_report_em.py:143-148 | akshare/stock/finance/stock_report_em.py:243-248 | akshare/stock/finance/stock_report_em.py:349-354 | akshare/stock/flow/stock_lhb_em.py:44-49 | akshare/stock/flow/stock_lhb_em.py:249-254 | akshare/stock/flow/stock_lhb_em.py:350-355 | akshare/stock/flow/stock_lhb_em.py:447-452 | akshare/stock/flow/stock_lhb_em.py:525-530 | akshare/stock/flow/stock_lhb_em.py:660-665 | akshare/stock/flow/stock_lhb_em.py:895-900 | akshare/stock/holder/stock_gddh_em.py:35-40 | akshare/stock/holder/stock_gdfx_em.py:38-43 | akshare/stock/holder/stock_gdfx_em.py:139-144 | akshare/stock/holder/stock_gdfx_em.py:241-246 | akshare/stock/holder/stock_gdfx_em.py:323-328 | akshare/stock/holder/stock_gdfx_em.py:505-510 | akshare/stock/holder/stock_gdfx_em.py:601-606 | akshare/stock/holder/stock_gdfx_em.py:687-692 | akshare/stock/holder/stock_gdfx_em.py:784-789 | akshare/stock/holder/stock_gdfx_em.py:887-892 | akshare/stock/holder/stock_gdfx_em.py:949-954 | akshare/stock/holder/stock_gdhs.py:54-59 | akshare/stock/holder/stock_gdhs.py:154-159 | akshare/stock/holder/stock_gdzjc_em.py:43-48 | akshare/stock/holder/stock_gpzy_em.py:113-118 | akshare/stock/issue/stock_dxsyl_em.py:39-44 | akshare/stock/issue/stock_dxsyl_em.py:291-296 | akshare/stock/issue/stock_zf_pg.py:41-46 | akshare/stock/issue/stock_zf_pg.py:121-126 | akshare/stock/research/stock_zdhtmx_em.py:42-47 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/bond/bond_zh_cov.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/futures/futures_comex_em.py:39\u0060 calls \u0060f\u0060 and \u0060akshare/bond/bond_em.py:33\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":"akshare/bond/bond_em.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ac3df9542f0b5d8a4ff163fdad2772929a1e2b338e5d1da2f415358257d5bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 47): akshare/bond/bond_zh_cov.py:333-338 | akshare/index/index_sox_em.py:35-40 | akshare/interest_rate/interest_rate_lpr_em.py:39-44 | akshare/macro/macro_china.py:707-712 | akshare/macro/macro_china.py:776-781 | akshare/macro/macro_china.py:845-850 | akshare/macro/macro_china.py:914-919 | akshare/macro/macro_china.py:983-988 | akshare/macro/macro_china.py:1052-1057 | akshare/macro/macro_china.py:1124-1129 | akshare/macro/macro_china.py:1193-1198 | akshare/macro/macro_china.py:1262-1267 | akshare/macro/macro_china.py:1331-1336 | akshare/macro/macro_china.py:1400-1405 | akshare/macro/macro_china.py:1469-1474 | akshare/macro/macro_china.py:3137-3142 | akshare/stock/board/stock_comment_em.py:40-45 | akshare/stock/flow/stock_hsgt_em.py:737-742 | akshare/stock/flow/stock_hsgt_em.py:805-810 | akshare/stock/flow/stock_hsgt_em.py:873-878 | akshare/stock/flow/stock_lhb_em.py:351-356 | akshare/stock/flow/stock_lhb_em.py:448-453 | akshare/stock/flow/stock_lhb_em.py:526-531 | akshare/stock/flow/stock_lhb_em.py:661-666 | akshare/stock/flow/stock_lhb_em.py:896-901 | akshare/stock/holder/stock_gdfx_em.py:39-44 | akshare/stock/holder/stock_gdfx_em.py:140-145 | akshare/stock/holder/stock_gdfx_em.py:242-247 | akshare/stock/holder/stock_gdfx_em.py:324-329 | akshare/stock/holder/stock_gdfx_em.py:506-511 | akshare/stock/holder/stock_gdfx_em.py:602-607 | akshare/stock/holder/stock_gdfx_em.py:688-693 | akshare/stock/holder/stock_gdfx_em.py:785-790 | akshare/stock/holder/stock_gdfx_em.py:888-893 | akshare/stock/holder/stock_gdfx_em.py:950-955 | akshare/stock/holder/stock_gpzy_em.py:114-119 | akshare/stock/issue/stock_dxsyl_em.py:40-45 | akshare/stock/issue/stock_dxsyl_em.py:292-297 | akshare/stock/issue/stock_ipo_declare.py:37-42 | akshare/stock/issue/stock_register_em.py:36-41 | akshare/stock/issue/stock_register_em.py:109-114 | akshare/stock/issue/stock_register_em.py:182-187 | akshare/stock/issue/stock_register_em.py:255-260 | akshare/stock/issue/stock_register_em.py:328-333 | akshare/stock/issue/stock_register_em.py:401-406 | akshare/stock/issue/stock_register_em.py:473-478 | akshare/stock/research/stock_analyst_em.py:39-44 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/index/index_sox_em.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060akshare/stock/flow/stock_lhb_em.py:348\u0060 calls \u0060f\u0060 and \u0060akshare/bond/bond_zh_cov.py:330\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"927b16352da66b28eb2585176f423f80ea70587c0563e26bfe7d8f2b9d7fdb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 36): akshare/bond/bond_zh_cov.py:335-340 | akshare/index/index_sox_em.py:37-42 | akshare/interest_rate/interest_rate_lpr_em.py:41-46 | akshare/macro/macro_china.py:709-714 | akshare/macro/macro_china.py:778-783 | akshare/macro/macro_china.py:847-852 | akshare/macro/macro_china.py:916-921 | akshare/macro/macro_china.py:985-990 | akshare/macro/macro_china.py:1054-1059 | akshare/macro/macro_china.py:1126-1131 | akshare/macro/macro_china.py:1195-1200 | akshare/macro/macro_china.py:1264-1269 | akshare/macro/macro_china.py:1333-1338 | akshare/macro/macro_china.py:1402-1407 | akshare/macro/macro_china.py:1471-1476 | akshare/stock/board/stock_comment_em.py:42-47 | akshare/stock/flow/stock_lhb_em.py:353-358 | akshare/stock/flow/stock_lhb_em.py:450-455 | akshare/stock/flow/stock_lhb_em.py:528-533 | akshare/stock/flow/stock_lhb_em.py:663-668 | akshare/stock/flow/stock_lhb_em.py:898-903 | akshare/stock/holder/stock_gdfx_em.py:41-46 | akshare/stock/holder/stock_gdfx_em.py:142-147 | akshare/stock/holder/stock_gdfx_em.py:244-249 | akshare/stock/holder/stock_gdfx_em.py:326-331 | akshare/stock/holder/stock_gdfx_em.py:508-513 | akshare/stock/holder/stock_gdfx_em.py:604-609 | akshare/stock/holder/stock_gdfx_em.py:690-695 | akshare/stock/holder/stock_gdfx_em.py:787-792 | akshare/stock/holder/stock_gdfx_em.py:890-895 | akshare/stock/holder/stock_gdfx_em.py:952-957 | akshare/stock/holder/stock_gpzy_em.py:116-121 | akshare/stock/issue/stock_dxsyl_em.py:42-47 | akshare/stock/issue/stock_dxsyl_em.py:294-299 | akshare/stock/issue/stock_fhps_em.py:46-51 | akshare/stock/issue/stock_fhps_em.py:168-173 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/index/index_sox_em.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:1134\u0060 calls \u0060drop_duplicates\u0060 and \u0060akshare/stock/issue/stock_dxsyl_em.py:302\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f074d171385640f57e01efae3b7ad56b9a1f22463c5bdc2ca3b55cf22efab3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): akshare/stock/quote/stock_hk_sina.py:229-234 | akshare/stock/quote/stock_zh_a_sina.py:266-271 | akshare/stock/quote/stock_zh_a_sina.py:294-299 | akshare/stock/quote/stock_zh_b_sina.py:232-237 | akshare/stock/quote/stock_zh_b_sina.py:257-262 | akshare/stock/quote/stock_zh_kcb_sina.py:180-185 | akshare/stock/quote/stock_zh_kcb_sina.py:203-208 | akshare/stock/quote/stock_zh_kcb_sina.py:226-231 | akshare/stock/quote/stock_zh_kcb_sina.py:238-243 \u2014 there are 9 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0ed0f6fbea9be9ca181992f16ead7bdb685f75783c2f56a2587e42e115313a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): akshare/fund/fund_amac.py:244-249 | akshare/macro/macro_china.py:2927-2935 | akshare/stock/holder/stock_gdfx_em.py:102-114 | akshare/stock/holder/stock_gdfx_em.py:204-216 | akshare/stock/research/stock_qsjy_em.py:85-92 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/macro/macro_china.py:2927\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/research/stock_qsjy_em.py:85\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_amac.py:244\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":"akshare/fund/fund_amac.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f3868d196da85fe641a7a11a589e9cdc3592116a38f716ca853ca1dcaccf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): akshare/alternative/alternative_car_cpca.py:187-192 | akshare/alternative/alternative_car_cpca.py:210-215 | akshare/alternative/alternative_car_cpca.py:217-222 | akshare/alternative/alternative_car_cpca.py:224-229 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_car_cpca.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b01182eff07bba2b4054ec56d7b9529f59401035c6e51a37af87d53e09cef5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 5): akshare/bond/bond_zh_cov.py:78-84 | akshare/bond/bond_zh_sina.py:134-140 | akshare/index/index_stock_hk.py:133-138 | akshare/index/index_stock_us_sina.py:31-32 | akshare/index/index_stock_zh.py:303-308 \u2014 before extracting anything, compare \u0060akshare/index/index_stock_hk.py\u0060 and \u0060akshare/index/index_stock_zh.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 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 \u0060akshare/bond/bond_zh_cov.py:78\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf6ef0e0907d62a568fa18f7e19615a6819cafcd3f31cd6e5fa5ae452c5e7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/futures/futures_cot_sina.py:37-42 | akshare/futures/futures_cot_sina.py:45-50 | akshare/futures/futures_cot_sina.py:53-58 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot_sina.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e9eb0f77133b821fba080a0cd73db9bbed8757c237d0d3bad56b8747cd83b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/futures/futures_cot_sina.py:37-42 | akshare/futures/futures_cot_sina.py:45-50 | akshare/futures/futures_hog.py:182-187 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The \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":"akshare/futures/futures_cot_sina.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"77681c6d5fd7d0dedd03c20259437b9d7802b10838c315175fa3a22c71e9ad79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/futures/futures_cot_sina.py:38-43 | akshare/futures/futures_cot_sina.py:46-51 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:75-80 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/research/stock_profit_forecast_hk_etnet.py:75\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":"akshare/futures/futures_cot_sina.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b519c2d0c6a02b0770c234bb34ebd36cebbab0467665ea74dc200b1ba8ad96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/stock/flow/stock_dzjy_em.py:36-41 | akshare/stock/holder/stock_gpzy_em.py:43-48 | akshare/stock/issue/stock_tfp_em.py:38-43 \u2014 before extracting anything, compare \u0060akshare/stock/flow/stock_dzjy_em.py\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 502 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/stock/flow/stock_dzjy_em.py:43\u0060 calls \u0060reset_index\u0060 and \u0060akshare/stock/holder/stock_gpzy_em.py:51\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":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2a6494354b24223f0f5e01aab46cb0d7fbd71eae1f4476392c3bdf9a37e60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/stock/quote/stock_zh_a_sina.py:192-198 | akshare/stock/quote/stock_zh_a_sina.py:372-377 | akshare/stock/quote/stock_zh_b_sina.py:182-187 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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 \u0060akshare/stock/quote/stock_zh_a_sina.py:192\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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7541a6d1bd583cc81e065f1d7ffe9e033a79a8efd9d35695361327e0f32b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): akshare/stock/quote/stock_zh_b_sina.py:223-228 | akshare/stock/quote/stock_zh_b_sina.py:248-253 | akshare/stock/quote/stock_zh_b_sina.py:273-278 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_b_sina.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba32b8a198a5c0b85410b460005bbfb54df2cfcbe3e49e0964771f99ee86a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akshare/alternative/alternative_movie_yien.py:508-517 | akshare/alternative/alternative_movie_yien.py:603-612 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220240218\u0022\u0060 in one and \u0060str = \u002220261113\u0022\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8920ac8e1f24e29eb1e4dd54f4053d6540cc80a977fcff3df311aed1146589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akshare/bond/bond_convert.py:85-90 | akshare/bond/bond_convert.py:197-204 \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 \u0060akshare/bond/bond_convert.py:85\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":"akshare/bond/bond_convert.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6dd69c26f51eef0540c829b34f4a0850f4e9aea39c91fd34ceae3fb537cc9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akshare/interest_rate/interest_rate_ibor_js.py:47-56 | akshare/interest_rate/interest_rate_ibor_js.py:92-101 \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":"akshare/interest_rate/interest_rate_ibor_js.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdf9c31893a95f5bef618799c2abf26a9e10cb2410ec62daf99b0c93574c459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): akshare/macro/macro_china.py:3059-3066 | akshare/macro/macro_china.py:3094-3101 \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":"akshare/macro/macro_china.py"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a788c00477d7d2f29a6bb138458ad03987196320c0d4aafe4db4a10f1b3848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akshare/option/option_commodity.py:64-70 | akshare/option/option_commodity.py:504-509 \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 \u0060akshare/option/option_commodity.py:64\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060date\u0060 to \u0060str = \u002220251016\u0022\u0060 in one and \u0060str = \u002220230724\u0022\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, \u0060akshare/option/option_commodity.py:510\u0060 calls \u0060strftime\u0060 and \u0060akshare/option/option_commodity.py:70\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"770d377932095a96b39dff0edd5b119224ddb47e1b8b4d727e44d14f63631177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 133): akshare/bond/bond_china.py:125-136 | akshare/bond/bond_convert.py:242-265 | akshare/bond/bond_zh_cov.py:419-444 | akshare/bond/bond_zh_cov.py:450-455 | akshare/bond/bond_zh_cov.py:662-673 | akshare/crypto/crypto_hold.py:48-69 | akshare/fund/fund_etf_em.py:153-157 | akshare/fund/fund_etf_sina.py:88-106 | akshare/fund/fund_lof_em.py:87-106 | akshare/fund/fund_rating.py:67-83 | akshare/fund/fund_reits.py:89-106 | akshare/futures/futures_hf_em.py:139-158 | akshare/futures/futures_to_spot.py:297-309 | akshare/futures/futures_warehouse_receipt.py:307-321 | akshare/futures/futures_zh_sina.py:533-554 | akshare/futures/futures_zh_sina.py:627-641 | akshare/fx/fx_forex_em.py:53-68 | akshare/index/index_research_fund_sw.py:46-56 | akshare/index/index_research_sw.py:239-249 | akshare/index/index_research_sw.py:311-325 | akshare/index/index_stock_hk.py:99-113 | akshare/index/index_stock_hk.py:189-207 | akshare/index/index_stock_zh.py:104-120 | akshare/index/index_stock_zh.py:177-196 | akshare/index/index_stock_zh.py:261-280 | akshare/macro/macro_china.py:85-107 | akshare/macro/macro_china.py:170-181 | akshare/macro/macro_china.py:216-236 | akshare/macro/macro_china.py:431-449 | akshare/macro/macro_china.py:1651-1669 | akshare/macro/macro_china.py:1721-1743 | akshare/macro/macro_china.py:1804-1826 | akshare/macro/macro_china.py:1892-1910 | akshare/macro/macro_china.py:1963-1983 | akshare/macro/macro_china.py:2035-2044 | akshare/macro/macro_china.py:2082-2094 | akshare/macro/macro_china.py:2136-2146 | akshare/macro/macro_china.py:2194-2216 | akshare/macro/macro_china.py:2277-2288 | akshare/macro/macro_china.py:2330-2340 | akshare/macro/macro_china.py:2381-2391 | akshare/macro/macro_china.py:2438-2460 | akshare/macro/macro_china.py:2570-2592 | akshare/macro/macro_china.py:2654-2665 | akshare/macro/macro_info_ws.py:76-90 | akshare/option/option_current_szse.py:49-56 | akshare/option/option_em.py:77-97 | akshare/option/option_em.py:150-170 | akshare/option/option_premium_analysis_em.py:56-72 | akshare/option/option_risk_analysis_em.py:55-72 | akshare/option/option_value_analysis_em.py:58-74 | akshare/stock/board/stock_board_concept_em.py:83-101 | akshare/stock/board/stock_board_concept_em.py:373-389 | akshare/stock/board/stock_board_concept_em.py:467-488 | akshare/stock/board/stock_board_industry_em.py:60-78 | akshare/stock/board/stock_board_industry_em.py:130-148 | akshare/stock/board/stock_board_industry_em.py:272-288 | akshare/stock/board/stock_board_industry_em.py:382-398 | akshare/stock/board/stock_board_industry_em.py:476-497 | akshare/stock/board/stock_board_industry_ths.py:383-400 | akshare/stock/board/stock_comment_em.py:88-108 | akshare/stock/board/stock_hot_up_em.py:56-70 | akshare/stock/board/stock_pankou_em.py:124-139 | akshare/stock/finance/stock_report_em.py:81-102 | akshare/stock/finance/stock_report_em.py:181-202 | akshare/stock/finance/stock_report_em.py:281-302 | akshare/stock/finance/stock_report_em.py:384-408 | akshare/stock/finance/stock_sy_em.py:451-462 | akshare/stock/finance/stock_yjbb_em.py:98-123 | akshare/stock/finance/stock_yjyg_em.py:87-112 | akshare/stock/flow/stock_account_em.py:54-76 | akshare/stock/flow/stock_dzjy_em.py:159-177 | akshare/stock/flow/stock_dzjy_em.py:215-229 | akshare/stock/flow/stock_dzjy_em.py:300-317 | akshare/stock/flow/stock_dzjy_em.py:579-604 | akshare/stock/flow/stock_fund_em.py:790-812 | akshare/stock/flow/stock_fund_em.py:878-900 | akshare/stock/flow/stock_fund_em.py:966-988 | akshare/stock/flow/stock_fund_em.py:1060-1082 | akshare/stock/flow/stock_fund_em.py:1172-1194 | akshare/stock/flow/stock_fund_em.py:1272-1295 | akshare/stock/flow/stock_lhb_em.py:384-406 | akshare/stock/flow/stock_lhb_em.py:560-589 | akshare/stock/flow/stock_lhb_em.py:686-700 | akshare/stock/flow/stock_lhb_em.py:802-817 | akshare/stock/flow/stock_lhb_em.py:849-864 | akshare/stock/flow/stock_margin_sse.py:118-130 | akshare/stock/flow/stock_margin_sse.py:185-199 | akshare/stock/holder/stock_gdfx_em.py:270-291 | akshare/stock/holder/stock_gdfx_em.py:412-427 | akshare/stock/holder/stock_gdhs.py:88-109 | akshare/stock/holder/stock_gdhs.py:112-118 | akshare/stock/holder/stock_gdhs.py:190-210 | akshare/stock/holder/stock_gdhs.py:218-222 | akshare/stock/holder/stock_gpzy_em.py:145-163 | akshare/stock/holder/stock_gpzy_em.py:246-267 | akshare/stock/holder/stock_gpzy_em.py:269-271 | akshare/stock/holder/stock_gpzy_em.py:342-355 | akshare/stock/holder/stock_gpzy_em.py:407-420 | akshare/stock/holder/stock_jgdy_em.py:93-109 | akshare/stock/issue/stock_dividend_cninfo.py:84-88 | akshare/stock/issue/stock_dxsyl_em.py:74-98 | akshare/stock/issue/stock_dxsyl_em.py:235-243 | akshare/stock/issue/stock_dxsyl_em.py:272-274 | akshare/stock/issue/stock_fhps_em.py:88-117 | akshare/stock/issue/stock_fhps_em.py:128-131 | akshare/stock/issue/stock_finance_sina.py:721-733 | akshare/stock/issue/stock_finance_sina.py:793-794 | akshare/stock/issue/stock_restricted_em.py:342-356 | akshare/stock/issue/stock_zf_pg.py:73-89 | akshare/stock/issue/stock_zf_pg.py:182-184 | akshare/stock/quote/stock_hist_em.py:97-101 | akshare/stock/quote/stock_hist_em.py:205-209 | akshare/stock/quote/stock_hist_em.py:313-317 | akshare/stock/quote/stock_hist_em.py:421-425 | akshare/stock/quote/stock_hist_em.py:532-536 | akshare/stock/quote/stock_hist_em.py:643-647 | akshare/stock/quote/stock_hist_em.py:752-756 | akshare/stock/quote/stock_hist_em.py:925-929 | akshare/stock/quote/stock_hist_em.py:1279-1296 | akshare/stock/quote/stock_hist_em.py:1364-1381 | akshare/stock/quote/stock_hist_em.py:1650-1671 | akshare/stock/quote/stock_hk_famous.py:79-96 | akshare/stock/quote/stock_hk_sina.py:83-104 | akshare/stock/quote/stock_us_famous.py:88-105 | akshare/stock/quote/stock_us_pink.py:90-107 | akshare/stock/quote/stock_zh_a_special.py:76-98 | akshare/stock/quote/stock_zh_a_special.py:166-188 | akshare/stock/quote/stock_zh_a_special.py:256-278 | akshare/stock/quote/stock_zh_ah_tx.py:80-98 | akshare/stock/quote/stock_zh_b_sina.py:101-119 | akshare/stock/research/stock_cg_guarantee.py:91-105 | akshare/stock/research/stock_industry_pe_cninfo.py:87-106 \u2014 before extracting anything, compare \u0060akshare/bond/bond_china.py\u0060 and \u0060akshare/stock/flow/stock_margin_sse.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_china.py:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/futures/futures_zh_sina.py:555\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_china.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":"akshare/bond/bond_china.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9752f8c04fc69c332002e167b2567e25007db099c665ac160bb8ca4afd4cdde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 88): akshare/bond/bond_convert.py:315-321 | akshare/bond/bond_em.py:104-112 | akshare/crypto/crypto_hold.py:65-69 | akshare/fund/fund_etf_ths.py:92-96 | akshare/fund/fund_rank_em.py:318-322 | akshare/fund/fund_rating.py:170-178 | akshare/fund/fund_rating.py:263-269 | akshare/fund/fund_rating.py:351-357 | akshare/fund/fund_report_cninfo.py:211-217 | akshare/fund/fund_xq.py:178-184 | akshare/futures/futures_cot.py:966-972 | akshare/futures/futures_cot.py:1060-1066 | akshare/futures/futures_cot.py:1306-1310 | akshare/futures/futures_hog.py:162-170 | akshare/futures/futures_hog.py:195-199 | akshare/futures/futures_to_spot.py:305-309 | akshare/fx/fx_china_bank_sina.py:111-115 | akshare/index/index_sw.py:86-90 | akshare/index/index_sw.py:148-152 | akshare/index/index_sw.py:210-214 | akshare/macro/macro_china.py:101-107 | akshare/macro/macro_china.py:228-236 | akshare/macro/macro_china.py:371-379 | akshare/macro/macro_china.py:441-449 | akshare/macro/macro_china.py:1661-1669 | akshare/macro/macro_china.py:1737-1743 | akshare/macro/macro_china.py:1818-1826 | akshare/macro/macro_china.py:1975-1983 | akshare/macro/macro_china.py:2090-2094 | akshare/macro/macro_china.py:2208-2216 | akshare/macro/macro_china.py:2452-2460 | akshare/macro/macro_china.py:2584-2592 | akshare/macro/macro_cnbs.py:55-59 | akshare/macro/macro_finance_ths.py:111-117 | akshare/option/option_commodity_sina.py:113-117 | akshare/option/option_finance_sina.py:124-128 | akshare/option/option_finance_sina.py:197-201 | akshare/option/option_finance_sina.py:270-274 | akshare/stock/board/stock_hot_up_em.py:66-70 | akshare/stock/finance/stock_gbjg_em.py:142-146 | akshare/stock/finance/stock_ipo_summary_cninfo.py:91-95 | akshare/stock/finance/stock_report_em.py:400-408 | akshare/stock/finance/stock_sy_em.py:189-193 | akshare/stock/finance/stock_sy_em.py:292-296 | akshare/stock/finance/stock_sy_em.py:392-396 | akshare/stock/finance/stock_yjbb_em.py:117-123 | akshare/stock/finance/stock_yjyg_em.py:106-112 | akshare/stock/flow/stock_account_em.py:68-76 | akshare/stock/flow/stock_dzjy_em.py:72-76 | akshare/stock/flow/stock_dzjy_em.py:503-507 | akshare/stock/flow/stock_dzjy_em.py:596-604 | akshare/stock/flow/stock_fund_em.py:87-95 | akshare/stock/flow/stock_fund_em.py:808-812 | akshare/stock/flow/stock_fund_em.py:896-900 | akshare/stock/flow/stock_fund_em.py:984-988 | akshare/stock/flow/stock_fund_em.py:1074-1082 | akshare/stock/flow/stock_fund_em.py:1186-1194 | akshare/stock/flow/stock_fund_em.py:1289-1295 | akshare/stock/flow/stock_hsgt_em.py:710-714 | akshare/stock/flow/stock_hsgt_em.py:779-783 | akshare/stock/flow/stock_hsgt_em.py:847-851 | akshare/stock/flow/stock_hsgt_em.py:915-919 | akshare/stock/flow/stock_lhb_em.py:581-589 | akshare/stock/flow/stock_lhb_em.py:813-817 | akshare/stock/flow/stock_lhb_em.py:860-864 | akshare/stock/holder/stock_gdfx_em.py:283-291 | akshare/stock/holder/stock_gdfx_em.py:558-564 | akshare/stock/holder/stock_gdfx_em.py:652-658 | akshare/stock/holder/stock_gdfx_em.py:741-747 | akshare/stock/holder/stock_gdfx_em.py:843-849 | akshare/stock/issue/stock_dxsyl_em.py:94-98 | akshare/stock/issue/stock_dxsyl_em.py:237-243 | akshare/stock/issue/stock_dxsyl_em.py:386-390 | akshare/stock/issue/stock_fhps_em.py:109-117 | akshare/stock/issue/stock_fhps_em.py:243-251 | akshare/stock/issue/stock_finance_sina.py:597-601 | akshare/stock/issue/stock_restricted_em.py:189-197 | akshare/stock/issue/stock_restricted_em.py:280-286 | akshare/stock/other/stock_technology_ths.py:1008-1012 | akshare/stock/quote/stock_summary.py:197-203 | akshare/stock/research/stock_cg_guarantee.py:101-105 | akshare/stock/research/stock_hold_num_cninfo.py:91-95 | akshare/stock/research/stock_industry_pe_cninfo.py:102-106 | akshare/stock/research/stock_new_cninfo.py:158-162 | akshare/stock/research/stock_profit_forecast_em.py:121-127 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:69-73 | akshare/stock/research/stock_share_hold.py:107-113 | akshare/stock/research/stock_zdhtmx_em.py:111-115 \u2014 there are 88 copies across 45 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 88 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/futures/futures_cot.py:972\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:112\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":"akshare/bond/bond_convert.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6d98133369225d6b59f8ef462fef272fedad40c56cecad9c66f7d8db89ab77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 87): akshare/bond/bond_em.py:104-112 | akshare/crypto/crypto_hold.py:66-70 | akshare/fund/fund_etf_ths.py:93-99 | akshare/fund/fund_manager.py:84-91 | akshare/fund/fund_rank_em.py:319-325 | akshare/fund/fund_rating.py:172-181 | akshare/fund/fund_rating.py:265-270 | akshare/fund/fund_rating.py:353-358 | akshare/fund/fund_report_cninfo.py:212-220 | akshare/fund/fund_xq.py:180-185 | akshare/futures/futures_contract_info_czce.py:94-98 | akshare/futures/futures_cot.py:966-972 | akshare/futures/futures_cot.py:1060-1066 | akshare/futures/futures_cot.py:1307-1313 | akshare/futures/futures_hog.py:162-170 | akshare/futures/futures_zh_sina.py:351-355 | akshare/futures/futures_zh_sina.py:441-445 | akshare/futures/futures_zh_sina.py:553-557 | akshare/futures/futures_zh_sina.py:640-644 | akshare/fx/fx_china_bank_sina.py:112-116 | akshare/index/index_sw.py:87-91 | akshare/index/index_sw.py:149-153 | akshare/index/index_sw.py:211-215 | akshare/macro/macro_china.py:102-108 | akshare/macro/macro_china.py:230-237 | akshare/macro/macro_china.py:373-382 | akshare/macro/macro_china.py:443-452 | akshare/macro/macro_china.py:1663-1670 | akshare/macro/macro_china.py:1739-1744 | akshare/macro/macro_china.py:1820-1829 | akshare/macro/macro_china.py:1977-1986 | akshare/macro/macro_china.py:2210-2219 | akshare/macro/macro_china.py:2454-2463 | akshare/macro/macro_china.py:2586-2595 | akshare/macro/macro_china.py:2764-2768 | akshare/macro/macro_cnbs.py:55-59 | akshare/macro/macro_finance_ths.py:112-120 | akshare/option/option_commodity_sina.py:114-118 | akshare/option/option_finance_sina.py:124-128 | akshare/option/option_finance_sina.py:197-201 | akshare/option/option_finance_sina.py:270-274 | akshare/stock/finance/stock_gbjg_em.py:143-149 | akshare/stock/finance/stock_ipo_summary_cninfo.py:92-98 | akshare/stock/finance/stock_report_em.py:402-411 | akshare/stock/finance/stock_sy_em.py:84-88 | akshare/stock/finance/stock_sy_em.py:190-196 | akshare/stock/finance/stock_sy_em.py:293-299 | akshare/stock/finance/stock_sy_em.py:393-397 | akshare/stock/finance/stock_sy_em.py:461-465 | akshare/stock/finance/stock_yjbb_em.py:118-126 | akshare/stock/finance/stock_yjyg_em.py:107-115 | akshare/stock/flow/stock_account_em.py:70-79 | akshare/stock/flow/stock_dzjy_em.py:73-77 | akshare/stock/flow/stock_dzjy_em.py:504-510 | akshare/stock/flow/stock_dzjy_em.py:598-607 | akshare/stock/flow/stock_fund_em.py:89-98 | akshare/stock/flow/stock_fund_em.py:809-815 | akshare/stock/flow/stock_fund_em.py:897-903 | akshare/stock/flow/stock_fund_em.py:985-991 | akshare/stock/flow/stock_fund_em.py:1076-1085 | akshare/stock/flow/stock_fund_em.py:1188-1197 | akshare/stock/flow/stock_fund_em.py:1290-1298 | akshare/stock/flow/stock_hsgt_em.py:711-717 | akshare/stock/flow/stock_hsgt_em.py:780-786 | akshare/stock/flow/stock_hsgt_em.py:848-854 | akshare/stock/flow/stock_hsgt_em.py:916-922 | akshare/stock/flow/stock_lhb_em.py:583-593 | akshare/stock/holder/stock_gdfx_em.py:285-294 | akshare/stock/holder/stock_gdfx_em.py:653-661 | akshare/stock/holder/stock_gdfx_em.py:742-750 | akshare/stock/holder/stock_gdfx_em.py:844-852 | akshare/stock/holder/stock_gpzy_em.py:354-358 | akshare/stock/holder/stock_gpzy_em.py:419-423 | akshare/stock/issue/stock_dxsyl_em.py:95-101 | akshare/stock/issue/stock_dxsyl_em.py:238-246 | akshare/stock/issue/stock_dxsyl_em.py:387-391 | akshare/stock/issue/stock_fhps_em.py:111-120 | akshare/stock/issue/stock_fhps_em.py:245-254 | akshare/stock/issue/stock_finance_sina.py:482-486 | akshare/stock/issue/stock_restricted_em.py:188-197 | akshare/stock/issue/stock_restricted_em.py:279-286 | akshare/stock/other/stock_technology_ths.py:1008-1012 | akshare/stock/quote/stock_summary.py:198-204 | akshare/stock/research/stock_industry_pe_cninfo.py:103-107 | akshare/stock/research/stock_new_cninfo.py:159-163 | akshare/stock/research/stock_profit_forecast_em.py:121-127 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:68-73 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/crypto/crypto_hold.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_manager.py:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/futures/futures_cot.py:972\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:112\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":"akshare/bond/bond_em.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62c35b555235a34f47a4dee79050aef14b34c680cba6e28e7f5cf5fd807d945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 85): akshare/alternative/alternative_movie_yien.py:665-669 | akshare/bond/bond_em.py:104-112 | akshare/crypto/crypto_hold.py:66-70 | akshare/fund/fund_etf_ths.py:93-99 | akshare/fund/fund_rank_em.py:319-325 | akshare/fund/fund_rating.py:172-181 | akshare/fund/fund_rating.py:265-270 | akshare/fund/fund_rating.py:353-358 | akshare/fund/fund_report_cninfo.py:212-220 | akshare/fund/fund_xq.py:180-185 | akshare/futures/futures_cot.py:968-975 | akshare/futures/futures_cot.py:1062-1069 | akshare/futures/futures_cot.py:1307-1313 | akshare/futures/futures_zh_sina.py:351-355 | akshare/futures/futures_zh_sina.py:441-445 | akshare/futures/futures_zh_sina.py:553-557 | akshare/futures/futures_zh_sina.py:640-644 | akshare/fx/fx_china_bank_sina.py:112-116 | akshare/index/index_sw.py:87-91 | akshare/index/index_sw.py:149-153 | akshare/index/index_sw.py:211-215 | akshare/macro/macro_china.py:102-108 | akshare/macro/macro_china.py:230-237 | akshare/macro/macro_china.py:373-382 | akshare/macro/macro_china.py:443-452 | akshare/macro/macro_china.py:1663-1670 | akshare/macro/macro_china.py:1739-1744 | akshare/macro/macro_china.py:1820-1829 | akshare/macro/macro_china.py:1977-1986 | akshare/macro/macro_china.py:2210-2219 | akshare/macro/macro_china.py:2454-2463 | akshare/macro/macro_china.py:2586-2595 | akshare/macro/macro_china.py:2764-2768 | akshare/macro/macro_cnbs.py:56-60 | akshare/macro/macro_finance_ths.py:112-120 | akshare/option/option_commodity_sina.py:114-118 | akshare/option/option_finance_sina.py:124-128 | akshare/option/option_finance_sina.py:197-201 | akshare/option/option_finance_sina.py:270-274 | akshare/stock/finance/stock_gbjg_em.py:143-149 | akshare/stock/finance/stock_ipo_summary_cninfo.py:92-98 | akshare/stock/finance/stock_report_em.py:402-411 | akshare/stock/finance/stock_sy_em.py:84-88 | akshare/stock/finance/stock_sy_em.py:190-196 | akshare/stock/finance/stock_sy_em.py:293-299 | akshare/stock/finance/stock_sy_em.py:393-397 | akshare/stock/finance/stock_sy_em.py:461-465 | akshare/stock/finance/stock_yjbb_em.py:118-126 | akshare/stock/finance/stock_yjyg_em.py:107-115 | akshare/stock/flow/stock_account_em.py:70-79 | akshare/stock/flow/stock_dzjy_em.py:73-77 | akshare/stock/flow/stock_dzjy_em.py:504-510 | akshare/stock/flow/stock_dzjy_em.py:598-607 | akshare/stock/flow/stock_fund_em.py:89-98 | akshare/stock/flow/stock_fund_em.py:809-815 | akshare/stock/flow/stock_fund_em.py:897-903 | akshare/stock/flow/stock_fund_em.py:985-991 | akshare/stock/flow/stock_fund_em.py:1076-1085 | akshare/stock/flow/stock_fund_em.py:1188-1197 | akshare/stock/flow/stock_fund_em.py:1290-1298 | akshare/stock/flow/stock_hsgt_em.py:711-717 | akshare/stock/flow/stock_hsgt_em.py:780-786 | akshare/stock/flow/stock_hsgt_em.py:848-854 | akshare/stock/flow/stock_hsgt_em.py:916-922 | akshare/stock/flow/stock_lhb_em.py:583-593 | akshare/stock/holder/stock_gdfx_em.py:285-294 | akshare/stock/holder/stock_gdfx_em.py:653-661 | akshare/stock/holder/stock_gdfx_em.py:742-750 | akshare/stock/holder/stock_gdfx_em.py:844-852 | akshare/stock/holder/stock_gpzy_em.py:354-358 | akshare/stock/holder/stock_gpzy_em.py:419-423 | akshare/stock/issue/stock_dxsyl_em.py:95-101 | akshare/stock/issue/stock_dxsyl_em.py:238-246 | akshare/stock/issue/stock_dxsyl_em.py:387-391 | akshare/stock/issue/stock_fhps_em.py:111-120 | akshare/stock/issue/stock_fhps_em.py:245-254 | akshare/stock/issue/stock_finance_sina.py:482-486 | akshare/stock/issue/stock_restricted_em.py:188-197 | akshare/stock/issue/stock_restricted_em.py:279-286 | akshare/stock/other/stock_technology_ths.py:1008-1012 | akshare/stock/quote/stock_summary.py:198-204 | akshare/stock/research/stock_industry_pe_cninfo.py:103-107 | akshare/stock/research/stock_new_cninfo.py:159-163 | akshare/stock/research/stock_profit_forecast_em.py:121-127 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:70-76 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/crypto/crypto_hold.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/alternative/alternative_movie_yien.py:665\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:108\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:112\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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d2d47dcb3e8314cf086d5c446fbac5f4e7076240417cb39ae225506b2da3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 84): akshare/bond/bond_em.py:104-112 | akshare/crypto/crypto_hold.py:66-70 | akshare/fund/fund_etf_ths.py:93-99 | akshare/fund/fund_rank_em.py:319-325 | akshare/fund/fund_rating.py:172-181 | akshare/fund/fund_rating.py:265-270 | akshare/fund/fund_rating.py:353-358 | akshare/fund/fund_report_cninfo.py:212-220 | akshare/fund/fund_xq.py:180-185 | akshare/futures/futures_cot.py:968-975 | akshare/futures/futures_cot.py:1062-1069 | akshare/futures/futures_cot.py:1307-1313 | akshare/futures/futures_zh_sina.py:351-355 | akshare/futures/futures_zh_sina.py:441-445 | akshare/futures/futures_zh_sina.py:553-557 | akshare/futures/futures_zh_sina.py:640-644 | akshare/fx/fx_china_bank_sina.py:112-116 | akshare/index/index_sw.py:87-91 | akshare/index/index_sw.py:149-153 | akshare/index/index_sw.py:211-215 | akshare/macro/macro_china.py:102-108 | akshare/macro/macro_china.py:230-237 | akshare/macro/macro_china.py:373-382 | akshare/macro/macro_china.py:443-452 | akshare/macro/macro_china.py:1663-1670 | akshare/macro/macro_china.py:1739-1744 | akshare/macro/macro_china.py:1820-1829 | akshare/macro/macro_china.py:1977-1986 | akshare/macro/macro_china.py:2210-2219 | akshare/macro/macro_china.py:2454-2463 | akshare/macro/macro_china.py:2586-2595 | akshare/macro/macro_china.py:2764-2768 | akshare/macro/macro_cnbs.py:56-60 | akshare/macro/macro_finance_ths.py:112-120 | akshare/option/option_commodity_sina.py:114-118 | akshare/option/option_finance_sina.py:125-129 | akshare/option/option_finance_sina.py:198-202 | akshare/option/option_finance_sina.py:271-275 | akshare/stock/finance/stock_gbjg_em.py:143-149 | akshare/stock/finance/stock_ipo_summary_cninfo.py:92-98 | akshare/stock/finance/stock_report_em.py:402-411 | akshare/stock/finance/stock_sy_em.py:84-88 | akshare/stock/finance/stock_sy_em.py:190-196 | akshare/stock/finance/stock_sy_em.py:293-299 | akshare/stock/finance/stock_sy_em.py:393-397 | akshare/stock/finance/stock_sy_em.py:461-465 | akshare/stock/finance/stock_yjbb_em.py:118-126 | akshare/stock/finance/stock_yjyg_em.py:107-115 | akshare/stock/flow/stock_account_em.py:70-79 | akshare/stock/flow/stock_dzjy_em.py:73-77 | akshare/stock/flow/stock_dzjy_em.py:504-510 | akshare/stock/flow/stock_dzjy_em.py:598-607 | akshare/stock/flow/stock_fund_em.py:89-98 | akshare/stock/flow/stock_fund_em.py:809-815 | akshare/stock/flow/stock_fund_em.py:897-903 | akshare/stock/flow/stock_fund_em.py:985-991 | akshare/stock/flow/stock_fund_em.py:1076-1085 | akshare/stock/flow/stock_fund_em.py:1188-1197 | akshare/stock/flow/stock_fund_em.py:1290-1298 | akshare/stock/flow/stock_hsgt_em.py:711-717 | akshare/stock/flow/stock_hsgt_em.py:780-786 | akshare/stock/flow/stock_hsgt_em.py:848-854 | akshare/stock/flow/stock_hsgt_em.py:916-922 | akshare/stock/flow/stock_lhb_em.py:583-593 | akshare/stock/flow/stock_lhb_em.py:814-820 | akshare/stock/flow/stock_lhb_em.py:861-867 | akshare/stock/holder/stock_gdfx_em.py:285-294 | akshare/stock/holder/stock_gdfx_em.py:653-661 | akshare/stock/holder/stock_gdfx_em.py:742-750 | akshare/stock/holder/stock_gdfx_em.py:844-852 | akshare/stock/holder/stock_gpzy_em.py:354-358 | akshare/stock/holder/stock_gpzy_em.py:419-423 | akshare/stock/issue/stock_dxsyl_em.py:95-101 | akshare/stock/issue/stock_dxsyl_em.py:238-246 | akshare/stock/issue/stock_dxsyl_em.py:387-391 | akshare/stock/issue/stock_fhps_em.py:111-120 | akshare/stock/issue/stock_fhps_em.py:245-254 | akshare/stock/issue/stock_finance_sina.py:482-486 | akshare/stock/issue/stock_restricted_em.py:281-289 | akshare/stock/quote/stock_summary.py:198-204 | akshare/stock/research/stock_industry_pe_cninfo.py:103-107 | akshare/stock/research/stock_new_cninfo.py:159-163 | akshare/stock/research/stock_profit_forecast_em.py:122-130 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:70-76 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/crypto/crypto_hold.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_rating.py:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:108\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:112\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":"akshare/bond/bond_em.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cd6a795d63dda928bc7b766c7fbc9496d3da20690f75e1b6f5f4b5b99ed211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 82): akshare/bond/bond_issue_cninfo.py:468-473 | akshare/fund/fund_report_cninfo.py:214-223 | akshare/futures/futures_cot.py:1310-1319 | akshare/futures/futures_hog.py:164-173 | akshare/futures/futures_rule.py:34-38 | akshare/futures/futures_to_spot.py:306-312 | akshare/futures/futures_zh_sina.py:133-137 | akshare/index/index_sw.py:88-92 | akshare/index/index_sw.py:150-154 | akshare/index/index_sw.py:212-216 | akshare/macro/macro_china.py:121-128 | akshare/macro/macro_china.py:449-458 | akshare/macro/macro_china.py:1751-1760 | akshare/macro/macro_china.py:1835-1844 | akshare/macro/macro_china.py:1989-1998 | akshare/macro/macro_china.py:2091-2097 | akshare/macro/macro_china.py:2228-2237 | akshare/macro/macro_china.py:2469-2478 | akshare/macro/macro_china.py:2601-2610 | akshare/macro/macro_china.py:2783-2788 | akshare/macro/macro_cnbs.py:62-68 | akshare/option/option_commodity_sina.py:131-135 | akshare/option/option_finance_sina.py:142-146 | akshare/option/option_finance_sina.py:215-219 | akshare/option/option_finance_sina.py:288-292 | akshare/option/option_margin.py:62-66 | akshare/stock/board/stock_board_concept_em.py:104-108 | akshare/stock/board/stock_board_industry_em.py:81-85 | akshare/stock/board/stock_board_industry_em.py:151-155 | akshare/stock/finance/stock_gbjg_em.py:149-154 | akshare/stock/finance/stock_ipo_summary_cninfo.py:101-107 | akshare/stock/finance/stock_sy_em.py:196-205 | akshare/stock/finance/stock_sy_em.py:299-306 | akshare/stock/finance/stock_sy_em.py:462-466 | akshare/stock/flow/stock_dzjy_em.py:78-84 | akshare/stock/flow/stock_dzjy_em.py:320-324 | akshare/stock/flow/stock_dzjy_em.py:422-431 | akshare/stock/flow/stock_dzjy_em.py:505-513 | akshare/stock/flow/stock_dzjy_em.py:622-631 | akshare/stock/flow/stock_fund_em.py:113-118 | akshare/stock/flow/stock_fund_em.py:434-443 | akshare/stock/flow/stock_fund_em.py:830-839 | akshare/stock/flow/stock_fund_em.py:918-927 | akshare/stock/flow/stock_fund_em.py:1006-1015 | akshare/stock/flow/stock_fund_em.py:1307-1316 | akshare/stock/flow/stock_hsgt_em.py:624-633 | akshare/stock/flow/stock_hsgt_em.py:712-720 | akshare/stock/flow/stock_hsgt_em.py:781-789 | akshare/stock/flow/stock_hsgt_em.py:849-857 | akshare/stock/flow/stock_hsgt_em.py:917-925 | akshare/stock/flow/stock_hsgt_em.py:1339-1348 | akshare/stock/flow/stock_lhb_em.py:315-319 | akshare/stock/flow/stock_lhb_em.py:619-629 | akshare/stock/holder/stock_gdfx_em.py:291-298 | akshare/stock/holder/stock_gdfx_em.py:559-567 | akshare/stock/holder/stock_gdfx_em.py:655-662 | akshare/stock/holder/stock_gdfx_em.py:750-759 | akshare/stock/holder/stock_gdfx_em.py:852-861 | akshare/stock/holder/stock_gpzy_em.py:356-364 | akshare/stock/holder/stock_gpzy_em.py:421-429 | akshare/stock/holder/stock_hold.py:50-54 | akshare/stock/holder/stock_hold.py:114-120 | akshare/stock/issue/stock_dxsyl_em.py:400-405 | akshare/stock/issue/stock_finance_sina.py:598-602 | akshare/stock/issue/stock_restricted_em.py:191-200 | akshare/stock/issue/stock_restricted_em.py:283-292 | akshare/stock/issue/stock_restricted_em.py:357-363 | akshare/stock/quote/stock_hist_em.py:116-120 | akshare/stock/quote/stock_hist_em.py:224-228 | akshare/stock/quote/stock_hist_em.py:332-336 | akshare/stock/quote/stock_hist_em.py:440-444 | akshare/stock/quote/stock_hist_em.py:662-666 | akshare/stock/quote/stock_hist_em.py:771-775 | akshare/stock/quote/stock_hist_em.py:944-948 | akshare/stock/quote/stock_summary.py:205-211 | akshare/stock/research/stock_cg_equity_mortgage.py:94-98 | akshare/stock/research/stock_cg_guarantee.py:102-108 | akshare/stock/research/stock_hold_num_cninfo.py:96-102 | akshare/stock/research/stock_industry_pe_cninfo.py:109-117 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:74-78 | akshare/stock/research/stock_share_hold.py:109-114 | akshare/stock/research/stock_zdhtmx_em.py:112-118 \u2014 before extracting anything, compare \u0060akshare/bond/bond_issue_cninfo.py\u0060 and \u0060akshare/fund/fund_report_cninfo.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_issue_cninfo.py:468\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/bond/bond_issue_cninfo.py:466\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/futures/futures_rule.py:34\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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3caa4495bccf8df27b6b6f6763abf671763e52571ffc99dc57a12d82dacc55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 40): akshare/bond/bond_zh_cov.py:336-340 | akshare/index/index_sox_em.py:38-42 | akshare/interest_rate/interest_rate_lpr_em.py:42-46 | akshare/macro/macro_china.py:710-714 | akshare/macro/macro_china.py:779-783 | akshare/macro/macro_china.py:848-852 | akshare/macro/macro_china.py:917-921 | akshare/macro/macro_china.py:986-990 | akshare/macro/macro_china.py:1055-1059 | akshare/macro/macro_china.py:1127-1131 | akshare/macro/macro_china.py:1196-1200 | akshare/macro/macro_china.py:1265-1269 | akshare/macro/macro_china.py:1334-1338 | akshare/macro/macro_china.py:1403-1407 | akshare/macro/macro_china.py:1472-1476 | akshare/stock/board/stock_comment_em.py:43-47 | akshare/stock/finance/stock_sy_em.py:125-129 | akshare/stock/finance/stock_sy_em.py:234-238 | akshare/stock/finance/stock_sy_em.py:335-339 | akshare/stock/finance/stock_sy_em.py:427-431 | akshare/stock/flow/stock_lhb_em.py:354-358 | akshare/stock/flow/stock_lhb_em.py:451-455 | akshare/stock/flow/stock_lhb_em.py:529-533 | akshare/stock/flow/stock_lhb_em.py:664-668 | akshare/stock/flow/stock_lhb_em.py:899-903 | akshare/stock/holder/stock_gdfx_em.py:42-46 | akshare/stock/holder/stock_gdfx_em.py:143-147 | akshare/stock/holder/stock_gdfx_em.py:245-249 | akshare/stock/holder/stock_gdfx_em.py:327-331 | akshare/stock/holder/stock_gdfx_em.py:509-513 | akshare/stock/holder/stock_gdfx_em.py:605-609 | akshare/stock/holder/stock_gdfx_em.py:691-695 | akshare/stock/holder/stock_gdfx_em.py:788-792 | akshare/stock/holder/stock_gdfx_em.py:891-895 | akshare/stock/holder/stock_gdfx_em.py:953-957 | akshare/stock/holder/stock_gpzy_em.py:117-121 | akshare/stock/issue/stock_dxsyl_em.py:43-47 | akshare/stock/issue/stock_dxsyl_em.py:295-299 | akshare/stock/issue/stock_fhps_em.py:47-51 | akshare/stock/issue/stock_fhps_em.py:169-173 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/index/index_sox_em.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:1134\u0060 calls \u0060drop_duplicates\u0060 and \u0060akshare/stock/issue/stock_dxsyl_em.py:302\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff1712a497ace8c33a304299d95a83fc0bc1c202c9f619ca993bcdce88b891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 32): akshare/fund/fund_em.py:207-213 | akshare/fund/fund_etf_ths.py:92-96 | akshare/fund/fund_rank_em.py:318-322 | akshare/fund/fund_rating.py:170-178 | akshare/fund/fund_rating.py:263-269 | akshare/fund/fund_rating.py:351-357 | akshare/fund/fund_report_cninfo.py:211-217 | akshare/fx/fx_china_bank_sina.py:111-115 | akshare/macro/macro_china.py:371-379 | akshare/stock/finance/stock_gbjg_em.py:142-146 | akshare/stock/finance/stock_ipo_summary_cninfo.py:91-95 | akshare/stock/finance/stock_sy_em.py:189-193 | akshare/stock/finance/stock_sy_em.py:292-296 | akshare/stock/finance/stock_sy_em.py:392-396 | akshare/stock/flow/stock_dzjy_em.py:72-76 | akshare/stock/flow/stock_dzjy_em.py:503-507 | akshare/stock/flow/stock_fund_em.py:87-95 | akshare/stock/flow/stock_hsgt_em.py:710-714 | akshare/stock/flow/stock_hsgt_em.py:779-783 | akshare/stock/flow/stock_hsgt_em.py:847-851 | akshare/stock/flow/stock_hsgt_em.py:915-919 | akshare/stock/holder/stock_gdfx_em.py:558-564 | akshare/stock/holder/stock_gdfx_em.py:652-658 | akshare/stock/holder/stock_gdfx_em.py:741-747 | akshare/stock/holder/stock_gdfx_em.py:843-849 | akshare/stock/issue/stock_dxsyl_em.py:386-390 | akshare/stock/issue/stock_fhps_em.py:243-251 | akshare/stock/issue/stock_finance_sina.py:597-601 | akshare/stock/research/stock_hold_num_cninfo.py:91-95 | akshare/stock/research/stock_new_cninfo.py:158-162 | akshare/stock/research/stock_share_hold.py:107-113 | akshare/stock/research/stock_zdhtmx_em.py:111-115 \u2014 there are 32 copies across 21 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 32 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/fund/fund_em.py:214\u0060 calls \u0060strip\u0060 and \u0060akshare/stock/research/stock_share_hold.py:114\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":"akshare/fund/fund_em.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de1f81779b5fe115b7b980af85282453076f5fd3868282ebd8aaa023585f585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 29): akshare/stock/board/stock_comment_em.py:46-51 | akshare/stock/finance/stock_report_em.py:254-259 | akshare/stock/finance/stock_report_em.py:360-365 | akshare/stock/finance/stock_sy_em.py:128-132 | akshare/stock/finance/stock_sy_em.py:237-241 | akshare/stock/finance/stock_sy_em.py:338-342 | akshare/stock/finance/stock_yjyg_em.py:48-53 | akshare/stock/finance/stock_yjyg_em.py:165-170 | akshare/stock/flow/stock_dzjy_em.py:39-43 | akshare/stock/flow/stock_dzjy_em.py:363-367 | akshare/stock/flow/stock_dzjy_em.py:470-474 | akshare/stock/flow/stock_dzjy_em.py:553-558 | akshare/stock/flow/stock_lhb_em.py:260-264 | akshare/stock/flow/stock_lhb_em.py:357-361 | akshare/stock/flow/stock_lhb_em.py:454-458 | akshare/stock/flow/stock_lhb_em.py:532-536 | akshare/stock/flow/stock_lhb_em.py:667-671 | akshare/stock/holder/stock_gdfx_em.py:45-49 | akshare/stock/holder/stock_gdfx_em.py:248-253 | akshare/stock/holder/stock_gdfx_em.py:330-335 | akshare/stock/holder/stock_gdfx_em.py:608-613 | akshare/stock/holder/stock_gdfx_em.py:694-699 | akshare/stock/holder/stock_gdfx_em.py:791-796 | akshare/stock/holder/stock_gdfx_em.py:894-899 | akshare/stock/holder/stock_gdfx_em.py:956-961 | akshare/stock/holder/stock_gpzy_em.py:120-125 | akshare/stock/holder/stock_gpzy_em.py:220-224 | akshare/stock/issue/stock_restricted_em.py:141-146 | akshare/stock/research/stock_profit_forecast_em.py:53-58 \u2014 there are 29 copies across 10 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 29 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a09a34d6a21a8003bc08f4e2fc191834a636c9069c9f20a5786f9fd079d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 29): akshare/stock/board/stock_comment_em.py:46-51 | akshare/stock/finance/stock_report_em.py:253-259 | akshare/stock/finance/stock_report_em.py:359-365 | akshare/stock/finance/stock_sy_em.py:128-132 | akshare/stock/finance/stock_sy_em.py:237-241 | akshare/stock/finance/stock_sy_em.py:338-342 | akshare/stock/finance/stock_yjyg_em.py:47-53 | akshare/stock/finance/stock_yjyg_em.py:164-170 | akshare/stock/flow/stock_dzjy_em.py:39-43 | akshare/stock/flow/stock_dzjy_em.py:363-367 | akshare/stock/flow/stock_dzjy_em.py:470-474 | akshare/stock/flow/stock_dzjy_em.py:553-558 | akshare/stock/flow/stock_lhb_em.py:259-264 | akshare/stock/flow/stock_lhb_em.py:357-361 | akshare/stock/flow/stock_lhb_em.py:454-458 | akshare/stock/flow/stock_lhb_em.py:532-536 | akshare/stock/flow/stock_lhb_em.py:667-671 | akshare/stock/holder/stock_gdfx_em.py:45-49 | akshare/stock/holder/stock_gdfx_em.py:248-253 | akshare/stock/holder/stock_gdfx_em.py:330-335 | akshare/stock/holder/stock_gdfx_em.py:608-613 | akshare/stock/holder/stock_gdfx_em.py:694-699 | akshare/stock/holder/stock_gdfx_em.py:791-796 | akshare/stock/holder/stock_gdfx_em.py:894-899 | akshare/stock/holder/stock_gdfx_em.py:956-961 | akshare/stock/holder/stock_gpzy_em.py:120-125 | akshare/stock/issue/stock_restricted_em.py:140-146 | akshare/stock/issue/stock_tfp_em.py:41-46 | akshare/stock/research/stock_profit_forecast_em.py:52-58 \u2014 there are 29 copies across 11 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 29 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_report_em.py:253\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":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f6acfe5a6fd4d795c57397a9cb613dbdd6da742cac095ada5d5123e928ce56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): akshare/bond/bond_em.py:128-135 | akshare/futures/futures_zh_sina.py:362-368 | akshare/futures/futures_zh_sina.py:564-570 | akshare/fx/fx_china_bank_sina.py:113-117 | akshare/macro/macro_china.py:239-245 | akshare/macro/macro_china.py:379-388 | akshare/macro/macro_finance_ths.py:114-123 | akshare/option/option_lhb_em.py:95-99 | akshare/option/option_lhb_em.py:150-154 | akshare/option/option_lhb_em.py:205-209 | akshare/option/option_lhb_em.py:247-251 | akshare/option/option_risk_indicator_sse.py:64-68 | akshare/stock/finance/stock_sy_em.py:88-95 | akshare/stock/flow/stock_account_em.py:87-91 | akshare/stock/flow/stock_hsgt_em.py:1126-1135 | akshare/stock/flow/stock_hsgt_em.py:1218-1223 | akshare/stock/flow/stock_lhb_em.py:814-820 | akshare/stock/flow/stock_lhb_em.py:861-867 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/futures/futures_zh_sina.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_em.py:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/macro/macro_china.py:237\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:128\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":"akshare/bond/bond_em.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e62e4e48ae21f03794fd13ed0a11e17c42fb5709c7c184bc34238a615cdefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): akshare/index/index_sox_em.py:40-44 | akshare/macro/macro_china.py:712-716 | akshare/macro/macro_china.py:781-785 | akshare/macro/macro_china.py:850-854 | akshare/macro/macro_china.py:919-923 | akshare/macro/macro_china.py:988-992 | akshare/macro/macro_china.py:1057-1061 | akshare/macro/macro_china.py:1198-1202 | akshare/macro/macro_china.py:1267-1271 | akshare/macro/macro_china.py:1336-1340 | akshare/macro/macro_china.py:1405-1409 | akshare/macro/macro_china.py:1474-1478 | akshare/stock/holder/stock_gdfx_em.py:145-149 | akshare/stock/holder/stock_gdfx_em.py:511-515 | akshare/stock/issue/stock_dxsyl_em.py:45-49 | akshare/stock/issue/stock_dxsyl_em.py:162-166 | akshare/stock/issue/stock_repurchase_em.py:37-41 \u2014 before extracting anything, compare \u0060akshare/index/index_sox_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/index/index_sox_em.py:45\u0060 calls \u0060drop_duplicates\u0060 and \u0060akshare/stock/issue/stock_dxsyl_em.py:168\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sox_em.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4895fb0bdb416ed898a400bce67443c64ed70500d1850a416ef7caa2d6852c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14): akshare/index/index_sox_em.py:75-80 | akshare/macro/macro_china.py:557-562 | akshare/macro/macro_china.py:617-622 | akshare/macro/macro_china.py:678-683 | akshare/macro/macro_china.py:747-752 | akshare/macro/macro_china.py:816-821 | akshare/macro/macro_china.py:885-890 | akshare/macro/macro_china.py:954-959 | akshare/macro/macro_china.py:1023-1028 | akshare/macro/macro_china.py:1092-1097 | akshare/macro/macro_china.py:1233-1238 | akshare/macro/macro_china.py:1302-1307 | akshare/macro/macro_china.py:1371-1376 | akshare/macro/macro_china.py:1440-1445 \u2014 before extracting anything, compare \u0060akshare/index/index_sox_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 148 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":"akshare/index/index_sox_em.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3186ea87fe7362f4734480c3b18b6995242eeb16d02a33ccf90e1d81963cf24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13): akshare/bond/bond_zh_cov.py:339-344 | akshare/interest_rate/interest_rate_interbank_em.py:102-118 | akshare/stock/flow/stock_hsgt_em.py:224-229 | akshare/stock/flow/stock_hsgt_em.py:325-330 | akshare/stock/flow/stock_hsgt_em.py:439-443 | akshare/stock/flow/stock_hsgt_em.py:553-557 | akshare/stock/holder/stock_gdhs.py:64-86 | akshare/stock/holder/stock_gdhs.py:164-188 | akshare/stock/holder/stock_gdzjc_em.py:53-59 | akshare/stock/issue/stock_fhps_em.py:50-55 | akshare/stock/issue/stock_fhps_em.py:172-177 | akshare/stock/issue/stock_zf_pg.py:131-136 | akshare/stock/quote/stock_us_pink.py:46-50 \u2014 before extracting anything, compare \u0060akshare/bond/bond_zh_cov.py\u0060 and \u0060akshare/interest_rate/interest_rate_interbank_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_zh_cov.py:339\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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732ebc80eaa2f77bc6d35afd8e24c294220e6a812c6b477403585f214c3c5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): akshare/bond/bond_em.py:129-135 | akshare/fx/fx_china_bank_sina.py:113-117 | akshare/macro/macro_china.py:239-245 | akshare/macro/macro_china.py:380-388 | akshare/macro/macro_finance_ths.py:115-123 | akshare/stock/finance/stock_sy_em.py:89-95 | akshare/stock/flow/stock_account_em.py:87-91 | akshare/stock/flow/stock_hsgt_em.py:1127-1135 | akshare/stock/flow/stock_hsgt_em.py:1219-1223 | akshare/stock/flow/stock_lhb_em.py:814-820 | akshare/stock/flow/stock_lhb_em.py:861-867 | akshare/stock/valuation/stock_a_below_net_asset_statistics.py:59-65 \u2014 before extracting anything, compare \u0060akshare/bond/bond_em.py\u0060 and \u0060akshare/fx/fx_china_bank_sina.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 72 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 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, \u0060akshare/macro/macro_china.py:237\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/bond/bond_em.py:128\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":"akshare/bond/bond_em.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a366f2b68ab8a60281ee0c6abe6180909ca264a628256583534918a0785d09f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): akshare/bond/bond_zh_cov.py:180-185 | akshare/bond/bond_zh_cov.py:231-236 | akshare/fund/fund_etf_em.py:383-388 | akshare/fund/fund_etf_em.py:425-430 | akshare/fund/fund_lof_em.py:242-247 | akshare/fund/fund_lof_em.py:284-289 | akshare/futures/futures_hist_em.py:171-176 | akshare/stock/quote/stock_hist_em.py:1092-1097 | akshare/stock/quote/stock_hist_em.py:1134-1139 | akshare/stock/quote/stock_hist_em.py:1515-1520 | akshare/stock/quote/stock_hist_em.py:1557-1562 \u2014 there are 11 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_zh_cov.py:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c97d8b8f183acb02bb1962bc01b4fe7313b46092e8ba327a8ef78cf9f597791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): akshare/fund/fund_amac.py:244-250 | akshare/index/index_sp500_min.py:29-33 | akshare/macro/macro_china.py:2927-2936 | akshare/option/option_commodity_sina.py:158-162 | akshare/stock/board/stock_industry.py:70-74 | akshare/stock/holder/stock_gdfx_em.py:102-115 | akshare/stock/holder/stock_gdfx_em.py:204-217 | akshare/stock/holder/stock_gdfx_em.py:367-371 | akshare/stock/issue/stock_repurchase_em.py:116-120 | akshare/stock/quote/stock_zh_kcb_sina.py:118-122 | akshare/stock/research/stock_qsjy_em.py:85-93 \u2014 there are 11 copies across 9 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/macro/macro_china.py:2927\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/holder/stock_gdfx_em.py:365\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_amac.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":"akshare/fund/fund_amac.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"527da2278bc9db608f1e01899311aeedece70dc5e2f30db91c67522fb9f0523b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): akshare/bond/bond_summary.py:79-83 | akshare/fund/fund_amac.py:242-248 | akshare/futures/futures_comm_qihuo.py:192-196 | akshare/stock/board/stock_industry.py:64-68 | akshare/stock/holder/stock_gdfx_em.py:86-96 | akshare/stock/holder/stock_gdfx_em.py:188-198 | akshare/stock/holder/stock_gdfx_em.py:364-368 | akshare/stock/quote/stock_zh_kcb_sina.py:104-109 | akshare/stock/research/stock_qsjy_em.py:72-78 \u2014 there are 9 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/bond/bond_summary.py:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/bond/bond_summary.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3da1d5d59f748a523310306dbef8ff85e3891a464a7e85ceed25341623bc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): akshare/fx/fx_sentiment_jin10.py:37-43 | akshare/index/index_cni.py:83-90 | akshare/interest_rate/interest_rate_repo.py:60-64 | akshare/interest_rate/interest_rate_swap_cm.py:29-42 | akshare/stock/flow/stock_lhb_em.py:28-43 | akshare/stock/flow/stock_lhb_em.py:236-248 | akshare/stock/flow/stock_lhb_em.py:434-446 | akshare/stock/issue/stock_restricted_em.py:39-54 | akshare/stock/issue/stock_restricted_em.py:116-130 \u2014 there are 9 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/issue/stock_restricted_em.py:39\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 \u0060end_date\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str = \u002220240114\u0022\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":"akshare/fx/fx_sentiment_jin10.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6bd50dea232a77799a9e685c81b3068867e7f14e1d0ee3e5daa77eecf2ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): akshare/macro/macro_china.py:2702-2706 | akshare/macro/macro_china.py:2848-2852 | akshare/macro/macro_china.py:2882-2886 | akshare/macro/macro_china.py:2961-2965 | akshare/macro/macro_china.py:2995-2999 | akshare/macro/macro_china.py:3029-3033 | akshare/macro/macro_china.py:3063-3067 | akshare/macro/macro_china.py:3098-3102 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:3070\u0060 calls \u0060sort_values\u0060 and \u0060akshare/macro/macro_china.py:2889\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":"akshare/macro/macro_china.py"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d1e0c367602cadbe5cc9fa152ad91c73f2183cbc688d1acc72bc60b2dab76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): akshare/futures/futures_hog.py:31-35 | akshare/futures/futures_hog.py:42-46 | akshare/futures/futures_hog.py:75-79 | akshare/futures/futures_hog.py:135-139 | akshare/futures/futures_hog.py:145-149 | akshare/futures/futures_hog.py:209-213 | akshare/futures/futures_hog.py:220-224 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022\u5916\u4E09\u5143\u0022\u0060 in one and \u0060str = \u0022\u7389\u7C73\u0022\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 before the matched lines, \u0060akshare/futures/futures_hog.py:29\u0060 calls \u0060rename\u0060 and \u0060akshare/futures/futures_hog.py:207\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":"akshare/futures/futures_hog.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf49dfaf1756677a04d7f6316f78d385298e63004c49f2a6af1959acacfcdac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): akshare/stock/other/stock_technology_ths.py:387-411 | akshare/stock/other/stock_technology_ths.py:481-505 | akshare/stock/other/stock_technology_ths.py:596-616 | akshare/stock/other/stock_technology_ths.py:698-718 | akshare/stock/other/stock_technology_ths.py:785-807 | akshare/stock/other/stock_technology_ths.py:875-897 | akshare/stock/other/stock_technology_ths.py:981-985 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/other/stock_technology_ths.py:981\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":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"956b6bb52126a3d998f960c0fab488c4f458ec00a1ec8530e17d6dc0a748e12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 8): akshare/bond/bond_zh_cov.py:189-195 | akshare/bond/bond_zh_cov.py:303-305 | akshare/fund/fund_etf_em.py:392-396 | akshare/fund/fund_lof_em.py:251-255 | akshare/index/index_zh_em.py:273-277 | akshare/stock/quote/stock_hist_em.py:1101-1105 | akshare/stock/quote/stock_hist_em.py:1216-1218 | akshare/stock/quote/stock_hist_em.py:1524-1528 \u2014 there are 8 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. 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":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b48c2957f9bb84d68a99bb3166e87987dffee4d2b458c33e1767cec6712e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): akshare/futures/futures_hog.py:164-174 | akshare/futures/futures_hog.py:197-201 | akshare/stock/flow/stock_hsgt_em.py:712-721 | akshare/stock/flow/stock_hsgt_em.py:781-790 | akshare/stock/flow/stock_hsgt_em.py:849-858 | akshare/stock/research/stock_profit_forecast_hk_etnet.py:74-79 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/futures/futures_hog.py:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/research/stock_profit_forecast_hk_etnet.py:73\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/futures/futures_hog.py:164\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":"akshare/futures/futures_hog.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc224b6909d155666a033a762c5e7849331e86b35b4220c11d92812675a158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): akshare/futures/futures_spot_sys.py:54-62 | akshare/futures/futures_warehouse_receipt.py:315-321 | akshare/option/option_lhb_em.py:95-99 | akshare/option/option_lhb_em.py:150-154 | akshare/option/option_lhb_em.py:205-209 | akshare/option/option_lhb_em.py:247-251 \u2014 there are 6 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 6 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":"akshare/futures/futures_spot_sys.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e07938ab76954f4f50595a2735a9a1392b96a10b7be2174fcd77239266a60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): akshare/stock/flow/stock_hsgt_em.py:221-225 | akshare/stock/flow/stock_hsgt_em.py:322-326 | akshare/stock/flow/stock_hsgt_em.py:436-440 | akshare/stock/flow/stock_hsgt_em.py:550-554 | akshare/stock/flow/stock_hsgt_em.py:965-969 | akshare/stock/flow/stock_hsgt_em.py:1290-1294 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3708e6ea3199b86403eab123c2dbcebf314bdfa9b4888ba6122579ab55b26176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): akshare/fund/fund_em.py:1049-1053 | akshare/macro/macro_china.py:3140-3144 | akshare/stock/flow/stock_hsgt_em.py:740-744 | akshare/stock/flow/stock_hsgt_em.py:808-812 | akshare/stock/flow/stock_hsgt_em.py:876-880 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"776580029f635c5b0284232fb7ecb06cab34b38c7d35d5ccb367dadfd269aebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): akshare/futures/futures_hf_em.py:115-155 | akshare/stock/finance/stock_sy_em.py:131-135 | akshare/stock/finance/stock_sy_em.py:240-244 | akshare/stock/finance/stock_sy_em.py:341-345 | akshare/stock/holder/stock_gdfx_em.py:794-799 \u2014 before extracting anything, compare \u0060akshare/futures/futures_hf_em.py\u0060 and \u0060akshare/stock/finance/stock_sy_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_sy_em.py:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"akshare/futures/futures_hf_em.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7a9076fbc900dd237d89641172f6ad50bb20f278b2251620a1a5c8cf988043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 6): akshare/energy/energy_oil_em.py:42-46 | akshare/futures/futures_index_ccidx.py:46-50 | akshare/interest_rate/interest_rate_lpr_em.py:53-56 | akshare/macro/macro_china.py:1165-1169 | akshare/macro/macro_china.py:1510-1514 | akshare/macro/macro_china.py:3177-3179 \u2014 before extracting anything, compare \u0060akshare/interest_rate/interest_rate_lpr_em.py\u0060 and \u0060akshare/macro/macro_china.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060akshare/macro/macro_china.py:3179\u0060 calls \u0060sort_values\u0060, \u0060drop_duplicates\u0060, \u0060reset_index\u0060 and \u0060akshare/futures/futures_index_ccidx.py:50\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":"akshare/energy/energy_oil_em.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9987627406ee0ddb91f369f3a157e121eda2de1fc8ef0ba8b5e04243993f0227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): akshare/futures/futures_cot.py:1306-1310 | akshare/futures/futures_cot_sina.py:37-41 | akshare/futures/futures_cot_sina.py:45-49 | akshare/futures/futures_cot_sina.py:53-57 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a9c0fa09644fde09afe934791411ae5b4af81004a526cebc438f11195054ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): akshare/futures/futures_receipt.py:76-80 | akshare/futures/futures_receipt.py:150-154 | akshare/futures/futures_receipt.py:327-331 | akshare/futures/futures_receipt.py:385-389 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"akshare/futures/futures_receipt.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7a7e6d87cbb083fe94a70e10677c53f292735c11878641aca246fe10c824d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): akshare/stock/board/stock_board_concept_em.py:339-343 | akshare/stock/board/stock_board_industry_em.py:346-350 | akshare/stock/flow/stock_fund_em.py:1006-1017 | akshare/stock/holder/stock_hold.py:114-122 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_em.py\u0060 and \u0060akshare/stock/board/stock_board_industry_em.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 424 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 \u0060akshare/stock/flow/stock_fund_em.py:1006\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/stock/holder/stock_hold.py:114\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/stock/board/stock_board_concept_em.py:339\u0060 does not \u2014 after which the two agree again for 5 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3977aae0508a792a51b5d3dad27f45fe6a54fc243e0c9ea792d3d2386b4e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): akshare/stock/flow/stock_hsgt_exchange_rate.py:39-43 | akshare/stock/flow/stock_hsgt_exchange_rate.py:68-72 | akshare/stock/flow/stock_hsgt_exchange_rate.py:125-129 | akshare/stock/flow/stock_hsgt_exchange_rate.py:182-186 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/flow/stock_hsgt_exchange_rate.py:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_exchange_rate.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3938508bc5c778e2313234cac140c9e1c2eb4d3947903767e113c7abb84e0d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): akshare/stock/quote/stock_hk_sina.py:129-133 | akshare/stock/quote/stock_zh_a_sina.py:194-198 | akshare/stock/quote/stock_zh_a_sina.py:373-377 | akshare/stock/quote/stock_zh_b_sina.py:183-187 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a871f297d95cffe6cec5c0e61083f4dc13020426ebcdefe68a0ba443c35c785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): akshare/fund/fund_etf_holding_js.py:75-79 | akshare/fund/fund_etf_holding_js.py:140-144 | akshare/macro/macro_china.py:241-248 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/macro/macro_china.py:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/macro/macro_china.py:239\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/fund/fund_etf_holding_js.py:75\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":"akshare/fund/fund_etf_holding_js.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d6c37fdcad6d5fd79a93bf51030dbb181bb81d3c5ef5a7de5f101ff91b2230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): akshare/fund/fund_manager.py:49-78 | akshare/stock/finance/stock_yjyg_em.py:51-55 | akshare/stock/finance/stock_yjyg_em.py:168-172 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/stock/finance/stock_yjyg_em.py:51\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":"akshare/fund/fund_manager.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb1d02d0cb408aa8de8580e21fd0ddfaea078a733466e35f78bd578bcb25e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): akshare/futures/futures_zh_sina.py:363-371 | akshare/futures/futures_zh_sina.py:447-451 | akshare/futures/futures_zh_sina.py:565-573 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"48af62bf2544be631ad5c2e174e7d2fa0635b8942d3fefd72d7bec9b8bab33ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): akshare/stock/board/stock_board_concept_em.py:339-343 | akshare/stock/board/stock_board_industry_em.py:346-350 | akshare/stock/flow/stock_hsgt_min_em.py:41-45 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_em.py\u0060 and \u0060akshare/stock/board/stock_board_industry_em.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 424 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":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b63d626283cdd268c50984c684d6d95913b1cdac5161db2a7ea27293366810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 4): akshare/fund/fund_em.py:784-785 | akshare/fund/fund_em.py:971-975 | akshare/fund/fund_em.py:1066-1071 | akshare/stock/flow/stock_hsgt_min_em.py:52-53 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060akshare/fund/fund_em.py:1066\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, \u0060akshare/fund/fund_em.py:782\u0060 calls \u0060sort_values\u0060, \u0060to_datetime\u0060 and \u0060akshare/fund/fund_em.py:1066\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":"akshare/fund/fund_em.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"171acc9b22c1ad7c1dc061521377b2c80b3c150757f5930e5db7ae908d65c25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/futures/futures_contract_detail.py:29-33 | akshare/stock/valuation/stock_market_legu.py:27-31 \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":"akshare/futures/futures_contract_detail.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907c02ae9934a637299baab9b8eff45aaa606d3f5c729edee8891a66468f187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/option/option_premium_analysis_em.py:76-80 | akshare/option/option_value_analysis_em.py:78-84 \u2014 before extracting anything, compare \u0060akshare/option/option_premium_analysis_em.py\u0060 and \u0060akshare/option/option_value_analysis_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 143 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/option/option_value_analysis_em.py:78\u0060 calls \u0060to_numeric\u0060 and \u0060akshare/option/option_premium_analysis_em.py:76\u0060 does not \u2014 after which the two agree again for 5 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":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4384f018fd4b02b80a11e9b664d6179950a512c628330f1e79c52ab222a0d554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/stock/board/stock_board_concept_ths.py:293-297 | akshare/stock/board/stock_board_industry_ths.py:364-368 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9111f2b0b32daea56b610756230163c759648a00857c1d3ba7aa130a2f6abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/stock/other/stock_esg_sina.py:25-29 | akshare/stock/other/stock_esg_sina.py:220-224 \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":"akshare/stock/other/stock_esg_sina.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf697d445ab32d58d923c656e85e3904d142650e1957df3b14fe21f29f0ee927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): akshare/bond/bond_cb_sina.py:17-29 | akshare/stock/issue/stock_finance_sina.py:519-531 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u0022sz128039\u0022\u0060 in one and \u0060str = \u0022600004\u0022\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":"akshare/bond/bond_cb_sina.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"597869ab42ead7ce1bd3d30a6bb70250f0df5b53f4e6b961a3b43cb1d243da07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): akshare/fund/fund_etf_em.py:19-41 | akshare/fund/fund_lof_em.py:20-42 | akshare/index/index_zh_em.py:18-39 | akshare/stock/flow/stock_fund_em.py:714-735 | akshare/stock/flow/stock_fund_em.py:1110-1130 \u2014 before extracting anything, compare \u0060akshare/fund/fund_etf_em.py\u0060 and \u0060akshare/fund/fund_lof_em.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 345 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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaeb0e9be1cd0d6693281368f487d3b446fc42e2652e85718a14d42a3c3054b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): akshare/stock/board/stock_hk_hot_rank_em.py:87-106 | akshare/stock/board/stock_hot_rank_em.py:106-125 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_hk_hot_rank_em.py\u0060 and \u0060akshare/stock/board/stock_hot_rank_em.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060symbol\u0060 to \u0060str = \u002200700\u0022\u0060 in one and \u0060str = \u0022SZ000665\u0022\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":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd76b6ebedd881eb29cc87890f0303ddd577dcd927e1744fa99ceb35d0afc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): akshare/index/index_stock_zh.py:45-56 | akshare/stock/quote/stock_zh_a_sina.py:39-50 | akshare/stock/quote/stock_zh_kcb_sina.py:30-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_zh.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"570bf6e81ed979d2a814b66750f08ebd76f7e2aec96f1d9c47c588497940845d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akshare/stock/board/stock_board_concept_ths.py:72-88 | akshare/stock/board/stock_board_industry_ths.py:69-85 \u2014 before extracting anything, compare \u0060akshare/stock/board/stock_board_concept_ths.py\u0060 and \u0060akshare/stock/board/stock_board_industry_ths.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 197 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":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4466c0e0ef7a7c9755274d8fc60a2cf961a1506f5a17d021e2e3e6a1d062f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): akshare/stock/quote/stock_zh_a_sina.py:329-351 | akshare/stock/quote/stock_zh_b_sina.py:288-310 \u2014 before extracting anything, compare \u0060akshare/stock/quote/stock_zh_a_sina.py\u0060 and \u0060akshare/stock/quote/stock_zh_b_sina.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd5776953bfb406f2ecb2f598e2e929e9bb2aadeeeb900cde1ad95dcffa9a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/bond/bond_buy_back_em.py:78-82 | akshare/bond/bond_buy_back_em.py:149-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70da60994f2d83f18aa05dddf6d19ba062152c47cacca0ac6a5b7baefa8fdda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): akshare/bond/bond_cb_ths.py:81-85 | akshare/index/index_spot.py:36-40 | akshare/index/index_stock_zh_csindex.py:103-107 \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":"akshare/bond/bond_cb_ths.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcce1dcb18cf3db8d2f7d2d1085994236ea78ee19ecfb1390194112ae7412f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): akshare/futures/futures_daily_bar.py:136-144 | akshare/futures/futures_daily_bar.py:708-716 \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":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edcce15eca94b936ae8340891e15b20d353127c2ab0a539601ddc8e4a0002e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/index/index_stock_zh.py:486-490 | akshare/stock/quote/stock_hist_tx.py:124-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_zh.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2aa099ba255ade0fca750500bf8f172d4857c1863d5ef2db17ed6f4a711072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): akshare/option/option_daily_stats_sse_szse.py:78-82 | akshare/option/option_daily_stats_sse_szse.py:132-136 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060akshare/option/option_daily_stats_sse_szse.py:131\u0060 calls \u0060join\u0060 and \u0060akshare/option/option_daily_stats_sse_szse.py:77\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_daily_stats_sse_szse.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f32b24584be4bae2ba92055eff228ac2ac61366a125a18c1f5f25b315461db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): akshare/spot/spot_hog_soozhu.py:56-63 | akshare/spot/spot_hog_soozhu.py:80-87 | akshare/spot/spot_hog_soozhu.py:104-111 | akshare/spot/spot_hog_soozhu.py:128-135 | akshare/spot/spot_hog_soozhu.py:152-159 | akshare/spot/spot_hog_soozhu.py:176-183 | akshare/spot/spot_hog_soozhu.py:200-207 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_hog_soozhu.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6bf4c13ace253f476a5bf6b196f80b1f252b4bb2b14750cb20f89389b96d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akshare/stock/board/stock_comment_em.py:179-184 | akshare/stock/board/stock_comment_em.py:216-221 \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":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6584ac52d7f8e8b0eae91a405bd40d268cf64f252dd966ab3d2760b2e3a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akshare/stock/quote/stock_hk_sina.py:169-174 | akshare/stock/quote/stock_us_sina.py:197-202 \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":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b227cff9786ca050bf17521f1ba6f60e71891ce80c2ce4d66d4568578ea14d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): scripts/build_registry.py:201-219 | scripts/build_registry.py:267-288 \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":"scripts/build_registry.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d781ab1e03c2bd0780c328475d2e3003572dc0860f0b0d089294a544034f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/build_registry.py:209-217 | scripts/build_registry.py:278-286 \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":"scripts/build_registry.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13f11056dd56e085241ba6107ccad4ca64d351a19ef88eac536bd555d57ee9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_air_hebei.py: 17.6% line coverage (6/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_air_hebei.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312acfc5b9c20f00582efef997650f875d282045d65d6eb32c7589e37abbc02e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_air_zhenqi.py: 16.7% line coverage (20/120)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_air_zhenqi.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a536a5f0b7d5619352f0f4cd30083b877e87c5e4f7954c7d6298c2f5fccb977"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_bank_nfra.py: 16.9% line coverage (13/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_bank_nfra.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6248d4b0a37f383f330c125d8beb218d9f324b0d708119ceaf9a720c32e3cc5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_car_cpca.py: 9.7% line coverage (15/154)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_car_cpca.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a8a68f1f9c1c2f559d9d81a19f030294b09e1c3fd2d4828a23b73e81859894"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_fortune_500.py: 21.1% line coverage (15/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_fortune_500.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c2af19ba00cc28da5892538d201238fc245f74d2c9b770e383947f47754f09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_fortune_bloomberg.py: 18.2% line coverage (6/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_fortune_bloomberg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd6a7852232c9ccf10ed94d39561d381866872fd47f8229bc547bc730ab48ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_fortune_forbes_500.py: 35.0% line coverage (7/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_fortune_forbes_500.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6705f4379a155c3ea8c6fb6a962e66459312a01bb69ebceb64291cad28a0f806"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_fortune_hurun.py: 8.2% line coverage (8/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_fortune_hurun.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d3799393802dd64ee9e3f098037f68db4edafa91af912d88e342ff83442f1f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_migration_baidu.py: 20.0% line coverage (10/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_migration_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17665518109f6845d295f27ac3acb836d22639bdb979a0936600d3649b1c1d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_movie_yien.py: 13.4% line coverage (25/186)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dc43e3009f9ff6220c8f5d384a38573cd1c3d943394aecf68ee0a6619026b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_news_cctv.py: 20.0% line coverage (18/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e72e2731a3326679da41f5259cf59c9f04cf7eda039b8833f6876cda543a69"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_nlp.py: 38.5% line coverage (5/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_nlp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d6090fa226341a8befb9acb17a8e890a8bb196af9dca3cc33bf9878abcf9b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_sunrise_tad.py: 15.4% line coverage (8/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_sunrise_tad.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852704a73e460d6fcc9e9422a595360f67dd273558b95d60e55027836028574f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_taptap.py: 19.0% line coverage (16/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_taptap.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"157b82880efb361438d34a58d7029ea677edb5f296396bee019373022442f0d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/alternative/alternative_weibo_nlp.py: 29.2% line coverage (7/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_weibo_nlp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"524dcbcd6dadd69b3663f0d6c10ad2b6bb5133eb2cbf98351b942509874cfbde"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_buy_back_em.py: 9.9% line coverage (7/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_buy_back_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"256de802624b7e3e36c8df4bd57aa7840e4fb17a3b61a1f60c0fb9d67d4d635a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_cb_sina.py: 25.9% line coverage (7/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_cb_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4601ca3a9bbad8b3a9d529f0d3b703de768cf7036f6978b101953d928928e1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_cb_ths.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_cb_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a3e267aead432a2f4d5fdc60bc2ecd98c3eb1b761c642e5a9fe786d1f513b3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_cbond.py: 12.7% line coverage (10/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_cbond.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98df15563c80254845c89a49dd865fd32f2916983265a481cf80dedc6293b958"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_china.py: 15.4% line coverage (10/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_china.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e44964534305efcf7a2fe1b39acf5747e26e8311091dc0e1e93238b552bde9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_china_money.py: 16.7% line coverage (11/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_china_money.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7fd5cf69ec87549291503e44261c22e01fd362fa5062f2be6f4c46c54fb917"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_convert.py: 12.6% line coverage (11/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_convert.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cdbc1dea53bab1dab24775fe5cb1ec162d241e864b0076476098e969b4d762"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_em.py: 12.0% line coverage (6/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8a88d76c7f6eb70335cdb42b92cd722ad14a1d03dee6ccc0e8c25c65c3a12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_gb_sina.py: 16.7% line coverage (6/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_gb_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc25ec5a000f925fec376ace8adb7cb0b6c6c677a0e46006681a1f392b850e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_info_cm.py: 44.9% line coverage (48/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_info_cm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7eaf4750ea637c9c0f86ca413089f4c7132dc8a96de56fe33a0034eafeb36a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_issue_cninfo.py: 8.5% line coverage (12/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"319aed373dd3386c0c5e4c77ccf277b6900fbda287d8840aa4673e3a4d0c1c8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_nafmii.py: 23.8% line coverage (5/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_nafmii.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf70f535d7b9c651c05a9f7f1fcd1939264cfa0082c61b56b1e7a55879bdde05"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_summary.py: 20.6% line coverage (7/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_summary.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33eedce42360c8bbce745c461560e52983345c10b1a5d5aae7062f50674b1bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_zh_cov.py: 10.4% line coverage (22/211)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_cov.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189a66bd64318d5eb7081647c38d225bafeb6720926ea94996cd4b7ef65774d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/bond/bond_zh_sina.py: 21.5% line coverage (14/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/bond/bond_zh_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df579bbdb3e0d06fe8b11dbcc3dbfb91ee267daab2814802b1cec87601f7f77"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/calendar/calendar_trade_date_hist.py: 34.8% line coverage (8/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/calendar/calendar_trade_date_hist.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c083062f58fe01dea76a8a0adde13a18732b0284c68e78454bead5178e0154fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/crypto/crypto_bitcoin_cme.py: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/crypto/crypto_bitcoin_cme.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab9c876750596dd5e0b06d189a4993a61343a6daa416a0241c238d4e892f6dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/crypto/crypto_hold.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/crypto/crypto_hold.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa5ac695901e925b495a3eadeacbe7a4ac7cf67ed6e4fdec5fa4bf7bb92651"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/crypto/crypto_js_spot.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/crypto/crypto_js_spot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ef57517a4754c1eb665470bea1eea4c172a9fa17aba920cfa6b5da24036680"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/energy/energy_carbon.py: 20.0% line coverage (11/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/energy/energy_carbon.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2baf0185642b4c863daf02d25901edd4b0c77efe897e249151f23985dc473"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/energy/energy_oil_em.py: 12.8% line coverage (6/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/energy/energy_oil_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31924eb974309fb613730425758553ca0af96c4c728a2c9dcca6c9f155df3cf7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_amac.py: 8.4% line coverage (31/369)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_amac.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee61ca95dc730164015df1a2b9fd551713c14527d1f4a1d39e8496cdb3b12cd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_announcement_em.py: 17.0% line coverage (8/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_announcement_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5202fea3cf3c17f621f58b861dc53e504f5d8065f21682aff060f4833afa559c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_aum_em.py: 15.4% line coverage (8/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_aum_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b114bb74d3fa83b7c6f62e55a343020d364142fada99be736bda127be5e341"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_em.py: 7.0% line coverage (33/471)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f6ae3a99469e76681fd2e28b93c881ddf20ffaa1565f53531cd80fe299cf1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_em.py: 7.9% line coverage (12/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc0eea2f09906792476d52779ff0903a2f6a84f816248c46ca5aaac2616fc4c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_holding_js.py: 12.9% line coverage (8/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_holding_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e042f0e7a99e705119f8771d3fffbe39d9b96169edd58fa0d231947bb49d76db"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_sina.py: 13.8% line coverage (11/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93dab8a174df7400412948433632382465672dca2853cb21cef343066d972e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_sse.py: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e4a2f4e8331c13a5b6f83a511cbe845d68720aa608792e369c404b38d1b305"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_szse.py: 30.4% line coverage (7/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_szse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b458e6368fff242d9bf9407b3a2e375ddce81a061463bcdb13764eef3a6c54"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_etf_ths.py: 13.0% line coverage (7/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_etf_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e5baeae74212928b4c7605d7dcb213420dbb11622a74d9f1234efb5681d651"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_fee_em.py: 9.1% line coverage (10/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_fee_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f7a005caab8446947a9765add08de136ea81a057645f4b3185dd3e6683b1a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_fhsp_em.py: 10.3% line coverage (10/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416b03e0ee684465eac992701db5167852b7a8c7ab3c77992eb7e78fea28edc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_info_ths.py: 26.9% line coverage (7/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_info_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f8e409414de8671405c2be86e26eb3a24d508d8526fb3c8c870f3a6a814c87"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_init_em.py: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_init_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b045fccd53c9c38fa6556cecf4aa14a72cda6d8de6eedee0117bb497e5e13c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_init_ths.py: 10.7% line coverage (6/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_init_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"095fa7353872ebf3ad87dd216405fd52c4fe376a57846add5e4eb9308da9182b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_lof_em.py: 9.9% line coverage (11/111)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_lof_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31100f66b4d9478cb9a341a23afbfd9bf3cd4dc18118ffca1109fbdb23db6ba0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_manager.py: 18.4% line coverage (7/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabe7717189a7abbc9b32a3b81d363c406c49bd3a437c38900ff9113769bffa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_overview_em.py: 31.6% line coverage (6/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_overview_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb32b674e579089186a05a10290972f80060ffb4df8101177ad35345f2fe32f8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_portfolio_em.py: 13.7% line coverage (17/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_portfolio_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0943c0709e34e6098ad3cae15c4f3b73d749b046f0ac213da19c183babee92c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_position_lg.py: 16.0% line coverage (8/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_position_lg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcd549580a9dae5d90b8fa22d95b5407edfe6d12852467b841d8d0fe1ef46fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_qdii_jsl.py: 11.1% line coverage (7/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_qdii_jsl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0c52828cbde5be0403f0d92b92e0abb09d4f74304026ab629b46b51d3252ea"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_rank_em.py: 7.7% line coverage (11/143)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_rank_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184380c2db737880f1563db2b9b9d5d8f096091e73c3b35f25bb618fa230afee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_rating.py: 8.5% line coverage (9/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_rating.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1578044b1ea27f90fe751dd32d9c5e651aab1890268c513cf2a9b683c8b21a2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_reits.py: 14.9% line coverage (11/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_reits.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1129bafa31cc5afaad934a83293128e8784808f985c002b46de9c576b690005d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_report_cninfo.py: 13.7% line coverage (10/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_report_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776cc34d261be7ece42c9b299cea7912471e996bbd75e7a82e585aa735d797da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_scale_em.py: 11.9% line coverage (7/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_scale_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f8551f058c35dc29ed7693a352c87feaea39e0c126f22eb2e44a855af54711"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_scale_sina.py: 12.3% line coverage (8/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_scale_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71d99a6044a0ac756f9345472161aceab7bfbf131ce2de1b4d1268a54960283"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_scale_szse.py: 17.2% line coverage (10/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_scale_szse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30cd07bb9db420fb467f84ff62e7ebbff58cd6a354b1000b72afb1e470be274"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fund/fund_xq.py: 9.6% line coverage (10/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fund/fund_xq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbf136e3bc1b4f942c5d38bbde374a1949bc2eb80887e8fff5ecea590965ff3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_basis.py: 11.6% line coverage (17/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_basis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1fec3e1363ab77588b75d5decb59ef7e52609bdc286cec29af7f8ae1a796d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_cftc_js.py: 10.7% line coverage (11/103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cftc_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7954695fbced7362cdaf1edb59e15b42f479b964138c997979890a6ec4cff774"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_comex_em.py: 18.8% line coverage (6/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_comex_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7276b8da9bba34691f981d43a0d3f1fd397f1c724d6f63a11850ebea9fabc60e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_comm_ctp.py: 42.1% line coverage (8/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_comm_ctp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5793f95892f1e054a8e9b4d460297d6cea81b1cba44f8d0ff1a93b5d18f6969b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_comm_js.py: 24.0% line coverage (6/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_comm_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f00169257efa5f634f3680bcb10357c952f52c2808aa9cc0ab0c32583ac18f5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_comm_qihuo.py: 21.5% line coverage (26/121)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_comm_qihuo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a322215fd2235583d9d701ef6bc6a77b9aae4c1042c83928ed1b13fe5582866"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_detail.py: 21.1% line coverage (8/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_detail.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4bcd8dea3dd20056e4ce5bbbf0058db64814ebc1d3a48d0e3974b9b6bb9181"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_cffex.py: 17.6% line coverage (6/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_cffex.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a60f0a0de27701092f1c76cb3665741adf0ce7ac1e82c0ea1808dbe1f655ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_czce.py: 20.7% line coverage (6/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_czce.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857606d312cd6566154c087c3992b42f5a76dbc59e99998fac3fa32bfc2529de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_dce.py: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_dce.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06023ff78ec832babd79abe091e90f83c46ed6146d33ad27589ebf451c0bad2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_gfex.py: 23.8% line coverage (5/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_gfex.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64733237f8d21258b23bab6d349594bbbcc9ce4f13ff0fdbec868246c702c65"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_ine.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_ine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f19174598f1189722ed416a85e1643dd628eb7cf17daa844022c4643515cf2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_contract_info_shfe.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_contract_info_shfe.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f9524700091d0d8c4c56afac6076fcf584f34e03844410e07594346c7d2a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_cot.py: 10.4% line coverage (55/529)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"970c4fe41bbc91fc121f2a225770068762cec5c87898770fa11bba9cda25dbaf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_cot_sina.py: 17.1% line coverage (6/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5b1d6bf9b6eb959244ec774ac9bce6929eeb0418495de5759de8d5414869ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_daily_bar.py: 15.0% line coverage (50/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81b2176a95ad96421b4c7f28513360a73cbb2e6f30c6dd141da18ecec75b069"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_foreign.py: 29.0% line coverage (9/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_foreign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c303694e98be010e701dc0dd8092c7431bd1193da7f8e648e5aa577d7f0c1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_hf_em.py: 10.9% line coverage (10/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hf_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e3514c64437fb95d423b493b14d5b3714002f00bf60aadee193c274ac37896"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_hist_em.py: 16.7% line coverage (14/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hist_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f029f979d61c1db4d3c75e0d171507a670e71a834b30c3cc081ffa172710f39c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_hog.py: 3.5% line coverage (7/200)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hog.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8591ed0055582fd7be3a78312d967995349e0bef32aa84b14df58cb8890011f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_hog_index.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hog_index.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcf60d2ef5902280ab94e70edfc1477be23b4380da5bb2680140dec66d54847"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_hq_sina.py: 13.1% line coverage (13/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_hq_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f30a65a688ee793e4697e5689e46e2452ddfbdcca1b00e4d20b25911ffcf35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_index_ccidx.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_index_ccidx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef4f3d614ff1f0eb010cc18fa02bb3bb687ef178bb0821d506692bab688c622"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_index_sina.py: 14.7% line coverage (11/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_index_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7f34bf124474dac512f0f74a3b4d0d00e79958f158f7ea17ded0ff77c7385d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_inventory_99.py: 25.9% line coverage (14/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_inventory_99.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63daba849dbc63296ad56f22374b96a9c0dc9c7d423572e6f6e573e11d9424"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_inventory_em.py: 19.4% line coverage (6/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_inventory_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ca1caa1bac42f4a07a74315aabbd04568e4f2982306f1b9dac07614194449"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_news_shmet.py: 20.8% line coverage (5/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_news_shmet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd62a0b8f94d764a29880dbb7e049cb90b7b5230a3b07d3649ba0b752c86aa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_receipt.py: 14.3% line coverage (50/349)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3144463eb897f667586afc8baa1e44ff7b4aa867c13ed8170a6526aad1547"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_roll_yield.py: 44.1% line coverage (41/93)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_roll_yield.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd423489a026de4ac5b5e052765fa35f2047a23e7bd83dbfb018dd474613b49"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_rule.py: 30.0% line coverage (6/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_rule.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c673da2035d701fc931ade2fe86fa7967df323c9f6d6448e79774c76a8564ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_settle.py: 9.3% line coverage (19/204)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_settle.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3fbe23bb111d3cfa870aefa9ad8a530295bf45fa914df35bbf6c7b25ff1bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_settlement_price_sgx.py: 31.0% line coverage (9/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_settlement_price_sgx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0586e92a3f3902f3cb8ab22cdb46d953430e3822a152e3da1f06c942cc4614"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_spot_stock_em.py: 18.2% line coverage (6/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_spot_stock_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5662972bceb823ab0002283ec1b9518b7129e82b94b7fb3bfc4a8c6c70e86112"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_spot_sys.py: 17.4% line coverage (8/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_spot_sys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac413eea51a31dd8f6a333342be48ef6d94ff61bab9d3be544624fe466b593"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_to_spot.py: 9.9% line coverage (13/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_to_spot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23d38165b8490200ad61aa7834b8f025176ca0c3756c558ead75d5e3bee80b9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_warehouse_receipt.py: 8.9% line coverage (16/180)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_warehouse_receipt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72e5f28a4eeff5b54833b3e52bf1ff92dc188ebef038bac52f97762f0336055"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/futures/futures_zh_sina.py: 13.7% line coverage (36/262)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77be4d016059b941932315f1ba09df8b708ebf8eac1b349f1b5fd81601360cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_c_swap_cm.py: 29.4% line coverage (5/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_c_swap_cm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e090741c0fce326a9c83f604733ace65301f265155807de94e558a152c6ff5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_china_bank_sina.py: 25.0% line coverage (11/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_china_bank_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aad4a4bec587e9eb7649fe75b61f3744bb3f6150b0f27aa2f80226956a6b61"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_currency_investing.py: 22.2% line coverage (8/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_currency_investing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"736a635df134a4b72db94049b863bc0ebcd8e6416bb1017eae1754d70a61391c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_forex_em.py: 19.0% line coverage (8/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_forex_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"644ce8e4fdc49b4c4e2d3dc4a92f66edcae903d4ec671c26b64e8e8012505f7a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_quote.py: 22.5% line coverage (9/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_quote.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c326f3a1ec6b1e1ebf51f35da47371bbb74189fa4f05ef49a25a0673b4018"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_quote_baidu.py: 14.0% line coverage (7/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_quote_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa52164797503047cfe81226dac2bd88d5a4b39a55c5bc46c524f768b3a822"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_safe.py: 26.5% line coverage (9/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_safe.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fccb10b2d7e47a14d5a58e52236c80b4e4d1f5496a31f7638569355f4f934b1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/fx/fx_sentiment_jin10.py: 25.0% line coverage (7/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/fx/fx_sentiment_jin10.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1860f95d649bcd6dff37c5b897ea60da7d73ff65a34a48311f4e724a8eba0539"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_cflp.py: 13.0% line coverage (6/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_cflp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a793a526a451809f5f2a5c730e133eb405167cd3d81631365b28e23a01fb443"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_cni.py: 12.3% line coverage (9/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_cni.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba5a48ab8bda9bac5182848148bbc5605703b614f161ca787cfb6c746db53f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_cons.py: 15.9% line coverage (13/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_cons.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3276a6aedbdb1c07d9ea0e017b022d9c2d63416eeb267abd21bde266883d18ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_csindex.py: 36.8% line coverage (7/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_csindex.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ca7e9dcbf1d7cf2140734f0b4541148c53c53c0be7b64c887c882393741c68"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_drewry.py: 17.5% line coverage (7/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_drewry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a586f3813ce1c68ebc27eb6f4cd6e464d83848a827f203cb87fccc686aef4db6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_global_em.py: 14.9% line coverage (7/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_global_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7c741d5b9ad7a874bf0fa3e2c2687c508517875557ae9b7065bf68acab46da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_global_sina.py: 24.1% line coverage (7/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_global_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5a7d46f6df62e8ca562a1251eb7ec8152ca1f441c09c319d3c369719f2e86b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_kq_ss.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_kq_ss.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d98dfb58b91d0a7f87186591a27dec003669cd2f429188e87839505488d56"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_option_qvix.py: 13.8% line coverage (25/181)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_option_qvix.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0441cdbe6068765d76071d3b36187909696f180e2df4a107b632c89d5bef3092"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_research_fund_sw.py: 14.9% line coverage (7/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_fund_sw.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fedcdf5e7f9d4250bf069c1dbae0d3d81872607305e298e462f5c9d4adacfb6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_research_sw.py: 9.8% line coverage (22/225)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_research_sw.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2448655bd1d0baf4ee5106219bfcfec6784bd7dd23e8483c2db2ffef5c0c0081"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_sox_em.py: 17.1% line coverage (6/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sox_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d729afbe8ecb5523f69f3ea844a695ee1335103a532b71496e94a253372ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_sp500_min.py: 29.4% line coverage (5/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sp500_min.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8459aa0fa83abe2459296e226cc6b3c1bad02e51265119ba5d350af9f2e78a5a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_spot.py: 22.7% line coverage (5/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_spot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"957f04cd1d161e03a0ef8444fc645dd11f11b1fd4dfcf33fdf0fe554d565bd8f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_stock_hk.py: 17.7% line coverage (17/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_hk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d479c0bad54277c6007a9db4b94896e3bd1074431fd5e65fcc44fc8044fed055"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_stock_us_sina.py: 30.4% line coverage (7/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_us_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6330a0ffb9d5d178fbb9812738a33b64f6ce92da8db129020fd0906f228022"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_stock_zh.py: 41.3% line coverage (100/242)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_zh.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67429780318e3a3c98519c07b7344205de13af28bbf6b1fc1db2b54d957b035b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_stock_zh_csindex.py: 15.0% line coverage (6/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_stock_zh_csindex.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717897c5a52e96bdbc1f0b9f52b1248d2660b094aae790ede4a6de4a2ca8373a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_sw.py: 13.1% line coverage (14/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_sw.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ec9943e418ef8f80ef6c26d25ba176755a7ca0d793d520676d5fdb00ac026"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/index/index_zh_em.py: 10.1% line coverage (13/129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/index/index_zh_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4010a1361199de6c8f80c242d0b8ea4a6a92fa778e5827decbcecf002c380"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/interest_rate/interest_rate_ibor_js.py: 9.3% line coverage (7/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_ibor_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5e4908a80fda8ce3be09bc047b9f5b5ad134d766a0618df6d2717d82b05873"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/interest_rate/interest_rate_interbank_em.py: 18.8% line coverage (6/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_interbank_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1587dbbc71767eb63c65113d807160a0c4fd812482363d6658ad513be1afc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/interest_rate/interest_rate_lpr_em.py: 18.8% line coverage (6/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_lpr_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b92d159f9111daef6413ead398b1d4bff703ddb520a0c8a8a90f3ae17acb12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/interest_rate/interest_rate_repo.py: 12.0% line coverage (6/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_repo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3430b6615cc2727fd03c1e4a1fe23f9ee56690c705c2033b9e8a5de51fde84ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/interest_rate/interest_rate_swap_cm.py: 15.8% line coverage (6/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/interest_rate/interest_rate_swap_cm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93614ac68d6ec3b9deb56fd415669e17ed3b8cebeb52b8a472186194280dd7a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/cons.py: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/cons.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"159c7ab836c34b47bcebb3b94a2d1ccacc9350c5c6cfb8df8539b264cec5b8f8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_australia.py: 10.1% line coverage (11/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_australia.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3bcbb051506d83edbd36e4e44f558698cea8914da1f4376bb3c76c9dbf904f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_canada.py: 9.7% line coverage (14/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_canada.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93bec69bc0755dfa9162fc17ce8980ceb313b6ccb9f13b58338af40553ad296"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_china.py: 5.9% line coverage (69/1162)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7631c463b058036821d0c85b516f92d312313870a51b1b4136d638f2eba0652"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_china_cx.py: 26.8% line coverage (22/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china_cx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ade9cd9564c3aa00bba4285074d8cbce60ac2b97af79b82afca3879b277ef4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_china_hk.py: 22.6% line coverage (14/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china_hk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35fa4c655aaf3174050e83995d7573d0c852f5c24de4e8b347054900a7bdbf3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_china_nbs.py: 13.0% line coverage (37/284)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_china_nbs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e868226e9c1f56bfb588effaeff425411e46cfca7ee547df49ec007d0f06f9c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_cnbs.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_cnbs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497cb472079ada01f1443b502c81cb63b48586f9d17861fa261bfde6e4d59ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_finance_ths.py: 17.0% line coverage (8/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_finance_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95abcbba981f2217af91f09db7ef9cf686bcce6fa6f624ccf87f4a68d6024fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_germany.py: 22.8% line coverage (13/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_germany.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b15cb50dad2b27c7071d9fa3e8536429da343ce06ce4172305b915583b6cd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_info_ws.py: 25.0% line coverage (9/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_info_ws.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e631c4d68863e441f05ab825ae2e9890b1a4b9f239ccc3798a9048f9a886990"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_japan.py: 23.8% line coverage (10/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_japan.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84e93b83148714d567c61b491dd42972f2ec340c15bb33e85bf493de1f61c94"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_news_baidu.py: 20.0% line coverage (6/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_news_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1ba4b1253bcabc0cb2bee0bf39b512b705870658ea8c134f1791bfcccdfced"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_swiss.py: 23.4% line coverage (11/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_swiss.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bff7f4744c66f430da80d405ae561b374407fa40ef840155191d59533631d76"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_uk.py: 21.7% line coverage (20/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_uk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764f6fb8cf53f5f254087baa7952ded46554b70f615dc28cc67229c3220a6767"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/macro/macro_usa.py: 15.4% line coverage (8/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/macro/macro_usa.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a362f44e79e9d553b131bc842701bac5f6ed016b8b13a829ef8f9bf0a572883c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_commodity.py: 7.8% line coverage (21/269)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8288a88b2559358b15a198bada95a64aa00e2fe4615baf2d12cac85b5e0bb412"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_commodity_sina.py: 11.8% line coverage (9/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17144ea8c00d00e5fe2871980e1f57a53bd4713cb7867738310f837a624a4b6c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_contract_info_ctp.py: 35.7% line coverage (5/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_contract_info_ctp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b26ccb7c86387e675067db6813f06a7c8662bfe6ba6336c4e68c73e65ae7b7f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_current_sse.py: 31.3% line coverage (5/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_current_sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"406b0995e87da2a138f6b67caa0a4ff8b172ed9486a5900418ab9bb543ca45ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_current_szse.py: 17.6% line coverage (6/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_current_szse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794571ee0ebb2d9db875dccad601c3128e0b74222f82fc687ffb8bca9db13613"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_czce.py: 41.2% line coverage (7/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_czce.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2f7505b982740231a129aecb89f348ed509b946af31f4a202149e9b7a94432"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_daily_stats_sse_szse.py: 16.7% line coverage (6/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_daily_stats_sse_szse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33427a00e6c9b199693f7d584ec824c0da933f989ad0c6fee0d76dd2a0aec50a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_em.py: 13.5% line coverage (7/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"142da7efd8ed8b5782136deebb6c7e2d39495f4d43f591e828ba9c55121911bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_finance.py: 5.6% line coverage (8/142)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_finance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7180757417299d044dd082a7a36c8d61c841f99899ea9229cd2173f46de59450"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_finance_sina.py: 9.5% line coverage (32/336)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_finance_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80494a10eadeff497a8c9a074607fde8c315088e40cece10fbceba7c4552db6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_lhb_em.py: 7.6% line coverage (5/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_lhb_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"276070a98a8d1a67336260b06e6fa5752f101786dcb4b3577357f9ee0dbcbd5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_margin.py: 27.8% line coverage (10/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_margin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afc346aca4ac2e5d84acddab81eaf2ebbaf1cda3aa0e239f3e123676e4ca0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_premium_analysis_em.py: 23.8% line coverage (5/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_premium_analysis_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63789ea79a6cfab4df1ccf33977401fbb1218e2bbf26d00a4cebf4c97f3b2be3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_risk_analysis_em.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_risk_analysis_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e373b6f18709d1af424fb987b7c95d9ff7247fc842e611432bc30a24c303fc5a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_risk_indicator_sse.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_risk_indicator_sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"406733b1a1f80a469a0064d445c6efa1de7fb22dc6dbc7b5df11982147b6bd18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/option/option_value_analysis_em.py: 23.8% line coverage (5/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_value_analysis_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f6d88cdc617e7f71bec991380d190fd6da304638e75d3862d498414571407"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/research/research_epu_index.py: 15.6% line coverage (5/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_epu_index.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa5d3ebe5d36e424b6e8f83616a3ec876a600c96234cb50ea61c8dc4f2621ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/research/research_ff_factor.py: 10.9% line coverage (7/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_ff_factor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec39bda6fd5e311a89235255307bd47384780843efa68172c661d9c9a0abcb0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/research/research_fred_md.py: 38.1% line coverage (24/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_fred_md.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25075eaaf857f457bb763130929f387956684097afc7204e7a50880a8bf4ea24"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/research/research_risk_rv.py: 24.1% line coverage (7/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_risk_rv.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c4d634dc93e6d3e045dede00753c9703368629f1e1afa47237fa402dd3de7c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/research/research_rv.py: 17.8% line coverage (8/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/research/research_rv.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36827b63c1b370e2ec3abde35fb1ef0732bc3f5a0ef759960cfbbde9142bfab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/spot/spot_hog_soozhu.py: 8.6% line coverage (13/152)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_hog_soozhu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a997c106d29dc35c68b5471d73bbc2d468c720e183906ac08571db086c08fb1f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/spot/spot_price_qh.py: 21.7% line coverage (10/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_price_qh.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a54a3f8fd9540a60d28f62db055528761554c58e65cc91fcb1a3e8cd8710b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/spot/spot_sge.py: 12.0% line coverage (10/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_sge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e67379693e8871dec33ec00d8ce1da6817c16cedcc46d64ac6853fb3a59a0d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/spot/spot_sge_js.py: 25.0% line coverage (6/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/spot/spot_sge_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647f4b565b2b64ff767163226ca5904626d318a14c9bf3908b46b6cc13b6063"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_board_concept_em.py: 9.7% line coverage (17/175)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_concept_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6013aec1b58662a80e75026267fa4b024c20b3be93d3638669b14f89f6cc2574"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_board_concept_ths.py: 14.2% line coverage (22/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bc1c87f4b88a06665f262ae4d094e63b6e75f7d11f5136363fac75230e2a19"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_board_industry_em.py: 9.1% line coverage (14/154)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_industry_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8e94f735af255c6c6b866bea59dcd869e4d6dba7141b75719b166dd8b9c2a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_board_industry_ths.py: 10.8% line coverage (21/194)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_industry_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cdb23e060f87571dc091e03232d2437ceb6993b6bfe7352b04579528e1b981"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_classify_sina.py: 19.1% line coverage (9/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_classify_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489758f8ad971a7abd3f73f665d6a23ce61155b5855d550bd4aa8a59cdca1512"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_comment_em.py: 12.4% line coverage (13/105)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_comment_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f9be9986b5fa4dbbc55cb1f8dfda3de6d914b76f1e9c49ed9987a8335b684"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_hk_hot_rank_em.py: 13.8% line coverage (8/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hk_hot_rank_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59e7a2d04d389c2f2d415103c701a1ce53ba62d175938753a605f3956edaa49"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_hot_rank_em.py: 11.1% line coverage (10/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_rank_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e2510496f0e6c369d0a15f498530279e68a5b1afad2efb155794e6efeb596"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_hot_search_baidu.py: 31.6% line coverage (6/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_search_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7297d9519ea46ea99d9a04d8cf6603789b7269ab6b69a41f3764143776675fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_hot_up_em.py: 16.1% line coverage (5/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_up_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b1f3a13cbb62a7473aadefff96428f12528565f7c5e3cc1cc4730cc10ea0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_hot_xq.py: 13.6% line coverage (15/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_hot_xq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcd3ccf66f0f8f10de767c03f47ad0f31de5106e00f349116652c8a016dbcd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_industry.py: 11.6% line coverage (10/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_industry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e7f316b0dc16abf40ac8bb272ec2b9c41701fad7fbece3f4995dd0a0d8100e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_inner_trade_xq.py: 25.0% line coverage (9/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_inner_trade_xq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c80ef4380907f5e1e12243c78f9a99199b09ee0108128108852251dafc418e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_irm_cninfo.py: 14.8% line coverage (8/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_irm_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0a1b98a36634e65ddf132797ae57c597a5b01c3d132b96d8e0bddecb58f224"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_pankou_em.py: 14.6% line coverage (6/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_pankou_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d1a9d7ac63666d2585be8b7d382b2f5a859bfd2dcd50ebdf0f0c10cd9c28e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/board/stock_sns_sseinfo.py: 19.0% line coverage (11/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_sns_sseinfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8831be2fbab7051ed0649fc635fab427b618479b6db89369bfe92ac2c47f63c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_allotment_cninfo.py: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_allotment_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8c1ea3ecf07c2fdd5440aac08eb12276dac95ab10eb7a1270b5d20e131863"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_disclosure_cninfo.py: 15.9% line coverage (14/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_disclosure_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d9560c0a6491a7681f178a48ab8eefb126c5b8892059c55804a91f6a88b684"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_finance_hk_em.py: 12.2% line coverage (11/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_finance_hk_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdff438ff0c1ee570dc62f667a10c75746c78a988bd0c959da5deca67310852"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_finance_ths.py: 4.8% line coverage (13/269)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aed04670277f0cdaf129b0e0e0adcfd3e1a12eb43595e2d745e41a620c5b3c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_finance_us_em.py: 10.1% line coverage (10/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_finance_us_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fb7288d8107324ffccf5e92fb81181c5109e50947e60d619511d03f6acb1b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_gbjg_em.py: 14.0% line coverage (8/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_gbjg_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b974968dd6d1d16f9367011c0010247a9f0610830127b97d86488ef837dcdb40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_industry_cninfo.py: 16.7% line coverage (10/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_industry_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e660de314a06c93b3543649803cdf8bf40e8fa1a78b8ef7541b22e8444903688"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_ipo_summary_cninfo.py: 20.5% line coverage (8/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_ipo_summary_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7117b1e7ba1a1eff38256e00f9e9faf6c417d205eb152ee9d5a0a447dd6d360d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_profile_cninfo.py: 19.5% line coverage (8/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_profile_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"167fe0e1fa2129e2bee686fc5de6ed8e9cff43814f41f667f778db9b1fd830bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_report_em.py: 6.3% line coverage (9/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_report_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b46c655a2866b15dc44403b64c032d79ca9d081017411f33da24d37f2c6d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_share_changes_cninfo.py: 26.5% line coverage (9/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_share_changes_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"521213325e1622d21eab3823e30e401f6da1615692d05cab87431b13b4595a49"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_sy_em.py: 8.2% line coverage (12/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_sy_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94049b2705fac83393e2fdbab86b123ee680c2b154d6d03066a25d785a48845"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_three_report_em.py: 6.8% line coverage (21/307)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_three_report_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35fe6ad0b2fd4c8ef33a452831f3d06a0c3657a8285eeefcd3a8f79e20a33cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_yjbb_em.py: 14.3% line coverage (6/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_yjbb_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16672021524333cdbc92997a18977209ec574d0b13289a85b0c07073e8f4dfa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_yjyg_cninfo.py: 21.7% line coverage (5/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_yjyg_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bdc2749c1f8c3d99fc8a4e1fd455c727b7a1ca149d33438c2cdd39f13a85d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_yjyg_em.py: 8.1% line coverage (8/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_yjyg_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b68bdef7ee2f7c4394566be9f69cdbc79c9ca757b1f8fcd2d0b189741e40737"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_zygc.py: 20.8% line coverage (5/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_zygc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5824930e13d3a2af075cac9f401094e7753612b707bf2717a19b95758c3dbbfa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/finance/stock_zyjs_ths.py: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/finance/stock_zyjs_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d087a38b4d097dec1ae4780b305ca03d32ff08609e2662ddc98506c52be5a730"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_account_em.py: 19.2% line coverage (5/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_account_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ae67a42b8dbed58b31af3e953a27e382572e40c03b77365b5c8656dc575b32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_cyq_em.py: 12.1% line coverage (7/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_cyq_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b613fe11ee8890e15a7a3106cec88fcd1bc9a2df2b9700d1852cd0d7d41a7b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_dzjy_em.py: 5.5% line coverage (10/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_dzjy_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97077a0c5ba02161807ac3d1953dc810a94f856eb58a6f36d9ffdd7f5bf7ca16"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_fund_em.py: 6.8% line coverage (21/308)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8faac6c85987c6001fde27cfece43779a10f4d38abed4c7a592f1a3756435e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_fund_flow.py: 8.2% line coverage (17/208)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_fund_flow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119078739d4a8be3cef4e7118512eb88a03474bcc5a24dee7558f6ffc4d5f54"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_hsgt_em.py: 4.0% line coverage (16/403)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6636f09725f346e44d6924e6234105ab2f1037eb0af2f15291c997652c4a02eb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_hsgt_exchange_rate.py: 15.9% line coverage (11/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_exchange_rate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99415592c36b83b56cc6be79d9bae355674e6a050c76d7c7d6283c4a7fb1c922"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_hsgt_min_em.py: 13.9% line coverage (5/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_hsgt_min_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd044e1aeddad98248cf4133c7dd55d6b7d0d0b0cbc289e9cf798fb681cc21c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_lh_yybpm.py: 18.6% line coverage (11/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lh_yybpm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f9bd7c4e4591bf96c4c32f95a3616e40b3ef3ea0ddfbaeb49a4a81f506fe67"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_lhb_em.py: 4.9% line coverage (15/309)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5f5c6998d6e150a4f4a49b97d7d5bc3b5f4719b94f1ca4a45f0cc1e6caf47e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_lhb_sina.py: 10.3% line coverage (13/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f86d4220a41ee617f18287405e63bf6f7e4ae652f1e45448fd51e7f17639f0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_margin_bse.py: 14.8% line coverage (12/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_margin_bse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50a9e319a50cd72be74aecee680558ad6e8b712e284a80d515005609c98dcb6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_margin_em.py: 20.0% line coverage (6/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_margin_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eca12c2e0fa96b9fbdb438fd3100e0d307b36527daf742ec72411844fe46f5a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_margin_js.py: 17.1% line coverage (7/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_margin_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2d44ac489ed48247b47750fd71e9ed804729e756702dd6e0a8fd47fc311356"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_margin_sse.py: 13.0% line coverage (7/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_margin_sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a3469acbbee93254f4ab830fa905daef3d6e86aaa02edd5627da0fd361bd7d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/flow/stock_margin_szse.py: 13.8% line coverage (9/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_margin_szse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6da56694dccaf77b78d59bcf014f55007c1cd155a082f34bce66db0e1dabe0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_fund_hold.py: 12.7% line coverage (8/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_fund_hold.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ff28faec263e0875423566485b066be7c83598aaa1251174f846ad0ef54bae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_gddh_em.py: 18.8% line coverage (6/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gddh_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1dc3a383c0d61d2aa40081326990496029298d6b2701e6523e1bb9fa630e41"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_gdfx_em.py: 5.3% line coverage (17/318)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gdfx_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dba3608116e8550c710c39c87f34ab1ae04a6e418d8c5144cd2f53b722dd7a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_gdhs.py: 9.7% line coverage (7/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gdhs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d49ac07c6f93ba7177bf61318dfff1164ee5a1a8ee75ca54fea444f74fae0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_gdzjc_em.py: 16.2% line coverage (6/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gdzjc_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f3f60550b13b4cbe45d83e898c0c40481a8669dfe1e37f32119b80f4958d22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_gpzy_em.py: 9.2% line coverage (15/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_gpzy_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3d7452ee82c7feb92dc2ef032e4848e2a3951a90f919e555008cdede8f0ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_hold.py: 14.5% line coverage (8/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_hold.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf01270a692c7cc7a6f9362548eeebf964767656f2deed5fb5e3f71316a8172"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_jgdy_em.py: 13.6% line coverage (8/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_jgdy_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b82ac2423c66ad3cdb9e53badb89cc790070e0158254b84f70e7c2913afd21"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/holder/stock_yzxdr_em.py: 18.4% line coverage (7/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/holder/stock_yzxdr_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92428820a36de0389602be06d4bb104359b206b3cc0f907ea61651821bcbba79"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_dividend_cninfo.py: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_dividend_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c75fe30a4f14c73362f914077a56bcb68b1fbfb65553dc371ddeb4fed48a8be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_dxsyl_em.py: 5.7% line coverage (7/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_dxsyl_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad1113e7a5bb6ea72bd6ead296f157568caf429a64b6ce38dab1a09c08e3369"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_fhps_em.py: 8.9% line coverage (7/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_fhps_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20299d138c59d41e4c1adab09aa68c8538d5ff30009c819795ce7dcad34c066c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_fhps_ths.py: 26.1% line coverage (6/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_fhps_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eba735bf0ec0fc4985c60c992bbe80521629283afc2b729528855dc08b5901"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_finance_sina.py: 5.7% line coverage (21/369)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_finance_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daabbaa6ae7ae51551570dece2a736b188c714d5116e80b35e253de0587e1944"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_gsrl_em.py: 27.8% line coverage (5/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_gsrl_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9788e3209480a60d7350360842120ca43fbf95eb3325122ce397e6912c076a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_hk_fhpx_ths.py: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_hk_fhpx_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda12be9e255a1ce265d4416825a01c9241e289176268c0553231686752f4ff9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_info.py: 12.7% line coverage (22/173)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_info.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe55d38a8ec57a0f25bb0cd4104a199a06d4e86910ab6009058ec95cb923db0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_ipo_declare.py: 23.3% line coverage (7/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_ipo_declare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b264fee135d6b72add552499eaa27c766d68c1e767bbd4969686947489446c0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_ipo_review.py: 17.3% line coverage (9/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_ipo_review.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3066c1de9c935ead590d052ebb157a20125b0a2b12c745e43693026f044f2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_ipo_ths.py: 10.0% line coverage (7/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_ipo_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fe33d1c4241ee2bcb65f31f3adb4c8bbe9ba4b33bc09c767c2227b1a516bd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_ipo_tutor.py: 20.0% line coverage (9/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_ipo_tutor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c14e5684751f02870a4ca24e159cb93cf08a1e06bc31a53e7f30fa3f9ea613"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_news_baidu.py: 14.3% line coverage (10/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_news_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17fa5e43892c6471f4c7294efd0e438d0e057bd50675385e751aa37182a90c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_register_em.py: 7.8% line coverage (13/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_register_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc7c4eba2a55f849efcc8d0e7e8713ac3ce7e974f836ba1f835e1424ed80d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_repurchase_em.py: 14.3% line coverage (6/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_repurchase_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e7ce5bd8cdbc65830ed6f00ff9bedb6c85ebfdaea1469e6ec202a27724b983"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_restricted_em.py: 8.7% line coverage (9/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_restricted_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dd332b409b2984c4e58e349297e00642bb2d529d11f0e8d86215c4f6006f95"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_tfp_em.py: 19.2% line coverage (5/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_tfp_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a756e05cf667a7dfab23133ffb3c93075c2b69e9151774c6793f991180972070"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/issue/stock_zf_pg.py: 11.1% line coverage (7/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/issue/stock_zf_pg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb99d955f428e930a433a55f17d03c8585e3d1257b46a91a3b6598b786cad0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/other/stock_esg_sina.py: 11.2% line coverage (10/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_esg_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27ce162f054133f1b35e8bf14d036a595514291a0911383603d9a05ff98e579"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/other/stock_technology_ths.py: 4.8% line coverage (23/482)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/other/stock_technology_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c48e931f008a2bb10a85688d0c7d40387713c4a715aec043d6553e7b91aa597"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_ask_bid_em.py: 29.4% line coverage (5/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_ask_bid_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fad0f32cc0e06154afd02ef2f0a47e0a1b96236c08a9190bee7f33f4d1135a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_basic_info_xq.py: 25.0% line coverage (13/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_basic_info_xq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5fec3d210cc820dfd61445d59cec1cf544aa5cbc67be6aa708bfc7b63f1ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_hist_em.py: 5.9% line coverage (33/556)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"147bc390cf9b082c5cfdf9d1e5437035256de31878f4c45abe472249b3841fb1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_hk_comparison_em.py: 15.2% line coverage (7/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_comparison_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63a48aa8bd9e21337c12b3faa97cb215a99a522cde72ef1aedb23fe2271ca58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_hk_famous.py: 18.5% line coverage (5/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_famous.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b62cba9a64e2c5e7290c3011ed14d7ae02a6c3e2ea53695b3a2953a33facc5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_hk_sina.py: 8.3% line coverage (12/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hk_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d865d60becbe552a451b8178a753bcd6d4187cb11e9a9a96cd0c501366edbbd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_hsgt_spot_em.py: 14.0% line coverage (6/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_hsgt_spot_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c1a99be5b431df304454f297706717f0472d49ff3fec9b2eb777e48e75417"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_info_em.py: 19.2% line coverage (5/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_info_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ce1984c45cd4d785b9a18a701a3a6768cf98a2bbb4e562496c07a6aa891cf8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_intraday_em.py: 21.9% line coverage (7/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_intraday_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c0aa6f240bfad23ac8fad7d4d533742743eb30dacac8610aee1dce9e7ecfc6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_intraday_sina.py: 24.1% line coverage (7/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_intraday_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"386061bb4d8c9320238a9fc06f169a31bbf5fc4f19ad8e46da5145f2a2c3a7c0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_profile_em.py: 13.8% line coverage (8/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_profile_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b48af9ac1bac4fc749fc68549998b3ae63da5a32414831e4c046137a8f45ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_summary.py: 10.2% line coverage (14/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_summary.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e135c8dae423f8ee9b3a51d42646fc8f4204a83bf0d8c56cf418a056af0e800c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_us_famous.py: 16.7% line coverage (5/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_us_famous.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4605923c4a174a53cc33713b388cba0e6f53d30b183793b4aa3da31ff6a34032"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_us_pink.py: 15.8% line coverage (6/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_us_pink.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0891790e679ccf57b27cb9ed9827b5fce561bce3a63d0f9cc6e0c3a0a12430"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_us_sina.py: 33.9% line coverage (37/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_us_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa039223c1a00b333a8c6fa101a1627ee47105959a601f575da698ea2dec135"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_xq.py: 23.5% line coverage (12/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_xq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef935573e1a4d0155203a094b0dfc538e2a6217468c4dd1cfcd3ad7883628a9e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_a_sina.py: 29.3% line coverage (72/246)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48551a737862490152298df9f079d0c6338a2f199cfc5ec43340e1f2b39313d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_a_special.py: 11.5% line coverage (10/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_special.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9870f3efede1e158ed6b7879958c4cde404466ecebb6d2e85594eb7f0eaf4eed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_a_tick_tx.py: 22.6% line coverage (7/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_tick_tx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11d9c91393d47769cb8050b14440af087f3f5ebd75f3572822b3dd58f780fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_a_tx.py: 26.9% line coverage (7/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_tx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afdaf0db7c37393498d61a504ef1193f784be6424c816adf88fa094bf3e0edc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_ah_tx.py: 12.8% line coverage (12/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"900f35382a166338895f9a27ff7e5ae2a54181e00555582e5e6f7df9bce63750"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_b_sina.py: 9.1% line coverage (19/209)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_b_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5b38d49a3592dcd1e9befe5b972bb6e040bb081c6fff8e2a73a86a1e64ad58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_comparison_em.py: 12.3% line coverage (8/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_comparison_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0aa182b551772fa4716e6fb6400d635f25e1be02ce60116a5edeaa541d6f28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_kcb_report.py: 23.3% line coverage (7/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_kcb_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e26acb0ed5002fd0c775127f95140a1c7068936efaad74ff4addd661f3d1373"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_zh_kcb_sina.py: 11.4% line coverage (15/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_kcb_sina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c77257ac0fbc69d54e02fb5006e6dd6214499b89f85f1880633aafc5b099467"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/quote/stock_ztb_em.py: 6.5% line coverage (11/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_ztb_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad62ca0ef739ac244b823d2f39f1840a6f207354773b5426fcb1dc4c55803aa2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_analyst_em.py: 9.8% line coverage (8/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_analyst_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f8e0547bb6921abdcd84428ea085fd45217a12d3747f084a78f9a6d01febf6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_cg_equity_mortgage.py: 25.0% line coverage (8/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_cg_equity_mortgage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcc69b763089159b9f7a46cd98201ba1b2dd50b60ae67100d1ccfa601cc05e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_cg_guarantee.py: 25.0% line coverage (8/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_cg_guarantee.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea192533df461e64d70efb06416c3a65bfb10e33b969931470c029a67485a18f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_cg_lawsuit.py: 24.2% line coverage (8/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_cg_lawsuit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30419e0418d0fd3e11b632213a8fcab111a82bfc252f05680be583075e5393da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_hold_control_cninfo.py: 13.6% line coverage (11/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_hold_control_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2759610eed1ab29827ed2ca9f5be9f46e16178eefa64426ef5044bc69aeb8472"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_hold_control_em.py: 14.0% line coverage (7/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_hold_control_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1770827d6bb217ad33f321899de46ea7168a6f84a71b18fd4e10e264998efa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_hold_num_cninfo.py: 23.5% line coverage (8/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_hold_num_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824aa5cc4c445f60a95a9fce3495b080038c17bdb661ea9bf6512f44f799ffab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_industry_pe_cninfo.py: 22.2% line coverage (8/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_industry_pe_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6be4a59d9598d4a527c52507f54e33a37e38e08eec1309af5419c93a61ddb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_industry_sw.py: 43.8% line coverage (7/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_industry_sw.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91db54e2d434955bf1568b3f08dce1606f32f94c9de577f68ad7a9f543c204a6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_info.py: 16.5% line coverage (16/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_info.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a150a14b3f5ace7ed52a7103f94ad8f078d3bfea915276badebc0386fe53ddd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_new_cninfo.py: 15.8% line coverage (9/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_new_cninfo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6072f510ad06327b5f08b92c4cbbdf1616f32b4222e765510248405461064fd0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_news_cx.py: 29.4% line coverage (5/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_news_cx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57600d9465385d27aeb038eb3c438ebe541ded4f3c2cb8a8bfc8de50574b750"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_news_stock.py: 22.2% line coverage (6/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_news_stock.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d1551fdab5c90ff82ed4b897c98951414989d835c67f68ace8a969b077270"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_notice.py: 17.2% line coverage (11/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_notice.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ccfc8fc2571bb9570394cdecb63c114a605093cc1602fa10ed7f8af083446"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_profit_forecast_em.py: 12.2% line coverage (6/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_profit_forecast_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6d797e7129e2493cb7fba5d09e1e0752f92611fafe4c31a9a30d67fca2047"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_profit_forecast_hk_etnet.py: 10.7% line coverage (6/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_profit_forecast_hk_etnet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d070e9c0e7bc2b7c404f9ae0a0cbb636d8010a1c3ab8977f4015df1620cbaba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_profit_forecast_ths.py: 10.1% line coverage (7/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_profit_forecast_ths.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038700ddc76e7d1a713b238b7ad2c8ab035b5dea782016626358d1594b33af31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_qsjy_em.py: 18.5% line coverage (5/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_qsjy_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b410942c5c8d7fc0d53a5c235e8c2e42b3ca2afa3b2a7a60d705c1e5179b25f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_rank_forecast.py: 27.6% line coverage (8/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_rank_forecast.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f6ecfd396d1d0d88ab77d19504a52154a740b64b595fb10afb777d30147ac5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_recommend.py: 14.7% line coverage (10/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_recommend.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb0275fe19fd649bcafa0182003d56a2b746da06f8f7d0e1887f0ad7127580"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_research_report_em.py: 16.3% line coverage (7/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_research_report_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc6544392c63443d9dd2856b47e8df76f9ff6fec816bfbbfc072638c5a267b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_share_hold.py: 9.7% line coverage (9/93)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_share_hold.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9203e482f0fb7a450ff6ab44668f194f906a3e9998856965e4dd5ac4f63d23"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_us_js.py: 23.8% line coverage (5/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_us_js.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f59179a88009f0f5f078584b7bae66f3d6d4b18af4552c14e70e40495528a33"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/research/stock_zdhtmx_em.py: 17.6% line coverage (6/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_zdhtmx_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d47a436e416e8710c41a905694127da0b01e1b7e58f06ce24ce0b75aa64815"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_a_below_net_asset_statistics.py: 19.4% line coverage (6/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_below_net_asset_statistics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d213211e090e9ef825e2971c153670f672a920fada7192fe9200e73c27a2c981"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_a_high_low.py: 20.7% line coverage (6/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_high_low.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5ff9868f16202f47b15752cd5d0cddbf39ae4359238435ed55068b44de945b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_a_pe_and_pb.py: 12.2% line coverage (12/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_a_pe_and_pb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5705b550e82438d6c97e5a75fad53ee3ab10b4f430bf1e1e26539e639c2ad298"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_all_pb.py: 37.5% line coverage (6/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_all_pb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eb6ae0303fd2754631e32e99bb1f963681e23025c1369e0f80277acf3d96fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_buffett_index_lg.py: 20.7% line coverage (6/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_buffett_index_lg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d46bc7fc91ad8ecc9a809c4736573f3ce36803bd1c771182875e6231dcb901"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_congestion_lg.py: 31.6% line coverage (6/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_congestion_lg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefc7df07f30f10cf3212d56d8e16fa68ff4a4cb9caa82183ea914e9c309c45b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_ebs_lg.py: 27.3% line coverage (6/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_ebs_lg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"103313138edbc1e3ef5f6ad5218336129e8490c003788753e6ce80a74a9e4936"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_gxl_lg.py: 20.6% line coverage (7/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_gxl_lg.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb277926a1183eeb404dd05844d91d7f9fedc5cf5a12795d9d64f6bb8695090"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_hk_valuation_baidu.py: 31.3% line coverage (5/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_hk_valuation_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d512c89e757c69f9310554797995b1eecdd77e220204959c92c648c8373c0c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_market_legu.py: 25.0% line coverage (8/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_market_legu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9962f32453be62848c044b24e85a1cebdd4413e49f48e86210b0a5787586f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_ttm_lyr.py: 30.0% line coverage (6/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_ttm_lyr.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18874bc5cac09af3a5bb9db608340375b6cbd338cf66b0670b459a5124bafb74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_us_valuation_baidu.py: 31.3% line coverage (5/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_us_valuation_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caea4b4c8bf35769644f22b83fd698a3ac72347ab09e2d0e24365255aaf38464"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_value_em.py: 26.3% line coverage (5/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_value_em.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5295c2f68025789d8907e47b27765e98e31dc2cf1963ae1a552a1dce3671aa7a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_zh_valuation_baidu.py: 31.3% line coverage (5/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_zh_valuation_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d269f3a88b26d9a286e393d1c7b1f2d899ad3d162fbb06c2f3057ec92da5059"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/stock/valuation/stock_zh_vote_baidu.py: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/valuation/stock_zh_vote_baidu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb80d5c098967425364bfacec03a1aee49a6ebbaa8200b289d52a8e1b5ea7c58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/utils/baidu_finance.py: 11.1% line coverage (8/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/utils/baidu_finance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7841750700a22c08dcc3d18e827059daa5909626face0cdd2387e3b5df6eb145"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/utils/multi_decrypt.py: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/utils/multi_decrypt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d691445abea798d65b55953642ee9e3253ee4f240f1b91bb229208ebbe7a92b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: akshare/utils/request.py: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/utils/request.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a98299d4c799f33dff93213d399e1f200428f99cff327f328a12d59778b8564"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5de20b3023e532abdb822d379a3c31883d911cd389520bca221a11529ace9ca1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12317f24ccd94837997679ff44f27e66e50bec599a1d54389aee0ed737515c1a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8a30f4446db5b9e33323ea447c30f9a0f127b90e78d26fe2ae0a41de48081a2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1358ade6b0992fc51f355bad55bdca2fe29853984159ee4e63ddc3591a95322b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ed0b96e8958bbbd8e5c9ee045bcd0058082029d344b12b13e7bf63a0799d844"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e911fa21caf75b44bd90fed80b5f732d4e6c73511bb28cf209dd062bd59f8c8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9cb1ea3b5b8a801c8bac5512527825559bc283bd8a9905d78ff7f0a6229737bc"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23374ceebaa18ac65cdf09282877e5d4ffcfa92146554b663842261c6c9543d9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4eb44b0a2a0fd7a9f1ec030bd89c1d17fb524ea321873e34b147b22438611b31"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b033020b1505288343624e6eb237e48010486a9263c2f9b4fd9964309bbcd9b8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa446c8dadd6032d3a732af159fce512223daa2a3eeb013b7950ae1af19b6b37"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d34c7a7441b6aac714c0ca985dc8dd18045d2e3f1a1b0a60d91cf02d129bd822"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c842a852846a336af8b03e9a1e71c9d3a9780a7dbc9cbf54abf6c7fe287a2658"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd8d8e0bb63a97ab5850b16c33e5d2326e5e446d333a1b0addd034bdf7a69c04"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7291bf47f913dc3ab0cac23800cb2698a297e7179b758ef7a39f23aa62b99bde"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"371ded2a6ea6ff9f6eab403439d0f8330b4f5c7ddb0083495238bbc84d49bf46"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b70bcda8f13948c919c3b79aeca1b814603cea6d8a026e5a539875917f16108"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/futures/futures_cot.py: akshare/futures/futures_cot.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in futures_cot._futures_rank_sum at line 112. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_cot.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":"akshare/futures/futures_cot.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b32b62798faf4721c93ecdbca5bc40ca9e517e61a9a7ad87913874a7dcbe87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/futures/futures_receipt.py: akshare/futures/futures_receipt.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in futures_receipt.futures_receipt at line 576. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_receipt.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":"akshare/futures/futures_receipt.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a2a48d0b9c7f505e100ca61117d48b3d7f2c7460c04e26cd2ec81d1ba75dc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/futures/futures_daily_bar.py: akshare/futures/futures_daily_bar.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in futures_daily_bar.futures_daily_czce at line 343. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_daily_bar.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":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc37fea293d41f557cef89e86bc283a05e6a508fc871ae26cfac9aede24449af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/option/option_commodity.py: akshare/option/option_commodity.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in option_commodity.option_hist_czce at line 184. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/option/option_commodity.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":"akshare/option/option_commodity.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa15cc600bded598aa69c95ea413eee10984ad2a366e3056fa1fa1ee78dd8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/registry.py: akshare/registry.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in registry._score at line 334. 4 of those changes were fix/bug commits, and the other 5 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/registry.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":"akshare/registry.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"91046dce842182a5debc5506c895cdc5bc996b0311f14c12e6f1d382752afb83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/futures/futures_warehouse_receipt.py: akshare/futures/futures_warehouse_receipt.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in futures_warehouse_receipt.__futures_shfe_warehouse_receipt_html at line 107. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_warehouse_receipt.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":"akshare/futures/futures_warehouse_receipt.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26b9a60b097e4d2e59e478ad3155cce9a7dedb38d0d37b74fa65284075756c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/fund/fund_em.py: akshare/fund/fund_em.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in fund_em.fund_open_fund_info_em at line 453. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fund/fund_em.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":"akshare/fund/fund_em.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c5bc0c8abf1c4ddb2a670e82b9780b1c3a51afd50030dd5e7a9306ab6c5a90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/futures/futures_roll_yield.py: akshare/futures/futures_roll_yield.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in futures_roll_yield.futures_roll_yield_bar at line 115. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_roll_yield.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":"akshare/futures/futures_roll_yield.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20e3c10084ae2a02c2d4a5d46e164048e5d49f11e9d0325936a08b97b93664d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/alternative/alternative_taptap.py: akshare/alternative/alternative_taptap.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in alternative_taptap.alternative_game_hot_rank_taptap at line 72. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_taptap.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":"akshare/alternative/alternative_taptap.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a917f011204ef2b2ca59e99b7063573e556b1068e7032d035cd660192e50d682"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/fund/fund_fee_em.py: akshare/fund/fund_fee_em.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in fund_fee_em.fund_fee_em at line 20. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fund/fund_fee_em.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":"akshare/fund/fund_fee_em.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c112066a87ceeef8f1fe91459473896483c297d36c99b04768c9c51a65cf323"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/stock/flow/stock_hsgt_em.py: akshare/stock/flow/stock_hsgt_em.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in stock_hsgt_em.stock_hsgt_stock_statistics_em at line 171. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/flow/stock_hsgt_em.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":"akshare/stock/flow/stock_hsgt_em.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2917d4e4a199fec0f4cdbdea7474d8b646dfb29a6f4848aa1290aa1598bfd924"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/stock/finance/stock_finance_ths.py: akshare/stock/finance/stock_finance_ths.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in stock_finance_ths.stock_financial_key_indicator_ths at line 42. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/finance/stock_finance_ths.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":"akshare/stock/finance/stock_finance_ths.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5778bd62c47a320f13ad475f43940a990f10121c471c752c051587b29ca7895"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/alternative/alternative_fortune_hurun.py: akshare/alternative/alternative_fortune_hurun.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in alternative_fortune_hurun.alternative_rank_hurun at line 18. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_fortune_hurun.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":"akshare/alternative/alternative_fortune_hurun.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d76d84e794bf28314913caafd97f101383fa66551ef2448116a406554e0bb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/fund/fund_init_ths.py: akshare/fund/fund_init_ths.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in fund_init_ths.fund_new_found_ths at line 16. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fund/fund_init_ths.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":"akshare/fund/fund_init_ths.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"854751f6485be95d2a216f4a5fd5f37f73d34afbbd24e465d3b59fda82c93468"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: akshare/alternative/alternative_air_hebei.py: akshare/alternative/alternative_air_hebei.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in alternative_air_hebei.alternative_air_quality_hebei at line 24. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_air_hebei.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":"akshare/alternative/alternative_air_hebei.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5020c635e1b61a8f6b6d5bb3d0f70226ca40878268e2915e13d3d1ffe8b1e3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/quote/stock_zh_a_sina.py: akshare/stock/quote/stock_zh_a_sina.py changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is stock_zh_a_sina._stock_zh_a_daily_sina at line 138), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 22 \u4E2A\u884C\u60C5\u63A5\u53E3\u8865\u4E0A\u6570\u636E\u6E90\u540E\u7F00\uFF0Cstock_zh_a_hist \u6539\u4E3A stock_zh_a_hist_em\u201D; \u201Cfix(stock): keep real trading days in Sina daily bars and stop redundant fetch in minute bars\u201D; \u201Cfix: \u79FB\u9664 pandas \u4E0E Python \u5DF2\u5F03\u7528\u7684\u5199\u6CD5 (#7476)\u201D; \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/quote/stock_zh_a_sina.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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8963823bc4b31cbecc03e46ea36fe77cbec3eb033572f9da141f9c392b6ff4e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/alternative/alternative_movie_yien.py: akshare/alternative/alternative_movie_yien.py changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is alternative_movie_yien._post_endata_json at line 101), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix(alternative): \u827A\u6069\u65E5\u7968\u623F date \u9ED8\u8BA4\u4E3A\u7A7A\u5B57\u7B26\u4E32\uFF0C\u8868\u793A\u524D\u4E00\u5929\u201D; \u201Cfix(alternative)!: \u79FB\u9664\u9700\u767B\u5F55\u7684\u827A\u6069\u5468\u7968\u623F\u63A5\u53E3\uFF0C\u8BF4\u660E\u65E5\u7968\u623F\u7684\u53EF\u67E5\u8BE2\u8303\u56F4\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_movie_yien.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":"akshare/alternative/alternative_movie_yien.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2187b9b4eb7e1b45fce25b74d65b989fb823bbd0af62d9079ecb015860d3eeef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/quote/stock_hist_tx.py: akshare/stock/quote/stock_hist_tx.py changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is stock_hist_tx.stock_zh_a_hist_tx at line 70), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(index): \u4FEE\u590D stock_zh_index_daily_tx \u6210\u4EA4\u91CF\u9519\u6807\u4E3A amount \u5E76\u8865\u5168\u6210\u4EA4\u989D\u4E0E\u6362\u624B\u7387 (#7494)\u201D; \u201Cfix(stock): \u7EDF\u4E00 stock_zh_a_hist_tx \u7684\u6210\u4EA4\u91CF\u53E3\u5F84\u4E3A\u80A1 (#7488)\u201D; \u201Cfix(stock): \u8865\u5168\u817E\u8BAF\u8BC1\u5238\u5317\u4EA4\u6240 87/88 \u5F00\u5934\u7684\u4EE3\u7801\u524D\u7F00 (#7484)\u201D; \u201Cfix(stock): \u4FEE\u590D stock_zh_a_hist_tx \u6309 YYYYMMDD \u89E3\u6790 end_date \u51FA\u9519\u5BFC\u81F4\u591A\u53D1\u8BF7\u6C42\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/quote/stock_hist_tx.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":"akshare/stock/quote/stock_hist_tx.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"28523ef50547825416a967d004aab9551040db8888b7f94148a50434150ddae5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/index/index_research_sw.py: akshare/index/index_research_sw.py changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is index_research_sw.index_spot_sw at line 253), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix(bond): \u4FEE\u590D bond_info_cm \u4E0E bond_info_detail_cm \u63A5\u53E3\u201D; \u201Cfix(index): \u5220\u9664\u968F\u5305\u9644\u5E26\u7684\u7533\u4E07\u5B8F\u6E90\u7814\u7A76\u4E2D\u95F4\u8BC1\u4E66\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/index/index_research_sw.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":"akshare/index/index_research_sw.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a7cc489e0396400f37193c1ef0300edc5900e6470c4e6b31ddc6e984d2340"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/futures_zh_sina.py: akshare/futures/futures_zh_sina.py changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is futures_zh_sina._futures_main_contract_text at line 187), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u6240\u6709\u6570\u636E\u63A5\u53E3\u7EDF\u4E00\u8FD4\u56DE pandas.DataFrame\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix(futures): \u4FEE\u590D match_main_contract \u6F0F\u6389\u65E0\u8FDE\u7EED\u884C\u7684\u54C1\u79CD\u5E76\u5254\u9664\u8FC7\u671F\u5408\u7EA6 (#7497)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_zh_sina.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":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ef431c6d4c29072a7133f6f3efd80c126b6a64a81f19520e48e522457ef1ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/quote/stock_us_sina.py: akshare/stock/quote/stock_us_sina.py changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is stock_us_sina._stock_us_daily_sina at line 139), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 22 \u4E2A\u884C\u60C5\u63A5\u53E3\u8865\u4E0A\u6570\u636E\u6E90\u540E\u7F00\uFF0Cstock_zh_a_hist \u6539\u4E3A stock_zh_a_hist_em\u201D; \u201Cfix(stock): \u4FEE\u590D stock_us_name_sina\u3001stock_us_spot \u7FFB\u9875\u9014\u4E2D\u62A5 KeyError\u201D; \u201Cfix: \u79FB\u9664 pandas \u4E0E Python \u5DF2\u5F03\u7528\u7684\u5199\u6CD5 (#7476)\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/quote/stock_us_sina.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":"akshare/stock/quote/stock_us_sina.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5830a5fcd7cacea81357b3386145e1e185883199c4eae12849e01ee701a86647"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/index/index_stock_zh.py: akshare/index/index_stock_zh.py changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is index_stock_zh._get_tx_first_kline_date at line 348), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix(index): \u4FEE\u590D stock_zh_index_daily_tx \u6210\u4EA4\u91CF\u9519\u6807\u4E3A amount \u5E76\u8865\u5168\u6210\u4EA4\u989D\u4E0E\u6362\u624B\u7387 (#7494)\u201D; \u201Cfix(stock): \u8865\u5168\u817E\u8BAF\u8BC1\u5238\u5317\u4EA4\u6240 87/88 \u5F00\u5934\u7684\u4EE3\u7801\u524D\u7F00 (#7484)\u201D; \u201Cfix(stock): \u4FEE\u590D stock_zh_a_hist_tx \u83B7\u53D6\u5317\u4EA4\u6240\u80A1\u7968\u65F6\u62A5\u9519\u5E76\u622A\u65AD\u6570\u636E (#7482)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/index/index_stock_zh.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":"akshare/index/index_stock_zh.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"320517decd1f25c10730683294e22bacfbd06d6a2f8b400e6272dd30773ee1d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/option/option_finance_sina.py: akshare/option/option_finance_sina.py changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is option_finance_sina.option_sse_codes_sina at line 479), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u6240\u6709\u6570\u636E\u63A5\u53E3\u7EDF\u4E00\u8FD4\u56DE pandas.DataFrame\u201D; \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/option/option_finance_sina.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":"akshare/option/option_finance_sina.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee79d1e84c990f22ab9bf6048c92dc5394ac56dfa6bf871643a079dae5fc00b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/fund/fund_amac.py: akshare/fund/fund_amac.py changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is fund_amac.fund_private_fund_info_amac at line 521), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix(fund): \u4FEE\u590D amac_person_fund_org_list \u57FA\u91D1\u7ECF\u7406\u4E0E\u6295\u8D44\u7ECF\u7406\u5217\u5BF9\u8C03\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fund/fund_amac.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":"akshare/fund/fund_amac.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7c90d274aa08f92ca9f3e144f3808fa2b69b6164ef9bdd58e68b9b4c3b649"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/research/research_risk_rv.py: akshare/research/research_risk_rv.py changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is research_risk_rv.research_rv_rlab at line 16), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D option_comm_info \u4E0E futures_inventory_99\uFF0C\u79FB\u9664 article_oman_rv (#7475)\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/research/research_risk_rv.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":"akshare/research/research_risk_rv.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c349c814d8d6abe08f4ebdac43bc888b917edbaa8d5632eb8d4568b8222c55d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/energy/energy_carbon.py: akshare/energy/energy_carbon.py changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is energy_carbon.energy_carbon_bj at line 33), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u4FEE\u590D 9 \u4E2A\u56E0\u4E0A\u6E38\u6539\u7248\u800C\u5931\u6548\u7684\u63A5\u53E3\uFF0C\u79FB\u9664 11 \u4E2A\u5DF2\u4E0B\u7EBF\u3001\u505C\u66F4\u6216\u91CD\u590D\u7684\u63A5\u53E3\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u4FEE\u590D air_quality_hist \u63A5\u53E3\uFF0C\u79FB\u9664\u5931\u6548\u7684\u4E24\u4E2A\u63A5\u53E3 (#7469)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/energy/energy_carbon.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":"akshare/energy/energy_carbon.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eb908d7c7eaa8a06d13edbf09bdf0fc308a9d8706a29dedca705f4b9a76383"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/futures_basis.py: akshare/futures/futures_basis.py changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is futures_basis.futures_spot_price at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u6240\u6709\u6570\u636E\u63A5\u53E3\u7EDF\u4E00\u8FD4\u56DE pandas.DataFrame\u201D; \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: \u7EDF\u4E00 31 \u4E2A\u63A5\u53E3\u7684\u53C2\u6570\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u9700\u8981\u4ED8\u8D39\u5BC6\u94A5\u7684 CurrencyScoop \u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_basis.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":"akshare/futures/futures_basis.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f42825b82b4456e60ed042baba113fa5e736cd58954e688c697eea2eb983200"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/option/option_comm_qihuo.py: akshare/option/option_comm_qihuo.py changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is option_comm_qihuo._option_comm_page at line 21), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D option_comm_info \u4E0E futures_inventory_99\uFF0C\u79FB\u9664 article_oman_rv (#7475)\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/option/option_comm_qihuo.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":"akshare/option/option_comm_qihuo.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5364b42ba3cc742712c3b63e9304d33abbc79b0ba447404824a772faec8150c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/futures_comm_qihuo.py: akshare/futures/futures_comm_qihuo.py changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is futures_comm_qihuo.futures_fee_9qihuo at line 211), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_comm_qihuo.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":"akshare/futures/futures_comm_qihuo.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f647036758b7a236d7f37298b0c17252105ac260c8ad160f7c41e8c43e53cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/requests_fun.py: akshare/futures/requests_fun.py changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is requests_fun._request at line 16), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D; \u201Cfix(futures): \u4FEE\u590D get_receipt \u63A5\u53E3\u53CA\u8BF7\u6C42\u8F85\u52A9\u51FD\u6570\u7684\u9519\u8BEF\u5904\u7406 (#7468)\u201D; \u201Cfix: \u7EDF\u4E00\u91CD\u8BD5\u903B\u8F91\uFF0C\u4E1C\u65B9\u8D22\u5BCC push2 \u9650\u6D41\u65F6\u4E0D\u518D\u91CD\u8BD5 (#7465)\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/requests_fun.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":"akshare/futures/requests_fun.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6eacadc76a41f0e5ca85c9484715ac2980e342679993338f41f2e0c24bab327"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/research/research_fred_md.py: akshare/research/research_fred_md.py changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is research_fred_md._fred_links at line 47), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/research/research_fred_md.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":"akshare/research/research_fred_md.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2098f2aa12a5a8004bcaf1d12086197951c789141d83145a043dfc4669ae10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/utils/http.py: akshare/utils/http.py changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is http.request_with_retry at line 186), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(stock): \u4FEE\u590D stock_us_name_sina\u3001stock_us_spot \u7FFB\u9875\u9014\u4E2D\u62A5 KeyError\u201D; \u201Cfix(futures): \u5927\u5546\u6240\u62D2\u7EDD\u8BBF\u95EE\u65F6\u7EDF\u4E00\u629B\u51FA DceBlockedError\u201D; \u201Cfix: \u7EDF\u4E00\u91CD\u8BD5\u903B\u8F91\uFF0C\u4E1C\u65B9\u8D22\u5BCC push2 \u9650\u6D41\u65F6\u4E0D\u518D\u91CD\u8BD5 (#7465)\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/utils/http.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":"akshare/utils/http.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"039cea63a826ff3e5aaae44f793fa0d7ebc341e0d8c9a78a87e312e02f49bb5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/index/index_zh_em.py: akshare/index/index_zh_em.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is index_zh_em.index_zh_hist_min_em at line 191), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u6240\u6709\u6570\u636E\u63A5\u53E3\u7EDF\u4E00\u8FD4\u56DE pandas.DataFrame\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/index/index_zh_em.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":"akshare/index/index_zh_em.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ebc2c1be78c930c4d50a9eec8ed078a4876e480f6879a3e5f33eae727258b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/utils/func.py: akshare/utils/func.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is func.resample_kline at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(stock): keep real trading days in Sina daily bars and stop redundant fetch in minute bars\u201D; \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D; \u201Cfix: \u7EDF\u4E00\u91CD\u8BD5\u903B\u8F91\uFF0C\u4E1C\u65B9\u8D22\u5BCC push2 \u9650\u6D41\u65F6\u4E0D\u518D\u91CD\u8BD5 (#7465)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/utils/func.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":"akshare/utils/func.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622228ee8b488a6a0ef8ccecb5b902629d506e8dfa72890b9cada1b40ac62d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/bond/bond_issue_cninfo.py: akshare/bond/bond_issue_cninfo.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is bond_issue_cninfo._get_file_content_cninfo at line 16), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix!: 34 \u4E2A\u7528\u8BCD\u4E0E\u91D1\u878D\u542B\u4E49\u4E0D\u7B26\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u63A5\u53E3\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/bond/bond_issue_cninfo.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":"akshare/bond/bond_issue_cninfo.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"601442e77f35fb4f4ac9ef429f715e6dd719ee832cfd3aba876da97e4cc4be95"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/interest_rate/interest_rate_repo.py: akshare/interest_rate/interest_rate_repo.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is interest_rate_repo.interest_rate_repo_query_cm at line 13), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/interest_rate/interest_rate_repo.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":"akshare/interest_rate/interest_rate_repo.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"780c18cb2814a501e73db2c298d137fa83b3cb518903e2f24142895d33ea6199"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/research/stock_notice.py: akshare/stock/research/stock_notice.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is stock_notice._stock_notice_report at line 30), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u66F4\u65B0 53 \u4E2A\u63A5\u53E3\u8FC7\u671F\u7684\u9ED8\u8BA4\u65E5\u671F\u201D; \u201Cfix!: \u7EDF\u4E00 31 \u4E2A\u63A5\u53E3\u7684\u53C2\u6570\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u9700\u8981\u4ED8\u8D39\u5BC6\u94A5\u7684 CurrencyScoop \u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/research/stock_notice.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":"akshare/stock/research/stock_notice.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c8fa405e6e741d54bcf1ca5c9dfd8b198c087ded49acb8fc4edf40308f85e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/bond/bond_info_cm.py: akshare/bond/bond_info_cm.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is bond_info_cm.bond_info_cm at line 121), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u4FEE\u590D 9 \u4E2A\u56E0\u4E0A\u6E38\u6539\u7248\u800C\u5931\u6548\u7684\u63A5\u53E3\uFF0C\u79FB\u9664 11 \u4E2A\u5DF2\u4E0B\u7EBF\u3001\u505C\u66F4\u6216\u91CD\u590D\u7684\u63A5\u53E3\u201D; \u201Cfix!: 34 \u4E2A\u7528\u8BCD\u4E0E\u91D1\u878D\u542B\u4E49\u4E0D\u7B26\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u63A5\u53E3\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix(bond): \u4FEE\u590D bond_info_cm \u4E0E bond_info_detail_cm \u63A5\u53E3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/bond/bond_info_cm.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":"akshare/bond/bond_info_cm.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f66f9c889ca4e99d4b76431d587f2826ff1c98ca8365c1e42095919164cdbc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/fund/fund_fhsp_em.py: akshare/fund/fund_fhsp_em.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is fund_fhsp_em.fund_fh_em at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u7EDF\u4E00 31 \u4E2A\u63A5\u53E3\u7684\u53C2\u6570\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u9700\u8981\u4ED8\u8D39\u5BC6\u94A5\u7684 CurrencyScoop \u63A5\u53E3\u201D; \u201Cfix!: \u5220\u9664 13 \u4E2A\u63A5\u53E3\u7684 timeout \u53C2\u6570\uFF0C\u6570\u5B57\u53C2\u6570\u540C\u65F6\u63A5\u53D7\u6587\u672C (#7471)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fund/fund_fhsp_em.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":"akshare/fund/fund_fhsp_em.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a46b995b4f4ed287c9dd808413f7356f380a1fa6d95f852bbeea3d84d245a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/quote/stock_hist_em.py: akshare/stock/quote/stock_hist_em.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is stock_hist_em.stock_zh_a_hist_em at line 952), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 22 \u4E2A\u884C\u60C5\u63A5\u53E3\u8865\u4E0A\u6570\u636E\u6E90\u540E\u7F00\uFF0Cstock_zh_a_hist \u6539\u4E3A stock_zh_a_hist_em\u201D; \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D; \u201Cfix!: \u5220\u9664 13 \u4E2A\u63A5\u53E3\u7684 timeout \u53C2\u6570\uFF0C\u6570\u5B57\u53C2\u6570\u540C\u65F6\u63A5\u53D7\u6587\u672C (#7471)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/quote/stock_hist_em.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":"akshare/stock/quote/stock_hist_em.py"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4b16224e0dbc52c5614afbd6b273014e8e9452405f82f08b487af9b62d26d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/alternative/alternative_sunrise_tad.py: akshare/alternative/alternative_sunrise_tad.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is alternative_sunrise_tad.alternative_sunrise_daily_tad at line 41), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_sunrise_tad.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":"akshare/alternative/alternative_sunrise_tad.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd3371606f9e3624e1c3695e4b0be0ab9b1d89ecc2abdd000b7153336e54459"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/option/option_finance.py: akshare/option/option_finance.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is option_finance.option_finance_board at line 90), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix(option)!: \u66F4\u6B63 option_finance_sse_underlying \u6210\u4EA4\u91CF\u4E0E\u6210\u4EA4\u989D\u7684\u5355\u4F4D\u201D; \u201Cfix(option): \u4FEE\u590D option_finance_sse_underlying \u4E0E option_finance_board \u63A5\u53E3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/option/option_finance.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":"akshare/option/option_finance.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40501683aa96ff922b3ffc28767107366927ac6a414b400a39d26068bf99a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/quote/stock_zh_a_tick_tx.py: akshare/stock/quote/stock_zh_a_tick_tx.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is stock_zh_a_tick_tx.stock_zh_a_tick_tx at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/quote/stock_zh_a_tick_tx.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":"akshare/stock/quote/stock_zh_a_tick_tx.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f42432576199f515b4067b5f96467a43126bf8761d5d4e46b3909987ae54d87"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/futures_inventory_99.py: akshare/futures/futures_inventory_99.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is futures_inventory_99.futures_inventory_99 at line 76), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u4FEE\u590D option_comm_info \u4E0E futures_inventory_99\uFF0C\u79FB\u9664 article_oman_rv (#7475)\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_inventory_99.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":"akshare/futures/futures_inventory_99.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc47057bc1c003c762fd0f544c3a65ba41a752fb44384bc1b2cdbcc9b6a776e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/alternative/alternative_weibo_nlp.py: akshare/alternative/alternative_weibo_nlp.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is alternative_weibo_nlp.alternative_weibo_stock_time_js at line 20), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: \u6240\u6709\u6570\u636E\u63A5\u53E3\u7EDF\u4E00\u8FD4\u56DE pandas.DataFrame\u201D; \u201Cfix: \u6539\u8FDB ak.search \u7684\u6392\u5E8F\uFF0C\u8865\u5168\u6570\u636E\u6E90\u5730\u5740\u3001\u53C2\u6570\u8BF4\u660E\u4E0E\u6807\u9898\u201D; \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_weibo_nlp.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":"akshare/alternative/alternative_weibo_nlp.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff911c4b41bcd4510a6db85db765dd19ff91005659f10095b38647d9e276991"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/fx/fx_quote_baidu.py: akshare/fx/fx_quote_baidu.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is fx_quote_baidu.fx_quote_baidu at line 17), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: fx_quote_baidu \u88AB\u98CE\u63A7\u62E6\u622A\u65F6\u7ED9\u51FA\u660E\u786E\u62A5\u9519\uFF0C\u8865\u5145\u540C\u7C7B\u63A5\u53E3\u5BF9\u7167\uFF0C\u66F4\u65B0 README\u201D; \u201Cfix: \u5220\u9664\u5199\u6B7B\u7684\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4FEE\u590D stock_zh_a_daily \u67E5\u8BE2\u5DF2\u9000\u5E02\u80A1\u7968\u62A5\u9519 (#7472)\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/fx/fx_quote_baidu.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":"akshare/fx/fx_quote_baidu.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"417a5f4b8e835914ee86d4533ff47bc969e7ab9514700b7be67946a894f9927d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/index/index_stock_zh_csindex.py: akshare/index/index_stock_zh_csindex.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is index_stock_zh_csindex.index_hist_csindex at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(index): \u4FEE\u590D index_hist_csindex \u5728\u6CA1\u6709\u6570\u636E\u65F6\u62A5 Length mismatch\u201D; \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/index/index_stock_zh_csindex.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":"akshare/index/index_stock_zh_csindex.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd76e4554ac980d5d83bad4c65b1d854bc50b65453658167a627c7cd3be84122"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/stock/finance/stock_finance_us_em.py: akshare/stock/finance/stock_finance_us_em.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is stock_finance_us_em.__stock_financial_us_report_em at line 46), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 9 \u4E2A\u671F\u8D27\u63A5\u53E3\u7684\u8FD4\u56DE\u503C\u7531\u5B57\u5178\u6539\u4E3A\u8868\u683C\uFF0C5 \u4E2A\u63A5\u53E3\u7684\u4E0A\u6E38\u5B57\u6BB5\u6539\u4E3A\u4E2D\u6587\u5217\u540D\u201D; \u201Cfix!: \u7EDF\u4E00 31 \u4E2A\u63A5\u53E3\u7684\u53C2\u6570\u540D\uFF0C\u79FB\u9664 5 \u4E2A\u9700\u8981\u4ED8\u8D39\u5BC6\u94A5\u7684 CurrencyScoop \u63A5\u53E3\u201D; \u201Cfix(futures): \u8FD4\u56DE\u987A\u5E8F\u4E0D\u518D\u968F\u8FDB\u7A0B\u53D8\u5316\uFF0C\u4FEE\u590D futures_gfex_warehouse_receipt (#7473)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/stock/finance/stock_finance_us_em.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":"akshare/stock/finance/stock_finance_us_em.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0766ce959ac15029cd7837ec4726ae4c3187fc3d186cd09f1a179ce1e3aff8cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/alternative/alternative_car_cpca.py: akshare/alternative/alternative_car_cpca.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is alternative_car_cpca.alternative_car_market_segment_cpca at line 196), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix(alternative,fund): \u4FEE\u590D car_market_cate_cpca\u3001fund_hk_fund_hist_em \u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D fx_c_swap_cm\u3001fred_md \u7B49\u63A5\u53E3\u5E76\u6E05\u7406\u88F8 except \u4E0E print (#7464)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_car_cpca.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":"akshare/alternative/alternative_car_cpca.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea7ba3b3ed17678f6297b7d80733ef0b9e7596b8e084fa2da720daac6dfe3fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/alternative/alternative_fortune_forbes_500.py: akshare/alternative/alternative_fortune_forbes_500.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is alternative_fortune_forbes_500.alternative_rank_forbes at line 17), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/alternative/alternative_fortune_forbes_500.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":"akshare/alternative/alternative_fortune_forbes_500.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4d86b7baaad0dcf9bf55ba09a4a0c783dc682f295cad979a99a0f13a7d04aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/macro/macro_cnbs.py: akshare/macro/macro_cnbs.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is macro_cnbs.macro_china_leverage_nifd at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 83 \u4E2A\u63A5\u53E3\u6539\u4E3A\u4EE5\u6240\u5C5E\u7C7B\u76EE\u5F00\u5934\u5E76\u628A\u6570\u636E\u6E90\u540E\u7F6E\uFF0C\u79FB\u9664 6 \u4E2A\u5DF2\u5931\u6548\u7684\u63A5\u53E3\u201D; \u201Cfix(macro): \u4FEE\u590D macro_cnbs \u63A5\u53E3\u201D; \u201Cfix: \u4FEE\u590D futures_comm_info \u7B49\u63A5\u53E3\u5E76\u79FB\u9664\u672A\u4F7F\u7528\u7684\u4F9D\u8D56 (#7463)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/macro/macro_cnbs.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":"akshare/macro/macro_cnbs.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efda7573c594b6d3da63b3e10d841885c3eda99b5e093066ff1a47d620c269f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: akshare/futures/futures_rule.py: akshare/futures/futures_rule.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is futures_rule.futures_trading_rule_gtja at line 16), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix!: 68 \u4E2A\u7528\u8BCD\u6709\u6B67\u4E49\u6216\u5199\u6CD5\u4E0D\u4E00\u7684\u63A5\u53E3\u6539\u540D\uFF0C\u4FEE\u590D 4 \u4E2A\u63A5\u53E3\u201D; \u201Cfix: \u6062\u590D\u5168\u90E8\u8BF7\u6C42\u7684\u8BC1\u4E66\u6821\u9A8C (#7474)\u201D; \u201Cfix: \u89E3\u6790\u4E0A\u6E38\u54CD\u5E94\u65F6\u4EE5 ast.literal_eval \u66FF\u4EE3 eval\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 21:58:12 \u002B08:00\u0027 --until=\u00272026-11-15 21:58:12 \u002B08:00\u0027 --full-history --no-merges -- akshare/futures/futures_rule.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":"akshare/futures/futures_rule.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6733e91166baaf48cd43b2a1ed42468dd0bd3fc1dc577879a8cc2e7c5fa5cc3f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: scripts/check_punctuation.py, akshare/macro/macro_china_nbs.py, akshare/index/index_option_qvix.py, akshare/futures/futures_comm_qihuo.py, akshare/stock/flow/stock_margin_bse.py, akshare/stock/finance/stock_gbjg_em.py, akshare/stock/quote/stock_basic_info_xq.py, akshare/fund/fund_init_ths.py (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c37899373d4274858904d7fc3ff80010514a847060f1fb6fbd0a21551af67ac1"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (18 single-owned of 291 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; 291 of the 380 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: akshare/macro/macro_canada.py, akshare/macro/macro_china_cx.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 594, 3747, 3750, 3871, 3933, 4088), for example \u0022Return processed words\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f17496bba75d2f00f45df0a2b6ab1450a239a273607d82b4b9e7884bfb5d56b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (92167 LoC, 365 module-visible types across 27 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: 95 % of calls cross a namespace and only 0 % 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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d681850f647871d19f6230f09cf14304b1603d95a99b027740f42dbd0786c68"},"properties":{"commitSha":"15487206552b8e21e404cf8557e5537b6c0e4758"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18f218fabbcf3d1b492b52bf84e9cd46471f4ee34755a3ebc473fdb0994c5e11"},"properties":{"commitSha":"15487206552b8e21e404cf8557e5537b6c0e4758"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2103c1aff1e5800438d00625e8d2d6577d1d453ebba7b710b4ba8b292ecb7a1"},"properties":{"commitSha":"15487206552b8e21e404cf8557e5537b6c0e4758"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f15da878d32453d358627d873b4c4ec3f076e13aa5f113f823f69fe4af7ea68a"},"properties":{"commitSha":"15487206552b8e21e404cf8557e5537b6c0e4758"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96018d490452d760baed4fc4cb713544900967a497c67f99ddee0b22aa0e95d0"},"properties":{"commitSha":"8623219ee91a4c4ed8ffa983cdc0f5bb7db7a264"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b73070966ba37803355dae91fca2e1075ba52170a07f20c5033d63672f5b050"},"properties":{"commitSha":"81915072cfeb50198342fc55b162bec88f605908"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f18576eb5c1cf619d19a77557a9ccde7bc1b3e7aa3d8ff6d7fb57ed4190c260f"},"properties":{"commitSha":"dd3c5332ec80750d1435e282820bcfd79c05cd5f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56f8f0d9fe8aff5c711b99e28eee734962ebb3946c9680e6b2f853af802b6f07"},"properties":{"commitSha":"c56a5fd3c2351e8d32a289f1b01fc7385bb0d1fc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b57ea4a1e58bff04144348364a9f326c5c0c00a5d0dbbd4c5562856fbc8fe879"},"properties":{"commitSha":"19c47bdb76247404c496e13037faa52c666b5356"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b46383bf643fa80789d3f8d63f8fbb1d6852692fc264b4e05303225d2a49166"},"properties":{"commitSha":"1a05ebb91c1840599b01560a218c8c9f847d71f0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8117eae3a230896f88f84d5348020fbc381e0c3bfa0e75f6f01cfbe271e866aa"},"properties":{"commitSha":"f05f8f3dfc340981b3be6ace9b9f357aa1572735"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fee2b4ef132839dae0909528c939c0afb61cf28a7fc71ba00c3f2fac1b20d21"},"properties":{"commitSha":"20541bc7949bbd748e5b2178e560e4018d5c0cea"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4662e3c01c9f10f6239685e3ff266af6af05a9e348c5549e7128cecb4972da8e"},"properties":{"commitSha":"c52a737a868d74841eb00e10f7907c4199787073"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40bbe9808f73fa60bb64b2722840529239c8df59fbb048ba2f63713a3df6f2e3"},"properties":{"commitSha":"fb2245fb8c9b6a8e22ea2cbe4260e654ca84d9b2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6c34c18df23a9f1834e15c5993c28de99e95e451c96f46bb9b1dcf521cfe0c8"},"properties":{"commitSha":"c659924a82721fc6ffa27cc6ccd38e08bfba4317"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67762ba5df7a92682021b1eaead2a07ee882c0eb6508879615164ec13db0daf8"},"properties":{"commitSha":"bfe80a54b337c7ad7fb506df6fcea6440dc61f46"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8368bcfddf1a2aab51e8df0f1473b66b5c8820f62eb0f132430294c6f9ef9287"},"properties":{"commitSha":"62f590d201980d4480264c0cf566f1012d208be3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7b430fbf9e3072cb18308070c5bd2645ff0e5243a3f89abe75548c57c78d063"},"properties":{"commitSha":"670f4756c149351ad93965af3be254461db34f07"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df01de1d73c809db36a1e47452a3b72d7240388a56b56dd426d8c50f691b10a9"},"properties":{"commitSha":"b5ac0589ca7ab42730cf6d122ad0401c02b00033"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"738b91dd3977eb77abe8c8bc9bd888b751e56470a99720b765a1051bc403e795"},"properties":{"commitSha":"f758900537c09cc9713ced7cd53ba5554a7963a7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"378ef603d5600a52a88ab7e98a404764c26846f89318343c1da5bec1a87038a0"},"properties":{"commitSha":"fd4c6b6eba865609d287475d87ffe774d65715a4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78f226dfc2a81061d9cc7ba67b53d22c204012a96db0368df849bf853021302c"},"properties":{"commitSha":"6bb161f5b025b4cba2b16c29a9eaf493fb5ba27d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e20acdfbec3ddfc02ebcc18c6ed4f9cf2bbeb85b13543bd6775f2ee8413a5834"},"properties":{"commitSha":"4616d804124b59985de5fbdbb8aafa3bfdaf9aba"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"156b1a71c6dcf409dc4c6793e552491882ddf0e9a47ca7c8b892a121c8b5b99f"},"properties":{"commitSha":"d22f3e0b06b5f1c5ba87ad141310286ef7486a1a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"285bab25c37306d57d5e22b836b61e3c5f024f86b097c632a8c14db70b5be113"},"properties":{"commitSha":"cdcc50b52ba8086161a414685780b1fea90488f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c23785b5b0d34174b5989487f7d52d339975138a6862afa1246c5d1657ba511"},"properties":{"commitSha":"8bcfce5c9662e6647cb087ddb706740f48f066a3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"533af507fe1ce4b2ce175180e85ce7f48fb9b1ae4119074526dd9d278ab12dbc"},"properties":{"commitSha":"4e37ae8248b0f75fbce2ee307a66cef75fe5d7a7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a32f9b0cc3900ea8785c69922de9723de6a2cef09a051eb4424ea2609298cd41"},"properties":{"commitSha":"86030a8e6decd978add6ed2cbbb6b58a90de6a57"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b6acbff94a7ef3e8fcb3457521e3e8930092cb6a50f99e81f13aad2fa7a201f"},"properties":{"commitSha":"e525bb1c8d23e55a6eea484cfc1d3eb3d83030d0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79c163ee5e0c03078a7644098cdba2592ad80ab9724cdb9770e53887a2b85eae"},"properties":{"commitSha":"e644955d03eaf078b2526b2128f48a0589db2819"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b989beef7f3add0f64f45ce5f758497c231713611d8b765e9bf697ba1503186"},"properties":{"commitSha":"9d30782c87e182d42f2bf46417afe2d896b507b1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"453a8dee5465f407892f9ea1b295b1a252ef12b58f580d548b7e6d0f7464586d"},"properties":{"commitSha":"b7f360730a4f42e2b1153d2d4e1742ef277d8c6b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"105887d7fdfa06ddfcc44697b4c1d49238a5a3deddfe6a2247bbc401d5b727e4"},"properties":{"commitSha":"a42a44a643d7ad0becfd65ef1d60b8501857347f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39d21b7825bca9d83619444b92ec9e5460fe1153b4bcfcfdad171e1b193a85aa"},"properties":{"commitSha":"a0c056802a5960103cabab8d73d3bfcf81f26c44"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"cd200642771b8ada7e105c4ba31d4c034cc6284638beafd139460f65b6617477"},"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":"954db4df634776985bc0b42034c8333c7e4837aefc62654dc26b466719824aec"},"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":"e801e0eb6037f78521c005adb1b231a0ad5588e94ddeb66e4a5a245ea9445113"},"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":"9413aa1f4e7f65c750654b877fb331d1dc5eae164d59ac6bcfbdee2ca11d7563"},"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":"60d5dd8d672863feffa512ead2a03de0a4e29804d99e85babbab80d0d786db87"},"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":"9deaa298d2f112ddbf7f4752f9c12c82f1d03ec2e29be6dea4ce01d16864fec7"},"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":"09c90301b8011373ed46e1496aac8b2c30fa57002cb248e3cc65fa1a09e9834b"},"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":"28e1fc459df9b75bea09e5e5418489972d920ce04ac290a809bbcae705f4fadd"},"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":"c17bc98a84c4763b4d8f3d7f99b94260bcf4ff94a3b75a7b2aa3f60d5abb3a76"},"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":"b82de6c6bfddd02900f95e8083651073d5c8c048fcdd649d793d0c5f11adf2fc"},"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":"6564705812c0783c29459b75371fcc911dacf0802948c65bfe56efb6d88c074c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"df07701b95f29f4910dc9d32f358331685a26eb76d7d2da7b1a58b8c6cc1b040"},"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":"09e9df5a4a0d1960a6b753948f3d3547737b098ea6c66724594dca9d46675942"},"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":"79e2512e79f8d23072c961a8397bc9710f0fef259e029b36508ac1b7289e4356"},"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":"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":"8a0dd9b6bdb7a08a0fe0212b88e8bc1f3f11db9fd953e9add87af01f55cd1099"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"dfe24db536db4b9dcea5a8728b88e44029053b7238ebdefec121d55469ee641d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36e96a16083ee88e65628176018740db5d94d318928be57095398895c14d6bd8"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4356e4683b36dbf6d7a40faa57c7544ad0f33f091fa275dc158f5dffdf069f7f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66dc25faa87a6406948b90e4d6b82294967328dc5b8dbc5a0d930007f01e711c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"296421deb2407710241d50d8468253d8b94ad7929f920da88b0e1a1b31943621"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d9b4cb462b3a4bedea93b23254e40c04623ceb57d949a5efdb5ba3cc2522fa5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d03dbdaf6fa1153c6c6fcafbd4a34aade97bd5425a916cbc8148d7c373039aa9"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b170950d970f969a1584d8492747ab669b1b0fbd236c3dcc49bab30041651b3"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3734bed19def359c8c62e9b61ca2124fc8faf0088cd8304c2ac13dad388f5729"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"474e84d711d9114c0a920230bddc46489c62cd0c70e1b1ae2764968d41323bc5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da0edfdec6bd1052e8b89b8c91c7aa1dd640f150541018753c7d843f6431259a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a96a53dbaabb6f722b2cc3b9a584bda5963d1bc66a35f7d26206b8ec7d94f5c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac62d4b7d858b7212373671f796c283b0e60c488cb1ed6c2a3c0f4d04fc2b308"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04b435851c4a0db15b58ba7ff5ad9636eb55347ce425b54f8c3164d7e443d576"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1c1734032feb1775df30169aac97006812a6a3a324111a1ee3d30bb39d0a5b4"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a18af9c411b7e5d8aee0e2a5035a86b9bd09b2a920f1ed17b1736093bd429e47"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"949769ebeb667cd7c534788bbaab5baf369256b043333e4873756b5e2ec4265e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8bf259d04404052c93b869d8676f222a001875f8acbac2adefa521b1d4e74f0"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9d9e0f5d2276020320550a496592cdb0d856e6a2161b8b6a6ba04c70d0c53ae"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fc7c12f2af553878b657e947892ff373cb2c55acd66d8a0d2f6af02c52639e9"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"5a5e2ee43c77fbb31e29e3e9aaadd2f5dbcbfb4faeef5f75ae08e987869d4185"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"4d378311f1fc34b9388f72ce9a6619274494106792ce3308cf06a496335ccec7"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"4b5a946d20708000ccaf6e9febf0b9b874c71f93985fcaa48df0ed3197b525f1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"67b8dc95f4b9a5c541999e71a75c2db99e6e5da822cb12b642e9799bdff94a73"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"13238b0263892e2293643a491a36cf15f14a90d5aa3d11430896126964b8efb5"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: __init__.py \u2194 build_registry.py: \u0060akshare/__init__.py\u0060 (context akshare) and \u0060scripts/build_registry.py\u0060 (context scripts) sit in DIFFERENT parts of the tree yet change together 62% of the time (8 of the 13 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006007993f98\u0060 feat!: \u65B0\u6D6A 6 \u4E2A\u80A1\u7968\u65E5\u7EBF\u63A5\u53E3\u65B0\u589E period \u53C2\u6570\u5E76\u6539\u540D\u4E3A *_hist_sina; \u0060f43ea5f1\u0060 fix!: \u79FB\u9664\u5947\u8D27\u53EF\u67E5\u5BA2\u6237\u7AEF\u4E0E 2 \u4E2A\u65E0\u6570\u636E\u7684\u63A5\u53E3\uFF0C\u4FEE\u590D\u9759\u9ED8\u8FD4\u56DE\u7A7A\u8868\u7684\u63A5\u53E3; \u0060ab94ddf6\u0060 feat: \u65B0\u589E ak.renamed_info\uFF0C\u641C\u7D22\u65E7\u63A5\u53E3\u540D\u65F6\u628A\u73B0\u5728\u7684\u540D\u79F0\u6392\u5728\u7B2C\u4E00\u4F4D \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07f13205495c461dda2d32d31769982cbea4175057f170b3c4f5571638a5b68"}},{"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":"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":"ada2c703b98db31a80c28a3f1a114c2238b0e090258a3d5ed82da142f5eba8ed"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"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 2 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/main_dev_check.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 5 plain JS \u2014 the untyped files are akshare/data/cninfo.js, akshare/data/crypto.js, akshare/data/jm.js, akshare/data/outcrypto.js, akshare/data/ths.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): akshare/data/cninfo.js:5590 \u00B7 akshare/data/cninfo.js:5802 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5590}}}],"partialFingerprints":{"codehealthFindingId/v1":"facfe41d174fdf04dc72f957da6b8e1a2ec77244b1cce8312d4b66a9de04dec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): akshare/data/jm.js:76 \u00B7 akshare/data/jm.js:1439 \u2014 the two spans are one implementation copied and then locally edited \u2014 217 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7aeb1eb5e119b4ca47ec0beba44f78a86b7d777719a6c5bec87b87fba6820d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): akshare/data/cninfo.js:1033 \u00B7 akshare/data/cninfo.js:1780 \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":"akshare/data/cninfo.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c170b62f7800cd3016993df50f310d0967af8de39697df68a0057ab467d1fe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): akshare/data/cninfo.js:1719 \u00B7 akshare/data/cninfo.js:1740 \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":"akshare/data/cninfo.js"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3090881109358698ddd43088934abd0c5d69e71215952b8f688c59fb618b406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): akshare/data/cninfo.js:5548 \u00B7 akshare/data/cninfo.js:5762 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9006389a92e2b7f7a3ac1414ab52b2edf74f5e7199eec390d8be15f2fe0322d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): akshare/data/cninfo.js:2008 \u00B7 akshare/data/cninfo.js:2134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"219d237c046678bd6d4e36197188cde4dfcf296db49f71afd8dd967a4f487544"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): akshare/data/cninfo.js:2100 \u00B7 akshare/data/cninfo.js:2214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d72f708b78cdd49819db2f4cd9d09f18079822bd19e2aab923cc47358ebcb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): akshare/data/cninfo.js:5661 \u00B7 akshare/data/cninfo.js:5873 \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":"akshare/data/cninfo.js"},"region":{"startLine":5661}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbea0050779bfb87cab1776eae9c76e0124806efdfc0cc7f71b47e9a1658abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): akshare/data/jm.js:436 \u00B7 akshare/data/jm.js:740 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab1cea26d16c6f49581d2ee906d3504ae1c59a737dfc0709116f7f7eb23f634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): akshare/data/cninfo.js:1205 \u00B7 akshare/data/cninfo.js:1386 \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":"akshare/data/cninfo.js"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa04c345bd007e63a4a45bbefdb075272e5814c0ecf000106c1ef9badbc793a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): akshare/data/outcrypto.js:1321 \u00B7 akshare/data/outcrypto.js:1408 \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":"akshare/data/outcrypto.js"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032b52517eb54d5b5d991905dd2b01f754f039cd0997ff90328402d6231e339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): akshare/data/cninfo.js:900 \u00B7 akshare/data/cninfo.js:1681 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ae9b13c954cfc83318f5465ed8547a838c302ebdafa8876874e0efaa8d45e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): akshare/data/cninfo.js:1011 \u00B7 akshare/data/cninfo.js:1188 \u00B7 akshare/data/cninfo.js:1366 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29273f13a5231c785a17a369d7ff758617355c3375ac454081cd103f7d28fad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): akshare/data/cninfo.js:171 \u00B7 akshare/data/cninfo.js:2502 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ffba8ec5233232075d05dc2b50a4e8217a34a3a4c13a7988246be4e81760d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): akshare/data/cninfo.js:4385 \u00B7 akshare/data/cninfo.js:5556 \u00B7 akshare/data/cninfo.js:5770 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":4385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a384251a8a4f2dfa1c4261636058c09c0ff7b99c895195eddb7a9d9d126cfd3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): akshare/data/jm.js:230 \u00B7 akshare/data/jm.js:2189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf9e2e94ed366384b2a0465844e6cf168c8f9eac0249a578827fbb31ce7db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): akshare/data/jm.js:967 \u00B7 akshare/data/jm.js:1172 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cd39677c9d84485e63726b9feb1014c7530253fde2596b3ec8e4750f3ec809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): akshare/data/outcrypto.js:1359 \u00B7 akshare/data/outcrypto.js:1385 \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":"akshare/data/outcrypto.js"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"562abee74b8f029151e4174468c8feb9f2527dccaf50481731c2160a71380f3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): akshare/data/cninfo.js:424 \u00B7 akshare/data/cninfo.js:1471 \u00B7 akshare/data/cninfo.js:1530 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32e7693024d27b7028f672ca82f4c2474fee351dbd9e2333bd269deef15a5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): akshare/data/cninfo.js:4299 \u00B7 akshare/data/cninfo.js:5526 \u00B7 akshare/data/cninfo.js:5740 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":4299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8912e7d9078a274f5dbb85effea2a5fe0f3d48a4251aebd608b09ed20d38f0d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): akshare/data/cninfo.js:5232 \u00B7 akshare/data/outcrypto.js:1228 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4225b442da61cee98b0aea6171704149e17c79afa408a7d257f5cb0a025b0769"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): akshare/data/cninfo.js:5263 \u00B7 akshare/data/outcrypto.js:1242 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5263}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c1cf258475b7cd036e8aefc97b61fab15377a9c9fe309eb08fec1113162e1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): akshare/data/cninfo.js:5693 \u00B7 akshare/data/cninfo.js:5905 \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":"akshare/data/cninfo.js"},"region":{"startLine":5693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c048af343b260d17582cb6f9950e1684a32da8bcf1769a311d10e920faab19a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): akshare/data/jm.js:158 \u00B7 akshare/data/jm.js:915 \u00B7 akshare/data/jm.js:1088 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be5ca733c2204d609295ec250adc5d062b21d015109ea84fa26e8f6f579b658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): akshare/data/jm.js:323 \u00B7 akshare/data/jm.js:644 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f626f8e47833f265fa9049b9150b2e797c81cbab6685deac337e645af971506"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): akshare/data/cninfo.js:337 \u00B7 akshare/data/cninfo.js:397 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1ec5d1897376fc0d83581c88dfed22585e8f671aae8b199a20fcea1561f6e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): akshare/data/cninfo.js:2699 \u00B7 akshare/data/cninfo.js:2832 \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":"akshare/data/cninfo.js"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a32e145d530f03aefac7db27adc02d24810af6c00c9a884d646abe9e044d223"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): akshare/data/cninfo.js:3055 \u00B7 akshare/data/cninfo.js:3081 \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":"akshare/data/cninfo.js"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0055299178f4c8decc304b72f3d6cd6ffd0e3dba12553158db18bdd71a8eec0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): akshare/data/cninfo.js:4314 \u00B7 akshare/data/cninfo.js:5545 \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":"akshare/data/cninfo.js"},"region":{"startLine":4314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4d8ec37e92a08a67ff2e18708f9bdab7143ebf753ebce9bd1aced242a3c742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): akshare/data/outcrypto.js:1286 \u00B7 akshare/data/outcrypto.js:1300 \u00B7 akshare/data/outcrypto.js:1357 \u00B7 akshare/data/outcrypto.js:1369 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"13efe0e167f033fe001dd51c6b32534c28db1e84e6f649f108668cc85621fe0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): akshare/data/cninfo.js:3099 \u00B7 akshare/data/cninfo.js:3107 \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":"akshare/data/cninfo.js"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"f183f085c99a27fa35f3ea28f8371e1657bc96e19cf5230d676bb34f0defdc9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): akshare/data/cninfo.js:1316 \u00B7 akshare/data/cninfo.js:2980 \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":"akshare/data/cninfo.js"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1810f134e766f0f40b3c994767a2924545c939f207c1c309c9faa4bdedc6c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): akshare/data/cninfo.js:1449 \u00B7 akshare/data/cninfo.js:1508 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fc283b1340b0964ba6c79ff83e30df74aed64716ecf4f25ab3e428e7e5d744"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): akshare/data/ths.js:65 \u00B7 akshare/data/ths.js:757 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc30fad88d0b2ade52ac3f396c0c6835c892e1d0522d21e5ca9b2224a6dfdcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): akshare/data/cninfo.js:1184 \u00B7 akshare/data/cninfo.js:1362 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"057757a1166bb38c22309b9c27e14624d16d3a182af74f8e63e02c2820802619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): akshare/data/cninfo.js:4531 \u00B7 akshare/data/outcrypto.js:634 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"041d8daa538e94f0eff605081bc5e3c1d618e6fa184aede3172a500ce1899c8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): akshare/data/cninfo.js:1073 \u00B7 akshare/data/cninfo.js:1083 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db6aca0878d43b8f7df327051da3e7c697efe7834982f960d97dc953d5d980c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): akshare/data/cninfo.js:5719 \u00B7 akshare/data/cninfo.js:5931 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"af911e85b48f2f6754f61268e0eb8861fbe0571934c45402021a16b403857a0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): akshare/data/outcrypto.js:607 \u00B7 akshare/data/outcrypto.js:612 \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":"akshare/data/outcrypto.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebefdb4d2b325342f8a79f3c8f0cd6a1c80d3c96b7acdf55dce76aca3eefe3d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _doProcessBlock (cyclomatic 21, cognitive 35): _doProcessBlock has cyclomatic complexity 21 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"af307266df8be41b50b704963e255305b3e1a85cd481ba3ecf4b13cdcd850cd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clone (cyclomatic 17, cognitive 17): clone has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc753a1eb12850e54c3108c7638ea64983e5ae94d023fd9b61b2e9a7ba8dfc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdc6bcc54d7e64f87b39e918ffc35cf2049e44d8e15c99545299b561eff7dab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 13, cognitive 14): init has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7132140a8b7971b0a21e4dd5ed743332992e4a7cd298d3743fe449e7d14c068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _doReset (cyclomatic 12, cognitive 19): _doReset has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":4466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d13d9fca27c1ec66cb60651810890d1359f6ea43ac76d8e87f23591444a3e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _doProcessBlock (cyclomatic 11, cognitive 23): _doProcessBlock has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3276add8d698f243e3621e30edb332dca98b69ef364f89f44c0e5e77141d2d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _process (cyclomatic 11, cognitive 19): _process has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e079cf008a59acb547869fd349802fa5cad744a50053ccdf58f17a747fe578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function concat (cyclomatic 11, cognitive 15): concat has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8c88c1d7badf24be3eee1bcd1dfc8a0da5bef8b129d3a7d492153a79c44c88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _doProcessBlock (cyclomatic 11, cognitive 14): _doProcessBlock has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac234d3a9b965cfb63cfe85a4175142088efed3ac2c061043f9a3a2bebf9118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextState (cyclomatic 11, cognitive 10): nextState has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5674}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b1b6941e1c56c91688a3474dfb8c680665fa0b54168718201110016665f12c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextState (cyclomatic 11, cognitive 10): nextState has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5886}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b70c868e497ef97b1d95c43328484c8c8376754094138a9cf9123b61d959e"}},{"ruleId":"R3","level":"warning","message":{"text":"akshare/data/cninfo.js: 5262 lines of code: akshare/data/cninfo.js has 5262 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e0a8020122035e90b1637a88ee42980504988da1eb2dc1ed7aa488697a2b42"}},{"ruleId":"R3","level":"warning","message":{"text":"akshare/data/jm.js: 2256 lines of code: akshare/data/jm.js has 2256 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/jm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91010cbdba2a83aa3d42eaa2aace3a10765d0d599c998b0d306dc0210bf2208"}},{"ruleId":"R3","level":"warning","message":{"text":"akshare/data/outcrypto.js: 1422 lines of code: akshare/data/outcrypto.js has 1422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/outcrypto.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9ec510bc93d83c3f479325b490b57df69de8829243d5a2e4588ddd0290484a"}},{"ruleId":"R3","level":"warning","message":{"text":"akshare/data/ths.js: 978 lines of code: akshare/data/ths.js has 978 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/ths.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072b10d12ebc112022f0a7f9849012c15dacf215af468e1f0b2b1a2c5856ef41"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getResCode1\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5781ef04efe823a8476d5731c0e3d249c142b431323a16e6d3f0a01158a782b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027my_decode\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1510c73777038634d9edb51fe0cbc7f7485469724c08c9a3be6186adebcdfca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027new_my_decode\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/data/cninfo.js"},"region":{"startLine":6003}}}],"partialFingerprints":{"codehealthFindingId/v1":"c567f6e1627b172cdb5b420661f8285bfb672ade45241eef55d131871169d9bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022result\u0022 not in data_json or \u0022pages\u0022 not in data_json[\u0022result\u0022]\u0060 appears character-identically in 2 files \u2014 akshare/stock/issue/stock_ipo_review.py, akshare/stock/issue/stock_ipo_tutor.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":"akshare/stock/issue/stock_ipo_review.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff970473acb4896544ab264e23de2601d0692dcc802860bf0683dc01e6774b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data_json[\u0022data\u0022] and data_json[\u0022data\u0022][\u0022klines\u0022]\u0060 appears character-identically in 3 files \u2014 akshare/fund/fund_etf_em.py, akshare/fund/fund_lof_em.py, akshare/stock/quote/stock_hist_em.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":"akshare/fund/fund_etf_em.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4569c06626f3faf71805490f8b1a65b60965fd94285d70cea0ea59c48386445d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start == -1 or end == -1 or end \u003C= start\u0060 appears character-identically in 2 files \u2014 akshare/stock/issue/stock_ipo_review.py, akshare/stock/issue/stock_ipo_tutor.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":"akshare/stock/issue/stock_ipo_review.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1221b12853180af44d92462c50872f5684880ac252966c7b64f05ffb351e07da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/research/stock_notice.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2145baaca05ddbd42b35f29f3a4ad603ca7cf2ee630a74ade1bf0e90e3a6cf7"}},{"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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d08aeaa44505dc02b03eb3aa9203b8ebc4c5a19bb407f5763c578f0c1c61ede"}},{"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":"akshare/stock/quote/stock_zh_a_sina.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6763ca8f19bbbf27ec81b1e89fc9654b008197f03b42d21363f9a5d8892c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_a_tick_tx.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e20ac909436fdcb0e48c36672875fa5912b2fae110f65ade545c3ad3355ad02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe4576747f5b15a81bf40cc0593744a7671dc1466190034b4f40d9000a47e26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/quote/stock_zh_ah_tx.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a6de4b755a23fdff31b355927b702a04330844b6abd5a16da81d6e69fa968"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35f089466519653355c5c138dd447d21fa4dfef9c8a956b36e759342cefa5ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/flow/stock_lhb_sina.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8919cf4ee146e286830bbffe1f0b71b857007ea29151c4546aa7daaff4f5fd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_concept_ths.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f9cc51b347232f2ac692a0b17118cb594ac9bff615a287f54ec063efad3336"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/stock/board/stock_board_industry_ths.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c4f9eb338e63ada4751e9c475d24bebacdcafadaf8bb0304e8ba82a8a98a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/option/option_commodity.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"096a5a501ba51e029577ea7fb9af7f8d3d843c70f7ccc351b71f44640fad9e9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6ce0cd2d25619cec43e0a2cca9f3b81d5b030440c976f063ab62ccae9c7e12"}},{"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":"akshare/futures/futures_cot.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd328819aeefa9ff127d05b38845a523e35db9a5b9bb7cb2aef78c4050b3da9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ecfb274dcad047505da285edf87eacd0b8e3497d61615a22f4a68f90cb5ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4233536eaced89d5521d7831c9dd80d60cd090da7076a9d462c5b44892e34779"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_cot.py"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a51e69596145dfe91e729b42af12ae83389bcfdf1d6d93fec6c0fc9b3c5d4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1fae50e2a71d8ac01b040bd26f3748b2e4243091c63eb436a02863a84031df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_daily_bar.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3b33f5581be61a96e8d7311345fc6c2a259d5e11f22ac88732fe0e83aa4dee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_index_sina.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"745f1ce1efd747e6eb2828bca1e4970ff9e4cd1377a823a20199892a92c37448"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_receipt.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9016cd93ead51c09e14b84ef29094d4de146f1f047017c324e43b4fe8d218c88"}},{"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":"akshare/futures/futures_roll_yield.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad9c049a698d56ca7bf572e6a741603284a74181ff9d6a373bbb9f4de510831"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_to_spot.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b1c12f4731b3e71ada4f21eb3c82b7d3158fd317b80d302d05e6194f00343f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/futures/futures_zh_sina.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bffb1db38a1f3f48ac0273e9134dd92348928970c745dbd1861b5ddb1fb1b01"}},{"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":"akshare/data/ths.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb9b06febb0cc2202aed644fb2522caba8de625d02a34184e20d54d55fee51"}},{"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":"akshare/data/ths.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4b01cee356234beada3cdb5b072da4b80dda93d13fbb68286ed961fa94690"}},{"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":"akshare/data/ths.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b699125c0cb28fd2876f6967be1cffb55976f262822029c62c257bd87f6446ff"}},{"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":"akshare/data/ths.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a65ad9270b1c8676ad4684ccb647cef63d85e54d04ed556f060b68d01681810"}},{"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":"akshare/data/ths.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e565f130a22c0486b5481c60d9114a98ef52cfb0f7ec0a4ed5a71eab5f956e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d6b33e9bccb5de693f55247f2494b990fd8abe79209d52a43c21829b4bc523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa845c74da81d3fbc594ac82dd891f3d8fdcfbe647de12a3b31d6b9992a476f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akshare/alternative/alternative_news_cctv.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f31df4b3f884d952a1c8024ec63d3dd3330fc345ef89ed819e1fb75220d857"}}],"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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.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-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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":96,"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."]}]}