-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance serving evaluation endpoints (#595)
* Include metric_user_results in evaluation response, added eval json endpoint * Remove query from response * Utilize mapped inversed user id map to get original id in response * Update serving test case to remove 'query' and add 'user_result' in response * simplify user ID mapping * Combined evaluation and evaluation_json endpoints * Updated abort responses to show plaintext instead of html * Added unit test cases * Updated error response for empty data * Added unit tests for provided data evaluation * Update app.py * Update test_app.py --------- Co-authored-by: Quoc-Tuan Truong <[email protected]>
- Loading branch information
Showing
2 changed files
with
105 additions
and
28 deletions.
There are no files selected for viewing
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
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