{"id":"cx-banned-phrase-scan-counts-table","audience":"managers","category":"support-work","technique":"verification","track":"support","level":"intermediate","title":"Scan a reply for banned phrases and count each one","free":false,"task":"Output a table with the header \"Phrase | Count\" listing only the banned phrases found (case does not matter), sorted from highest count to lowest, then a last line \"Total: N\" with the sum of the counts. Plain text, under 40 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"BANNED PHRASES: per my last email; as I said; unfortunately; calm down; ASAP; no worries\n\nREPLY UNDER REVIEW\n\"Hi Jordan. Unfortunately, we can't ship before Friday. As I said, the warehouse is closed on Thursday. Unfortunately, the courier cannot change this either. We will refund the express fee ASAP and send a confirmation ASAP. Unfortunately, I cannot give a faster date. Thanks for your patience.\"\n\nNOTE\nThe phrase 'per my last email' and 'calm down' and 'no worries' are banned but may not appear in this reply. List only phrases that appear.","rules":[{"type":"plainText"},{"type":"maxWords","max":40}],"mistakes":[{"title":"Listing absent phrases","why":"The AI lists all six banned phrases with 0.","fix":"Say: \"List only phrases that appear.\"","checks":["r1"]},{"title":"Miscounting","why":"The AI counts one of the Unfortunately lines as a separate phrase.","fix":"Say: \"Count every occurrence, case-insensitive.\"","checks":["r0","r2"]},{"title":"Missing the total","why":"The AI stops at the table.","fix":"Give the last-line format.","checks":["r2"]},{"title":"Getting markdown back","why":"AI adds bold and headings by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings, no asterisks\".","checks":["plainText"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and usually runs long, so a vague \"keep it short\" lands well over the limit.","fix":"Cap each part instead of the total, for example \"each line under 15 words\".","checks":["maxWords"]}],"promptHints":[{"label":"Gives the header","patterns":["phrase \\| count"]},{"label":"Says only found phrases","patterns":["only (the )?(phrases )?found","appear"]},{"label":"Asks for sorting and total","patterns":["highest","total:"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]}],"hint":"Give the header, say to list only phrases found and ask for sorting and a total.","rubricLabels":["The first row is \"Phrase | Count\" and the rows are sorted unfortunately 3, ASAP 2, as I said 1","No row lists a banned phrase that does not appear (per my last email, calm down or no worries)","The last line is exactly \"Total: 6\""]}