assessment-model/src/lib/projects/import
Daniel Roth f76d5aa167 fix(ara-projects): count a blank workstream as blank, not as awaiting scope (#415)
unscopedRows seeded itself with the blank-workstream row count, so the
contractor table's note told the user those rows were "waiting on their
workstream value — map it above and their contractors appear here". They never
would: a blank cell has no value to map, and blankRows.workstream already
reports them. unscopedRows now counts only rows carrying a workstream value that
is not yet mapped — the rows the note's promise is actually true of.

Adds the counting invariant as a test (every row lands in exactly one workstream
entry or in blankRows.workstream), which is the AC's "value-mapping counts match
the file".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 10:25:24 +00:00
..
columnMapping.test.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
columnMapping.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
mappingTargets.test.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
mappingTargets.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
parse.test.ts feat(ara-projects): import — contractor/stage columns + setup gate 2026-07-22 16:36:16 +00:00
parse.ts feat(ara-projects): import — contractor/stage columns + setup gate 2026-07-22 16:36:16 +00:00
readiness.test.ts feat(ara-projects): import — contractor/stage columns + setup gate 2026-07-22 16:36:16 +00:00
readiness.ts feat(ara-projects): import — contractor/stage columns + setup gate 2026-07-22 16:36:16 +00:00
session.test.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
session.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
similarity.test.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
similarity.ts feat(ara-projects): import mapping — column + value mapping logic (#415) 2026-07-23 10:15:24 +00:00
valueMapping.test.ts fix(ara-projects): count a blank workstream as blank, not as awaiting scope (#415) 2026-07-23 10:25:24 +00:00
valueMapping.ts fix(ara-projects): count a blank workstream as blank, not as awaiting scope (#415) 2026-07-23 10:25:24 +00:00