Module 15 · In Studio

Grade, debrief and write it up

A test in Studio grades it and prints a pass code.

Open

Level 3, Professional

Challenge

Edit challenges/work/season_actions.luau in your Season 2 branch until lune run scripts/lune/season-wargame challenges/work/season_actions.luau --season src/shared/data/season.json --season-id s02 --seed <yours> shows every check as ok, then grade it in Studio, which plays the same season. Advanced: return a function(report, day) instead of a table, and write one strategy that reads the dashboards and wins on any seed. Solution: challenges/solutions/pro-capstone-wargame.md.

Start from
The game at milestone m17 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("pro-capstone-wargame") in the server command bar. Copy the pass code from Output.

Done means

  • season_valid: your s02 rows in season.json pass SeasonPlan with your experiments.json (with no s02 rows the stock draft is played instead)
  • sev1_contained: the shop's kill switch is off within 2 hours of the day 9 page
  • recovery_plan_valid: kill switch, rollback, scope, restart, kick (or a patch repair), repair and post-mortem in a safe order, and the shop open again
  • coins_in_bands_day14 and coins_in_bands_day21: every player type inside its band on day 14 and after the 7-day tail
  • no_early_experiment_call and experiment_call_correct: the experiment is called by day 14, never while ExperimentRules says hold, and with the call it gives that day
  • cohort_d7_at_baseline: the season's cohorts come back on day 7 at least as often as the 16% baseline
  • ads_judged_on_ltv: the campaign is scaled only when spend per play after the 70% creator share covers the cost per play
  • postmortem_from_log and input_valid: at least 4 log ids in time order with the page and the containment, no invalid action, and an experiment on a two-arm string flag
  • season_passed: every check above in the same run

The Course Runner prints this code when the test passes.