Module 13 · In Studio · challenge 3 of 3 in this lesson
challenges/work/frame_budget.luau computes nearest-rank percentiles and a report sorted by p95, with missing budgets counted as over
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Write the budget and sensing rules in the game repo's challenges/work/frame_budget.luau, then run the server-at-scale challenge through the Course Runner.
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("server-at-scale")in the server command bar. Copy the pass code from Output.
Done means
- challenges/work/frame_budget.luau computes nearest-rank percentiles and a report sorted by p95, with missing budgets counted as over
- sense uses ground-plan distance, skips dead players and breaks ties on the lower id
- splitBatches makes contiguous, fair batches with no empty ones
- The server-at-scale challenge prints TEST PASS for all nineteen checks, including parallel_matches