fixture_type=author-constructed synthetic exercise
production_data=false
grok_bot_execution=false
source=median.mjs
case=odd input=[2,10,3] expected=3 baseline_actual=2
case=even input=[1,2,10,20] expected=6 baseline_actual=2
case=empty input=[] expected_error=RangeError baseline_actual=undefined
case=mutation input_before=[3,1,2] expected_input_after=[3,1,2] baseline_input_after=[1,2,3]
