How Intuition Grades and Attendance are calculated
Grade intuitions are cached when they are read from the processed dataset. Because grades can be submitted over several days in preparation for the report card, the builder waits 7 days from the last grade cached before it will generate the intuitions. It does this by storing the generate date for the intuitions in the settings table. The key for the setting is GRADE_TIMER and the value is the date in yyyyMMdd format. Grades intuitions are generated for each Grading Period (Bin) and for each Grade Name that contains percent or letter grade values. Letter Grades are converted to percentages for the purpose of any calculations.
Perfect attendance will be generated if the student has no attendance infractions from the beginning of the school year. It will be generated after 1 month, 2 months, 3 months and 6 months.
Good attendance will be generated if a student has had 1,2,3 and 6 months of no attendance infractions. This is different from perfect attendance because a student may have attendance infractions prior to the milestones.
An Attendance infraction intuition will be generated if more than 2 infractions have occurred in the past 2 weeks. Additional infractions will not be generated for 2 weeks. (Chronic and Attendance infractions count towards this delay)
A Chronic attendance intuition will be generated if more than 5 infractions have occurred in the past 2 weeks. Additional infractions will not be generated for 2 weeks. (Chronic attendance count towards this delay)
Missed more than 10% of classes in first 30 days of school
The builder will detect if we are past the first 30 days of school before generating this intuition. It does this by checking the calendars start date. The builder will generate this intuition for each calendar imported. Once the intuitions have been generated the build will place a FALSE value in the settings table for the GENERATE_START_SCHOOL_INTUITIONS-. This will prevent further runs of the builder from generating intuitions. The 30 days of school is calculated based on the calendar. If period attendance is cached it will be used to calculate this intuitions. Otherwise daily attendance will be used. To determine how many attendance infractions must be achieved before this intuition is calculated:
(Number of timeslots * 30) / 10
(Number of timeframes * 30) / 10