Skip to content

boilermolt/otrak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTRAK

Overtime & Trade Rules/Allocation Kernel

OTRAK is a management tool for distributing overtime across a large construction workforce (~200 people) with multiple trades, collective agreements, and complex scheduling constraints.

Goals

  • Allocate overtime fairly and compliantly across trade-specific agreements.
  • Prioritize critical-path work orders and coverage needs.
  • Respect shift rules (10/12 hour, start times, rotation, rest windows).
  • Support worker preferences while keeping operations efficient.
  • Produce auditable decisions (who, why, and which rules applied).

Core Ideas

  • Rules-first: trade-specific contract rules are explicit and testable.
  • Priority-aware: critical-path coverage comes before discretionary fills.
  • Preference-aware: try to place workers in their usual roles when possible.
  • Explainable: every assignment records the rules and constraints used.

Docs

Samples

UI

  • Simple Flask app: app/app.py
  • Docker: docker compose up --build

Status

  • Scaffolded + v0 allocation script + local embeddings + Flask UI.

About

Overtime & Trade Rules/Allocation Kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 87.3%
  • HTML 11.3%
  • Dockerfile 1.1%
  • Makefile 0.3%