Saves the current participant's results to disk. This function can be called e.g. within a code block.

save_results_to_disk(complete, state, opt, ...)

## Arguments

complete Whether or not the participant has now completed the test (scalar Boolean). The participant's state object. Test options as created by test_options(). Further arguments are allowed but ignored (for back-compatibility).