# Methodology: Data Readiness Check

Item data is a snapshot as of the run date. Sales are the last 12 months, used only to weight SKUs by revenue and to give an average selling price. Units are converted using the Brand_Profile answers (lead time to days; weights to lb; dimensions to inches).

## Matching SKUs

```
SKU key          = SKU, trimmed, upper case                    (Shopify "ff-bwl-ss-m" matches "FF-BWL-SS-M")
SKU without separators = SKU key with - _ . / and spaces removed
Revenue per SKU  = sum of Sales rows with that SKU key; a SKU listed twice in the item master gets its revenue once (first row)
Amazon revenue   = Sales rows whose channel name contains "amazon"
Avg selling price = revenue / units across all channels
```

SKUs on the Sales tab with no item record are added to SKU_Check as "Not in item master". If the SKU without separators matches an item record, the likely match is named ("Probably FF-BWL-SS-M").

## Status per field (applied in order; first that fits decides)

| Field | Missing | Check | OK |
|---|---|---|---|
| Unit cost | blank or ≤ 0 | cost ≥ list price x 100%; cost < list price x 3%; cost ≥ average selling price | otherwise |
| List price | blank or ≤ 0 | (none) | otherwise |
| Unit weight | blank or ≤ 0 | weight in lb > 150 | otherwise |
| Dimensions | any of L, W, H blank or ≤ 0 | longest side > 108 in; or dimensional weight (L x W x H / 139) > 15 x actual weight | otherwise |
| Supplier lead time | blank or ≤ 0 | > 365 days | otherwise |
| Country of origin | blank | under 2 characters, or NA, N/A, TBD, TBC, UNKNOWN | otherwise; **n/a** if the brand doesn't import |
| HTS code | blank | not 6, 8 or 10 digits (5, 7 or 9 accepted if stored as a number, since a leading zero is lost) | otherwise; **n/a** if origin is the US or the brand doesn't import |
| Case pack | blank or ≤ 0 | not a whole number | otherwise |
| Supplier MOQ | blank or ≤ 0 | (none) | otherwise |

Every limit is on the Assumptions tab and can be changed. Numbers stored as text count as blank (as in Excel's N()); `--check-only` warns about them.

## SKU identity (applied in order)

1. Sells, but no item record → **Not in item master**
2. Same SKU key on more than one item record → **Duplicate record**
3. Same barcode as a different SKU → **Shared barcode**
4. Same SKU without separators as a different SKU → **Possible duplicate (SKU spelling)**
5. Same name (trimmed, upper case) as a different SKU → **Possible duplicate (same name)**
6. Active (not Discontinued) and no sales in 12 months → **No sales in 12 months** (clutter; counts as ready)
7. Otherwise → **OK**

## Decisions and what each needs

| Decision | Skill | Needs (all OK or n/a) | Also uses | Judged on |
|---|---|---|---|---|
| Profit & cash | What Should I Sell; Cash Locked in Inventory | Unit cost | List price | All revenue |
| Amazon fees | Amazon Fee Leak Check | Weight, dimensions | | Amazon revenue |
| Delivery cost | Delivery Cost & Speed Check | Weight, dimensions | | All revenue |
| Tariffs | Tariff & Landed Cost Scenarios | Unit cost, origin, HTS code | | All revenue (n/a if no imports) |
| Reorders | Cover & Reorder Check | Lead time | Case pack, MOQ | All revenue |
| Identity | All of the above | SKU identity OK or No sales | | All revenue |
| Every decision | | All of the above together | | All revenue |

```
Readiness = revenue of SKUs ready for the decision / revenue in scope
Status    = Ready if readiness ≥ strictness (98 / 95 / 90%); Usable with caveats if ≥ 80%; otherwise Not ready
```

SKUs not in the item master count as missing every field, so they lower every score.

## Fix ranking

Each issue (a field with Missing or Check, or an identity problem) is scored:

```
Priority score = share of revenue on selling SKUs with the issue
               x decisions it blocks            (fields: decisions that need it; Not in item master: every decision;
                                                 other identity issues: 1; supporting-only fields such as case pack: 0.25;
                                                 No sales in 12 months: 0.1)
               x 2 if it blocks or supports the brand's most urgent decision
```

Field issues count only SKUs that have an item record; SKUs missing a record are counted once, under Not in item master, because one fix (creating the record) resolves all their fields.

SKU_Fixes applies the same weights SKU by SKU (revenue x decisions blocked x urgent multiplier) to give a fix order.

## Lead-time default warning

If at least 5 item records have a lead time and one value covers at least 60% of them, the summary and memo flag it as a likely system default. Those values still count as present, so the reorder score may overstate readiness.

## How the brand's answers change parameters

| Answer | Effect |
|---|---|
| Most urgent decision | Fixes that block or support it are weighted x2 in the ranking |
| System of record | Sets the "Where to fix it" advice; "Several places" adds: pick a master first |
| Imports: No | Origin and HTS are n/a; the tariff decision is n/a |
| Strictness Strict / Standard / Lenient | Ready at 98% / 95% / 90% of revenue |
| Lead time in weeks | Lead time x 7 before the 365-day check |
| kg and cm | Weight x 2.20462 and dims / 2.54 before the checks |

## Glossary

- **Item master**: the list of every SKU and its attributes (cost, size, weight, supplier, origin). Usually in an ERP, Shopify, an inventory app or a spreadsheet.
- **Dimensional weight**: the weight a carrier bills on when a box is large for its weight: length x width x height / divisor (139 for most US parcel carriers).
- **HTS code**: Harmonized Tariff Schedule code; sets the duty rate on an import. 10 digits in the US.
- **Case pack**: units in one master carton from the supplier.
- **MOQ**: minimum order quantity the supplier accepts per PO.
- **Revenue-weighted**: each SKU counts in proportion to its last-12-month revenue, so a gap on a bestseller matters more than one on a slow seller.
