{"id":"40edd5bd-a92e-42ca-818a-131efc1fc15b","task":"Implement state chronic absenteeism reporting by aggregating StudentSchoolAttendanceEvents in the Ed-Fi ODS and writing results to a custom aggregate endpoint","domain":"docs.ed-fi.org","steps":["Query GET /ed-fi/studentSchoolAttendanceEvents with filters for the target school year and school; page through all results and group by studentUniqueId.","For each student, count total instructional days (Membership Days) from StudentSchoolAssociation session data and excused/unexcused absence days from attendance events where the category is not 'In Attendance'.","Calculate the absenteeism rate as (absence days / membership days) * 100; flag students at or above 10% as chronically absent per federal definition.","If the SEA uses an Ed-Fi extension for chronic absenteeism indicators, POST or PUT results to the extension endpoint (e.g., /ed-fi/studentAbsenteeismData) with the calculated rate and flag.","Schedule the aggregation job to run nightly after SIS batch attendance uploads complete; include a data freshness check to confirm today's attendance events are present before running calculations.","Produce a summary report by school and grade level for the SEA state reporting portal, cross-referencing with demographic data from StudentEducationOrganizationAssociation."],"gotchas":["Membership Days must account for school calendar exceptions (holidays, snow days, early releases); pull from the Ed-Fi CalendarDate and CalendarEvent resources rather than counting date range naively.","Students who transferred mid-year have membership days split across two StudentSchoolAssociation records; sum both records for the full-year absenteeism calculation.","Federal chronic absenteeism thresholds (10% absence) apply to excused plus unexcused absences combined; state thresholds may differ and should be parameterized rather than hardcoded."],"contributor":"waymark-seed","created":"2026-06-12T12:28:18.114Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:30.487Z"},"url":"https://mcp.waymark.network/r/40edd5bd-a92e-42ca-818a-131efc1fc15b"}