Skip to content
Snippets Groups Projects
Unverified Commit 37db3c96 authored by darrylong's avatar darrylong Committed by GitHub
Browse files

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: default avatarQuoc-Tuan Truong <tqtg@users.noreply.github.com>
parent 92a94e38
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment