Generating ACGME-constraint-aware surgery residency call schedule software with the assistance of agentic coding large language models
Abstract Background Manual creation of a surgery residency call schedule is a labor-intensive process that adds to the administrative burden of a chief resident while often producing suboptimal fairness and work distribution. While commercial scheduling software exists, many programs struggle with inflexibility, high costs, and an inability to accommodate program-specific constraints. Methods We developed a scheduling software platform using AI-assisted development tools (Codex, Claude Code), both commercially available agentic coding environments. The system applies a rule-based, weekend-first assignment hierarchy with randomized tie-breaking under a search budget fixed in advance, then performs iterative weekday assignment, accommodating vacation requests and discrete call-shift swapping. The validation roster modeled a single general surgery residency program: 55 residents (32 categorical and 2 preliminary general surgery residents spanning PGY 1 through PGY 6; 20 off-service rotators from other programs; and 1 fellow) distributed across 10 call pools. Three prespecified call-related ACGME constraints were enforced (at least 4 days off per 28-day period, call no more frequently than every third night averaged over 4 weeks, and no consecutive 24-hour call). The 80-hour weekly maximum and the 24-hour period free of all clinical and educational responsibility were not evaluated, as both depend on activity the call calendar does not capture. We evaluated the system with 100 independent full-year runs (July 1 to June 30), each generated end-to-end across all call pools and months under an independently randomized vacation distribution. Compliance and fairness were evaluated at the level of the individual call-pool month (service-month), the unit at which a monthly schedule is produced; fairness and workload metrics were computed across the program’s in-program surgery residents. Results We generated 12,000 service-month schedules over 100 independent full-year runs.
- Link
- https://doi.org/10.1007/s44186-026-00601-8
- Found by
- Crossref
- Authors
- Isaac H. Lies, Meredith Rippy, Syamal D. Bhattacharya, Wesley H. Giles, M. Rippy, S. Bhattacharya, W. Giles
- Categories
- evaluation
- Published
- 2026-10-20
- Last seen by the radar
- 2026-10-22
- Citations
- 0
- Influential citations
- 0
- Radar score
- 26.75 / 100 (how it is scored)
- Why it scored so
- Also found via Semantic Scholar; Matched: evaluat; Primary record: Crossref
- Related links
- https://www.semanticscholar.org/paper/d36f7853df30d0f3fefc8022d28431845f9a1e72