Skip to content

Fix handling of excerpt regions in EP CLI - #49936

Merged
maxbrunsfeld merged 2 commits into
mainfrom
editable-region-for-captued-examples
Feb 24, 2026
Merged

Fix handling of excerpt regions in EP CLI#49936
maxbrunsfeld merged 2 commits into
mainfrom
editable-region-for-captued-examples

Conversation

@maxbrunsfeld

@maxbrunsfeld maxbrunsfeld commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator

Previously, we were not computing excerpt regions correctly for EP examples captured from prod. This PR fixes that, and also simplifies the data flow in the EP CLI. Examples either come from a concise spec (like the markdown evals), or are collected from prod. Either way, we compute from them a ZetaPromptInput, and the downstream steps like prompt-formatting and scoring are derived from that.

Release Notes:

  • N/A

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Feb 24, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Feb 24, 2026
@maxbrunsfeld
maxbrunsfeld force-pushed the editable-region-for-captued-examples branch from 79d1867 to 6bfe3cd Compare February 24, 2026 00:40
@maxbrunsfeld
maxbrunsfeld merged commit 5ef898d into main Feb 24, 2026
29 checks passed
@maxbrunsfeld
maxbrunsfeld deleted the editable-region-for-captued-examples branch February 24, 2026 01:08
Anthony-Eid pushed a commit to bobbymannino/zed that referenced this pull request Feb 25, 2026
Previously, we were not computing excerpt regions correctly for EP
examples captured from prod. This PR fixes that, and also simplifies the
data flow in the EP CLI. Examples either come from a concise spec (like
the markdown evals), or are collected from prod. Either way, we compute
from them a `ZetaPromptInput`, and the downstream steps like
prompt-formatting and scoring are derived from that.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
tahayvr pushed a commit to tahayvr/zed that referenced this pull request Mar 4, 2026
Previously, we were not computing excerpt regions correctly for EP
examples captured from prod. This PR fixes that, and also simplifies the
data flow in the EP CLI. Examples either come from a concise spec (like
the markdown evals), or are collected from prod. Either way, we compute
from them a `ZetaPromptInput`, and the downstream steps like
prompt-formatting and scoring are derived from that.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Previously, we were not computing excerpt regions correctly for EP
examples captured from prod. This PR fixes that, and also simplifies the
data flow in the EP CLI. Examples either come from a concise spec (like
the markdown evals), or are collected from prod. Either way, we compute
from them a `ZetaPromptInput`, and the downstream steps like
prompt-formatting and scoring are derived from that.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Previously, we were not computing excerpt regions correctly for EP
examples captured from prod. This PR fixes that, and also simplifies the
data flow in the EP CLI. Examples either come from a concise spec (like
the markdown evals), or are collected from prod. Either way, we compute
from them a `ZetaPromptInput`, and the downstream steps like
prompt-formatting and scoring are derived from that.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant