# Attendance

chestnut.tools supports two attendance modes: **daily** (school-wide check-in/check-out) and **per-course** (attendance tied to a specific class).

## Daily Attendance

### Starting a Session

1. Go to **Attendance → Daily**.
2. Choose **Check-In** or **Check-Out** from the segmented control.
3. (Optional) Enable **PIN** and a four-digit code is generated automatically. You can display it full-screen for students to read from a distance.
4. Click **Start** to open the session.

While the session is active, the table updates in real time as students check in or out.

### Ending a Session

Click **Stop** to close the session. The records are saved and will appear in the attendance history for that date.

### Reviewing Past Attendance

Use the date picker at the top of the Daily Attendance page to navigate to any past date and see who checked in or out.

### Tardiness

A student is automatically marked **tardy** if they check in more than 10 minutes after the session start time.

### Filters

The attendance table can be filtered by:

* Student name (text search)
* Presence status (present, absent, tardy)
* Role
* Staff member

***

## Per-Course Attendance

Go to **Attendance → Per Course** to view attendance records tied to individual courses. Select a course from the list to see which students were present, absent, or tardy for each session.

***

## Per-Student Attendance

Go to **Attendance → Per Student** to view the full attendance history for a single student across all courses and daily sessions.

Use the search bar to find a student by name.

***

## Editing Attendance Records

Staff with the `manage_attendance` permission can edit any attendance record directly in the table. Click a cell to update a student's presence status.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chestnut.tools/user-docs/attendance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
