ZIm/crates/eval/examples/find_and_replace_diff_card/criteria.md
Michael Sloan 6b80eb556c
Add judge to new eval + provide LSP diagnostics (#28713)
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Co-authored-by: agus <agus@zed.dev>
2025-04-14 20:18:47 +00:00

422 B

  1. The changes must replace the previous output returned by FindReplaceFileTool with the new ToolResult struct. The struct should contain an output field that is the same as the string we were returning before, and a new card field that contains a view for the card
  2. The card should be a view that displays a diff. Each line in the diff should be colored according to whether it was added, removed or unchanged.