Advanced self-healing execution that generates hypotheses about errors, attempts fixes, and verifies the results.
hypothesis_fix_verify(
code,
model = NULL,
test_fn = NULL,
max_iterations = 5,
verbose = TRUE
)List with result, fix history, and verification status.
Character string of R code to execute.
LLM model for analysis.
Optional function to verify the result is correct.
Maximum fix iterations.
Print progress.