Skip to main content
External evaluation functions can be used to upload model evaluation results based on functions you define. You do not have to upload the evaluation function source code, just give it a name, add it to a scenario test, and upload the results for each item.

Creating an External Function

External functions are created based on a unique name:

Creating a Scenario Test with an External Function

As defined in the Create Scenario Test Page, scenario tests can be created by calling the create_scenario_test method. Note: at the moment a scenario test can only consist of external or non-external functions, a mix of them is not allowed.

Upload Result to the Scenario Test

The last step is to aggregate the result for each item in your slice, and upload them to the scenario test. Each result consists of the ref_id to an item, a score and a weight. The score and weight must be normalized between [0..1], the weight may be left out, and will default to 1.
Now head over to the Scenario Tests Dashboard to see the scenario test with the uploaded results.