yacht-eval 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yacht_eval-0.2.0/LICENSE +201 -0
- yacht_eval-0.2.0/PKG-INFO +196 -0
- yacht_eval-0.2.0/README.md +184 -0
- yacht_eval-0.2.0/pyproject.toml +33 -0
- yacht_eval-0.2.0/src/yacht/__init__.py +3 -0
- yacht_eval-0.2.0/src/yacht/cli/__init__.py +5 -0
- yacht_eval-0.2.0/src/yacht/cli/app.py +23 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/__init__.py +13 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/artifacts.py +195 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/attempts.py +90 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/benchmark.py +258 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/doctor.py +50 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/inspect.py +144 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/internals.py +32 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/preflight.py +121 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/regatta.py +228 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/runtimes.py +83 -0
- yacht_eval-0.2.0/src/yacht/cli/commands/smoke.py +33 -0
- yacht_eval-0.2.0/src/yacht/cli/output.py +22 -0
- yacht_eval-0.2.0/src/yacht/config/__init__.py +5 -0
- yacht_eval-0.2.0/src/yacht/config/agent_selection.py +40 -0
- yacht_eval-0.2.0/src/yacht/config/loader.py +452 -0
- yacht_eval-0.2.0/src/yacht/contracts/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/contracts/schemas.py +2665 -0
- yacht_eval-0.2.0/src/yacht/courses/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/courses/custom_eval/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/courses/custom_eval/grading.py +236 -0
- yacht_eval-0.2.0/src/yacht/courses/custom_eval/harness.py +209 -0
- yacht_eval-0.2.0/src/yacht/courses/custom_eval/predictions_from_attempts.py +161 -0
- yacht_eval-0.2.0/src/yacht/courses/handoff.py +89 -0
- yacht_eval-0.2.0/src/yacht/courses/registry.py +537 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/artifacts.py +81 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/grading.py +242 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/predictions.py +148 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/predictions_from_attempts.py +148 -0
- yacht_eval-0.2.0/src/yacht/courses/swe_bench/task_context.py +138 -0
- yacht_eval-0.2.0/src/yacht/domain/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/domain/model.py +367 -0
- yacht_eval-0.2.0/src/yacht/harnesses/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/harnesses/local_smoke.py +125 -0
- yacht_eval-0.2.0/src/yacht/harnesses/pi.py +444 -0
- yacht_eval-0.2.0/src/yacht/harnesses/registry.py +129 -0
- yacht_eval-0.2.0/src/yacht/logbook/__init__.py +5 -0
- yacht_eval-0.2.0/src/yacht/logbook/index.py +100 -0
- yacht_eval-0.2.0/src/yacht/logbook/io.py +25 -0
- yacht_eval-0.2.0/src/yacht/logbook/paths.py +62 -0
- yacht_eval-0.2.0/src/yacht/preflight/__init__.py +62 -0
- yacht_eval-0.2.0/src/yacht/preflight/execution.py +485 -0
- yacht_eval-0.2.0/src/yacht/preflight/gate.py +91 -0
- yacht_eval-0.2.0/src/yacht/preflight/runner.py +666 -0
- yacht_eval-0.2.0/src/yacht/reports/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/reports/benchmark_aggregate.py +877 -0
- yacht_eval-0.2.0/src/yacht/reports/benchmark_readiness.py +169 -0
- yacht_eval-0.2.0/src/yacht/reports/benchmark_report.py +1343 -0
- yacht_eval-0.2.0/src/yacht/reports/benchmark_scorecard.py +442 -0
- yacht_eval-0.2.0/src/yacht/reports/benchmark_status.py +394 -0
- yacht_eval-0.2.0/src/yacht/reports/latest_logbook.py +185 -0
- yacht_eval-0.2.0/src/yacht/reports/next_steps.py +12 -0
- yacht_eval-0.2.0/src/yacht/reports/preflight_evidence.py +343 -0
- yacht_eval-0.2.0/src/yacht/reports/smoke_readiness.py +322 -0
- yacht_eval-0.2.0/src/yacht/reports/smoke_report.py +217 -0
- yacht_eval-0.2.0/src/yacht/reports/smoke_status.py +84 -0
- yacht_eval-0.2.0/src/yacht/reports/surface_metadata.py +85 -0
- yacht_eval-0.2.0/src/yacht/reports/surface_summary.py +63 -0
- yacht_eval-0.2.0/src/yacht/reports/task_attempt_scorecard.py +207 -0
- yacht_eval-0.2.0/src/yacht/runtimes/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/runtimes/backend.py +176 -0
- yacht_eval-0.2.0/src/yacht/runtimes/capabilities.py +109 -0
- yacht_eval-0.2.0/src/yacht/runtimes/container.py +284 -0
- yacht_eval-0.2.0/src/yacht/runtimes/host_nix.py +190 -0
- yacht_eval-0.2.0/src/yacht/runtimes/instances.py +187 -0
- yacht_eval-0.2.0/src/yacht/runtimes/plan.py +276 -0
- yacht_eval-0.2.0/src/yacht/runtimes/process.py +18 -0
- yacht_eval-0.2.0/src/yacht/runtimes/rigging_setup.py +148 -0
- yacht_eval-0.2.0/src/yacht/runtimes/secrets.py +13 -0
- yacht_eval-0.2.0/src/yacht/runtimes/snapshot_gate.py +140 -0
- yacht_eval-0.2.0/src/yacht/runtimes/tool_capabilities.py +60 -0
- yacht_eval-0.2.0/src/yacht/workflows/__init__.py +1 -0
- yacht_eval-0.2.0/src/yacht/workflows/benchmark_execution_plan.py +192 -0
- yacht_eval-0.2.0/src/yacht/workflows/benchmark_grading_collection.py +270 -0
- yacht_eval-0.2.0/src/yacht/workflows/benchmark_launch.py +276 -0
- yacht_eval-0.2.0/src/yacht/workflows/benchmark_launcher_handoff.py +363 -0
- yacht_eval-0.2.0/src/yacht/workflows/doctor.py +240 -0
- yacht_eval-0.2.0/src/yacht/workflows/readiness_gate.py +28 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_benchmark_eval.py +620 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_benchmark_repetitions.py +309 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_benchmark_runbook.py +416 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_benchmark_summary.py +240 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_smoke_eval.py +127 -0
- yacht_eval-0.2.0/src/yacht/workflows/real_smoke_runbook.py +264 -0
- yacht_eval-0.2.0/src/yacht/workflows/task_attempt_runner.py +241 -0
- yacht_eval-0.2.0/src/yacht/workflows/task_attempts.py +186 -0
yacht_eval-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
https://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
+
Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work, excluding
|
|
103
|
+
those notices that do not pertain to any part of the Derivative
|
|
104
|
+
Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 codyw912
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: yacht-eval
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Yet Another Coding Harness Testbed
|
|
5
|
+
Author: codyw912
|
|
6
|
+
Author-email: codyw912 <32690983+codyw912@users.noreply.github.com>
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Dist: datasets>=4.8.5
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# YACHT
|
|
14
|
+
|
|
15
|
+
Yet Another Coding Harness Testbed.
|
|
16
|
+
|
|
17
|
+
YACHT is an evaluation control plane for agentic coding systems. It runs the
|
|
18
|
+
same coding course across different agents, models, tools, prompts, memory
|
|
19
|
+
systems, and runtime environments, then records the evidence needed to decide
|
|
20
|
+
whether a change actually helped.
|
|
21
|
+
|
|
22
|
+
The goal is not only to produce benchmark scores. A useful YACHT run should
|
|
23
|
+
also answer:
|
|
24
|
+
|
|
25
|
+
- Did the setup solve the task?
|
|
26
|
+
- Was the runtime available, isolated, and configured as claimed?
|
|
27
|
+
- Which tools were actually used?
|
|
28
|
+
- How many tokens did the run spend?
|
|
29
|
+
- What did it cost?
|
|
30
|
+
- How long did it take?
|
|
31
|
+
- Which artifacts prove the result?
|
|
32
|
+
|
|
33
|
+
YACHT is designed as open-source infrastructure for reproducible, inspectable
|
|
34
|
+
coding-agent evaluation.
|
|
35
|
+
|
|
36
|
+
## Current Status
|
|
37
|
+
|
|
38
|
+
YACHT now has a real end-to-end benchmark smoke path:
|
|
39
|
+
|
|
40
|
+
- containerized Pi baseline vs containerized Pi+fff
|
|
41
|
+
- explicit secret injection
|
|
42
|
+
- runtime and rigging preflight
|
|
43
|
+
- SWE-bench Lite task context loading
|
|
44
|
+
- per-task repository checkout at the benchmark base commit
|
|
45
|
+
- agent task attempts and transcripts
|
|
46
|
+
- candidate patch extraction
|
|
47
|
+
- native SWE-bench Docker grading
|
|
48
|
+
- benchmark scorecards with outcome, token, cost, duration, and tool-use metrics
|
|
49
|
+
|
|
50
|
+
The first verified real benchmark smoke used `django__django-11099`; both
|
|
51
|
+
baseline and fff vessels resolved the task. A two-task smoke using
|
|
52
|
+
`django__django-11099` and `django__django-11179` has also completed end to
|
|
53
|
+
end. That is a foundation, not a final tool. The next phase is making this
|
|
54
|
+
easier for humans to run, inspect, and extend.
|
|
55
|
+
|
|
56
|
+
## Core Concepts
|
|
57
|
+
|
|
58
|
+
| Concept | Meaning |
|
|
59
|
+
| ------- | ------- |
|
|
60
|
+
| Course | A benchmark suite, task set, or evaluation route. |
|
|
61
|
+
| Vessel | An agent, model, runtime, or full coding setup being evaluated. |
|
|
62
|
+
| Rigging | Tools, prompts, skills, MCP servers, memory systems, and policies added to a vessel. |
|
|
63
|
+
| Runtime | The reproducible environment used to run a vessel. |
|
|
64
|
+
| Preflight | Machine evidence that a runtime and its rigging are available, configured, and isolated before spending task tokens. |
|
|
65
|
+
| Wake | The artifacts left by a run: transcripts, metrics, logs, tool calls, patches, reports. |
|
|
66
|
+
| Logbook | The persisted directory containing a run's wake and scorecards. |
|
|
67
|
+
| Scorecard | The final comparison view across vessels. |
|
|
68
|
+
|
|
69
|
+
The nautical vocabulary is part of the project identity, but the artifacts stay
|
|
70
|
+
plain JSON so other tools can consume them.
|
|
71
|
+
|
|
72
|
+
## First Real Benchmark
|
|
73
|
+
|
|
74
|
+
Prerequisites:
|
|
75
|
+
|
|
76
|
+
- Python 3.12 or newer available to `uv`
|
|
77
|
+
- `uv`
|
|
78
|
+
- Git on `PATH`
|
|
79
|
+
- Docker installed, running, and usable by the current user
|
|
80
|
+
- network access for the first `uv` dependency sync, SWE-bench metadata, and
|
|
81
|
+
Docker image build
|
|
82
|
+
- no manual SWE-bench install: uv resolves the `swebench` harness on demand
|
|
83
|
+
for native benchmark launches, and `yacht doctor` performs and verifies the
|
|
84
|
+
first resolution
|
|
85
|
+
- an Anthropic API key exported as `ANTHROPIC_API_KEY`
|
|
86
|
+
- the repo-local Pi runtime image built with the command below
|
|
87
|
+
|
|
88
|
+
Build the Pi runtime image:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
docker build -t yacht/pi-agent-runtime:pi-0.74.0 containers/pi-agent-runtime
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Run the benchmark smoke:
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
LOGBOOK=/private/tmp/yacht-real-benchmark-$(date +%Y%m%d-%H%M%S)
|
|
98
|
+
|
|
99
|
+
uv run yacht doctor examples/container-pi-fff-real-benchmark-smoke.toml
|
|
100
|
+
|
|
101
|
+
uv run yacht run examples/container-pi-fff-real-benchmark-smoke.toml \
|
|
102
|
+
--logbook "$LOGBOOK" \
|
|
103
|
+
--workspace . \
|
|
104
|
+
--secret anthropic=@env:ANTHROPIC_API_KEY
|
|
105
|
+
|
|
106
|
+
uv run yacht status --logbook "$LOGBOOK"
|
|
107
|
+
uv run yacht report --logbook "$LOGBOOK"
|
|
108
|
+
uv run yacht report --logbook "$LOGBOOK" --vessel pi-container-fff
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
The default smoke config runs one SWE-bench Lite instance to keep iteration
|
|
112
|
+
cheap. For a slightly broader two-instance check, use
|
|
113
|
+
`examples/container-pi-fff-real-benchmark-small.toml` with the same commands.
|
|
114
|
+
|
|
115
|
+
Fish shell:
|
|
116
|
+
|
|
117
|
+
```fish
|
|
118
|
+
set -x LOGBOOK /private/tmp/yacht-real-benchmark-(date +%Y%m%d-%H%M%S)
|
|
119
|
+
|
|
120
|
+
uv run yacht doctor examples/container-pi-fff-real-benchmark-smoke.toml
|
|
121
|
+
|
|
122
|
+
uv run yacht run examples/container-pi-fff-real-benchmark-smoke.toml \
|
|
123
|
+
--logbook "$LOGBOOK" \
|
|
124
|
+
--workspace . \
|
|
125
|
+
--secret anthropic=@env:ANTHROPIC_API_KEY
|
|
126
|
+
|
|
127
|
+
uv run yacht status --logbook "$LOGBOOK"
|
|
128
|
+
uv run yacht report --logbook "$LOGBOOK"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
The status report is the first thing to inspect after a run. It shows which
|
|
132
|
+
benchmark artifacts exist, what is missing, and the next recommended command.
|
|
133
|
+
The benchmark report then summarizes benchmark outcome, agent usage metrics,
|
|
134
|
+
notable deltas, per-task outcomes, per-task usage, and the relevant per-vessel
|
|
135
|
+
artifact paths. Use `--vessel` and `--task` to narrow the detailed sections
|
|
136
|
+
when inspecting a specific run. After a scorecard exists, `yacht status`
|
|
137
|
+
recommends a filtered inspection command for the first challenger/task outcome.
|
|
138
|
+
For example:
|
|
139
|
+
|
|
140
|
+
```text
|
|
141
|
+
Benchmark scorecard: container-pi-fff-real-benchmark-small / swe-bench-lite
|
|
142
|
+
Status: complete
|
|
143
|
+
Comparisons: 1 | Vessels: 2 | Measured: 2 | Missing: 0
|
|
144
|
+
Usage: Attempts: 4 | Failed: 0 | Tool calls: 15 | Tokens: 63084 | Cost: 0.020688 | Duration: 210.332s
|
|
145
|
+
Artifacts: logbook=/private/tmp/yacht-real-benchmark-... | scorecard=/private/tmp/yacht-real-benchmark-.../benchmark-scorecard.json | attempts=/private/tmp/yacht-real-benchmark-.../task-attempt-scorecard.json | launch=/private/tmp/yacht-real-benchmark-.../benchmark-launch-result.json | grading=/private/tmp/yacht-real-benchmark-.../benchmark-grading-collection.json
|
|
146
|
+
|
|
147
|
+
Notable deltas:
|
|
148
|
+
container-pi-vs-pi-fff-benchmark-small: pi-container-fff vs pi-container-baseline | resolved +0 | rate +0.000 | tokens +10988 | cost +0.001650 | duration +7.792s | tool_calls +3
|
|
149
|
+
|
|
150
|
+
comparison | baseline | challenger | resolved_delta | rate_delta | measured | missing | eligible | preflight
|
|
151
|
+
container-pi-vs-pi-fff-benchmark-small | pi-container-baseline | pi-container-fff | +0 | +0.000 | 2/2 | 0 | 2 | preflight-passed:2
|
|
152
|
+
|
|
153
|
+
Agent usage by task:
|
|
154
|
+
comparison | vessel | task | tools | tokens | cost | duration | attempt_artifact
|
|
155
|
+
container-pi-vs-pi-fff-benchmark-small | pi-container-fff | django__django-11179 | fffind:1, read:1, bash:1, edit:1 | 25492 | 0.006795 | 75.793s | /private/tmp/yacht-real-benchmark-.../task-attempts/.../django__django-11179.json
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Development Smoke
|
|
159
|
+
|
|
160
|
+
For a no-token local harness check:
|
|
161
|
+
|
|
162
|
+
```sh
|
|
163
|
+
uv run yacht validate examples/local-agent-preflight-smoke.toml
|
|
164
|
+
uv run yacht run examples/local-agent-preflight-smoke.toml --logbook logbook
|
|
165
|
+
uv run yacht status --logbook logbook
|
|
166
|
+
uv run yacht report --logbook logbook
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
This validates the control-plane path without Pi, SWE-bench, Docker grading, or
|
|
170
|
+
provider credentials.
|
|
171
|
+
|
|
172
|
+
## Documentation
|
|
173
|
+
|
|
174
|
+
- [Project vision](docs/project/vision.md)
|
|
175
|
+
- [Roadmap](docs/project/roadmap.md)
|
|
176
|
+
- [Audit-backed plan](docs/project/audit-backed-plan.md)
|
|
177
|
+
- [Codebase structure](docs/project/codebase-structure.md)
|
|
178
|
+
- [Command reference](docs/reference/commands.md)
|
|
179
|
+
- [Release checklist](docs/reference/release.md)
|
|
180
|
+
- [Schema contract](docs/reference/schemas.md)
|
|
181
|
+
- [Architecture decisions](docs/adr/)
|
|
182
|
+
- [Changelog](CHANGELOG.md)
|
|
183
|
+
|
|
184
|
+
## License
|
|
185
|
+
|
|
186
|
+
YACHT is licensed under the [Apache License 2.0](LICENSE).
|
|
187
|
+
|
|
188
|
+
## Design Principles
|
|
189
|
+
|
|
190
|
+
- Prefer reproducible, inspectable evidence over agent attestation.
|
|
191
|
+
- Keep runtime provisioning separate from benchmark task grading.
|
|
192
|
+
- Make secrets explicit and never copy user-home auth state implicitly.
|
|
193
|
+
- Treat benchmarks, smoke tests, and future evaluators as adapters.
|
|
194
|
+
- Keep public artifacts language-neutral and stable enough for other tools to
|
|
195
|
+
consume.
|
|
196
|
+
- Report success together with cost, tokens, time, tool use, and failure modes.
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# YACHT
|
|
2
|
+
|
|
3
|
+
Yet Another Coding Harness Testbed.
|
|
4
|
+
|
|
5
|
+
YACHT is an evaluation control plane for agentic coding systems. It runs the
|
|
6
|
+
same coding course across different agents, models, tools, prompts, memory
|
|
7
|
+
systems, and runtime environments, then records the evidence needed to decide
|
|
8
|
+
whether a change actually helped.
|
|
9
|
+
|
|
10
|
+
The goal is not only to produce benchmark scores. A useful YACHT run should
|
|
11
|
+
also answer:
|
|
12
|
+
|
|
13
|
+
- Did the setup solve the task?
|
|
14
|
+
- Was the runtime available, isolated, and configured as claimed?
|
|
15
|
+
- Which tools were actually used?
|
|
16
|
+
- How many tokens did the run spend?
|
|
17
|
+
- What did it cost?
|
|
18
|
+
- How long did it take?
|
|
19
|
+
- Which artifacts prove the result?
|
|
20
|
+
|
|
21
|
+
YACHT is designed as open-source infrastructure for reproducible, inspectable
|
|
22
|
+
coding-agent evaluation.
|
|
23
|
+
|
|
24
|
+
## Current Status
|
|
25
|
+
|
|
26
|
+
YACHT now has a real end-to-end benchmark smoke path:
|
|
27
|
+
|
|
28
|
+
- containerized Pi baseline vs containerized Pi+fff
|
|
29
|
+
- explicit secret injection
|
|
30
|
+
- runtime and rigging preflight
|
|
31
|
+
- SWE-bench Lite task context loading
|
|
32
|
+
- per-task repository checkout at the benchmark base commit
|
|
33
|
+
- agent task attempts and transcripts
|
|
34
|
+
- candidate patch extraction
|
|
35
|
+
- native SWE-bench Docker grading
|
|
36
|
+
- benchmark scorecards with outcome, token, cost, duration, and tool-use metrics
|
|
37
|
+
|
|
38
|
+
The first verified real benchmark smoke used `django__django-11099`; both
|
|
39
|
+
baseline and fff vessels resolved the task. A two-task smoke using
|
|
40
|
+
`django__django-11099` and `django__django-11179` has also completed end to
|
|
41
|
+
end. That is a foundation, not a final tool. The next phase is making this
|
|
42
|
+
easier for humans to run, inspect, and extend.
|
|
43
|
+
|
|
44
|
+
## Core Concepts
|
|
45
|
+
|
|
46
|
+
| Concept | Meaning |
|
|
47
|
+
| ------- | ------- |
|
|
48
|
+
| Course | A benchmark suite, task set, or evaluation route. |
|
|
49
|
+
| Vessel | An agent, model, runtime, or full coding setup being evaluated. |
|
|
50
|
+
| Rigging | Tools, prompts, skills, MCP servers, memory systems, and policies added to a vessel. |
|
|
51
|
+
| Runtime | The reproducible environment used to run a vessel. |
|
|
52
|
+
| Preflight | Machine evidence that a runtime and its rigging are available, configured, and isolated before spending task tokens. |
|
|
53
|
+
| Wake | The artifacts left by a run: transcripts, metrics, logs, tool calls, patches, reports. |
|
|
54
|
+
| Logbook | The persisted directory containing a run's wake and scorecards. |
|
|
55
|
+
| Scorecard | The final comparison view across vessels. |
|
|
56
|
+
|
|
57
|
+
The nautical vocabulary is part of the project identity, but the artifacts stay
|
|
58
|
+
plain JSON so other tools can consume them.
|
|
59
|
+
|
|
60
|
+
## First Real Benchmark
|
|
61
|
+
|
|
62
|
+
Prerequisites:
|
|
63
|
+
|
|
64
|
+
- Python 3.12 or newer available to `uv`
|
|
65
|
+
- `uv`
|
|
66
|
+
- Git on `PATH`
|
|
67
|
+
- Docker installed, running, and usable by the current user
|
|
68
|
+
- network access for the first `uv` dependency sync, SWE-bench metadata, and
|
|
69
|
+
Docker image build
|
|
70
|
+
- no manual SWE-bench install: uv resolves the `swebench` harness on demand
|
|
71
|
+
for native benchmark launches, and `yacht doctor` performs and verifies the
|
|
72
|
+
first resolution
|
|
73
|
+
- an Anthropic API key exported as `ANTHROPIC_API_KEY`
|
|
74
|
+
- the repo-local Pi runtime image built with the command below
|
|
75
|
+
|
|
76
|
+
Build the Pi runtime image:
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
docker build -t yacht/pi-agent-runtime:pi-0.74.0 containers/pi-agent-runtime
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Run the benchmark smoke:
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
LOGBOOK=/private/tmp/yacht-real-benchmark-$(date +%Y%m%d-%H%M%S)
|
|
86
|
+
|
|
87
|
+
uv run yacht doctor examples/container-pi-fff-real-benchmark-smoke.toml
|
|
88
|
+
|
|
89
|
+
uv run yacht run examples/container-pi-fff-real-benchmark-smoke.toml \
|
|
90
|
+
--logbook "$LOGBOOK" \
|
|
91
|
+
--workspace . \
|
|
92
|
+
--secret anthropic=@env:ANTHROPIC_API_KEY
|
|
93
|
+
|
|
94
|
+
uv run yacht status --logbook "$LOGBOOK"
|
|
95
|
+
uv run yacht report --logbook "$LOGBOOK"
|
|
96
|
+
uv run yacht report --logbook "$LOGBOOK" --vessel pi-container-fff
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
The default smoke config runs one SWE-bench Lite instance to keep iteration
|
|
100
|
+
cheap. For a slightly broader two-instance check, use
|
|
101
|
+
`examples/container-pi-fff-real-benchmark-small.toml` with the same commands.
|
|
102
|
+
|
|
103
|
+
Fish shell:
|
|
104
|
+
|
|
105
|
+
```fish
|
|
106
|
+
set -x LOGBOOK /private/tmp/yacht-real-benchmark-(date +%Y%m%d-%H%M%S)
|
|
107
|
+
|
|
108
|
+
uv run yacht doctor examples/container-pi-fff-real-benchmark-smoke.toml
|
|
109
|
+
|
|
110
|
+
uv run yacht run examples/container-pi-fff-real-benchmark-smoke.toml \
|
|
111
|
+
--logbook "$LOGBOOK" \
|
|
112
|
+
--workspace . \
|
|
113
|
+
--secret anthropic=@env:ANTHROPIC_API_KEY
|
|
114
|
+
|
|
115
|
+
uv run yacht status --logbook "$LOGBOOK"
|
|
116
|
+
uv run yacht report --logbook "$LOGBOOK"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The status report is the first thing to inspect after a run. It shows which
|
|
120
|
+
benchmark artifacts exist, what is missing, and the next recommended command.
|
|
121
|
+
The benchmark report then summarizes benchmark outcome, agent usage metrics,
|
|
122
|
+
notable deltas, per-task outcomes, per-task usage, and the relevant per-vessel
|
|
123
|
+
artifact paths. Use `--vessel` and `--task` to narrow the detailed sections
|
|
124
|
+
when inspecting a specific run. After a scorecard exists, `yacht status`
|
|
125
|
+
recommends a filtered inspection command for the first challenger/task outcome.
|
|
126
|
+
For example:
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
Benchmark scorecard: container-pi-fff-real-benchmark-small / swe-bench-lite
|
|
130
|
+
Status: complete
|
|
131
|
+
Comparisons: 1 | Vessels: 2 | Measured: 2 | Missing: 0
|
|
132
|
+
Usage: Attempts: 4 | Failed: 0 | Tool calls: 15 | Tokens: 63084 | Cost: 0.020688 | Duration: 210.332s
|
|
133
|
+
Artifacts: logbook=/private/tmp/yacht-real-benchmark-... | scorecard=/private/tmp/yacht-real-benchmark-.../benchmark-scorecard.json | attempts=/private/tmp/yacht-real-benchmark-.../task-attempt-scorecard.json | launch=/private/tmp/yacht-real-benchmark-.../benchmark-launch-result.json | grading=/private/tmp/yacht-real-benchmark-.../benchmark-grading-collection.json
|
|
134
|
+
|
|
135
|
+
Notable deltas:
|
|
136
|
+
container-pi-vs-pi-fff-benchmark-small: pi-container-fff vs pi-container-baseline | resolved +0 | rate +0.000 | tokens +10988 | cost +0.001650 | duration +7.792s | tool_calls +3
|
|
137
|
+
|
|
138
|
+
comparison | baseline | challenger | resolved_delta | rate_delta | measured | missing | eligible | preflight
|
|
139
|
+
container-pi-vs-pi-fff-benchmark-small | pi-container-baseline | pi-container-fff | +0 | +0.000 | 2/2 | 0 | 2 | preflight-passed:2
|
|
140
|
+
|
|
141
|
+
Agent usage by task:
|
|
142
|
+
comparison | vessel | task | tools | tokens | cost | duration | attempt_artifact
|
|
143
|
+
container-pi-vs-pi-fff-benchmark-small | pi-container-fff | django__django-11179 | fffind:1, read:1, bash:1, edit:1 | 25492 | 0.006795 | 75.793s | /private/tmp/yacht-real-benchmark-.../task-attempts/.../django__django-11179.json
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Development Smoke
|
|
147
|
+
|
|
148
|
+
For a no-token local harness check:
|
|
149
|
+
|
|
150
|
+
```sh
|
|
151
|
+
uv run yacht validate examples/local-agent-preflight-smoke.toml
|
|
152
|
+
uv run yacht run examples/local-agent-preflight-smoke.toml --logbook logbook
|
|
153
|
+
uv run yacht status --logbook logbook
|
|
154
|
+
uv run yacht report --logbook logbook
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
This validates the control-plane path without Pi, SWE-bench, Docker grading, or
|
|
158
|
+
provider credentials.
|
|
159
|
+
|
|
160
|
+
## Documentation
|
|
161
|
+
|
|
162
|
+
- [Project vision](docs/project/vision.md)
|
|
163
|
+
- [Roadmap](docs/project/roadmap.md)
|
|
164
|
+
- [Audit-backed plan](docs/project/audit-backed-plan.md)
|
|
165
|
+
- [Codebase structure](docs/project/codebase-structure.md)
|
|
166
|
+
- [Command reference](docs/reference/commands.md)
|
|
167
|
+
- [Release checklist](docs/reference/release.md)
|
|
168
|
+
- [Schema contract](docs/reference/schemas.md)
|
|
169
|
+
- [Architecture decisions](docs/adr/)
|
|
170
|
+
- [Changelog](CHANGELOG.md)
|
|
171
|
+
|
|
172
|
+
## License
|
|
173
|
+
|
|
174
|
+
YACHT is licensed under the [Apache License 2.0](LICENSE).
|
|
175
|
+
|
|
176
|
+
## Design Principles
|
|
177
|
+
|
|
178
|
+
- Prefer reproducible, inspectable evidence over agent attestation.
|
|
179
|
+
- Keep runtime provisioning separate from benchmark task grading.
|
|
180
|
+
- Make secrets explicit and never copy user-home auth state implicitly.
|
|
181
|
+
- Treat benchmarks, smoke tests, and future evaluators as adapters.
|
|
182
|
+
- Keep public artifacts language-neutral and stable enough for other tools to
|
|
183
|
+
consume.
|
|
184
|
+
- Report success together with cost, tokens, time, tool use, and failure modes.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "yacht-eval"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "Yet Another Coding Harness Testbed"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "codyw912", email = "32690983+codyw912@users.noreply.github.com" }
|
|
10
|
+
]
|
|
11
|
+
requires-python = ">=3.12"
|
|
12
|
+
dependencies = [
|
|
13
|
+
"datasets>=4.8.5",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.scripts]
|
|
17
|
+
yacht = "yacht.cli:main"
|
|
18
|
+
|
|
19
|
+
[tool.ruff]
|
|
20
|
+
src = ["src"]
|
|
21
|
+
|
|
22
|
+
[build-system]
|
|
23
|
+
requires = ["uv_build>=0.11.4,<0.12.0"]
|
|
24
|
+
build-backend = "uv_build"
|
|
25
|
+
|
|
26
|
+
[tool.uv.build-backend]
|
|
27
|
+
module-name = "yacht"
|
|
28
|
+
|
|
29
|
+
[dependency-groups]
|
|
30
|
+
dev = [
|
|
31
|
+
"coverage>=7.15.1",
|
|
32
|
+
"ruff>=0.15.21",
|
|
33
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
from typing import Sequence
|
|
5
|
+
|
|
6
|
+
from yacht.cli.commands import COMMAND_MODULES
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
10
|
+
parser = argparse.ArgumentParser(
|
|
11
|
+
prog="yacht",
|
|
12
|
+
description="Run reproducible agentic coding harness regattas.",
|
|
13
|
+
)
|
|
14
|
+
subcommands = parser.add_subparsers(dest="command", required=True)
|
|
15
|
+
for module in COMMAND_MODULES:
|
|
16
|
+
module.register(subcommands)
|
|
17
|
+
return parser
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def main(argv: Sequence[str] | None = None) -> int:
|
|
21
|
+
parser = build_parser()
|
|
22
|
+
args = parser.parse_args(argv)
|
|
23
|
+
return args.handler(args)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from yacht.cli.commands import doctor
|
|
4
|
+
from yacht.cli.commands import inspect
|
|
5
|
+
from yacht.cli.commands import internals
|
|
6
|
+
from yacht.cli.commands import regatta
|
|
7
|
+
|
|
8
|
+
COMMAND_MODULES = (
|
|
9
|
+
doctor,
|
|
10
|
+
regatta,
|
|
11
|
+
inspect,
|
|
12
|
+
internals,
|
|
13
|
+
)
|