[cleanup] Simplify cache_parquet internals #85
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 247 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #85"
general
weight: 0.35
timkpaine
Description
Builds on #84; the nine
[cleanup]commits are new here.This simplifies the internals of
cache_parquetinlazy_cache_parquet.py. Behaviour, the public API, and the on-disk layout and file names are unchanged. The module goes from 2187 to 2109 lines.REBUILDneeds it, and look up the date dtype once.time_unitargument."null"case to the test that rewrites reuse old partition file names, since writers before Polars 1.38 name null partitionsnull.Each commit passes the
cache_parquettests on its own. Existing tests were updated where helper signatures changed.Type of Change
Checklist
make lint-py,make lint-docs)python -m pytest polars_io_tools/tests --ignore=polars_io_tools/tests/integration: 2027 passed with Polars 2.0.0, 2024 with Polars 1.44.1)