Skip to content

[Bug] Evaluator not recieving correct_answer on run #4686

@d-pollard

Description

@d-pollard

Describe the bug

Whenever you run an evaluator on a testset, the saved correct_answer is not retained; this leads to the error: Missing input: At 'correct_answer' - it also clears out the correct_answer field when it is ran from the evaluator screen

Setup

Using cloud version

To Reproduce

  1. Create a prompt and setup JSON output
  2. Create a testset
  3. Add correct_answer
  4. Create evaluator using JSON Multi-Field Match
  5. Run testset from evaluator screen
  6. Error

Expected behavior

Just like an evaluation, I would expect the evaluator run page to retain correct_answer

Screenshots

No response

Agenta SDK Version

No response

Agenta Image Tag

No response

Important Context

LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions