{"id":"ops-shrink-rate-by-location-table","audience":"operations","category":"operations-work","track":"operations","technique":"verification","level":"intermediate","title":"Calculate shrink by location and separate overages from losses","free":false,"task":"Write a prompt for a markdown table with columns Location, Math and Status, one row per location in the order listed. Shrink is (system - counted) / system as a percent with one decimal. Status is FLAG if shrink is 1.0% or more, OVER if the count is higher than the system (negative shrink), otherwise OK. Show the math in the Math column. Under 110 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"INVENTORY COUNT - Q1 shrink review (units)\n\nLocation   System qty   Counted qty\nA1         2,000        1,970\nB2         5,000        4,980\nC3         800          784\nD4         1,250        1,250\nE5         600          612\n\nNotes: E5 is a pick-face location where mispicks sometimes put items back in the wrong bin; the count is higher than the system. Shrink means the system shows more units than were found.\nPolicy: shrink of 1.0% or more is reviewed by the inventory manager. An overage is also reviewed, because it can hide a loss elsewhere.","rules":[{"type":"maxWords","max":110}],"promptHints":[{"label":"Names the columns","patterns":["location.*math.*status","table"]},{"label":"Gives the formula","patterns":["system - counted","\\(system"]},{"label":"Defines the statuses","patterns":["flag","over","ok"]},{"label":"Sets the decimals","patterns":["one decimal","1\\.0%"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]}],"mistakes":[{"title":"Treating the overage as fine","why":"The AI marks E5 OK or ignores the negative sign.","fix":"Say: \"OVER if the count is higher than the system.\"","checks":["r2"]},{"title":"Wrong formula direction","why":"The AI divides by counted or flips the sign.","fix":"Say: \"Shrink = (system - counted) / system.\"","checks":["r1"]},{"title":"No table","why":"The AI lists bullets.","fix":"Name the three columns.","checks":["r0"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and usually runs long, so a vague \"keep it short\" lands over the limit.","fix":"Cap each part instead of the total, for example \"each line under 15 words\".","checks":["maxWords"]}],"hint":"Give the formula, the Math format and all three status rules.","mission":"Find which locations have inventory shrink and which are overages.","musts":["FLAG at 1.0% or more","Higher count is OVER","Show the math"],"rubricLabels":["The output is a markdown table with the columns Location, Math and Status and one row each for A1, B2, C3, D4 and E5 in that order","The math shows A1 as (2,000 - 1,970) / 2,000 = 1.5%, B2 as 0.4%, C3 as 2.0%, D4 as 0.0% and E5 as (600 - 612) / 600 = -2.0%","Status is FLAG for A1 and C3, OK for B2 and D4, and OVER for E5"]}