zed/crates/edit_prediction_cli/src
tidely 5b70f793d3
Use Duration to improve type safety and unit correctness (#62969)
# Objective

- Prefer using `Duration` instead of integers when dealing with spans of
time. This prevents confusing different units of time and comparing
arbitrary integers with durations.
- Remove `_ms`/`_secs` suffixes from variables which are `Duration`,
since their unit is inside of the type.
- Initialize large integer constants using `Duration`, which has more
descriptive constructors, while maintaining the resulting integer type.

Release Notes:

- N/A or Added/Fixed/Improved ...
2026-08-21 07:28:05 +00:00
..
prompts ep: Hashed region format (#59837) 2026-06-24 23:28:47 +00:00
anthropic_client.rs Support provider-side compaction in the language model clients (#59145) 2026-06-16 13:06:20 +00:00
distill.rs ep: Store cursor position in global coordinates (#48469) 2026-02-05 12:31:12 +00:00
example.rs Bump rustc to 1.97 (#62395) 2026-08-09 22:29:52 +00:00
filter_languages.rs grammars: Recognize Gentoo ebuild files as bash script (#59068) 2026-07-08 12:36:29 +00:00
format_prompt.rs zeta_prompt: Add V4 edit prediction API types (#59869) 2026-06-25 14:07:41 +00:00
git.rs Edit prediction: add some typescript evals, fix a teacher model failure mode (#50141) 2026-02-25 15:47:08 -08:00
headless.rs language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
lib.rs Track additional metrics in settled (#52938) 2026-04-08 18:39:17 -04:00
load_project.rs zeta_prompt: Add V4 edit prediction API types (#59869) 2026-06-25 14:07:41 +00:00
main.rs ep: Hashed region format (#59837) 2026-06-24 23:28:47 +00:00
metrics.rs ep: Move scores aggegation to edit_prediction_metrics (#55609) 2026-05-04 09:53:36 +00:00
openai_client.rs agent: Share compatible Chat Completions infrastructure (#62652) 2026-08-14 22:42:27 +00:00
parse_output.rs ep: Hashed region format (#59837) 2026-06-24 23:28:47 +00:00
paths.rs Improve support for collecting edit prediction training and eval examples (#45914) 2026-01-03 16:08:35 -08:00
predict.rs ep: Hashed region format (#59837) 2026-06-24 23:28:47 +00:00
progress.rs Use Duration to improve type safety and unit correctness (#62969) 2026-08-21 07:28:05 +00:00
prompt_assets.rs ep_cli: Allow dynamically loading prompts (#48046) 2026-01-30 14:55:24 -05:00
pull_examples.rs zeta_prompt: Add V4 edit prediction API types (#59869) 2026-06-25 14:07:41 +00:00
qa.rs ep: Combine settled and example capture (#58759) 2026-06-22 16:45:50 +00:00
reorder_patch.rs Bump rustc to 1.97 (#62395) 2026-08-09 22:29:52 +00:00
repair.rs agent: Share compatible Chat Completions infrastructure (#62652) 2026-08-14 22:42:27 +00:00
retrieve_context.rs ep: Hashed region format (#59837) 2026-06-24 23:28:47 +00:00
score.rs zeta_prompt: Add V4 edit prediction API types (#59869) 2026-06-25 14:07:41 +00:00
split_commit.rs ep: Add more options to control split point (#58943) 2026-06-09 16:17:55 +00:00
split_dataset.rs ep: Add option to split datasets by project (#55071) 2026-04-28 12:33:48 +00:00
synthesize.rs ep: Jump example capture (#58236) 2026-06-01 20:18:48 +00:00
truncate_expected_patch.rs Add ep truncate-patch command to prepare commits evalset (#48204) 2026-02-02 20:06:15 +02:00
word_diff.rs ep: Add metrics for inserted/deleted tokens (#49330) 2026-02-17 09:40:10 +02:00