Document kit

Shift Swap Fairness Logic

It calculates a rotation weight for each staff member based on past shifts worked.

It identifies who is next in line for a preferred day off based on a fairness score. The files open in your own spreadsheet, calendar and text programs.

Version 1.0.0 · Teranite Systems

$10.00 USD, one-time

Buying this pack gets you a licence to use it, not ownership of the files.

Read the full licence

Buy for $10.00

  • Download right after payment, and by email.
  • Opens in your own spreadsheet, calendar and text programs.
  • Refund within 14 days, for any reason.
  • Payment is handled by Stripe.

What it does

It calculates a rotation weight for each staff member based on past shifts worked. It identifies who is next in line for a preferred day off based on a fairness score. The files open in your own spreadsheet, calendar and text programs.

What's inside

  • Shift Swap Fairness Logic: logic_rules.md, rotation_guide.md, weight_calc.js.

With a README and the Teranite Facet Buyer Licence.

Sample

Shift Swap Fairness Logic

It calculates a rotation weight for each staff member based on past shifts worked. It identifies who is next in line for a preferred day off based on a fairness score.

Files: logic_rules.md, rotation_guide.md, weight_calc.js. rotation_guide.md, start of the file:

# Manager's Guide to Rotation Management

## Introduction
This guide explains how to implement the Shift Swap Fairness Logic within your retail or hospitality team to reduce staff burnout and complaints regarding scheduling favoritism.

## Step-by-Step Implementation

### Step 1: Data Collection
Gather the following data for every team member for the current period:
- Total hours worked in the last 30 days.
- Number of Saturday/Sunday shifts worked.
- Number of Public Holidays worked.
- Number of requested days off that were successfully granted.

### Step 2: Running the Calculation
1. Open a web browser (Chrome, Firefox, or Edge).
2. Open the Developer Console (F12 or Right-Click -> Inspect -> Console).
3. Copy the contents of `weight_calc.js` and paste it into the console.
4. Press Enter to see the ranked list of staff members.

### Step 3: Applying the Result
When a preferred day off is requested:
1. Check the current Weight Score list.
2. If the requester has the lowest score, grant the request immediately.
3. If the requester has a high score but someone else has a significantly lower score, notify the requester that they are currently lower in the fairness priority queue.

##

Requirements

  • A program that opens the file types listed.
  • Checked: every file opens and parses, and any spreadsheet formulas compute in Microsoft Excel for Windows.
  • Not opened in other programs.

Install

Unzip the download, then the zip inside it. Each folder inside holds one set of files; open or import them in your own programs and work on a copy.

Licence

One licence covers one person. Your finished work is yours. Do not share or resell the files.

How it is made

Facet Packs are made with Teranite's own software tools, some of them written with help from AI, and rendered or built by standard software. They contain no AI-generated images.

Support

Questions, or a fault: support@teranitesystems.com. We reply within 2 business days.

More from Spreadsheet templates

See all