The job of this console
Read flagged patterns, open the underlying leave, and decide with a human. Tune rules via API/seed, not by deleting leave rows.
Register view for anomaly rules, flagged reviews, and fairness snapshots — no self-serve write UI; seed via API. Flags never auto-reject leave.
Register view — seed via API. Flowcharts: rule → detect → review.
Fairness signals
Leave anomaly intelligence is rules, flagged reviews, and fairness snapshots. There is no self-serve write UI; seed via API. Flags never auto-reject leave.
/admin/leave/anomaly-rules
HR Admin · Org Admin
Read flagged patterns, open the underlying leave, and decide with a human. Tune rules via API/seed, not by deleting leave rows.
HR administrators. Employees are not scored in a public leaderboard here.
Open the review list, inspect a flag, open the leave, act on the request using normal approval. Adjust rules only with care.
A cluster of Friday-only leave. A fairness snapshot before peak season. After a policy change that looked like gaming. When someone asks why a flag appeared.
Each diagram auto-plays steps when it scrolls into view. Use Play / Pause, or click a step to jump.
Rules scan leave activity and open review items.
flowchart TD
R[Anomaly rules] --> S[Scan leave data]
S --> F{Flag?}
F -->|No| Ok[No action]
F -->|Yes| Q[Review queue]
Q --> Act[HR action]
Team-level views for approval latency and rejection rates.
flowchart TD
Data[Leave + approvals] --> Fair[Fairness analytics]
Fair --> Lat[Latency]
Fair --> Rej[Rejection rate]
Fair --> Dist[Distribution by team]
Anomaly rules, review, and fairness analytics help HR spot unusual patterns without auto-rejecting leave. Screens are registers only — no self-serve write UI; seed via API. Do not store raw sensitive medical content in analytics stores.