TK02: findings per cell and of CSV files, table bridge app #2

Merged
oliver.maklott merged 1 commit from tk02-findings into main 2026-11-10 15:11:32 +01:00

TK02 (Plan 26, Teil AZ): findings per cell, CSV findings, the generic table bridge (PLAN-26 3.2, 3.3).

Acceptance:

  • contract test against the schema green: every fixture (34 Meine-Lerndaten workbooks, reader fixtures, two CSVs) × four requests, answers fit test/schema.mjs (valibot, tests only)
  • worst case per fields set ≤ 15 500 characters (synthetic sheet with the longest addresses, texts and formulas)
  • app without inline script (test), Safari 15.4 check for app.js

Deviation from the draft: 400 cells with every field cannot fit 15 500 characters in the worst case (the draft's own example A4:E11 with t, v, f, nf would not). The answer is cut at run time instead: shorter texts and formulas first, then cells from the end, with trimmed: true. A pack's own tests check with the solved templates that its steps are not trimmed (TK08). c is given only as false (formula without a computed value).

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4i6vEUY3kHe9imoS6j

TK02 (Plan 26, Teil AZ): findings per cell, CSV findings, the generic table bridge (PLAN-26 3.2, 3.3). Acceptance: - [x] contract test against the schema green: every fixture (34 Meine-Lerndaten workbooks, reader fixtures, two CSVs) × four requests, answers fit `test/schema.mjs` (valibot, tests only) - [x] worst case per `fields` set ≤ 15 500 characters (synthetic sheet with the longest addresses, texts and formulas) - [x] app without inline script (test), Safari 15.4 check for app.js Deviation from the draft: 400 cells with every field cannot fit 15 500 characters in the worst case (the draft's own example A4:E11 with t, v, f, nf would not). The answer is cut at run time instead: shorter texts and formulas first, then cells from the end, with `trimmed: true`. A pack's own tests check with the solved templates that its steps are not trimmed (TK08). `c` is given only as `false` (formula without a computed value). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4i6vEUY3kHe9imoS6j
TK02: findings per cell and of CSV files, the table bridge app (Plan 26)
All checks were successful
sheets / sheets (pull_request) Successful in 5s
sheets / sheets (push) Successful in 4s
d65a67b113
browser/cells.js: what a file is (xlsx, csv, xls, ods, makro-datei, unbekannt), findings per
cell for a request of ranges and fields (t, v, qp, f, fr, fx, c, nf, nk, dec, b, i, fill, fc,
bd incl. lines the neighbour draws, ha, va, wrap, merge), only non-defaults; template marker,
uncalculated formulas, sheet by name. CSV: separator, BOM, encoding (UTF-8 or Windows-1252),
size, decimal comma, formulas as text, first rows, cells typed like a German Excel.
At most 400 cells; the answer always fits 15 500 characters (shorter texts, then fewer cells,
`trimmed`). browser/bridge.js: pack interface v2 and reading a file. app/: the table bridge.

Tests: schema (valibot, tests only) for every fixture and request, worst case of every field
set within the limit, the app has no inline script and runs on Safari 15.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4i6vEUY3kHe9imoS6j
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-shared/sheets!2
No description provided.