-
Notifications
You must be signed in to change notification settings - Fork 72
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
add tests for python bindings #275
add tests for python bindings #275
Conversation
0f31bc7
to
e9996b9
Compare
799b6aa
to
ab28e0a
Compare
ab28e0a
to
2f504fd
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.
clang-tidy made some suggestions
c9850b0
to
11a0389
Compare
2c96a37
to
3a372af
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.
You can pass a dictionary with options directly to execute
or load_data
via algo.execute(**options)
. The methods there don't care about order of options in your dict
s, so there is less to think about.
I don't think the chosen test structure is appropriate. It seems that all we are doing is setting load_data
options and execute
options from a predefined dictionary, in addition to a few failure cases for MetricVerifier
. The code should reflect that.
I suggest the following test structure. A unittest.TestCase
with a single test_correct_option_setting
method where all algorithms are tested with correct options, using option dicts and loops, and a unittest.TestCase
with the MetricVerifier
failure cases.
Other change request may not apply after the above is done.
ec47478
to
fb3f7d7
Compare
e4d9b33
to
5d8156a
Compare
d48bb1b
to
4d909ac
Compare
7381f5a
to
59b18fa
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.
Almost there
704c62e
to
be7d08d
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.
Squash the commits into one or two
7086635
to
08a6c87
Compare
1. Add feature to get option values after it has been set. 2. Add testcases for desbordante algorithms to test if options transferred correctly. 3. Modify CI/CD.
08a6c87
to
5d86cd9
Compare
No description provided.