Skip to content

fix: spreadsheets show what the sheet shows: number formats, errors, unsolved formulas and merged blocks - #231

Merged
bencode merged 1 commit into
mainfrom
fix/sheet-fidelity
Oct 26, 2026
Merged

bencode merged 1 commit into
mainfrom
fix/sheet-fidelity

Conversation

@bencode

@bencode bencode commented Oct 26, 2026

Copy link
Copy Markdown
Owner

read-excel-file drops three things a sheet carries, so the grid and the assistant both read them wrong. A second pass over the package (formats/xlsx-package.ts, JSZip + DOMParser, loaded with the parser) puts them back.

Checked end to end with an openpyxl workbook (percent, currency, thousands, fractions, a 12-digit number, a date, an unsolved formula, horizontal and vertical merges) and the tutorial's Observation log.xlsx; the assistant answered the merged ranges correctly.

Closes #161, closes #157, closes #170

…ls and formulas without a saved result say what they hold, and merged blocks read as one cell to the reader and the assistant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment