CouncilEx.Rounds.Iterate (CouncilEx v0.1.0)

Copy Markdown View Source

Wraps another round, repeats until a convergence callback returns true or max_iterations is reached.

Options

  • :wrap (required) — round atom (e.g. :critique) or module
  • :until(prev_round_result | nil, current_round_result -> boolean), default fn _, _ -> false end

  • :max_iterations — default 5
  • :wrapped_opts — keyword list passed to the wrapped round

Summary

Functions

Run the iterate loop. Called by RoundExec when the round module is Iterate — overrides standard parallel-member execution.

Functions

run(opts, round_name, idx, members, ctx, run_opts)

Run the iterate loop. Called by RoundExec when the round module is Iterate — overrides standard parallel-member execution.