Manage Cap Parameters
The Enrollment Cap Parameters feature can optionally maintain the original priority codes, while still assigning and leveraging fallback codes. Upon hitting a cap, any choices with that capped priority code not yet placed retain their original priority code and are assigned the defined fallback code. When processing a priority code, any choices with that priority code and any choices with that fallback code are processed.
When a choice is assigned a fallback code, both the original priority code and the fallback code are displayed.
On the Seating Unit detail page, this is displayed as
$ChoiceNumber ($PriorityCode, $FallbackCode)
.In the Students view and in exports, this is displayed as
$PriorityCode ($FallbackCode)
. In the Students view, staff can either search by the priority code or the priority code and the fallback code.
If PROP:LotteryPriority
is displayed as a column in the School Choice Workspace's Students view, the user can search on either the priority code or the priority code and the fallback code using the search box above the column header.
The system will split the queried string on the first
(
character, replace any spaces and)
characters with empty strings, try to parse the remaining string(s) as integers, and search for results within bothLotteryPriority
andFallbackLotteryPriority
. Examples:1
- displays results for students with a priority code of 11 (4)
- displays results for students with a priority code of 1 and a fallback code of 41(4)
- displays results for students with a priority code of 1 and a fallback code of 41 (4
- displays results for students with a priority code of 1 and a fallback code of 41(4
- displays results for students with a priority code of 1 and a fallback code of 41 4
- displays results for students with a priority code of 14
If either of the remaining string(s) cannot be parsed as an integer, return an empty set (as if no records met the search criteria) as opposed to displaying a stack trace error. Examples:
hi
- if the system can’t parsehi
as an integer, displays no records found1 (4p)
- if the system can't parse4p
as an integer, displays no records found
The Cap Parameters feature calculates and displays the cap percentages and counts.
The following is shown at the top of the seated list: Enrollment Caps - Priority Code (Cap%, Cap#; Actual%, Actual#) = $CappedCode1 ($Cap%1, $Cap#1; $Actual%1, $Actual#1), $CappedCode2 ($Cap%2, $Cap#2; $Actual%2, $Actual#2), ... $CappedCodeN ($Cap%N, $Cap#N; $Actual%N, $Actual#N)
Priority Code | The priority code being capped. |
Cap% | The defined percentage at which the priority code is being capped. |
Cap# | the count of seats at which the priority code is being capped due to the defined Cap%. |
Actual% | The actual percentage of seats attributed to the capped priority code |
Actual# | The actual count of seats attributed to the capped priority code |
Example: Enrollment Caps - Priority Code (Cap%, Cap#; Actual%, Actual#) = 1 (15%, 12; 15%, 12), 2 (30%, 24; 26%, 21), 3 (25%, 20; 34%, 27)