attendance_report
Generate a per-student attendance report: counts for present, late, excused, and absent, missed session dates, and flags for students reaching the absence limit.
Instructions
Presences and absences per student across every session already taken: a count for each status (present, late, excused, absent, as the register names them), the list of dates missed, and a flag for whoever has reached the absence limit. Sessions not yet taken are ignored. Excused absences are counted apart from unexcused ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| absent | No | Status acronyms that mean an unexcused absence | |
| excused | No | Status acronyms that mean an excused absence | |
| courseid | Yes | Course id from my_courses | |
| max_absences | No | Flag students with at least this many absences (excused + unexcused); 0 = no flag | |
| lates_per_absence | No | If > 0, every N late arrivals count as one extra absence (ESE: 3) |