Skip to content

Commit

Permalink
Repo-Sync (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
oeqqwq authored Jan 29, 2024
1 parent 475bb33 commit 3635c20
Show file tree
Hide file tree
Showing 63 changed files with 4,779 additions and 868 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ build --copt=-fPIC
build --copt=-fstack-protector-strong
build:linux --copt=-Wl,-z,noexecstack


test --keep_going
test --test_output=errors
test --test_timeout=1800
Expand Down
22 changes: 22 additions & 0 deletions .ci/accuracy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,25 @@ def exec(self):
query_ids=['1', '2', '3', '4', '5', '6', '7', '8', '9', '15'],
score_col_name='pred',
).exec()

AccuracyTestCase(
service_id="bin_sgb",
parties=['alice', 'bob'],
case_dir='.ci/test_data/bin_sgb',
package_name='s_model.tar.gz',
input_csv_names={'alice': 'alice.csv', 'bob': 'bob.csv'},
expect_csv_name='predict.csv',
query_ids=['1', '2', '3', '4', '5', '6', '7', '8', '9', '11', '17', '18'],
score_col_name='pred',
).exec()

AccuracyTestCase(
service_id="xgb",
parties=['alice', 'bob'],
case_dir='.ci/test_data/xgb',
package_name='s_model.tar.gz',
input_csv_names={'alice': 'alice.csv', 'bob': 'bob.csv'},
expect_csv_name='predict.csv',
query_ids=['1', '2', '3', '4', '5', '6', '7', '8', '9', '11', '17', '18'],
score_col_name='pred',
).exec()
Loading

0 comments on commit 3635c20

Please sign in to comment.