Coverage report: 96%

Files Functions Classes

coverage.py v7.16.2, created at 2026-11-22 15:51 +0000

      Statements   Branches   Total
File class   coverage statements missing excluded   coverage branches partial   coverage
src/courtpy/__init__.py (no class)   100% 22 0 0   100% 2 0   100%
src/courtpy/artist/__init__.py (no class)   100% 1 0 0   100% 0 0   100%
src/courtpy/artist/plots.py CourtRates   100% 18 0 0   100% 2 0   100%
src/courtpy/artist/plots.py CasesOverTime   100% 8 0 0   100% 2 0   100%
src/courtpy/artist/plots.py IssuesOverTime   100% 18 0 0   100% 6 0   100%
src/courtpy/artist/plots.py PanelComposition   100% 22 0 0   88% 8 1   97%
src/courtpy/artist/plots.py LowerCourtRates   100% 18 0 0   100% 2 0   100%
src/courtpy/artist/plots.py TrendsByAdministration   100% 16 0 0   100% 4 0   100%
src/courtpy/artist/plots.py IdbConfusionMatrices   100% 22 0 0   83% 6 1   96%
src/courtpy/artist/plots.py IdbMissingDifferences   95% 22 1 0   75% 4 1   92%
src/courtpy/artist/plots.py JudgeNetwork   100% 20 0 0   50% 2 1   95%
src/courtpy/artist/plots.py (no class)   95% 149 7 0   71% 24 7   92%
src/courtpy/cli.py (no class)   93% 151 11 2   62% 16 4   90%
src/courtpy/core/__init__.py (no class)   100% 1 0 0   100% 0 0   100%
src/courtpy/core/cases.py (no class)   100% 65 0 0   100% 24 0   100%
src/courtpy/core/datasets.py CourtData   100% 40 0 0   100% 16 0   100%
src/courtpy/core/datasets.py (no class)   100% 56 0 0   100% 4 0   100%
src/courtpy/core/options.py (no class)   100% 32 0 0   100% 0 0   100%
src/courtpy/core/secrets.py MissingAPIKeyError   100% 2 0 0   100% 0 0   100%
src/courtpy/core/secrets.py (no class)   85% 148 22 0   89% 54 2   86%
src/courtpy/core/utilities.py (no class)   98% 112 2 0   98% 46 1   98%
src/courtpy/critic/__init__.py (no class)   100% 1 0 0   100% 0 0   100%
src/courtpy/critic/_strata.py (no class)   100% 28 0 0   100% 4 0   100%
src/courtpy/critic/audits.py AuditRandomAssignment   93% 29 2 0   83% 6 1   91%
src/courtpy/critic/audits.py AuditParsing   100% 27 0 0   65% 20 7   85%
src/courtpy/critic/audits.py AuditCoverage   77% 31 7 0   38% 8 3   69%
src/courtpy/critic/audits.py ValidateCoding   100% 20 0 0   100% 6 0   100%
src/courtpy/critic/audits.py (no class)   93% 74 5 0   75% 16 4   90%
src/courtpy/critic/inferers.py PanelEffects   95% 37 2 0   83% 6 1   93%
src/courtpy/critic/inferers.py (no class)   98% 42 1 0   88% 8 1   96%
src/courtpy/references/__init__.py (no class)   100% 1 0 0   100% 0 0   100%
src/courtpy/references/courts.py (no class)   100% 59 0 0   92% 12 1   99%
src/courtpy/references/fjc_idb.py AddIdb   100% 38 0 0   95% 20 1   98%
src/courtpy/references/fjc_idb.py LoadIdb   100% 1 0 0   100% 0 0   100%
src/courtpy/references/fjc_idb.py DownloadIdb   100% 5 0 0   100% 0 0   100%
src/courtpy/references/fjc_idb.py CompareWithIdb   80% 41 8 0   67% 6 2   79%
src/courtpy/references/fjc_idb.py (no class)   93% 384 27 0   85% 136 18   91%
src/courtpy/references/jcs.py DownloadJcs   100% 5 0 0   100% 2 0   100%
src/courtpy/references/jcs.py (no class)   100% 42 0 0   100% 6 0   100%
src/courtpy/references/judges/__init__.py (no class)   100% 7 0 0   100% 0 0   100%
src/courtpy/references/judges/_biographies.py AddBiography   100% 55 0 0   95% 20 1   99%
src/courtpy/references/judges/_biographies.py (no class)   98% 52 1 0   75% 4 1   96%
src/courtpy/references/judges/_circuits.py AddCircuit   88% 48 6 0   79% 14 3   85%
src/courtpy/references/judges/_circuits.py (no class)   96% 57 2 0   75% 12 3   93%
src/courtpy/references/judges/_names.py (no class)   100% 57 0 0   100% 26 0   100%
src/courtpy/references/judges/_panels.py CodePanels   100% 23 0 0   100% 12 0   100%
src/courtpy/references/judges/_panels.py CasesToVotes   100% 1 0 0   100% 0 0   100%
src/courtpy/references/judges/_panels.py DocketsToVotes   100% 2 0 0   100% 0 0   100%
src/courtpy/references/judges/_panels.py VotesToCases   100% 11 0 0   67% 6 2   88%
src/courtpy/references/judges/_panels.py CasesToJudges   100% 10 0 0   100% 2 0   100%
src/courtpy/references/judges/_panels.py (no class)   100% 180 0 0   100% 40 0   100%
src/courtpy/references/judges/_roster.py Roster   100% 139 0 0   97% 70 2   99%
src/courtpy/references/judges/_roster.py LoadRoster   100% 1 0 0   100% 0 0   100%
src/courtpy/references/judges/_roster.py DownloadBiographies   100% 8 0 0   100% 4 0   100%
src/courtpy/references/judges/_roster.py (no class)   100% 103 0 0   100% 2 0   100%
src/courtpy/references/politics.py ByDate   88% 8 1 0   100% 0 0   88%
src/courtpy/references/politics.py AddExecutive   100% 1 0 0   100% 0 0   100%
src/courtpy/references/politics.py AddLegislature   100% 1 0 0   100% 0 0   100%
src/courtpy/references/politics.py AddHighCourt   100% 1 0 0   100% 0 0   100%
src/courtpy/references/politics.py LoadPolitics   100% 5 0 0   100% 2 0   100%
src/courtpy/references/politics.py DownloadPolitics   89% 9 1 0   50% 2 1   82%
src/courtpy/references/politics.py (no class)   100% 129 0 0   100% 16 0   100%
src/courtpy/references/scdb.py AddScdb   100% 32 0 0   100% 20 0   100%
src/courtpy/references/scdb.py LoadScdb   100% 1 0 0   100% 0 0   100%
src/courtpy/references/scdb.py DownloadScdb   100% 3 0 0   100% 0 0   100%
src/courtpy/references/scdb.py (no class)   100% 101 0 0   100% 28 0   100%
src/courtpy/references/scores.py AddJudgeScores   94% 34 2 0   86% 14 2   92%
src/courtpy/references/scores.py AddCourtScores   100% 2 0 0   100% 0 0   100%
src/courtpy/references/scores.py (no class)   97% 30 1 0   88% 8 1   95%
src/courtpy/sources/__init__.py (no class)   100% 3 0 0   100% 0 0   100%
src/courtpy/sources/base.py Source   100% 7 0 0   100% 2 0   100%
src/courtpy/sources/base.py (no class)   100% 36 0 1   100% 4 0   100%
src/courtpy/sources/courtlistener.py RateLimitError   100% 4 0 0   100% 0 0   100%
src/courtpy/sources/courtlistener.py CourtListener   92% 306 23 0   83% 138 19   90%
src/courtpy/sources/courtlistener.py CourtListenerSource   100% 1 0 0   100% 0 0   100%
src/courtpy/sources/courtlistener.py (no class)   92% 283 23 0   82% 76 12   90%
src/courtpy/sources/lexis.py LexisNexisSource   100% 2 0 0   100% 0 0   100%
src/courtpy/sources/lexis.py (no class)   97% 77 2 0   94% 18 1   97%
src/courtpy/wrangler/__init__.py (no class)   100% 1 0 0   100% 0 0   100%
src/courtpy/wrangler/coders.py CodeParties   100% 29 0 0   100% 10 0   100%
src/courtpy/wrangler/coders.py CodeCaseType   100% 27 0 0   100% 10 0   100%
src/courtpy/wrangler/coders.py CodeOutcome   100% 38 0 0   93% 14 1   98%
src/courtpy/wrangler/coders.py DropTextColumns   78% 9 2 0   50% 2 1   73%
src/courtpy/wrangler/coders.py SplitValues   100% 19 0 0   100% 10 0   100%
src/courtpy/wrangler/coders.py TidyCases   100% 1 0 0   100% 0 0   100%
src/courtpy/wrangler/coders.py (no class)   99% 110 1 0   94% 16 1   98%
src/courtpy/wrangler/loaders.py CaseLoader   97% 37 1 0   92% 12 1   96%
src/courtpy/wrangler/loaders.py LoadCases   100% 4 0 0   100% 2 0   100%
src/courtpy/wrangler/loaders.py SourceLoader   100% 1 0 0   100% 0 0   100%
src/courtpy/wrangler/loaders.py DownloadCourtlistener   100% 4 0 0   100% 0 0   100%
src/courtpy/wrangler/loaders.py LoadLexisNexis   100% 8 0 0   75% 4 1   92%
src/courtpy/wrangler/loaders.py ReferenceLoader   100% 11 0 0   100% 4 0   100%
src/courtpy/wrangler/loaders.py (no class)   100% 62 0 0   100% 4 0   100%
src/courtpy/wrangler/parsers.py ParseAll   96% 24 1 0   88% 8 1   94%
src/courtpy/wrangler/parsers.py Parser   96% 49 2 0   92% 26 2   95%
src/courtpy/wrangler/parsers.py (no class)   93% 137 9 0   91% 32 3   93%
src/courtpy/wrangler/rules.py (no class)   98% 121 2 0   96% 46 2   98%
src/courtpy/wrangler/shapers.py Converter   100% 2 0 0   100% 0 0   100%
src/courtpy/wrangler/shapers.py CasesToDockets   100% 15 0 0   50% 2 1   94%
src/courtpy/wrangler/shapers.py DocketsToCases   100% 10 0 0   50% 4 2   86%
src/courtpy/wrangler/shapers.py CasesToCourts   100% 11 0 0   50% 2 1   92%
src/courtpy/wrangler/shapers.py CasesToCaseTypes   100% 12 0 0   100% 2 0   100%
src/courtpy/wrangler/shapers.py CasesToPartyTypes   100% 15 0 0   75% 4 1   95%
src/courtpy/wrangler/shapers.py (no class)   100% 73 0 0   100% 6 0   100%
tests/artist/test_plots.py (no class)   100% 70 0 0   100% 2 0   100%
tests/conftest.py FakeResponse   100% 5 0 0   100% 0 0   100%
tests/conftest.py FakeSession   100% 7 0 0   100% 0 0   100%
tests/conftest.py Reply   100% 5 0 0   100% 2 0   100%
tests/conftest.py Site   89% 9 1 0   50% 2 1   82%
tests/conftest.py (no class)   97% 76 2 0   100% 0 0   97%
tests/core/test_cases.py (no class)   100% 37 0 0   100% 2 0   100%
tests/core/test_datasets.py (no class)   100% 46 0 0   100% 2 0   100%
tests/core/test_secrets.py FakeKeyring   100% 4 0 0   100% 0 0   100%
tests/core/test_secrets.py (no class)   100% 60 0 0   100% 0 0   100%
tests/core/test_utilities.py (no class)   100% 76 0 0   100% 2 0   100%
tests/critic/test_audits.py (no class)   100% 81 0 0   100% 4 0   100%
tests/critic/test_inferers.py (no class)   100% 51 0 0   100% 4 0   100%
tests/references/test_courts.py (no class)   100% 50 0 0   100% 0 0   100%
tests/references/test_fjc_idb.py (no class)   100% 221 0 0   100% 2 0   100%
tests/references/test_jcs.py (no class)   100% 89 0 0   100% 4 0   100%
tests/references/test_judges.py Website   100% 4 0 0   100% 0 0   100%
tests/references/test_judges.py (no class)   100% 724 0 0   100% 12 0   100%
tests/references/test_politics.py (no class)   100% 202 0 0   100% 2 0   100%
tests/references/test_scdb.py (no class)   100% 168 0 0   100% 0 0   100%
tests/references/test_scores.py (no class)   100% 44 0 0   100% 0 0   100%
tests/sources/test_base.py StateCourtTest   100% 3 0 0   100% 0 0   100%
tests/sources/test_base.py (no class)   100% 72 0 0   100% 0 0   100%
tests/sources/test_bulk.py LocalBucket   64% 11 4 0   100% 0 0   64%
tests/sources/test_bulk.py test_fetch_resumes_partial_download.Remote   100% 5 0 0   100% 0 0   100%
tests/sources/test_bulk.py (no class)   100% 82 0 0   100% 0 0   100%
tests/sources/test_courtlistener.py FakeAPI   96% 26 1 0   90% 10 1   94%
tests/sources/test_courtlistener.py (no class)   100% 173 0 0   100% 8 0   100%
tests/sources/test_lexis.py (no class)   100% 73 0 0   100% 0 0   100%
tests/test_cli.py (no class)   100% 87 0 0   100% 0 0   100%
tests/test_examples.py (no class)   100% 30 0 0   100% 2 0   100%
tests/wrangler/test_coders.py (no class)   100% 161 0 0   100% 14 0   100%
tests/wrangler/test_loaders.py (no class)   100% 128 0 0   100% 0 0   100%
tests/wrangler/test_parsers.py (no class)   100% 157 0 0   100% 6 0   100%
tests/wrangler/test_rules.py (no class)   100% 194 0 0   100% 24 0   100%
tests/wrangler/test_shapers.py (no class)   100% 94 0 0   100% 2 0   100%
Total     98% 7793 183 3   90% 1344 125   96%

No items found using the specified filter.

14 empty classes skipped.