.. include:: /Includes.rst.txt .. _feature-1791264688: ======================================= Feature: Classify how present a day was ======================================= Description =========== Every calculated day carries ``presenceFraction`` (0, 0.5 or 1) and ``presenceSegments``, one per half: ``present``, ``insufficientPresence``, ``absent``, ``leave`` (with the leave type and whether it is paid), ``sickness``, ``holiday``, ``offDay`` or ``pendingValidation``. The worked part counts 1 at the target minus the company's presence tolerance, 0.5 at half the target, scaled to the halves left for work; a day without a target counts 0 and keeps its worked time as plus time. The same rule serves every view, export and summary. Readers who may not see sickness see a sick half as ``absent``. Impact ====== Run the database migrations; days get their classification when they are calculated next. .. index:: package:adsum-attendance