extract errors format data analyze context apply fix cargo test (raw output) parse_test_output.py structured json payload agent correction