open-standards/aac/aac-rs/crates/aac-core/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science e7ccf3c636 fix(aac): updating, restoring or importing takes no word away. A hide kept by an earlier version is read as that version showed the board
The released app showed every key's word, so a person who saw a word twice may
have hidden one of its two keys. When this version first read that hide, it
judged the board as it shows it now, one key per word, and recorded the hide
as taking the word away. The other key was then left out for the hidden one.
For example, in Core and topics in Spanish, a hidden "no" left no "no"
anywhere.

- record_kept_hides is the settle step's rule (aac-web shell.rs): a hide
  found without a record on a board kept by an earlier version takes the word
  only where the word showed at no other key then (only_place and no shown
  mate). A key still waiting for a later stage counts as before, so in Finnish
  with both "a" and "one" hidden, yksi stays hidden.
- The cell editor's hides keep today's rule (record_hides).
- Tests (aac-core tests/released_hides.rs) use the released app's own data
  (tests/fixtures/released_r8_hides.json, from review-probes/vsd/r8). All
  seven cases, from the stored board (update and backup restore) and from the
  OBZ export, show the word once where the released app showed it, and
  nowhere where it showed nowhere. With today's rule in the settle step, the
  four failing cases fail.
- SPEC §4.1 item 5 is updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 10:59:09 -04:00
..
fixtures fix(aac): updating, restoring or importing takes no word away. A hide kept by an earlier version is read as that version showed the board 2026-10-15 10:59:09 -04:00
langpacks.rs feat(aac-web): word prediction in 43 languages, from the person's words 2026-09-30 14:44:50 -04:00
pagesets.rs fix(aac): updating, restoring or importing takes no word away. A hide kept by an earlier version is read as that version showed the board 2026-10-15 10:59:09 -04:00
pagesets_phrases.rs ci(aac-rs): Python 3.11+ and PyYAML for the page sets, a catalogue check, and no silent skip 2026-10-08 08:34:33 -04:00
pagesets_scenes.rs wip(aac): second review — the picture's layers stay inside it (isolation); a word glossed in a sense is written as the word, its sense as data (gloss_sense: OBF, backups, page sets), glossed and said in that sense; partner messages quote the words shown; a backup's scene reach is guarded; SPEC §2.1 2026-10-12 05:24:10 -04:00
released_hides.rs fix(aac): updating, restoring or importing takes no word away. A hide kept by an earlier version is read as that version showed the board 2026-10-15 10:59:09 -04:00