# zeta2: Make eval example file format more expressive \(\#42156\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5044e6ac1dea07ac70bd13c64636feb82af3f5d9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5044e6ac1dea07ac70bd13c64636feb82af3f5d9

Requested commit: 5044e6ac1dea07ac70bd13c64636feb82af3f5d9

Commit: 5044e6ac1dea07ac70bd13c64636feb82af3f5d9

Tree: e015f5a3c747f15b9d84862340e86ac2f9940538

Author: Max Brunsfeld

Committer: GitHub

## Message

```
zeta2: Make eval example file format more expressive (#42156)

* Allow expressing alternative possible context fetches in `Expected
Context` section
* Allow marking a subset of lines as "required" in `Expected Context`.

We still need to improve how we display the results. I've removed the
context pass/fail pretty printing for now, because it would need to be
rethought to work with the new structure, but for now I think we should
focus on getting basic predictions to run. But this is progress toward a
better structure for eval examples.

Release Notes:

- N/A

---------

Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
```

## Parents

- [784fdcaee3be7bbcf9511097cf620256dc2f7ef6](https://git.cafe/gitcafe/zed/commit/784fdcaee3be7bbcf9511097cf620256dc2f7ef6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5044e6ac1dea07ac70bd13c64636feb82af3f5d9?format=markdown)
