Skip to content

Make frontend retries independently configurable - #39

Merged
guyvdbroeck merged 2 commits into
mainfrom
retry-vtree-override
Aug 28, 2026
Merged

Make frontend retries independently configurable#39
guyvdbroeck merged 2 commits into
mainfrom
retry-vtree-override

Conversation

@guyvdbroeck

@guyvdbroeck guyvdbroeck commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add one checkpointed frontend retry API with independent preprocessing and vtree policy overrides
  • let each retry inherit or override Arjun's SBVA setting and the public vtree specification
  • keep preprocessing checkpoints, retry execution, specification validation, and vtree construction inside FrontendSession

Motivation

Retrying preprocessing can expose a structurally different formula, and the vtree policy appropriate for that formula is an independent choice. Applications need to vary either dimension without reconstructing the frontend workflow or relying on a method dedicated to one particular combination.

Design

FrontendSession::retry accepts a FrontendRetryConfig. Its optional arjun_sbva and vtree_spec fields inherit the primary configuration when omitted and apply only to that retry when present. The vtree field uses the same public specification language as RunConfig, including scored portfolio selection and concrete constructors. Every retry begins from the same immutable simplify checkpoint and follows the same preprocessing and construction path.

Validation

  • regression test covering inherited policy and independent SBVA/vtree overrides
  • all-target tests and doctests
  • clippy with warnings denied
  • documentation build with warnings denied
  • formatting check

@guyvdbroeck guyvdbroeck changed the title Let preprocessing retries choose their vtree Make frontend retries independently configurable Aug 28, 2026
@guyvdbroeck
guyvdbroeck merged commit 7f03f82 into main Aug 28, 2026
2 checks passed
@guyvdbroeck
guyvdbroeck deleted the retry-vtree-override branch August 28, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant