-
Notifications
You must be signed in to change notification settings - Fork 24
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
introduce new eval tool: eval_performance #234
Conversation
LHT129
commented
Dec 19, 2024
- the same as test_performance but support more
- add Monitor, EvalCase to extends the eval
- use argparse for command line
57e1fa9
to
f5bf68f
Compare
6be5a00
to
a3fc5cd
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #234 +/- ##
==========================================
- Coverage 90.97% 90.15% -0.82%
==========================================
Files 114 116 +2
Lines 6947 7022 +75
==========================================
+ Hits 6320 6331 +11
- Misses 627 691 +64
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
6394d45
to
21461fd
Compare
1e086b5
to
1a02778
Compare
9e50409
to
ec7edd0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tools/eval/build_eval_case.h
Outdated
|
||
argparse::ArgumentParser& parser_; | ||
}; | ||
} // namespace eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add new line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
} else if (type == "search") { | ||
return std::make_shared<SearchEvalCase>(dataset_path, index_path, index.value(), config); | ||
} else { | ||
return nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, we can directly throw an error and log it, as it seems there is no nullptr check being performed outside.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
d1d2610
to
dbe0fe3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- the same as test_performance but support more - add Monitor, EvalCase to extends the eval - use argparse for command line Signed-off-by: LHT129 <[email protected]>
- the same as test_performance but support more - add Monitor, EvalCase to extends the eval - use argparse for command line Signed-off-by: LHT129 <[email protected]>