N NoBullshit.wiki 中文

Bookstore inventory count specialist - three-way count reconciliation tool - paste in the system, first-count, and recount columns; it auto-sorts rows into all-three-agree (closed), two-of-three-agree (investigate, with a hint at which two), and all-three-differ (recount). A recount is not starting over - it is concentrating human attention on the rows that genuinely disagree

Works with:Claude / GPT-4 classCategories:BookstoreLevel:Intermediate Updated

Build a single-file HTML tool for a bookstore inventory count specialist
(no dependencies, offline, data never leaves the browser): after a
count, paste the system, first-count, and recount columns and have the
tool compare and sort rows automatically, replacing manual line-by-line
eyeballing.

Input (one text box, straight paste):
- One row per line: ISBN (or a custom code), system book quantity,
  first count, recount - tab or comma separated, supporting both
  system exports and spreadsheet copies
- Rows missing the recount are allowed (first-count-only batches):
  they downgrade to two-way comparison - system equals first count
  goes green; otherwise yellow, flagged "not recounted"
- Warn past five thousand rows; suggest splitting batches

Comparison and sorting (the core; three buckets):
- Green, all three agree: system = first count = recount; row closed,
  no action
- Yellow, two of three agree: any two equal, the third differs. Each
  row prints which pair agreed:
  - system and recount agree, first count differs -> hint "first count
    suspect" (usually a misread or missed row; ask the first counter
    first)
  - system and first count agree, recount differs -> hint "recount
    suspect" (run one more pass; most often a mis-shelved layer)
  - first count and recount agree, system differs -> hint "book-to-
    physical gap" (two independent floor counts landed the same number;
    probably not a counting error - the top-priority class for the
    receipt-and-transfer audit)
- Red, all three differ: the counting process itself is untrustworthy;
  schedule a fresh count; no audit lane

Output:
1. Summary bar: row counts and shares per bucket, with the yellow
   bucket's "book-to-physical gap" class counted separately - that
   number is this count's closest approximation of the true
   discrepancy rate
2. Printable investigate list (yellow), grouped by class: each row's
   ISBN / three numbers / agreeing-pair hint / next action (recall /
   re-verify / audit)
3. Printable recount list (red)
4. Everything exports to a local file (text or spreadsheet); after
   export, "new session" clears the page

Explicitly not built:
- No inventory system connection, no network, no uploads - data lives
  only in the current page
- No discrepancy verdicts (lost vs mis-keyed vs missed) - the tool
  sorts; the review flow decides
- No automatic book adjustments, no adjustment suggestions of any kind
- No stored history; refresh clears everything (export is the only
  retention, and the file lands on the user's own machine)

Why it is written this way

The tool's core insight: the agreement pattern among three numbers is itself evidence. "System and recount agree, first count differs" is almost always the first counter's error (misread row, missed entry) - re-counting the shelf wastes time; ask the first counter, and most cases close on the spot. "First count and recount agree, system differs" is almost always a real discrepancy - two people at different times landing on the same wrong number is far less probable than a mis-count - which makes it the one class deserving priority receipt-and-transfer audits. The traditional approach treats every discrepancy row to the same re-count, spreading attention evenly and spending the most hours on the least informative class.

Printing "which two agreed" directly on the investigate list sends the clue along with the work. The reviewer picking up a yellow list sees "first count suspect - ask the first counter" beside each line, so the action sequence needs no improvisation; the three yellow classes map to three actions (recall / re-verify / audit), the list groups itself by class, and review becomes execution. Counting the "book-to-physical gap" class separately and labeling it "closest to the true discrepancy rate" exists because green, yellow, and red row counts all reflect process quality - only the class where first count and recount independently collided on the same number is statistically close to the real gap, giving the count specialist an undiluted month-over-month baseline.

The boundaries are deliberately narrow: no system connection (pasting is the lowest-friction integration - any store's system can export), no stored data (count data is sensitive; refresh clears, and exports live on the user's machine), no verdicts or adjustments (sorting is mechanical with zero judgment surface; judgment belongs to the flow and the people). A small tool earns trust by refusing side jobs - every added "smart suggestion" is one more layer the user has to defend against.

Variables

Variable Description
Code field ISBN by default; in-house codes or SKUs work too - the column header renames freely, but the three numeric columns stay in fixed order (system / first count / recount); sort your paste to match
Batch threshold Five thousand rows is the comfortable ceiling for a browser text box; split batches above it - export each batch's results separately and merge in your spreadsheet; the tool does no cross-batch totals

inventory-countsingle-file-toolrecount