-
Notifications
You must be signed in to change notification settings - Fork 576
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
work dirs #1307
Open
laanak08
wants to merge
21
commits into
main
Choose a base branch
from
marcelle/work-dirs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
work dirs #1307
+438
−5
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Invocation
cargo run --bin goose -- bench --help
cargo run --bin goose -- bench
to run the "core" suite of bencharkscargo run --bin goose -- bench -s $suite_name1,$suite_name2,...,etc
cargo run --bin goose -- bench --repeat 3
to run the evals 3 timescargo run --bin goose -- bench -i "some_dir,some_other_dir
to havesome_dir
&some_other_dir
copied into the relevant workdir that needs it.crates/goose-bench/src/eval_suites
How Work-Dirs...work
goose bench
will create if not exists, a dir for the provider under which will haveSemantics [DO NOT SKIP READING]
core
suite of evaluations that runs by default if the--suites
cli flag is not setcore
will not run--suites
is supplied, only the items in that list will run, so ifcore
isnt part of the list of suites passed to--suites
, it will not run.Individual Evals
crates/goose-bench/src/eval_suites/core/example.rs
crates/goose-bench/src/eval_suites/core
core
is the$suite_name
crates/goose-bench/src/eval_suites/core/$eval_name
core
, which has one evalexample
so its registered as follows:register_evaluation!("core", ExampleEval)
Limitations
bug:
building with--release
affects which eval suites are run.To Be Debugged
does not handle configuring ollama. still necessary to manually config before running benchtest multiple configs easily.currently runs tests for the agent/config thats active in the environment its run.parallelize at evals-level, or suite-level, or goose-benchstruck items are outside the scope of current bench-work.