docs(import): confirm the BMO export procedure on a real account (#371) #489

Merged
maximus merged 3 commits from issue-371-bmo-guide-verified into main 2026-10-23 23:24:32 +00:00

3 commits

Author SHA1 Message Date
le king fu
0bdaa8ea77 docs(import): apply the review suggestions of PR #489 (#371)
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m16s
- The sign is guessed from the first twenty data rows (`sampleRows`),
  not from the whole file: the guide, the in-app docs and both
  changelogs now say so, and a fourth case pins it with the same 25
  rows in two orders (payments first reads backwards, purchases first
  reads right).
- "The columns differ between deposit accounts and the credit card"
  came from the same unverified description: it joins the two other
  points marked as not verified.
- English: "would not be exportable" instead of "could not be
  exported", which read as "we could not export them".
- Case 1 is named after what it pins (never the posting date nor the
  card column), and the helper comment no longer credits the amount
  label: without labels, the shape of the data finds the same columns.

Mutation: widening the sample to 30 rows turns the new case red
(1 of 93 in the file).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:21:16 -04:00
le king fu
cf10241c74 docs(import): confirm the BMO export procedure on a real account (#371)
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m19s
Max checked the BMO block of "Export a CSV from your bank" on his real
account on 2026-10-22 and imported a deposit-account export and a
Mastercard export: both read by generic detection, no row in error,
right signs without the flip (issue comments 26596, 26603 and 26643).

- Status line: confirmed on a real account on 2026-10-22, file read by
  generic detection, BMO not recognised by name yet.
- Step 3: the button is « Télécharger »; the "or Export" alternative is
  gone. Only the French label was seen, so the English text names the
  download button by its French-site label.
- Note: the Mastercard history limit and the loans that cannot be
  exported were not checked and are now marked as not verified. The
  detection sentence says which date is kept for the Mastercard and
  when the guessed sign comes out reversed (more inflows than outflows),
  which the preview recap shows and the flip fixes.

The in-app docs (fr.json, en.json) and docs/guide-utilisateur.md carry
the same text; CHANGELOG entries under Changed / Modifié.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:54:29 -04:00
le king fu
ae703b3081 test(import): pin how generic detection reads the BMO Mastercard header (#371)
The user guide now says that generic detection reads BMO exports and
keeps the transaction date, not the posting date, for the Mastercard.
BMO has no bank signature yet (#488), so three cases pin that claim on
the real header row of the Mastercard export (labels only, given by Max
on 2026-10-22), with invented rows:

- the labels map the transaction date, the amount and the description,
  every row is read and `bank` stays null;
- purchases come out as outflows and the payment as an inflow, whether
  the export writes purchases positive or negative;
- a statement with more payments than purchases is read backwards, as
  the guide warns, until the sign flip.

parseFixtureEndToEnd and recapOf now delegate to parseContentEndToEnd
and recapOfRows, which take raw text, so these cases run the same
pipeline as the corpus instead of a copy of it.

Mutations: preferring the posting date in DATE_HEADER_KEYWORDS turns
the first case red; inverting the majority rule of detectSingleAmount
turns the other two red (24 red in the file).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:54:29 -04:00