hypothesis_fix_verify: Hypothesis-Fix-Verify Loop

View source: R/auto_fix.R

hypothesis_fix_verifyR Documentation

Hypothesis-Fix-Verify Loop

Description

Advanced self-healing execution that generates hypotheses about errors, attempts fixes, and verifies the results.

Usage

hypothesis_fix_verify(
  code,
  model = NULL,
  test_fn = NULL,
  max_iterations = 5,
  verbose = TRUE
)

Arguments

code

Character string of R code to execute.

model

LLM model for analysis.

test_fn

Optional function to verify the result is correct.

max_iterations

Maximum fix iterations.

verbose

Print progress.

Value

List with result, fix history, and verification status.


aisdk documentation built on May 29, 2026, 9:07 a.m.