Flag fictional duplicates without deleting rows in Bricks

Normalise categories while preserving raw values, then distinguish repeated records from conflicting identifiers.

ToolBricks
Format
Written guide
Updated

Prepare five rows

In a local spreadsheet create three columns: id, category, quantity. Use these five rows: T01 / Card / 2; T02 / card / 3; T02 / card / 3; T03 / Poster / blank cell; T03 / Poster / 4. Slashes describe column boundaries: do not put each whole row in one cell.

Save a CSV copy while retaining the original. The five fictional records represent no actual inventory. Blank means unknown, not zero. No reliable total can be inferred before resolving repetition and conflict.

Request check columns only

  1. Import the copy into an already authorised Bricks test space and open the grid containing all five rows. Inspect the import before transforming anything.
  2. In AI Chat ask to retain all five rows and every raw column, with no deletion, merging or filling of blank cells.
  3. Request category_normalised: Card and card become card; Poster becomes poster. Also request flags for fully identical rows and repeated identifiers with different values.
  4. Inspect the proposal and resulting copy. If a row is removed or a blank becomes zero, reject the transformation and return to the reference file.

Check exact expectations

Five rows must remain. The normalised category has three card entries and two poster entries. The two T02 rows are identical repeats; the two T03 rows share an identifier but differ in quantity.

The blank T03 quantity must remain blank in raw data. Both T02 rows and both T03 rows must remain traceable. A generic duplicate-identifier warning is insufficient: it does not distinguish exact repetition from disagreement.

Stop before deciding

Keep a record of transformations and anomalies. Do not delete one T03 row merely because the other is more complete or present a total as valid. For real data, its owner would need to define the resolution rule.

Deliver a checking table, not a permanently cleaned database or published dashboard. No import, AI call or Bricks test was executed for this guide; the five rows define an exercise to verify.