Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Dev.) Options to control fall-back reasons and post-exec simplification #436

Merged

Conversation

jberthold
Copy link
Member

@jberthold jberthold commented Dec 19, 2023

Fixes #434

  • --fallback-on REASON1,REASON2,... allows users to set a custom set of reasons on which a fall-back to kore-rpc will be performed. The default is Branching,Stuck,Aborted (behaviour as before).
  • --no-post-exec-simplify switches off the post-exec simplification with kore-rpc (booster results will always be simplified with booster's simplifier before returning).

Both options are meant for developer experimentation. In particular, it is probably not sensible to not have Aborted in the fallback-on set of halt reasons.

* `--fallback-on REASON1,REASON2,...` allows users to set a custom set of reasons
  on which a fall-back to kore-rpc will be performed.
  The default is `Branching,Stuck,Aborted` (behaviour as before).
* `--no-post-exec-simplify` switches off the post-exec simplification with kore-rpc
  (booster results will always be simplified with booster's simplifier before returning).

Both options are meant for developer experimentation. In particular,
it is probably not sensible to not have `Aborted` in the `fallback-on`
set of halt reasons.
@jberthold jberthold marked this pull request as ready for review December 19, 2023 03:43
Copy link
Contributor

@geo2a geo2a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jberthold I've allowed myself to push a commit that changes how the default abort reasons are displayed in --help, so that they look the same as the option format.

@rv-jenkins rv-jenkins merged commit 152d94d into main Dec 19, 2023
5 checks passed
@rv-jenkins rv-jenkins deleted the 434-options-for-fallback-reasons-and-post-exec-simplify branch December 19, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow user to control fallback reasons on the CLI
3 participants