p='output/action-plan.csv' s=open(p).read() reps=[ ("Not started (no owner assigned as of Oct 20 10:00)", "Open (last recorded as unassigned in CR-07 at Oct 19 16:00; no later update in the inputs)"), ("In progress (Alex said on Oct 18 he will request it by Oct 21; no confirmation that he has sent it)", "Pending (Alex committed on Oct 18 to request it by Oct 21; the inputs do not show that the request was sent)"), ('"Finish the invitation draft copy (Oct 30 11:00 PT; free; 80 seats; no recording or replay promise); keep it in draft"', '"Deliver the invitations, which CR-07 lists as due Oct 22 12:00 PT (assumed here to mean finished draft copy, since launch copy must stay in draft until the test passes): Oct 30 11:00 PT; free; 80 seats; no recording or replay promise"'), ] for a,b in reps: assert s.count(a)==1, a s=s.replace(a,b) open(p,'w',newline='').write(s) p='output/decision-log.md' s=open(p).read() a="- **U1:** Nobody owns the platform test yet. Priya must assign someone by Oct 21 12:00 PT (CR-07)." b="- **U1:** The platform test owner was last recorded as unassigned on Oct 19 at 16:00 (CR-07), and the inputs contain no later assignment. Priya must assign someone by Oct 21 12:00 PT." assert s.count(a)==1; s=s.replace(a,b) a="- **U10:** We have no written speaker consent for recording or replay. Alex will request it by Oct 21. Until then the plan is live-only." b="- **U10:** We have no written speaker consent for recording or replay. Alex committed to request it by Oct 21, but the inputs do not show that the request was sent. Until consent arrives, the plan is live-only." assert s.count(a)==1; s=s.replace(a,b) open(p,'w').write(s) p='output/update-email.txt' s=open(p).read() a="- Mei: invitation drafts by Oct 22 at 12:00." b="- Mei: invitations due Oct 22 at 12:00, kept in draft." assert s.count(a)==1; s=s.replace(a,b) open(p,'w').write(s) print('revised')