Skip to content

Update evals aggregations when updating results #2592

@snopoke

Description

@snopoke

When importing results back into OCS we need to re-run the aggregation logic to update the metrics.

  • Create a dataset for testing
  • Create a python evaluator that returns {"manual_score": -1}
  • Create an evaluation config that connects the dataset and the evaluator
    • Do not select a bot for generation
  • Run the evals which will create a result set with the manual_score field set to -1.
  • Click the 'edit results' button at the top left
  • Download the template
  • Update the scores in the CSV file
  • Re-upload the updated CSV file back to OCS
  • Navigate back to the results view

Result

  • The manual scores are shown
  • The aggregations are not updated 👈🏻 this is what needs to be fixed

See https://drive.google.com/file/d/1sSrNKoUy95xKtMcGz17RPe8Kw129IQJ3/view for a video of this workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions