Feature Guide: "Safe to Skip" Logic

Overview

The AttendanceTracker app uses mathematical formulas to help you manage your attendance strategically. It calculates exactly how many classes you can afford to miss while staying above your target percentage, or how many you must attend to get back on track.

Logic & Formulas

The app uses your Current Attendance (Present/Total) and your Target Percentage (user-configurable in Stats) to provide advice.

⚠️ The Danger Zone Planner

The Danger Zone screen goes beyond simple math. It allows you to simulate scenarios before they happen.

Interactive Simulation

  1. Select a Module: Choose the subject you are worried about.
  2. Select Session Type:
  3. Simulate Future Skips: Use the interactive slider to simulate skipping 1, 2, or more future classes. The app will instantly calculate:
  4. Custom Targets: You can adjust the target percentage just for the simulation to see how strict you need to be. (e.g., "What if I need 90% in Labs but only 75% overall?").

Logic & Formulas

1. When You Are Above Target (Safe to Skip)

If your current percentage is higher than your target, the app calculates the "buffer" of classes you can miss.

Formula: Safe to Skip = Floor( (Present / Target) - Total Classes ) Floor() is a function that rounds down to the nearest integer.

Example: