Skip to content

Fix tablet inventory dates and fields from the purchase records - #62

Merged
TheSevenPens merged 1 commit into
masterfrom
inventory-fixes-2026-10-05
Oct 5, 2026
Merged

TheSevenPens merged 1 commit into
masterfrom
inventory-fixes-2026-10-05

Conversation

@TheSevenPens

Copy link
Copy Markdown
Owner

Before: 110 tablet units from the 2026-04-01 bulk import had an OrderDate one day early, probably from a time-zone shift during the import. Eight more units had a wrong or missing field: a swapped model name, wrong vendors and dates, blank or UNKNOWN values, and a pen display recorded as a pen tablet.

After: those values now match the private purchase records, which were checked line by line on 2026-10-05.

  • 110 OrderDates each move forward one day.
  • WAT.0014 ModelName SD-501C → SD-510C.
  • WAT.0076 Vendor WACOM → AMAZON.
  • WAT.0083 OrderDate 2025-08-15 → 2026-08-15.
  • SAT.0001 OrderDate 2024-10-03 → 2024-09-24.
  • XET.0004 Vendor and OrderDate are filled in (AMAZON, 2025-07-01).
  • XPT.0015 OrderDate is filled in (2025-10-21).
  • HUT.0019 TabletType PENTABLET → PENDISPLAY, matching its tablet record.
  • UGT.0001 Vendor UNKNOWN → UGEE, OrderDate UNKNOWN → 2023-12-01.
  • The Galaxy Book5 Pro 360 tablet gains Samsung's SKU NP960QHA-KG1US as an alternate name. Its Model.Id stays Galaxy-Book5-Pro-360, so SAT.0001's ModelId and every EntityId are unchanged.

How: a one-shot script checked each unit's current value against the expected "before" value, and checked that every date moved exactly one day, before writing anything through commitDatasetUpdate. Data-quality, format-data and generate are clean. The import script that caused the shift was never committed, so there is nothing in the repo to fix. Pen inventory has no order dates.

🤖 Generated with Claude Code

Reconciled against the private purchase records on 2026-10-05.

- 110 OrderDates from the 2026-04-01 bulk import were one day early
  (probably a time-zone shift); each moves forward one day
- WAT.0014 ModelName SD-501C -> SD-510C
- WAT.0076 Vendor WACOM -> AMAZON
- WAT.0083 OrderDate 2025-08-15 -> 2026-08-15
- SAT.0001 OrderDate 2024-10-03 -> 2024-09-24
- XET.0004 Vendor and OrderDate filled in (AMAZON, 2025-07-01)
- XPT.0015 OrderDate filled in (2025-10-21)
- HUT.0019 TabletType PENTABLET -> PENDISPLAY (the tablet record
  already says PENDISPLAY)
- UGT.0001 Vendor UNKNOWN -> UGEE, OrderDate UNKNOWN -> 2023-12-01
- Galaxy Book5 Pro 360: Samsung's SKU NP960QHA-KG1US added as an
  alternate name; Model.Id stays Galaxy-Book5-Pro-360

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TheSevenPens
TheSevenPens merged commit 7d7ea3b into master Oct 5, 2026
2 checks passed
@TheSevenPens
TheSevenPens deleted the inventory-fixes-2026-10-05 branch October 5, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant