Skip to main content
function targetPeakConcurrentAssignments(assignments, opts?): RuleEntry<"target-peak-concurrent-assignments", object & TargetPeakConcurrentAssignmentsOptions>;
Softly targets the daily peak number of concurrent overlapping assignments.

Parameters

assignments
number
required
Target peak number of concurrent overlapping assignments.
opts
TargetPeakConcurrentAssignmentsOptionsOptional scope and soft priority.

Returns

RuleEntry<"target-peak-concurrent-assignments", object & TargetPeakConcurrentAssignmentsOptions> Use this when the business wants to hit full productive occupancy at the busy point of a day, but does not mean that same number must be present throughout the full span. This is not a whole-day lower bound. Pair it with cover for edge minima and with maxConcurrentAssignments when the same value is also a hard cap. Prefer this over a whole-day cover(...) when the brief means “reach the peak” rather than “maintain this minimum throughout the day”. This is a rule-level peak target, not a variant of cover. Do not introduce a synthetic semantic time just to attach a whole-window cover(...) when the requirement is really about the day’s peak.