feat(utils): read the sheets of an xlsx workbook #1962
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.50) × (1 − Review Confidence (0.53)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 611 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 71% · 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.384
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1962"
general
weight: 0.35
greptile-apps[bot]
Overview
Step 1 of the plan for #1957 and #1958: a module that reads the sheets of an xlsx workbook.
The gviz CSV download guesses header rows (#1957) and empties a cell whose type differs from its column (#1958). The xlsx export of the whole spreadsheet has neither problem. The new
Xlsx.readtakes the workbook bytes and returns the rows of every sheet by name:_rels/.rels.Nothing calls the module yet. Step 2 switches the sheet download to the workbook and closes both issues.
Further information
Xlsx.fsuses only System.IO.Compression and System.Xml.Linq. It reads from bytes in memory, which is why the dependency rule check gets an allowance for System.IO.Scripts/Issue1957SheetWorkbook.fsx, is included. The step 2 pull request deletes it.Divergence from plan
None.
Verification
tests/Informedica.Utils.Testsbuild the workbook in memory. They cover a header without a dummy row, a number stored as text, small numbers, numbers, booleans, inline and formula strings, error cells, hidden and empty rows, an empty formatted cell far beyond the data, a workbook in another folder, a missing_rels/.relsor workbook, and bytes that are not a workbook. All 413 Utils tests pass.dotnet fsi Issue1957SheetWorkbook.fsx --livecompares the new read of the production workbook with the gviz download of the 21 sheets the code reads. The only differences are the 44 cells the gviz download lost and 11 cells that now have more digits.Author checklist
I confirm that these changes:
Xlsx.fs(222) and the project file (1). The module is one unit and was not compressed to fit.AI/Vibe Coding Disclosure
The module, tests and plan were written with Claude Code (Claude Opus 5.5), prototyped in a script, and reviewed before migration. They were checked with the unit tests and with the comparison against the production workbook.
I confirm that I have:
Reviewer checklist
I confirm that:
🤖 Generated with Claude Code