{"$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":"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":"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":"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"PriceHistory._fix_bad_div_adjust (cyclomatic 256): PriceHistory._fix_bad_div_adjust has cyclomatic complexity 256 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"a705df37f9d354cc203bf99397e1515693fb9bebc8ec064f7df25abe897f6950"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory.history (cyclomatic 159): PriceHistory.history has cyclomatic complexity 159 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d262726d6357a36b1dfd7539111220bbf781bf3867ffb0602cc9ca01d25b17"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._fix_prices_sudden_change (cyclomatic 103): PriceHistory._fix_prices_sudden_change has cyclomatic complexity 103 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"06559df1649e84f7d4be3a41c1c6174963290e663f43f95f0822ca4e6aa961a2"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._reconstruct_intervals_batch (cyclomatic 97): PriceHistory._reconstruct_intervals_batch has cyclomatic complexity 97 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1503374aec2d5b2f9d9998b7209bff906e101c9e76ddf62939885c562910971"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._fix_unit_random_mixups (cyclomatic 34): PriceHistory._fix_unit_random_mixups has cyclomatic complexity 34 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2639924a44c683c360d200c576e55b1fa3ce43ede5008fedba6b079758976d99"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._fix_unexplained_level_shifts (cyclomatic 34): PriceHistory._fix_unexplained_level_shifts has cyclomatic complexity 34 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f730fc4db5c15a702c723b67c5f279f34cfc40aa6b9d48df593f0adf4aeab6"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._reconcile_price_shifts_with_volume (cyclomatic 31): PriceHistory._reconcile_price_shifts_with_volume has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8016603eedffa3fa1bc781af222c04e4096b6df2b06937da005b984abcb9fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._detect_price_shifts (cyclomatic 30): PriceHistory._detect_price_shifts has cyclomatic complexity 30 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3241}}}],"partialFingerprints":{"codehealthFindingId/v1":"438fa4e654fe5f3fd816965e02824eda893bb33f225c540c8c3f87a6db1277a6"}},{"ruleId":"D1","level":"warning","message":{"text":"multi._download_impl (cyclomatic 28): multi._download_impl 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":"yfinance/multi.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45ffd48353fa6b57e1cc83075bbff2a8aaac0bfb67b4af4b4ed06a5e43e32b"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._fix_zeroes (cyclomatic 27): PriceHistory._fix_zeroes 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dd3b23b52d8bb098052d502fa9fec4b0582637269724f3741f35d487b5a2fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Quote._fetch_valuation_measures (cyclomatic 27): Quote._fetch_valuation_measures 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":"yfinance/scrapers/quote.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"13029261c424c583ddf714b04b12a26d2da3fc00c0f5e633860bd2fafc334581"}},{"ruleId":"D1","level":"warning","message":{"text":"screener.screen (cyclomatic 25): screener.screen has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/screener/screener.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a7c0c47fbfcb5c5d0a48e7739905be929ae4b5f3f0b64df756157105c72953"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.safe_merge_dfs (cyclomatic 25): utils.safe_merge_dfs has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4f74a83030aa6f987d7dc5d09d1e0325b56fe1e6047e9f04bf505caf377e9e"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.generate_list_table_from_dict_universal (cyclomatic 25): utils.generate_list_table_from_dict_universal has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"9121d37d334d492ebe40e79641f4b288a477c3bc73bf5012c8d0fe6d343de7fc"}},{"ruleId":"D1","level":"warning","message":{"text":"YfData._make_request (cyclomatic 24): YfData._make_request 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":"yfinance/data.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8875f3b7550a12864c17d3ac9b09fc1991187b1199a25aa35494a5d1f8b8fd"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.fix_Yahoo_returning_live_separate (cyclomatic 24): utils.fix_Yahoo_returning_live_separate 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":"yfinance/utils.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b87f07e457d5f93adb6c914263d6b62992ef8a547a4dace4cd398a09da6051"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.format_history_metadata (cyclomatic 19): utils.format_history_metadata has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a1549b11b56e0546af7afe7a14dcffe8e6ed296666242b039c89fb2781b1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"TickerBase.get_news (cyclomatic 18): TickerBase.get_news 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":"yfinance/base.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f13246799d973a6a2712560bf5a517c99978112f8c1289519cd7bc8eed7b22"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._filter_price_shifts_that_match_local_stdev (cyclomatic 18): PriceHistory._filter_price_shifts_that_match_local_stdev has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88fd8b3fee03fc7c05975b5f74855214ccf2d4193792b7b99cb65e49ee283a0"}},{"ruleId":"D1","level":"warning","message":{"text":"multi.reindex_dfs (cyclomatic 17): multi.reindex_dfs 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":"yfinance/multi.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0cf9f49f30d7f315289053df7ec6a43ffa887fd971ae829e59ce2fac5764c4"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceHistory._filter_price_shifts_on_volume_spikes (cyclomatic 17): PriceHistory._filter_price_shifts_on_volume_spikes 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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: yfinance/scrapers/history.py holds 11 of the 24 methods over the threshold \u2014 including the worst \u2014 and 641 of the 727 points over it (88%), 18.3\u00D7 the next-largest file (yfinance/utils.py at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3880857b2b4622affb607f435d4c3da6e29e6f69102a45f0d8948ebc6dcb7090"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.camel2title (cyclomatic 17): utils.camel2title has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"854e7589c42ac13bf620c99b910e9fdeaf52e2b6842f5bed7a06c6eb887c2c66"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncWebSocket.listen (cyclomatic 16): AsyncWebSocket.listen 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":"yfinance/live.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae87173dfaa5251c17aa6aabf7b018ecec50af6a74dd51f42160fc3b146c0afc"}},{"ruleId":"D1","level":"warning","message":{"text":"Quote._fetch_info (cyclomatic 16): Quote._fetch_info has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/quote.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"739583235ebd19ed277c576a449ebad7c0d09d0bac902798933bd843e013fecf"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_bad_div_adjust (cognitive 619): PriceHistory._fix_bad_div_adjust has cognitive complexity 619 (threshold 15). Drivers by points: if/else 182 (500 pts), loops 27 (63 pts), boolean chains 48, ternaries 2 (8 pts) (nesting depth added 360). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef2016a3d449754d1485afa1c50d5316ada0132f75e40581b273dda5ddc8652"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_prices_sudden_change (cognitive 279): PriceHistory._fix_prices_sudden_change has cognitive complexity 279 (threshold 15). Drivers by points: if/else 87 (197 pts), loops 18 (65 pts), boolean chains 12, ternaries 2 (5 pts) (nesting depth added 160). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b01b2c753d5e3d5a4184ef61b8b50c536ada28afbdc1a6b2269b8dcf56e9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory.history (cognitive 238): PriceHistory.history has cognitive complexity 238 (threshold 15). Drivers by points: if/else 125 (195 pts), boolean chains 33, error handling 5 (6 pts), loops 2 (4 pts) (nesting depth added 73). To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"24745e1addc97462e081bd77632495ec3b5827816137aef39480b8c5eb7fc56c"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._reconstruct_intervals_batch (cognitive 184): PriceHistory._reconstruct_intervals_batch has cognitive complexity 184 (threshold 15). Drivers by points: if/else 72 (145 pts), loops 10 (19 pts), boolean chains 11, ternaries 3 (9 pts) (nesting depth added 88). To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"da04a997fc1886cf0de2cbb318d69f7cbdfff8ad8da3d0f29a0a39befdb0a144"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.generate_list_table_from_dict_universal (cognitive 111): utils.generate_list_table_from_dict_universal has cognitive complexity 111 (threshold 15). Drivers by points: if/else 25 (92 pts), loops 4 (16 pts), boolean chains 3 (nesting depth added 79). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58d6645b67617d483ca230a77ffa353124537f1f480a365dbd3bed826fff4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.fix_Yahoo_returning_live_separate (cognitive 71): utils.fix_Yahoo_returning_live_separate has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (59 pts), loops 2 (12 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"369508b40a1d83ae086f0bbd483fb57cf7a1d9adc5da1f349864f8e5ee428b78"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_unit_random_mixups (cognitive 65): PriceHistory._fix_unit_random_mixups has cognitive complexity 65 (threshold 15). Drivers by points: if/else 28 (53 pts), loops 6 (12 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3d9cf542a091621c2dff465c4dbad9a53bf7cc8863ee23cc8665205a8074e4"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._reconcile_price_shifts_with_volume (cognitive 64): PriceHistory._reconcile_price_shifts_with_volume has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (52 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19f7558bbd89577fcb8c5d894352b99792ff9055e9676d6e6b76c3ac092805"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.safe_merge_dfs (cognitive 55): utils.safe_merge_dfs has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 5 (15 pts), boolean chains 4 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"86120c19ed6a2970b8d5ee5fec104b4a6d30b238ac54649d9c85b79fcda2c200"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_unexplained_level_shifts (cognitive 48): PriceHistory._fix_unexplained_level_shifts has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (29 pts), ternaries 4 (7 pts), boolean chains 6, loops 3 (4 pts), error handling 2 (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 file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"0925a3f18e98aa31b06aa459e2af39cdbb8873a0c7a12335136e0c5398306b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncWebSocket.listen (cognitive 44): AsyncWebSocket.listen has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (33 pts), error handling 3 (8 pts), loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/live.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e72141f8b497203ec76758c51322069147b5f562eb1154001d6fa3405ae1a"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._filter_price_shifts_that_match_local_stdev (cognitive 44): PriceHistory._filter_price_shifts_that_match_local_stdev has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (37 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"264bbbad8dcc990c566631d9079615a952df36649883f43419d9090c2331851e"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote._fetch_valuation_measures (cognitive 44): Quote._fetch_valuation_measures has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 5 (9 pts), boolean chains 7, error handling 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/quote.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3ab0ebb5db60d1d88515291e2d9142d2c37890f1149ec127e8a3369c86293"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._detect_price_shifts (cognitive 42): PriceHistory._detect_price_shifts has cognitive complexity 42 (threshold 15). Drivers by points: if/else 26 (32 pts), boolean chains 5, loops 2 (3 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d8f8e2b460b9d7fe0a40328593c2d8380730988fe00b05e98560d89864e55"}},{"ruleId":"D2","level":"warning","message":{"text":"YfData._make_request (cognitive 40): YfData._make_request has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (30 pts), error handling 5 (8 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/data.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a13d46868422d1af117e4a7f7ba5a5d37a8321fe955c39bca853f2b6a4e284"}},{"ruleId":"D2","level":"warning","message":{"text":"multi._download_impl (cognitive 40): multi._download_impl has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 4 (7 pts), boolean chains 6, ternaries 2 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/multi.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c5a80d177efa849210a3605e1ffbbe4625bc91fca161efd03e5d295e17c99f"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._filter_price_shifts_on_volume_spikes (cognitive 40): PriceHistory._filter_price_shifts_on_volume_spikes has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (32 pts), loops 2 (4 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f8a902d6c6cd5b00eb685d8c23bae9c43020af61e6e666d0b1433a4977f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_zeroes (cognitive 39): PriceHistory._fix_zeroes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 24 (37 pts), loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bd59ec430e6ba1bef2e7f875aa1a761b23f51d04cc0bd9dba26e1cc920fe9e"}},{"ruleId":"D2","level":"warning","message":{"text":"screener.screen (cognitive 36): screener.screen has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (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":"yfinance/screener/screener.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71366ff14bce4689f34a88cfc3e572bc162042c72154c5e2cc69446eed56a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"multi.reindex_dfs (cognitive 30): multi.reindex_dfs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 pts), boolean chains 4, ternaries 1 (3 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":"yfinance/multi.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6461482642d330f17b6fa462707523daeee82fbd1b052083324eb65f25ba5b17"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.format_history_metadata (cognitive 30): utils.format_history_metadata has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a620559aaa845601d9fa058031ac77e71ed8f44a80380769898d9558d5a9556"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocket.listen (cognitive 29): WebSocket.listen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 3 (7 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":"yfinance/live.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9d961e3d882a7922072f0257c5430c46cb085ac1584916d23d1a0d3aeb3604"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote._fetch_info (cognitive 29): Quote._fetch_info has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/quote.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4430d1d7073134bb113d090adfdddb8d85e8abb2a1aa4eb9e201efb4434c33c"}},{"ruleId":"D2","level":"warning","message":{"text":"TickerBase.get_news (cognitive 25): TickerBase.get_news has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b746e32209daddae3d87fb834ee54b9b0a258435884efc52cdaf157511e8d4a5"}},{"ruleId":"D2","level":"warning","message":{"text":"multi._attr_impl (cognitive 22): multi._attr_impl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/multi.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"67296ab874179f2c6ad5595d45aace2bd42c68fde105722b1921f94c7dd20df3"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._repair_capital_gains (cognitive 22): PriceHistory._repair_capital_gains has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4545968dbe725f457dd2ec5b8c38dab2bfbb2319168afa37f1722c1a38845c79"}},{"ruleId":"D2","level":"warning","message":{"text":"TickerBase._get_ticker_tz (cognitive 21): TickerBase._get_ticker_tz has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8159a67f90ea465eeaf4a47920202e0a1104a62b85a254d27ce214c2492a648d"}},{"ruleId":"D2","level":"warning","message":{"text":"Analysis.growth_estimates (cognitive 21): Analysis.growth_estimates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/analysis.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c46e4ac3a9389b307c70a71ce5e1c4ebd11533932ee60e943a9ca43d2a44560"}},{"ruleId":"D2","level":"warning","message":{"text":"Financials._get_financials_time_series (cognitive 21): Financials._get_financials_time_series has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 5 (6 pts), error handling 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/fundamentals.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a42ab6ddbd1c4f0b82b71f3eeb2e7d2037d54f217cabdee4c1379cb05f10ba"}},{"ruleId":"D2","level":"warning","message":{"text":"YfData._accept_consent_form (cognitive 20): YfData._accept_consent_form has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/data.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532b2c126844728c93df5858f3da26c928e4ba4b7db0d8bf49835fa9d394100"}},{"ruleId":"D2","level":"warning","message":{"text":"TickerBase.__init__ (cognitive 19): TickerBase.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0185929c63155bc50b4bee3a6a488a56c804d4eeff0c7906027b77315d87dd69"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote._fetch_complementary (cognitive 18): Quote._fetch_complementary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/quote.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b27d04e79d6c2291766e298488a675616bdcd5b89847cf55fe81d04fa383fe6"}},{"ruleId":"D2","level":"warning","message":{"text":"const.merge_two_level_dicts (cognitive 17): const.merge_two_level_dicts has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/const.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a525817999e2e65787ad82b2051d9501ad9a0fe8e2ab807f91c832f1645e328a"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._resample (cognitive 17): PriceHistory._resample has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 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, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cdc8cde8c4c7d1cff8b4be70b52eca46ebfc9152ae89ce704aab50e6d025f0"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._standardise_currency (cognitive 17): PriceHistory._standardise_currency has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8c71b874791499ae0e3b6da330dfa6874eeeaece9c870348972d553c9f536"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceHistory._fix_bad_stock_splits (cognitive 17): PriceHistory._fix_bad_stock_splits has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: yfinance/scrapers/history.py holds 15 of the 41 methods over the threshold \u2014 including the worst \u2014 and 1510 of the 1945 points over it (78%), 7.2\u00D7 the next-largest file (yfinance/utils.py at 211). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eea5bd0f94f15af1ff64c77860b5fef72627ee9bbcf9a953b66fb1723dd7e46"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.camel2title (cognitive 17): utils.camel2title has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb17b2fabe63e5d4a97219ded897347479b499468ee050597f3a4110ef87f38"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.parse_actions (cognitive 17): utils.parse_actions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (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":"yfinance/utils.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a5d3d4a0c0a82097d5ae3cd19e49beaf03f7a875e353c8bfab8c7d085cdf0b"}},{"ruleId":"D2","level":"warning","message":{"text":"TickerBase.get_shares_full (cognitive 16): TickerBase.get_shares_full has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5140af7c6f1a868459fd6440e4ae95ec6e247b44e057a329e10cbb08070ac9ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Analysis._get_periodic_df (cognitive 16): Analysis._get_periodic_df has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/analysis.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"66db31a440e7a9ff33dd8c8e331764e3b1382ff3dfb4c44c842923f8ec4c8ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"Analysis._fetch_earnings_history (cognitive 16): Analysis._fetch_earnings_history has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/analysis.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315f6d50c2102915852d3a598afbe5e0fdb3f5b7c87b058281444d61aaaf5bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scrapers/history.py: FileTooLong \u2014 3163 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2663 over it, 6.33\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":"yfinance/scrapers/history.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74abd28dc4c51cc32396f86709c5af7031d819633960e9883eab37f95eb9c8d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TickerBase: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e521fa02d0f9d83da598d31e7f08f61b0f6bd528cf1d30219247e2ec0ed68b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: yfinance/utils.py: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 295 over it, 1.59\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":"yfinance/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"594fe091e10ffec02a0d18610acd646cbfd9b8b8b087642ac337295cd8c28c9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: yfinance/const.py: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 273 over it, 1.55\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":"yfinance/const.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a3041ad31ad9c7ea7e82a1d1d093ccd4e406cf96070e962ff124f6973526f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scrapers/quote.py: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\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":"yfinance/scrapers/quote.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e7f4429cb0f917cc4447c4ab1ce0d696f94789de6576adad643431a6f20440"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): yfinance/scrapers/holders.py:111-120 | yfinance/scrapers/holders.py:123-132 | yfinance/scrapers/holders.py:135-144 | yfinance/scrapers/holders.py:156-175 \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":"yfinance/scrapers/holders.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0476da0ac2ba8bc589aa94289ef6c4cd7841543ef818bf420b0209a681e01a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): yfinance/cache.py:176-202 | yfinance/cache.py:578-614 \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":"yfinance/cache.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d287d3550789265b948dc4a53265ed8386a03e53340e03c61c9c5b229cbb4c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): yfinance/data.py:260-283 | yfinance/data.py:354-377 \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":"yfinance/data.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be3c0aed7708154fe68d43e0df7b453aa9cf784119a97b6e81fcca526dc004b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): yfinance/domain/industry.py:132-156 | yfinance/domain/sector.py:126-155 \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":"yfinance/domain/industry.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bba51a12985e65caa885c43043bba481c55a718f4a0a13eeba56b699cc17894"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): yfinance/cache.py:74-92 | yfinance/cache.py:269-283 | yfinance/cache.py:479-493 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"yfinance/cache.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a85145d44289a478a8b7862c26e1544a9f69426f85434a21f28272eb20feaae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): yfinance/scrapers/analysis.py:223-237 | yfinance/scrapers/quote.py:652-666 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/analysis.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a7e52b584d0a3f84bdf0cfc2614612bd06527a4a77def5f02c0886c38ce1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yfinance/screener/query.py:57-69 | yfinance/screener/query.py:90-103 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/screener/query.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"396d7de87c23c490227efe3a6795b55b56d4c1e5d7fcca9dc133e1ac72275824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): yfinance/utils.py:507-523 | yfinance/utils.py:527-545 \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":"yfinance/utils.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5499fec9a89b5a3c81199fea91adc3f213bf943bbe049dbe2baa08c3c23e6419"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yfinance/scrapers/quote.py:533-545 | yfinance/scrapers/quote.py:549-561 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/quote.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c6e335175112cb7397f873848013335695688ef96f9476d89742880510098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): yfinance/cache.py:140-158 | yfinance/cache.py:346-364 | yfinance/cache.py:542-560 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"yfinance/cache.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4da7ee5112d5ef0428ec6ed9c213b9c68cf4bca06af2c66ca74ebff12ca616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): yfinance/domain/domain.py:163-181 | yfinance/domain/industry.py:89-108 | yfinance/domain/industry.py:111-129 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"yfinance/domain/domain.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f371d2e9306e3bf845bccb39061c38b74a7bfd28b87d5c7c0cac915a1964910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): yfinance/scrapers/quote.py:378-392 | yfinance/scrapers/quote.py:396-411 | yfinance/scrapers/quote.py:415-429 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"yfinance/scrapers/quote.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ab5b1254cb199e5aa9781b0df5bc1c75ff74f42f93e5d354837f3dbf04dd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yfinance/live.py:61-74 | yfinance/live.py:237-248 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/live.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5c43cf3d9156a375196a0beb0aa9655cf6964b523be758e6f713bff0d1156a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): yfinance/live.py:96-118 | yfinance/live.py:121-139 | yfinance/live.py:251-269 | yfinance/live.py:272-290 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"yfinance/live.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a4cd3c719f23bf4c163e0f2e45aafd1b7df5370206f8094c8ab13b4c252cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yfinance/screener/query.py:72-79 | yfinance/screener/query.py:82-87 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/screener/query.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf30321149b3e39545f3cbc7881b2e7f8e26f68cfbc318ca11520853f3c141f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): yfinance/scrapers/quote.py:331-340 | yfinance/scrapers/quote.py:344-353 | yfinance/scrapers/quote.py:357-366 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"yfinance/scrapers/quote.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1615246d6979b4e6e51a21b62da534cb1b7d9632a62e55481de0ab5ba3f315cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): yfinance/base.py:988-992 | yfinance/tickers.py:137-141 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccce3c31a95eeb3dc0e81556776d7f1d6f63455d5c2630fc164136e5647569d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): yfinance/scrapers/history.py:1441-1460 | yfinance/scrapers/history.py:1463-1482 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2625577f6995e3b7bf666b6796d25179178127b8c08a3178d907f076fa48af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): yfinance/scrapers/history.py:3342-3358 | yfinance/scrapers/history.py:3453-3468 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":3342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb8f2cd669774d8d1fcd023cd945908911e0b85674d7d4a91acc5b7134a648b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): yfinance/scrapers/history.py:2731-2745 | yfinance/scrapers/history.py:2805-2818 | yfinance/scrapers/history.py:2915-2928 \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":"yfinance/scrapers/history.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99d142c74ce762497c02eb0982ad3f88c1a84d841bd52c05c5d3fb34e3d777b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): yfinance/scrapers/history.py:2297-2312 | yfinance/scrapers/history.py:2621-2636 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c21dd17245a7052de63a359c6b11a0007ba1f5cc7ecf30b0b022364ad11b4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): yfinance/scrapers/history.py:2130-2143 | yfinance/scrapers/history.py:2320-2329 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a2bfe91398dd66d00d1ce4a587b703b09fddcdcfb0857dbda9742156c34c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): yfinance/scrapers/history.py:3972-3990 | yfinance/scrapers/history.py:4099-4117 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":3972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c872e6011d5b982515313e186f80eed80649c53799dfcbc6952ce82f21764706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): yfinance/utils.py:510-523 | yfinance/utils.py:532-545 \u2014 both copies are in the same file, so extract the block 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":"yfinance/utils.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad296ed221d63557c8d3487f707e802fc951b6116443aca0a0f0c1486ab5255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): yfinance/scrapers/history.py:2291-2301 | yfinance/scrapers/history.py:2615-2625 | yfinance/scrapers/history.py:2959-2969 \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":"yfinance/scrapers/history.py"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8406759321508408c258101e6baa0d02de2df5071c1ffc74fef3e9d19b3521f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): yfinance/scrapers/history.py:179-189 | yfinance/scrapers/history.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. 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":"yfinance/scrapers/history.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07aea24c35a3e06609b859aa155b4555dda810ae21f8c75cec7da1c17477d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): yfinance/scrapers/history.py:2635-2644 | yfinance/scrapers/history.py:2996-3006 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e81d78590170363e36376520096c40c025017b57fa9a14c24528c84bf270acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): yfinance/screener/query.py:58-67 | yfinance/screener/query.py:91-100 \u2014 both copies are in the same file, so extract the block 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":"yfinance/screener/query.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1494f56070684c0b05cda9d51172bf7efbda65daa78a75723326a9b71e08d494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): yfinance/utils.py:1072-1080 | yfinance/utils.py:1185-1194 \u2014 both copies are in the same file, so extract the block 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":"yfinance/utils.py"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57f70690c4af4d03b1b9c748cecc63de3c38332c2576d671153005abe8ff657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): yfinance/scrapers/holders.py:111-118 | yfinance/scrapers/holders.py:123-130 | yfinance/scrapers/holders.py:135-142 | yfinance/scrapers/holders.py:156-164 \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 \u0060yfinance/scrapers/holders.py:156\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":"yfinance/scrapers/holders.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87fd87539d0ba72dd7cff08e27c34b7114641029d9c82422cca4db1325ccb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): yfinance/scrapers/history.py:2721-2728 | yfinance/scrapers/history.py:2741-2749 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f70b726e9b4de6b2219a1d35263a64d02a23e43587242cc586ea04816722e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): yfinance/scrapers/history.py:2738-2745 | yfinance/scrapers/history.py:2791-2797 | yfinance/scrapers/history.py:2812-2818 | yfinance/scrapers/history.py:2922-2928 \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":"yfinance/scrapers/history.py"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb3f9dd9e849ac3ca8505254b95e6d5cdf5fc304a4238fde4d2e061330d18f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yfinance/lookup.py:78-85 | yfinance/search.py:103-110 \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":"yfinance/lookup.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5cdcf0c4aac5906786c04d97b393a88f3231b57dc19171d3794f2bf558bce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yfinance/scrapers/analysis.py:230-237 | yfinance/scrapers/quote.py:659-666 \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":"yfinance/scrapers/analysis.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac0c91fcd0c0d94e7fc6d67fb03703f03545c2baf570c5b752483243d8c3987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yfinance/scrapers/history.py:2167-2174 | yfinance/scrapers/history.py:2436-2443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060yfinance/scrapers/history.py:2445\u0060 calls \u0060Series\u0060 and \u0060yfinance/scrapers/history.py:2177\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":"yfinance/scrapers/history.py"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0b058d5215201fcc75f4d4e5ffdea77628202a77a75ea870ce2430c26a076a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yfinance/scrapers/history.py:2702-2711 | yfinance/scrapers/history.py:2752-2759 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0017c93da48d4b63d94a493fff1a250be029822e240bb23f0188462cb581a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yfinance/utils.py:808-815 | yfinance/utils.py:856-863 \u2014 both copies are in the same file, so extract the block 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":"yfinance/utils.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"012b1f556c1fbdc0790ca626e4f9808a89676c3aeb34be5fa200615d249b2cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): yfinance/scrapers/history.py:2720-2725 | yfinance/scrapers/history.py:2740-2746 | yfinance/scrapers/history.py:2814-2819 | yfinance/scrapers/history.py:2904-2909 | yfinance/scrapers/history.py:2924-2929 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":2720}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07c7b4707baae473e68c33ead5fe19c3356262d474d3d27d15b76d71367c256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): yfinance/scrapers/history.py:2828-2834 | yfinance/scrapers/history.py:2840-2846 | yfinance/scrapers/history.py:2867-2873 \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":"yfinance/scrapers/history.py"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"126725d5ad7d21763ef1b4d5f9b481aa23e052c245364fbd0af027b2524a170f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yfinance/domain/industry.py:102-108 | yfinance/domain/industry.py:123-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yfinance/domain/industry.py:102\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, \u0060yfinance/domain/industry.py:101\u0060 calls \u0060get\u0060 and \u0060yfinance/domain/industry.py:122\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":"yfinance/domain/industry.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a60b49d8df69b16eaacfa5148e767ea6faaf307f3233f4f83acfb19f78f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): yfinance/scrapers/history.py:3969-3974 | yfinance/scrapers/history.py:3978-3983 | yfinance/scrapers/history.py:4096-4101 | yfinance/scrapers/history.py:4105-4110 \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":"yfinance/scrapers/history.py"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a441f5e8dab270a789f764af57c55a71eb6bf68ac1c45d0d87f67b27979ef08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yfinance/cache.py:195-200 | yfinance/cache.py:607-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":"yfinance/cache.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b554df23dc7cca5fa8947b5b55f27bd15f161f8999f719a9498ee6b9f4ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yfinance/scrapers/analysis.py:223-228 | yfinance/scrapers/quote.py:652-657 \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":"yfinance/scrapers/analysis.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40c80acd99e6e575aa0d62969ada5cb2558315cf9117513c084f59722f61e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yfinance/scrapers/history.py:1499-1504 | yfinance/scrapers/history.py:1686-1691 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df0529364e04aed8f1d874083c40abc2a93a5ec8e6f1cda84dbf8e9660ed309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): yfinance/utils.py:582-587 | yfinance/utils.py:593-598 | yfinance/utils.py:601-606 \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":"yfinance/utils.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a1907c5dbedafb9b21f93e758971fd2b553cafccf94965bd23e18da2e921c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yfinance/data.py:272-276 | yfinance/data.py:365-370 \u2014 both copies are in the same file, so extract the block 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":"yfinance/data.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f1d139137b793d34a3c0f870d0c2329c8c7ad757e6c34c63478fe1336d4599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yfinance/scrapers/history.py:2702-2706 | yfinance/scrapers/history.py:2904-2908 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b9d82857ee23cc3d09560cf9995a18f9afbeb2155044fb85b8afb916a24f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yfinance/scrapers/history.py:1952-1958 | yfinance/scrapers/history.py:1961-1967 \u2014 both copies are in the same file, so extract the block 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":"yfinance/scrapers/history.py"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f7d85faa8241e660bc1e40b5284f8cbdd14d16895147011b9e84a65f5e5633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yfinance/utils.py:792-797 | yfinance/utils.py:824-829 \u2014 both copies are in the same file, so extract the block 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":"yfinance/utils.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f55400181b6179941a4f5c989dc7eaa00cc5615ef96aaf8c575cf488280844"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TickerBase (LCOM4 5): TickerBase\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/base.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8be72fc24c5f2c3cb3460d0ad9da5137f9190cd44b73cdcf07b7ea5647d9a57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yfinance/scrapers/history.py: yfinance/scrapers/history.py changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 159 in PriceHistory.history at line 110. 7 of those changes were fix/bug commits, and the other 10 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 19:23:09 \u002B00:00\u0027 --until=\u00272026-11-07 19:23:09 \u002B00:00\u0027 --full-history --no-merges -- yfinance/scrapers/history.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":"yfinance/scrapers/history.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cbe0b57aaafcc30f12c6587b90081814a0f56c62512da144d63acff2089b6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yfinance/utils.py: yfinance/utils.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in utils.safe_merge_dfs at line 777. 2 of those changes were fix/bug commits, and the other 4 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 19:23:09 \u002B00:00\u0027 --until=\u00272026-11-07 19:23:09 \u002B00:00\u0027 --full-history --no-merges -- yfinance/utils.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":"yfinance/utils.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0c6ecca8c904136c32ea3a4fea7b23ba29b785e6189020640de57e3199ae59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yfinance/multi.py: yfinance/multi.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in multi._download_impl at line 144. 1 of those changes was a fix/bug commit, and the other 4 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 19:23:09 \u002B00:00\u0027 --until=\u00272026-11-07 19:23:09 \u002B00:00\u0027 --full-history --no-merges -- yfinance/multi.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":"yfinance/multi.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0780c996527ba715b4683be22319c6b62bc7db89e8d7d724ac42ae383f7e601"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yfinance/base.py: yfinance/base.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TickerBase.get_news at line 642. 2 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 19:23:09 \u002B00:00\u0027 --until=\u00272026-11-07 19:23:09 \u002B00:00\u0027 --full-history --no-merges -- yfinance/base.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":"yfinance/base.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb1f1e3afcc759a68536e2934ed8c33117ff0c604af5e8d4145a5eef0deb41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yfinance/data.py: yfinance/data.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in YfData._make_request at line 421. 2 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 19:23:09 \u002B00:00\u0027 --until=\u00272026-11-07 19:23:09 \u002B00:00\u0027 --full-history --no-merges -- yfinance/data.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":"yfinance/data.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c688138c97a7a9c0a20e300cdfff5f7a7a01ee372b8e5b56a625cf57c792f0"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 48 % of calls cross a namespace and only 20 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e2666755263f132d8a0bade1960b0ce75790144f340771af81f208107217edd"},"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":"89833710f31b0fc6d55ff4a2d101f7cf50e5efcbe0b6f2d8adab627e2c40c7c6"},"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":"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":"e2cd21e221e9a69c889d1894ba1c9d38ae23f504857bd5eae01a850ba0505548"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"fb0ec4026b800b835f6038b29e845aec5751f5e20f40bccaca16a26e10a8fe52"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 5 of 25 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (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; 25 of the 32 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: yfinance/scrapers/funds.py, yfinance/domain/domain.py, yfinance/domain/sector.py, yfinance/domain/industry.py, yfinance/search.py. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/funds.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a20680e3b21fd0f5c6b6d8e0f4fdd0259923f81a974c70becc3f7e97710b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/domain/domain.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0279591def7c5585633a79309cea91e86d983d11079ca0e4c0856c44bb1666"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f05f50816b710f1d681cd7a96c3f177e65486ad8a9630e3f303a5f790ac1db4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/domain/sector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ff0524aa051e843ab3969d8ca1a630373a7c3b17fd5833c3feff4974a6eb11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/domain/industry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc608567a68a20277bf7f850c5bbb7dcfc89cc25d5faac41e5dd17fb9e1caca"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"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 7 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/pyright.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68ee1ea2969cbbdae4336ca738b5320c565628ea6ee894219d523831dd0f17"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb5d30965a8555cfcb0d102d4e077ceb890a76cb79fbdd7b3cf95db116f80e1"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d7f36b9d08882005f49ccae5da8cd312143bbef4f5e511d2030d9e9d28d5f8"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"05db85f69f1351bcdc4ee90753356aa03e11adb7a3784432c6bc26c7bf9cfc88"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b167f4e6b5849fc130ff7e3bafbbd10f9457092608c30439196a37e7732cfcb7"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"583e5ce15a2acaf1f8d4d8bd543d4765b413ff92f990731facf5b1f615dfe94c"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Peewee create_tables() (no migration path): Peewee create_tables() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt peewee-migrate or playhouse.migrate, with every table created in a migration, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/cache.py"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee63a2e14ffb581047a991e23f0f230c6cd94c425d057c49c18087ba61c81cff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data is None or \u0022Will be right back\u0022 in data.text\u0060 appears character-identically in 4 files \u2014 yfinance/base.py, yfinance/domain/market.py, yfinance/lookup.py, yfinance/search.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":"yfinance/base.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a3ea15d2a37082089ee12b35b03aeeca72a5b2c9851160b1df7256a7f0a00f"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 75 is called with an argument built by \u0060dict(params)\u0060 (line 75), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/lookup.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"483246cea70420739d12050ca882e03dc992938b2b905fb913bed186fa0da704"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 100 is called with an argument built by \u0060dict(params)\u0060 (line 100), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/search.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0418c1fe4e03d7091cc732dfcec8b4510d9197130369c6e55e47f513e29e6d02"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 3178 is called with an argument built by \u0060to_dict()\u0060 (line 3178), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51f1d7027618cf62bf381ccbd64ac753c18472eb371cc75cd1f3a8e056f122e"}},{"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":"yfinance/data.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fb6ec74430489dd6b5b7ce0b18b1c852139cfb0a844ed4aa80c9340b1587e8"}},{"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":"yfinance/scrapers/history.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"7288fb3fca003876b64cc58bafb88b8507d7b8fc37fff0fb8392ba4cdc071ba5"}},{"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":"yfinance/scrapers/history.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa810b7fcceb7cee30c1e950676b3b83890cff2a82b717ab5df0ce6323d7613"}},{"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":"yfinance/scrapers/history.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c795f5ce3bb43b2c131174fa7d44db577705240b334a45f15d62d77d51d22a"}},{"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":"yfinance/scrapers/history.py"},"region":{"startLine":3084}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4865c8b29d2d35b7a45d9f16053c474021b0855a4a7feeceab007022804b7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1d8ece05d0e37d9553692ab50b3646e6dd984f7a4ba4feb6d0fe9dc8edbf2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/utils.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b968d6a777a9b722c2cf0bd511e6411ae5469e601319b4f75e64196be1a65f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f343abf6c02883293a115e5b40ba3013fd6888bbd157e899ca4296d64b9ada"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 423 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"14006d0aceed84a3558af18a8c91eee154136b05c637487de115550c240c38ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b194f4dd13bf8b2907f602b2de7f0a98a0a82db959db90697b2aef7e3f96eb47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 899 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f517a649b543cded8c08204daaf1ace1e5f849e00a56c3ef64a463b323972ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 925 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"868a6a017d7a663901d1e89522b8d16c9b3efaad91c3770e49ed0a81a41fd5a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 966 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"389e258fe1c27e2ba654667f82d853705f86bb6a6286c14a7e3988c63472312a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 976 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"052091a5365835eceaf5471ce6b48e2b9860a7a13e85c7cf04f472d3b6258574"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1034 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bb78afc36b76b64dc1ae4966296f491c834f8b85849f58bf8d25b4a6732f5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3929ef54ff843fe8b38eba75c9c8e66569b39588650324dffc128e859996a800"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1165 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c8e117fbc0cd3861d6e002958a22f19c19eaf73399fab5deaaad8a19649bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3057 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3057}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c55820aecf8ebf13e16cce52a4b1f917232aa9e7549a653bbb988a5c088678"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e414637c352826df6264a93dc48d431cb8aa58ead8032c939278503d5bd5f8c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3119}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f5943dd78d60ba57b80eda4be84ce20b8440f9c52864d9656fd0e998baaf6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b36ba607732ae866676a6bef23166b3305d667937d4721c43b65f67eb11d64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3128}}}],"partialFingerprints":{"codehealthFindingId/v1":"28233b4f1971d030f10a2b6e0341a6c8f7364c3093e1399d170412dbacc3b85a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3139}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d663e85d3b4cc7f8648f0c74ba48f54e680a47d24e1e99d6c03596231afd20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ea3b39df55a593407a09a0769c31f4cb37cc17c7d4c25e68c3f143086da8e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"66446ac7958588c1cda0fcc404d673829ccc6a2a5544420ca0cb7523b466b7aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe8538620803c6015226c6d667ac220b7f8440cc3f4b2227e90eada047a8f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89192d1e71b24628e31a39c368633e5ea3369c3b18a3c84935728f95ecc08e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"50919be4e148a679aab502579c61a1939f139ca0a449122625326e1e0e8a8e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3351 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241d0e730ff9ecf75a322d1542893bde84be04ea4f7a3f777a2e8f9f5fc0095"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3361 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c93d0cb743d1fe063754beff27c52123e21e5a9e267ade049e24511461b622f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3368 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c967d9f6d9f9d91327784d6f4415f7219c72f8d85f3b372dff197e1e69578"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3370 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf0a12171649ead433b051c50897d94dac6d56aca19539677b6b93a75a40985"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba6e61175375b4ff4159e447afa1c718df4ecd68470794ea08417fd0000245b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3471 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"03398293dfbc888d6f8301efd0d674b04c897b6f2b05dec434b92b7b25b25b47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3568 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d982ad8140bbf187524a16e72e3368d42f4afd58b9c3354d6fdcfcf9b7cdfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3642 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e2f627ac871bb90ea568b05b25f7cf0c03bbf3d51e62f51d62921c43fea173"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3645 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f452a3f5b8b2b6502de8ba682710bbf3065ae4de5ee9ce09819d5febc87cf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3660 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3660}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa0479125523b07c8c931230b68ad2b31810cba3188a21cc1769366b59aac3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3790 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3467dea684c69ea92d47da44ee36c3383f27a200d1c4ba2897e3b72215777ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3801 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3801}}}],"partialFingerprints":{"codehealthFindingId/v1":"81712754167fda511a6cc2cc1694f6301686c4665be410c1885534c7dbae6339"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3943 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4183e968a456ce47ab3a30a45e2828ca7f74ba530f60c75dc8de23617e04ac2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3992 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"93894969f4c5c67454865e3a7df6f376f0ed2448259470886a00558881619848"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3998 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e89e379827db562811743f6a1db12aef055afc2289d57b1201a9c6a8f01e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4012 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6485e3c37a7e3e053a3efb6fdd3b6d113899d04f87810d85bc5000afdb729ee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":4124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6981b44b37deeb798315ab346c385e3bf4baf98f90a897bd61f94e5e870129c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yfinance/scrapers/history.py"},"region":{"startLine":4141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2dd7a9e6c40909ffe6a3dade1e7e3a2e0993fe262eec6af278427c4a8f2dde"}}],"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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-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":7,"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."]}]}