
v0.39: Grademe is back in your terminal.
Try the CLI betaRepair the interlock so a high power beam with no spreader deployed delivers nothing instead of an overdose.
Between 1985 and 1987 the Therac-25 radiotherapy machine gave at least six patients massive radiation overdoses, and several died. A quick operator could set up an X-ray shot, then switch to electron mode within a few seconds, faster than the software expected. A race left the machine in high power with the metal beam spreader retracted, firing about a hundred times the intended dose straight at a bare patient. The interlock that should have caught it never fired. Make it fire.
beam_dose(0, 0)Expected result
200For your own tracking. Tests grade your code.
beam_dose(1, 1)Expected result
200beam_dose(1, 0)Expected result
0Expected files
beam.cAllowed functions
None. Write every helper yourself.
