Atris

Turn a meeting transcript into action items.
Done by an agent. Checked twice.

A list of decisions and tasks with the final owner and a real due date, each backed by words from the transcript.

Have Atris do this for you›

1

Real files in

  • attendees.csv
    The six people in the meeting and their roles. 7 lines, 207 bytes.
  • transcript.txt
    A 39 minute weekly operations meeting, about 1,200 words, with one plan reversed later, one task handed over, one task nobody took and names misheard by the recorder. 72 lines, 7 KB.

Sample data written by Atris. Not a real company.

2

Three steps

  1. 1.Read the transcript and the attendees
  2. 2.Pull out decisions and action items
  3. 3.Write the lists and the minutes

Claude Sonnet 5.5, 39 seconds. No web. It never saw the check.

3

Checked twice

  • ✓Passed: 15 of 15 quotes behind the actions and decisions appear word for word in the transcript
  • ✓Passed: 11 of 11 owners are attendees named as in attendees.csv or are marked unassigned
  • ✓Passed: 11 of 11 tasks set in the meeting are in actions.csv, with 0 rows for tasks the meeting did not set
  • ✓Passed: 11 of 11 action rows name the final owner, including the task that was handed over
  • ✓Passed: 11 of 11 due dates equal the date worked out from the meeting date of 2026-11-10
  • ✓Passed: 4 of 4 decisions are recorded as finally settled, including the plan that was reversed
  • ✓Passed: minutes.md lists 11 of 11 tasks on one line with the owner and the due date
  • ✓Passed: 40 of 40 dates and numbers in the minutes, actions and decisions are said in the transcript or follow from the date rules
  • ✓Passed: 11 of 11 action lines in minutes.md carry the due date worked out for that task and no other date, with 23 of 23 dates and numbers in the title, decisions and actions matching the meeting date and the two lists

Second review by Claude Opus 5.5: pass.

Then we broke a copy of the output 6 ways on purpose. The check caught 6.

What it wrote. Lines 10 to 20 of minutes.md, copied from the file.
- Dev Ramaswami: Recount aisle 14 and check aisle 41 for the missing gas canisters. Due 2026-11-12.
- Katya Lindholm: Email the eleven split shipment customers to explain. Due 2026-11-11.
- Tobias Arkwright: Get the Thursday carrier pickup moved to 5:30 and confirmed with the carrier. Due 2026-11-13.
- Katya Lindholm: Update the website and the order confirmation email with the new 2 pm cut-off. Due 2026-11-13.
- Dev Ramaswami: Put the overtime sign-up sheet on the board. Due 2026-11-10.
- Osei Brandt: Get a second quote for stretch wrap. Due 2026-11-20.
- Tobias Arkwright: Chase Fellmark for a firm delivery date for the two pallets of tent pegs. Due 2026-11-12.
- Ines Calloway: Update the label check sheet to check the barcode and reissue it. Due 2026-11-18.
- unassigned: Call the door company to fix the dock door 3 sensor (must be fixed before the end of the month; insurance inspection is in December). Due 2026-11-30.
- Dev Ramaswami: Get two more people trained on the reach truck. Due none.
- Marguerite Voss: Circulate the December holiday cover plan (all teams). Due 2026-11-16.

How this was run

An AI agent on Claude Sonnet 5.5 was given a folder with the files below and a three-step flow, and nothing else. It had no web access and never saw the check. The check was written before the run and made stricter after it. It works the answer out again from the input files. Then Claude Opus 5.5 reviewed the result against the inputs. The input files are sample data written by Atris, with the problems a real week has planted in them.

Run 1 of 1 on 1 December 2026. The agent took 39 seconds.

What the second review verified

  • All 15 quotes in actions.csv and decisions.csv appear word for word in transcript.txt, and each is at least 6 words long (e.g. A9 'Someone needs to call the door company.')
  • Due dates from the meeting date 2026-11-10 (a Tuesday): Thursday=2026-11-12, Friday=2026-11-13, end of next week=2026-11-20, next Monday=2026-11-16, the 18th=2026-11-18, end of month=2026-11-30, today=2026-11-10, tomorrow=2026-11-11
  • Final owners: Toby took the Fellmark chase from Osei ('Yeah, I'll chase Fellmark for a firm date. Thursday's fine.') and is listed as Tobias Arkwright. Nobody took the dock door task, so it is unassigned. 'Katia' is matched to Katya Lindholm from attendees.csv
  • The cancelled Saturday 14th shift and its task ('I'll ask for volunteers today') were dropped and replaced by the overtime decision D4. The stretch wrap supplier switch and the meeting on the 24th are listed as open points. The coffee machine repair was already booked and is not listed as a task

What this run does not show

  • The check holds a list of the eleven tasks with their owners and deadlines, marked by hand before the run.
  • Tasks and decisions are matched by keyword, so the check cannot tell a clear line from a vague one.
  • In the open points a number changed to another number said in the meeting would pass.

Would the check catch a wrong answer?

A check that cannot fail proves nothing. After the run we took a copy of the output, broke it one small way at a time and ran the check again. It caught 6 of 6. The check was made stricter after the first try at this, and the same untouched output was graded again.

Open every file

flow.md · the three steps the agent followed
# Turn a meeting transcript into action items

function: operations
for: the person who chairs the weekly operations meeting
goal: Everyone leaves with the same list of what was decided, who does what and by when, each backed by the words said.

## 1. Read the transcript and the attendees
Read input/transcript.txt and input/attendees.csv. Take the meeting date from the top of the transcript. The
recorder may spell a name another way or use a short name. Match each speaker to a person in attendees.csv
and write the name as it is in that file.

## 2. Pull out decisions and action items
A decision is something the meeting settled, including a standing rule or a clear no. An action item is a
task that one person said they would do, or was asked to do and did not hand to someone else, or that the
meeting said must be done even when nobody took it. A standing rule is a decision, not an action item.
- When a task is passed to another person who accepts it, that person is the owner.
- When the meeting says a task must be done and nobody takes it, the owner is `unassigned`.
- When something agreed earlier is cancelled or replaced later in the meeting, only the final version
  counts. A task that belonged to the cancelled plan is dropped.
- Something put off for later is not a decision and not an action item. List it as an open point.
- Do not add tasks nobody asked for.

Turn each spoken deadline into a date counted from the meeting date:
- "today" is the meeting date and "tomorrow" is the day after.
- A weekday name, as in "by Thursday", is the first such day after the meeting date.
- "next" before a weekday is that day in the week after the meeting week. Weeks start on Monday.
- "the end of next week" is the Friday of the week after the meeting week.
- "the end of the month" is the last day of the meeting's month.
- A day number, as in "the 18th", is that day of the meeting's month.
- When no deadline was said, write `none`.

## 3. Write the lists and the minutes
Write output/actions.csv with columns id,action,owner,due_date,quote. One row per action item. due_date is
YYYY-MM-DD or `none`. Write output/decisions.csv with columns id,decision,quote. In both files quote is one
run of at least 5 words copied exactly from the transcript that backs the row. Do not join two passages.

Write output/minutes.md with `## Decisions`, then `## Actions` with one line per action giving the owner's
full name, the task and the due date, then `## Open points` with every unassigned task, every task with no
date and everything put off. Write dates as YYYY-MM-DD.

## Done looks like
- Every task someone took or was given is in actions.csv once, with the final owner.
- Every due date is a real date worked out from the meeting date, or none.
- Every quote can be found word for word in the transcript.
input/attendees.csv · 7 lines, 207 bytes
name,role
Marguerite Voss,Operations Manager
Dev Ramaswami,Warehouse Supervisor
Katya Lindholm,Customer Service Lead
Osei Brandt,Purchasing Lead
Tobias Arkwright,Transport Planner
Ines Calloway,Quality Lead
input/transcript.txt · 72 lines, 7 KB
Larchmere Outdoor Supply. Weekly operations meeting.
Date: 2026-11-10 (Tuesday). Start 09:02. End 09:41.
Auto transcript from the meeting room recorder. Names and some words may be misheard.

[09:02] Marguerite: Okay, let's start, we have a lot. Dev, you had the cycle count.
[09:02] Dev: Yeah. So Friday's count threw a variance in aisle 14. About forty units of the gas canisters short against the system. I don't believe it. I think it's a location error and they got put away in 41 instead of 14.
[09:03] Marguerite: Can you recount it properly rather than adjust it?
[09:03] Dev: I'll recount aisle 14 myself and check 41 while I'm there. By Thursday.
[09:03] Marguerite: Good. Thursday. Katya, customer side.
[09:04] Katia: Three things. First, split shipments. We had eleven orders last week that went out in two boxes on two different days and nobody told the customer. I've had complaints on four of them.
[09:04] Marguerite: Eleven. Why were they split?
[09:05] Dev: Stock in two zones, second zone picked late. It's the backlog, I'll come to that.
[09:05] Katia: I want to email all eleven and explain. And I'd like to give all eleven free shipping on their next order.
[09:06] Marguerite: Email them, yes. Free shipping for all eleven, no. We're not doing blanket free shipping. If a customer asks for it and they waited more than a week for the second box, say yes. Otherwise no. That's the policy.
[09:06] Katia: Fine. I'll email the eleven split shipment customers tomorrow.
[09:07] Katia: Second thing, the same day cut-off. We promise same day dispatch on orders before 3 pm and we miss it about one day in three.
[09:07] Toby: That's the carrier pickup. They come at 4:30. An order at 2:55 can't be picked, packed and on the dock by 4:30 when we're busy.
[09:08] Marguerite: So either the pickup goes later or the cut-off goes earlier.
[09:08] Toby: Thursday is the worst day. The carrier offered us a 5:30 pickup on Thursdays once before and we said no.
[09:09] Katia: I would rather promise 2 pm and keep it than promise 3 pm and miss it.
[09:09] Marguerite: Then we do both. The same day cut-off moves from 3 pm to 2 pm, starting Monday the 16th. That's decided. And Toby, get the Thursday pickup moved to 5:30.
[09:10] Toby: I'll have the Thursday pickup change confirmed with the carrier by Friday.
[09:10] Marguerite: Katya, the website still says 3 pm.
[09:10] Katia: I'll update the website and the order confirmation email with the new cut-off by Friday.
[09:11] Katia: Third thing is just for information. Phone hold time is down to forty seconds on average. Nothing needed.
[09:11] Marguerite: Nice. Okay. Dev, backlog.
[09:12] Dev: We're about six hundred lines behind. It's what caused the split shipments. I want to run a Saturday shift this Saturday, the 14th, to clear it.
[09:12] Marguerite: How many people?
[09:13] Dev: Twelve if I can get them. I'll ask for volunteers today.
[09:13] Marguerite: Fine. Let's do Saturday the 14th.
[09:14] Osei: Can I do purchasing while we wait for coffee? The machine's broken again by the way.
[09:14] Marguerite: Go on.
[09:15] Osei: Stretch wrap. Brixham Films have told us the price goes up nine percent from January. I think we should switch supplier.
[09:15] Marguerite: I'm not deciding that today. One price letter isn't enough. Get me a second quote first and then we talk.
[09:16] Osei: Okay. I'll get a second quote for stretch wrap by the end of next week.
[09:16] Osei: The other one is Fellmark. They still owe us two pallets of tent pegs. Three weeks late now and I get a different answer each time I ring.
[09:17] Marguerite: We need a firm delivery date out of them. Osei, can you chase them and get a date by Thursday?
[09:17] Osei: I'm out Thursday and Friday. Toby, you deal with their transport desk anyway. Can you take it?
[09:18] Toby: Yeah, I'll chase Fellmark for a firm date. Thursday's fine.
[09:18] Marguerite: Thanks. Ines, quality.
[09:19] Ines: The headlamp mislabel. Last Wednesday a batch of headlamps went out with the wrong barcode label. Thirty six units shipped. Nine have come back so far.
[09:20] Dev: Two of the nine went straight back onto the shelf before anyone told us, with the wrong label still on. We pulled those two off again on Friday.
[09:20] Ines: Which is the problem. I want every return from that batch to go through quality hold before it is restocked. No exceptions.
[09:21] Marguerite: Agreed. Every return from that batch goes through quality hold before restock. That's the rule from today.
[09:21] Ines: And the label check sheet didn't catch it because it only checks the product name, not the barcode. I'll update the label check sheet and reissue it by the 18th.
[09:22] Marguerite: Good.
[09:23] Ines: One more thing and it changes what Dev said. Saturday the 14th is the fire system test. The building is closed from 8 until 2. You can't run a shift.
[09:23] Dev: Ah. Nobody told me that.
[09:24] Marguerite: Right. Then scrap Saturday. No Saturday shift. We do two hours of overtime on Wednesday, Thursday and Friday this week instead. Dev, does that clear it?
[09:24] Dev: Six hours times twelve people. Should do.
[09:25] Marguerite: Then that's decided. Overtime this week, no Saturday.
[09:25] Dev: I'll put the overtime sign-up sheet on the board today.
[09:26] Dev: Two more from me. Dock door 3. The sensor is still faulty. It thinks the door is open when it's closed and the alarm panel beeps all night.
[09:27] Marguerite: Someone needs to call the door company. It has to be fixed before the end of the month. The insurance inspection is in December.
[09:27] Toby: Not me. I don't hold that contract.
[09:28] Dev: It's a facilities job really and we don't have a facilities person any more.
[09:28] Marguerite: Okay. I don't have a name for it today. But it needs doing, write it down.
[09:29] Dev: Last one. Only two people are certified on the reach truck. If one of them is off we are stuck.
[09:29] Marguerite: Get two more trained.
[09:30] Dev: Will do. I need to see when the trainer has slots so I can't give you a date yet.
[09:30] Marguerite: Okay, no date on that one for now.
[09:31] Osei: Is the car park being resurfaced this week?
[09:31] Ines: Next week I think. There was a notice by the door.
[09:32] Marguerite: Last thing from me. December holiday cover. I have everyone's leave requests. I'll circulate the December holiday cover plan next Monday.
[09:33] Katia: Will that include the customer service phones?
[09:33] Marguerite: Yes, all teams.
[09:34] Toby: Are we still meeting on the 24th? Half of us are at the carrier review.
[09:35] Marguerite: Good point. Not deciding that now. Leave it as an open point.
[09:36] Dev: The coffee machine. Is anyone fixing it?
[09:36] Osei: The supplier is coming this afternoon. It's already booked.
[09:37] Marguerite: Good. Anything else? No? Thanks everyone.
[09:41] Recording stopped.
output/actions.csv · written by the agent, 12 lines
id,action,owner,due_date,quote
A1,Recount aisle 14 and check aisle 41 for the missing gas canisters,Dev Ramaswami,2026-11-12,I'll recount aisle 14 myself and check 41 while I'm there.
A2,Email the eleven split shipment customers to explain,Katya Lindholm,2026-11-11,I'll email the eleven split shipment customers tomorrow.
A3,Get the Thursday carrier pickup moved to 5:30 and confirmed with the carrier,Tobias Arkwright,2026-11-13,I'll have the Thursday pickup change confirmed with the carrier by Friday.
A4,Update the website and the order confirmation email with the new 2 pm cut-off,Katya Lindholm,2026-11-13,I'll update the website and the order confirmation email with the new cut-off by Friday.
A5,Put the overtime sign-up sheet on the board,Dev Ramaswami,2026-11-10,I'll put the overtime sign-up sheet on the board today.
A6,Get a second quote for stretch wrap,Osei Brandt,2026-11-20,I'll get a second quote for stretch wrap by the end of next week.
A7,Chase Fellmark for a firm delivery date for the two pallets of tent pegs,Tobias Arkwright,2026-11-12,I'll chase Fellmark for a firm date.
A8,Update the label check sheet to check the barcode and reissue it,Ines Calloway,2026-11-18,I'll update the label check sheet and reissue it by the 18th.
A9,Call the door company to fix the dock door 3 sensor (must be fixed before the end of the month; insurance inspection is in December),unassigned,2026-11-30,Someone needs to call the door company.
A10,Get two more people trained on the reach truck,Dev Ramaswami,none,I need to see when the trainer has slots
A11,Circulate the December holiday cover plan (all teams),Marguerite Voss,2026-11-16,I'll circulate the December holiday cover plan next Monday.
output/decisions.csv · written by the agent, 5 lines
id,decision,quote
D1,No blanket free shipping for the split shipment customers. Free shipping only if a customer asks and waited more than a week for the second box.,We're not doing blanket free shipping.
D2,"The same day dispatch cut-off moves from 3 pm to 2 pm, starting Monday 2026-11-16.","The same day cut-off moves from 3 pm to 2 pm, starting Monday the 16th."
D3,Every return from the mislabelled headlamp batch goes through quality hold before restock (standing rule from 2026-11-10).,Every return from that batch goes through quality hold before restock.
D4,"The Saturday 2026-11-14 shift is scrapped (fire system test). Instead, two hours of overtime on Wednesday, Thursday and Friday this week (2026-11-11 to 2026-11-13).","We do two hours of overtime on Wednesday, Thursday and Friday this week instead."
output/minutes.md · written by the agent, 26 lines
# Minutes: Larchmere Outdoor Supply weekly operations meeting, 2026-11-10

## Decisions
- No blanket free shipping for the split shipment customers. Free shipping only if a customer asks and waited more than a week for the second box.
- The same day dispatch cut-off moves from 3 pm to 2 pm, starting Monday 2026-11-16.
- Every return from the mislabelled headlamp batch goes through quality hold before restock (standing rule from 2026-11-10).
- The Saturday 2026-11-14 shift is scrapped (fire system test). Instead, two hours of overtime on Wednesday, Thursday and Friday this week (2026-11-11 to 2026-11-13).

## Actions
- Dev Ramaswami: Recount aisle 14 and check aisle 41 for the missing gas canisters. Due 2026-11-12.
- Katya Lindholm: Email the eleven split shipment customers to explain. Due 2026-11-11.
- Tobias Arkwright: Get the Thursday carrier pickup moved to 5:30 and confirmed with the carrier. Due 2026-11-13.
- Katya Lindholm: Update the website and the order confirmation email with the new 2 pm cut-off. Due 2026-11-13.
- Dev Ramaswami: Put the overtime sign-up sheet on the board. Due 2026-11-10.
- Osei Brandt: Get a second quote for stretch wrap. Due 2026-11-20.
- Tobias Arkwright: Chase Fellmark for a firm delivery date for the two pallets of tent pegs. Due 2026-11-12.
- Ines Calloway: Update the label check sheet to check the barcode and reissue it. Due 2026-11-18.
- unassigned: Call the door company to fix the dock door 3 sensor (must be fixed before the end of the month; insurance inspection is in December). Due 2026-11-30.
- Dev Ramaswami: Get two more people trained on the reach truck. Due none.
- Marguerite Voss: Circulate the December holiday cover plan (all teams). Due 2026-11-16.

## Open points
- Unassigned: call the door company to fix the dock door 3 sensor, due 2026-11-30. Nobody took it.
- No date: Dev Ramaswami to get two more people trained on the reach truck. The trainer's slots need checking first.
- Put off: whether to switch stretch wrap supplier from Brixham Films (9% rise from January). Not decided until the second quote is in (due 2026-11-20).
- Put off: whether the 2026-11-24 weekly meeting still goes ahead, since many attendees are at the carrier review. Marguerite Voss left it as an open point.
check.py · the check, written before the run
"""Checks the action list against the transcript: real quotes, real attendees, final owners and dates worked out from the meeting date."""
import calendar, csv, re, sys
from datetime import date, timedelta
from pathlib import Path
root = Path(sys.argv[1]); ok = True
def say(passed, text):
    global ok; ok = ok and passed; print(("PASS " if passed else "FAIL ") + text)
def flat(s):
    s = (s or "").lower().replace("’", "'").replace("‘", "'").replace("“", '"').replace("”", '"').replace("*", "")
    return " ".join(s.split())
raw = (root/"input/transcript.txt").read_text(); script = flat(raw)
people = [r["name"].strip() for r in csv.DictReader((root/"input/attendees.csv").open())]
met = date.fromisoformat(re.search(r"Date:\s*(\d{4}-\d{2}-\d{2})", raw).group(1))
monday = met - timedelta(days=met.weekday())
def weekday(n): return met + timedelta(days=(n - met.weekday() - 1) % 7 + 1)      # first such day after the meeting
def due(kind, n=0):
    if kind == "offset": d = met + timedelta(days=n)
    elif kind == "weekday": d = weekday(n)
    elif kind == "next_weekday": d = monday + timedelta(days=7 + n)
    elif kind == "end_next_week": d = monday + timedelta(days=11)
    elif kind == "month_end": d = met.replace(day=calendar.monthrange(met.year, met.month)[1])
    elif kind == "day": d = met.replace(day=n)
    else: return "none"
    return d.isoformat()
# Every task the meeting set: words that name it, the final owner, and the deadline as it was said.
tasks = [("the aisle 14 recount", r"aisle 14|recount", "Dev Ramaswami", due("weekday", 3), "by thursday"),
         ("the email to split shipment customers", r"split", "Katya Lindholm", due("offset", 1), "customers tomorrow"),
         ("the Thursday pickup change", r"pick-?up|pick up|collection", "Tobias Arkwright", due("weekday", 4), "with the carrier by friday"),
         ("the website wording", r"website", "Katya Lindholm", due("weekday", 4), "new cut-off by friday"),
         ("the second stretch wrap quote", r"quote", "Osei Brandt", due("end_next_week"), "by the end of next week"),
         ("the supplier delivery date", r"fellmark", "Tobias Arkwright", due("weekday", 3), "thursday's fine"),
         ("the label check sheet", r"check sheet|label", "Ines Calloway", due("day", 18), "reissue it by the 18th"),
         ("the overtime sheet", r"overtime|sign-?up|sign up", "Dev Ramaswami", due("offset", 0), "on the board today"),
         ("the dock door sensor", r"\bdoor", "unassigned", due("month_end"), "before the end of the month"),
         ("reach truck training", r"reach truck|train", "Dev Ramaswami", "none", "can't give you a date yet"),
         ("the holiday cover plan", r"holiday", "Marguerite Voss", due("next_weekday", 0), "cover plan next monday")]
assert all(spoken in script for *_, spoken in tasks), "a deadline in the check is not in the transcript"
apath, dpath = root/"output/actions.csv", root/"output/decisions.csv"
if not apath.exists() or not dpath.exists():
    say(False, "output/actions.csv and output/decisions.csv were not both written"); sys.exit(1)
acts, decs = list(csv.DictReader(apath.open())), list(csv.DictReader(dpath.open()))
quotes = [flat(r.get("quote")).strip('"\' ') for r in acts + decs]
real = sum(1 for q in quotes if len(q.split()) >= 5 and q in script)
say(bool(quotes) and real == len(quotes), f"{real} of {len(quotes)} quotes behind the actions and decisions appear word for word in the transcript")
owners = [(r.get("owner") or "").strip() for r in acts]
known = sum(1 for o in owners if o in people or o == "unassigned")
say(bool(acts) and known == len(acts), f"{known} of {len(acts)} owners are attendees named as in attendees.csv or are marked unassigned")
def hits(r): return [t for t in tasks if re.search(t[1], flat(r.get("action")))]
found = sum(1 for t in tasks if any(t in hits(r) for r in acts))
stray = sum(1 for r in acts if not hits(r))
say(found == len(tasks) and stray == 0, f"{found} of {len(tasks)} tasks set in the meeting are in actions.csv, with {stray} rows for tasks the meeting did not set")
own = sum(1 for r in acts if any(t[2] == (r.get("owner") or "").strip() for t in hits(r)))
say(bool(acts) and own == len(acts), f"{own} of {len(acts)} action rows name the final owner, including the task that was handed over")
when = sum(1 for r in acts if any(t[3] == (r.get("due_date") or "").strip().lower() for t in hits(r)))
say(bool(acts) and when == len(acts), f"{when} of {len(acts)} due dates equal the date worked out from the meeting date of {met.isoformat()}")
dtext = [flat(r.get("decision")) for r in decs]
no = r"\bno\b|\bnot\b|scrap|cancel|drop|instead|replac"
settled = [any(re.search(r"saturday|overtime", d) for d in dtext) and all(re.search(no, d) for d in dtext if "saturday" in d),
           any("free shipping" in d for d in dtext) and all(re.search(no + r"|only|unless|\bif\b", d) for d in dtext if "free shipping" in d),
           any(re.search(r"cut-?off|cut off", d) and re.search(r"\b2 ?pm|14:00|2:00", d) for d in dtext),
           any("hold" in d for d in dtext)]
say(sum(settled) == len(settled), f"{sum(settled)} of {len(settled)} decisions are recorded as finally settled, including the plan that was reversed")
minutes = (root/"output/minutes.md").read_text() if (root/"output/minutes.md").exists() else ""
mlines = [flat(ln) for ln in minutes.splitlines()]
listed = sum(1 for t in tasks if any(t[2].lower() in ln and t[3] in ln and re.search(t[1], ln) for ln in mlines))
say(listed == len(tasks), f"minutes.md lists {listed} of {len(tasks)} tasks on one line with the owner and the due date")
# Every date and number written down must come from the transcript: said as it is, or worked out by the date rules.
talk = re.sub(r"(?m)^\[\d\d:\d\d\]", " ", raw).lower()
words = "zero one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty".split()
said = set(re.findall(r"(?<![\w:.-])\d+(?::\d\d)?(?![\w:-])", talk)) | {str(i) for i, w in enumerate(words) if re.search(rf"\b{w}\b", talk)}
names = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]
dates = {met.isoformat()} | {t[3] for t in tasks} | {due("weekday", i) for i, w in enumerate(names) if w in talk} | {due("next_weekday", i) for i, w in enumerate(names) if "next " + w in talk}
dates |= {due("day", int(n)) for n in re.findall(r"\bthe (\d{1,2})(?:st|nd|rd|th)\b", talk)}
iso = r"\d{4}-\d{2}-\d{2}"
seen = wrong = 0; odd = []
texts = minutes.splitlines() + [r.get("action") or "" for r in acts] + [r.get("decision") or "" for r in decs]
for s in texts:
    for d in re.findall(iso, s):
        seen += 1
        if d not in dates: wrong += 1; odd.append(d)
    for n in re.findall(r"(?<![\w:.-])\d+(?::\d\d)?(?![\w:-])", re.sub(iso, " ", re.sub(r"^\s*\d+[.)]\s", "", s))):
        seen += 1
        if n not in said: wrong += 1; odd.append(n)
say(seen > 0 and wrong == 0, f"{seen - wrong} of {seen} dates and numbers in the minutes, actions and decisions are said in the transcript or follow from the date rules" + (": not " + ", ".join(odd[:3]) if odd else ""))
def bits(s): return set(re.findall(iso, s)) | set(re.findall(r"(?<![\w:.-])\d+(?::\d\d)?(?![\w:-])", re.sub(iso, " ", re.sub(r"^\s*\d+[.)]\s", "", s))))
settled_bits = set().union(*(bits((r.get("decision") or "") + " " + (r.get("quote") or "")) for r in decs)) if decs else set()
section = ""; held = lines_ = 0; kept = told = 0
top = next((ln for ln in minutes.splitlines() if ln.strip()), "")
told += len(re.findall(iso, top)); kept += sum(1 for d in re.findall(iso, top) if d == met.isoformat())
for ln in minutes.splitlines():
    if ln.startswith("## "): section = flat(ln)
    mine = [t for t in tasks if re.search(t[1], flat(ln))]
    if "decision" in section and not ln.startswith("## "):       # the minutes restate the two lists, so their numbers must match them
        told += len(bits(ln)); kept += len(bits(ln) & settled_bits)
    if "action" in section and len(mine) == 1 and ln.strip():
        rows_ = [r for r in acts if mine[0] in hits(r)]
        mine_bits = set().union(*(bits(" ".join((r.get(c) or "") for c in ("action", "due_date", "quote"))) for r in rows_)) if rows_ else set()
        told += len(bits(ln)); kept += len(bits(ln) & mine_bits)
        lines_ += 1; held += set(re.findall(iso, ln)) <= {mine[0][3]} and (mine[0][3] != "none" or bool(re.search(r"\bnone\b|no date", flat(ln))))
say(lines_ >= len(tasks) and held == lines_ and kept == told, f"{held} of {lines_} action lines in minutes.md carry the due date worked out for that task and no other date, with {kept} of {told} dates and numbers in the title, decisions and actions matching the meeting date and the two lists")
sys.exit(0 if ok else 1)

attendees.csv: sample data written by Atris. Fingerprint 3c06c65ebac6.

transcript.txt: sample data written by Atris. Fingerprint 20c8cf8a53b7.

actions.csv: written by the agent. Fingerprint 8298fd5210a1.

decisions.csv: written by the agent. Fingerprint bb541b13d214.

minutes.md: written by the agent. Fingerprint aaf4c2ff6fe2.


More operations work, and every other desk job

For agentsGitHub
What is AtrisBlogApp StorePricingPrivacyTerms