Change the tone of a notice without changing any facts
Make a stiff refund notice friendly, then count its numbers and condition words in each result with a script and read for added claims and vague counts.
Ask for a friendlier refund notice with one line and the numbers (7 days, 10%, 3 business days) come through intact. What changes is everything around them: "2 exceptions" becomes "a couple of exceptions", a reason nobody wrote appears, a closing promise is added. Here is how to catch that, and what a prompt with reasons and an example changes.
[1] Put the original in a file. It is a made-up online-course refund notice with a 7-day window, a progress limit of under 10%, 2 exceptions and a 3-business-day processing time.
A full refund is available only if you request it within 7 days of the payment date and your progress is under 10%. If more than 7 days have passed since payment, or your progress is 10% or more, the order is not refundable. The following are excluded from this rule: 1. Courses provided free of charge during a promotion: not eligible for a refund. 2. Textbook files that have already been downloaded: the textbook price is excluded and only the course fee is refunded. Submit a refund request under My Page > Payment History. Requests are processed within 3 business days of receipt. Refunds go back to the original payment method; for card payments, confirmation of the cancellation may take additional time depending on the card company.[2] The short prompt first.
Rewrite the refund notice below in a friendly tone for customers. {contents of orig.en.txt}The exceptions part of the first result:
**A couple of exceptions to keep in mind:** 1. **Free promotional courses** aren't eligible for a refund, since they were offered at no cost.2. **Downloaded textbook files:** if you've already downloaded the textbook, we'll refund the course fee only (the textbook price isn't included).…Have questions? We're always happy to help!The original says "2 exceptions". The result says "a couple", gives a reason ("since they were offered at no cost") that the notice never gave, and ends with an offer of help that is a new commitment.
[3] Count the original's numbers and condition words in each result. A changed count is a line for a human to read, not a verdict.
#!/usr/bin/env python3"""usage: check.py ko|en original.txt result1.txt [result2.txt ...]count the numbers and condition words of the original in each result; list new numbers and range-widening words"""import re, syslang, orig, *res = sys.argv[1:]rd = lambda p: open(p, encoding="utf-8").read()TOK = { "ko": ["7일", "10%", "3일", "이내", "미만", "이상", "제외", "불가", "영업일", "한하여|한해서"], "en": ["7 days", "10%", "3 business days", "within", "under 10%", "or more", "excluded", "only"],}[lang]WIDE = { "ko": ["언제든", "누구나", "항상", "모두", "대부분", "얼마든"], "en": ["anytime", "any time", "anyone", "always", "most ", "everyone"],}[lang]texts = [rd(orig)] + [rd(p) for p in res]cnt = lambda t, k: len(re.findall(k, t))print(f"{'token':16}" + "".join(f"{n:>8}" for n in ["orig"] + [str(i + 1) for i in range(len(res))]))for k in TOK: row = [cnt(t, k) for t in texts] mark = "" if all(c == row[0] for c in row) else " <- differs" print(f"{k:16}" + "".join(f"{c:>8}" for c in row) + mark)nums = lambda t: set(re.findall(r"\d+", t))print("new numbers :", [sorted(nums(t) - nums(texts[0])) for t in texts[1:]])print("widening words:", [[w for w in WIDE if w in t.lower()] for t in texts[1:]])$ python3 -X utf8 -I check.py en orig.en.txt out.short.en.1.txt out.short.en.2.txt out.fixed.en.1.txt out.fixed.en.2.txttoken orig 1 2 3 47 days 2 2 2 2 210% 2 2 2 2 23 business days 1 1 1 1 1within 2 2 2 2 2under 10% 1 0 0 1 1 <- differsor more 1 1 1 1 1excluded 2 0 0 1 1 <- differsonly 2 1 1 2 2 <- differsnew numbers : [[], [], [], []]widening words: [['always'], ['always'], [], []]Columns 1 and 2 are the short prompt, 3 and 4 the prompt from step 4. Reading the flagged rows:
| Row | Columns | On reading |
|---|---|---|
| under 10% = 0 | 1, 2 | "under 10%" became "completed less than 10% of the course". The number and limit are kept, but the subject changed from "progress" to "completed". Whether that is the same depends on how the course counts progress, so check it against the policy |
| excluded 0-1 | 1-4 | "aren't eligible" and similar. Same meaning |
| only 1 | 1, 2 | "You're eligible for a full refund if both of these are true" (column 2) keeps the meaning, but the explicit "only" is gone |
| always | 1, 2 | "We're always happy to help": not a refund condition, but a promise the notice never made |
Numbers and conditions held in all four. The problems the script cannot see are the vague "a couple" and the invented reason, so those you read for.
[4] Now the same task with a reason, rules and one tone sample in <example>. Giving the reason and a sample follows Anthropic's guidance on using examples. The sample has no numbers, otherwise they can leak into the notice.
Rewrite this online-course refund notice in a friendly tone so customers read it without effort. Customers use this text to decide for themselves whether they can get a refund, so only the tone may change and no condition may change. Widening or narrowing a condition would turn into a dispute. Rules- Keep every number (days, percentages, counts) at the same value as the original.- Keep the meaning of condition words (within, under, or more, excluded, only if, passed). Do not widen the scope with words like "anytime", "anyone" or "most".- Do not drop either of the 2 exceptions or any step of the procedure (where to submit, processing time, the note on card payments).- Do not add promises or numbers that are not in the original.- Match the tone of the paragraph in <example>. Do not reuse its content. <example>Hi, this is Example Class. We're going to take our servers offline for a short check so we can bring you a better screen. You won't be able to watch lessons while we work, but when we're done you can pick up right where you left off. Sorry for the trouble, and see you soon!</example> <notice>{contents of orig.en.txt}</notice> Output only the rewritten notice.The exceptions part of the first result now reads:
There are 2 exceptions to this rule:1. Courses you received free of charge during a promotion aren't eligible for a refund.2. If you've already downloaded the textbook files, the textbook price is excluded and only the course fee is refunded.The count is back to "2", the invented reason is gone, and columns 3 and 4 show no widening words. Both results still wrap the notice in friendly framing the original does not have: the first opens with "Hi there! Here's a quick guide…" and closes with "Thank you for reading, and we hope to see you in class soon!", and the second opens the same way and adds "Sorry about that!" after the refusal and "Thanks for your patience, and happy learning!" at the end. That is tone, not a fact, but "Sorry about that!" after "not refundable" can read as an opening for an appeal. If that matters to you, add a rule: "No apologies or offers outside the original."
[5] The same rule-based approach was needed in the Korean run of this setup, where the prompt had to forbid softening "불가" (not possible) into "difficult". English did not soften "not refundable" in any of the 4 runs.
Do not use the rewritten text as the policy. Wording that sets a customer's rights should be matched to the policy line by line by whoever owns it, and the model should not be the one deciding what the policy says.