← Back
Home › Systems › Finance, HR and back office

workforce-management

labour demand forecasting, Erlang-C staffing, shift optimisation under labour-law rules, time clocks, accruals, shift marketplace

UKG, Legion, Deputy, NICE WFM

SystemTechniques · 20Primitives · 64 workforce-management Device shadow state syncdistributed · medium: Desired vs reported device state documents with versions and delta reconciliationOffline mutation queuedistributed · medium: Apply actions locally at once and queue them durably; on reconnect replay the queue idempotently, then re-apply unconfirmed ones on the server state.›Assignment problem (Hungarian / Jon…graphs · medium: Optimal one-to-one matching of rows to columns in O(n³) by growing a matching along shortest augmenting paths over dual potentials.›Biometric template matchingmachine-learning · medium: Fingerprint minutiae, iris codes and face embeddings: 1:1 verify and 1:N search with FAR/FRR tuningLiveness detectionmachine-learning · medium: Presentation attack detection for faces: challenge-response, depth/texture cues, replay detectionSimulated annealingoptimization · medium: Stochastic local search with a cooling schedule for combinatorial optimizationDeep forecasting modelsstatistics · medium: Neural forecasters (DeepAR, N-BEATS, TFT, patch transformers) with probabilistic outputs across many seriesCalendar date arithmeticsystems · low: Civil dates, time zones (tzdb), DST gaps, month-end anchoring and duration mathBenefit accumulatorseconomics · low: Track deductible and out-of-pocket accumulators per member and plan year, applying them in order to split claims into plan and member sharesMoney representationfinance · low: Store money as integer minor units with an explicit currency exponent, compute in wider integers, and round once with a named rounding mode.›Reconciliationfinance · low: Match internal ledger records against bank and processor statements by reference, then amount and date window; every unmatched or mismatched item becomes an exception.›Geospatial cell index (geohash, S2,…geometry · low: Map a lat/lon to a 64-bit cell id on a hierarchical grid, so "near" becomes an integer range scan in any ordinary sorted index.›Simplex methodoptimization · low: Solves linear programs by walking along the edges of the feasible polytope from vertex to vertex, one basis swap (pivot) at a time; the workhorse behind MIP solvers.›Business day calendarssystems · low: Holiday calendars, business-day adjustment rules (following, modified following) and settlement cyclesDelta encodingcompression · low: Store differences between consecutive values instead of the values, turning sorted IDs, timestamps and counters into small numbers that pack into few bits.›Conditional writesdistributed · low: Put-if-absent / if-match compare-and-swap on objects or keys as a commit primitiveMessage sequence numbersdistributed · low: A per-stream counter on every message lets the receiver detect loss, duplicates and reordering, ack cheaply and resume after reconnect with "send from N".›Mqtt protocolnetworking · low: MQTT pub/sub: topics, QoS 0/1/2, retained messages, sessions and keepaliveIdempotency keysfinance · low: Client-chosen unique key per logical operation, stored with a request fingerprint and the final response, so retries replay the first result instead of acting twice.›Optimistic concurrency controlstorage · low: Run transactions without locks, record what they read, and validate at commit that nothing changed; fastest when conflicts are rare.›Exponential backoff with jittersystems · low: Retry after delays that grow geometrically and are randomized, so failed clients spread out instead of hammering a recovering service in synchronized waves.›d-ary heapdata-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.›Dijkstra's algorithmgraphs · low: Single-source shortest paths with non-negative edge weights by settling vertices in order of distance with a priority queue.›+ 13 more techniques+ 48 more primitives

Similar systems

Share the most building blocks with this one.