crit-eval 0.1.1__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.
- crit_eval-0.1.1/LICENSE +208 -0
- crit_eval-0.1.1/PKG-INFO +186 -0
- crit_eval-0.1.1/README.md +169 -0
- crit_eval-0.1.1/crit_eval/__init__.py +104 -0
- crit_eval-0.1.1/crit_eval/__main__.py +10 -0
- crit_eval-0.1.1/crit_eval/ab.py +94 -0
- crit_eval-0.1.1/crit_eval/ceiling.py +259 -0
- crit_eval-0.1.1/crit_eval/chat.py +462 -0
- crit_eval-0.1.1/crit_eval/cli.py +347 -0
- crit_eval-0.1.1/crit_eval/context.py +300 -0
- crit_eval-0.1.1/crit_eval/deadline.py +43 -0
- crit_eval-0.1.1/crit_eval/estimate.py +258 -0
- crit_eval-0.1.1/crit_eval/examples/mock_adapter.py +154 -0
- crit_eval-0.1.1/crit_eval/fixed.py +143 -0
- crit_eval-0.1.1/crit_eval/gguf_deepseek4.py +122 -0
- crit_eval-0.1.1/crit_eval/gguf_layout.py +308 -0
- crit_eval-0.1.1/crit_eval/gguf_qwen4exp.py +118 -0
- crit_eval-0.1.1/crit_eval/headroom.py +869 -0
- crit_eval-0.1.1/crit_eval/host.py +213 -0
- crit_eval-0.1.1/crit_eval/hostload.py +53 -0
- crit_eval-0.1.1/crit_eval/indexers.py +155 -0
- crit_eval-0.1.1/crit_eval/kernels.py +422 -0
- crit_eval-0.1.1/crit_eval/logprob.py +29 -0
- crit_eval-0.1.1/crit_eval/metrics.py +428 -0
- crit_eval-0.1.1/crit_eval/outcomes.py +291 -0
- crit_eval-0.1.1/crit_eval/packages.py +150 -0
- crit_eval-0.1.1/crit_eval/pin.py +82 -0
- crit_eval-0.1.1/crit_eval/prepare.py +505 -0
- crit_eval-0.1.1/crit_eval/probe/device_probe.cu +550 -0
- crit_eval-0.1.1/crit_eval/probe/kernel_trace.cpp +92 -0
- crit_eval-0.1.1/crit_eval/probe/logprob_compare.cu +61 -0
- crit_eval-0.1.1/crit_eval/probe/logprob_compare.h +23 -0
- crit_eval-0.1.1/crit_eval/probe.py +186 -0
- crit_eval-0.1.1/crit_eval/protocol.json +199 -0
- crit_eval-0.1.1/crit_eval/reference.py +1898 -0
- crit_eval-0.1.1/crit_eval/report.py +175 -0
- crit_eval-0.1.1/crit_eval/runner.py +1488 -0
- crit_eval-0.1.1/crit_eval/schemes.py +507 -0
- crit_eval-0.1.1/crit_eval/status.py +1019 -0
- crit_eval-0.1.1/crit_eval/suite/agent/README.md.txt +158 -0
- crit_eval-0.1.1/crit_eval/suite/agent/cli.py.txt +86 -0
- crit_eval-0.1.1/crit_eval/suite/agent/headroom.py.txt +117 -0
- crit_eval-0.1.1/crit_eval/suite/agent/metrics.py.txt +106 -0
- crit_eval-0.1.1/crit_eval/suite/agent/prepare.py.txt +135 -0
- crit_eval-0.1.1/crit_eval/suite/agent/reference.py.txt +171 -0
- crit_eval-0.1.1/crit_eval/suite/agent/report.py.txt +87 -0
- crit_eval-0.1.1/crit_eval/suite/agent/runner.py.txt +180 -0
- crit_eval-0.1.1/crit_eval/suite/agent/tools.json +6 -0
- crit_eval-0.1.1/crit_eval/suite/followup.json +12 -0
- crit_eval-0.1.1/crit_eval/suite/heldout.json +26 -0
- crit_eval-0.1.1/crit_eval/suite/long.json +40 -0
- crit_eval-0.1.1/crit_eval/suite/long_document.txt +503 -0
- crit_eval-0.1.1/crit_eval/suite/quality.json +48 -0
- crit_eval-0.1.1/crit_eval/suite/speed.json +69 -0
- crit_eval-0.1.1/crit_eval/tensors.py +52 -0
- crit_eval-0.1.1/crit_eval.egg-info/PKG-INFO +186 -0
- crit_eval-0.1.1/crit_eval.egg-info/SOURCES.txt +76 -0
- crit_eval-0.1.1/crit_eval.egg-info/dependency_links.txt +1 -0
- crit_eval-0.1.1/crit_eval.egg-info/entry_points.txt +2 -0
- crit_eval-0.1.1/crit_eval.egg-info/requires.txt +7 -0
- crit_eval-0.1.1/crit_eval.egg-info/top_level.txt +1 -0
- crit_eval-0.1.1/pyproject.toml +29 -0
- crit_eval-0.1.1/setup.cfg +4 -0
- crit_eval-0.1.1/tests/test_eval.py +3488 -0
- crit_eval-0.1.1/tests/test_eval_chat_template.py +125 -0
- crit_eval-0.1.1/tests/test_eval_deadline.py +114 -0
- crit_eval-0.1.1/tests/test_eval_distributions.py +77 -0
- crit_eval-0.1.1/tests/test_eval_estimate.py +196 -0
- crit_eval-0.1.1/tests/test_eval_followup.py +80 -0
- crit_eval-0.1.1/tests/test_eval_formats.py +363 -0
- crit_eval-0.1.1/tests/test_eval_gguf.py +358 -0
- crit_eval-0.1.1/tests/test_eval_gguf_deepseek4.py +496 -0
- crit_eval-0.1.1/tests/test_eval_gguf_qwen4exp.py +332 -0
- crit_eval-0.1.1/tests/test_eval_indexers.py +233 -0
- crit_eval-0.1.1/tests/test_eval_kernels.py +161 -0
- crit_eval-0.1.1/tests/test_eval_packages.py +111 -0
- crit_eval-0.1.1/tests/test_eval_server.py +683 -0
- crit_eval-0.1.1/tests/test_eval_tensors.py +52 -0
crit_eval-0.1.1/LICENSE
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
203
|
+
|
|
204
|
+
crit
|
|
205
|
+
Copyright 2026 crit contributors.
|
|
206
|
+
|
|
207
|
+
Original crit source is licensed under the Apache License, Version 2.0.
|
|
208
|
+
Third-party components retain their own licenses and notices.
|
crit_eval-0.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: crit-eval
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: crit-eval: one speed, quality and exactness suite that every inference engine runs the same way
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Repository, https://github.com/crit-labs/crit-eval
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: crit-core<0.11,>=0.10.0
|
|
11
|
+
Provides-Extra: reference
|
|
12
|
+
Requires-Dist: torch; extra == "reference"
|
|
13
|
+
Requires-Dist: transformers>=5.20; extra == "reference"
|
|
14
|
+
Requires-Dist: safetensors; extra == "reference"
|
|
15
|
+
Requires-Dist: numpy; extra == "reference"
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
<div align="center">
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<img src="docs/assets/wordmark-light.png#gh-light-mode-only" width="200" alt="crit" />
|
|
22
|
+
<img src="docs/assets/wordmark.png#gh-dark-mode-only" width="200" alt="crit" />
|
|
23
|
+
<br />
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
### Speed and quality measurement tool to compare inference engines honestly.
|
|
27
|
+
|
|
28
|
+
[](CHANGELOG.md)
|
|
29
|
+
[](LICENSE)
|
|
30
|
+
[](pyproject.toml)
|
|
31
|
+
|
|
32
|
+
[Summary](#summary) • [Quick start](#quick-start) • [What `crit-eval` solves](#what-crit-eval-solves) •
|
|
33
|
+
[What `crit-eval` measures](#what-eval-measures) • [Commands](#commands) •
|
|
34
|
+
[Limitations](#limitations) • [Documentation](#documentation)
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
<a id="summary"></a>
|
|
41
|
+
|
|
42
|
+
## Summary
|
|
43
|
+
|
|
44
|
+
**`crit-eval` runs one fixed suite against every inference engine, so results compare.**
|
|
45
|
+
> [!IMPORTANT]
|
|
46
|
+
> The same prompts, output lengths, stop handling and quality references, through the same
|
|
47
|
+
> OpenAI-compatible API a client uses. Every score is reported against its physical limit on your
|
|
48
|
+
> GPU, and quality is measured as the drift the engine itself adds to the checkpoint you chose.
|
|
49
|
+
> Results from different runs, agents and machines therefore compare, and engines submitted to
|
|
50
|
+
> [crit-hub](https://github.com/crit-labs/crit-hub) are measured with its hub profile.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
<a id="quick-start"></a>
|
|
55
|
+
|
|
56
|
+
## Quick start
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
python -m pip install "crit-core @ git+https://github.com/crit-labs/crit#subdirectory=core/python"
|
|
60
|
+
python -m pip install "crit-eval[reference] @ git+https://github.com/crit-labs/crit-eval"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Serve your engine behind an OpenAI-compatible API, then measure it:
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
crit-eval probe --out device.json
|
|
67
|
+
crit-eval fetch --model MODEL_DIR --data EVAL_DATA_DIR --packages PACKAGES
|
|
68
|
+
crit-eval run --url http://127.0.0.1:8000/v1 --model MODEL_DIR --data EVAL_DATA_DIR --device device.json \
|
|
69
|
+
--profile hub --out result.json
|
|
70
|
+
crit-eval status result.json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
`fetch` gets the checkpoint's [reference package](docs/MEASUREMENTS.md#quality) from `PACKAGES` (a folder or an
|
|
74
|
+
https base URL) when it has one; without it,
|
|
75
|
+
`crit-eval reference` scores the reference once on your GPU (the `reference` extra installs torch and
|
|
76
|
+
transformers for that). Inside crit the same commands are `crit eval ...`. An engine without a server
|
|
77
|
+
plugs in through a Python [adapter](docs/ADAPTER.md) instead of `--url`.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
<a id="what-crit-eval-solves"></a>
|
|
82
|
+
|
|
83
|
+
## What `crit-eval` solves
|
|
84
|
+
|
|
85
|
+
**There is no shared way to measure a bespoke inference engine.**
|
|
86
|
+
> Different bespoke inference engines report vastly different types of numbers. An honest comparison requires
|
|
87
|
+
> downloading and running the engines yourself. `crit-eval` finally makes apples-to-apples comparison possible.
|
|
88
|
+
|
|
89
|
+
**Physics-based evaluation lets you see what performance is left on the table.**
|
|
90
|
+
> `crit-eval` measures your GPU's memory bandwidth and matrix-multiply rates and turns them into a limit for each
|
|
91
|
+
> score. Its evaluation report can tell your coding agent how much performance can still be squeezed out of your
|
|
92
|
+
> inference engine.
|
|
93
|
+
|
|
94
|
+
**Speed that can't hide a quality loss.**
|
|
95
|
+
> Many inference engines push decode and prefill speed with no regard for quality. `crit-eval` treats quality
|
|
96
|
+
> as a first-class KPI. It measures not only inference speed but also quality regressions.
|
|
97
|
+
|
|
98
|
+
**A hardware report rounds out the evaluation.**
|
|
99
|
+
> The same model on the same inference engine but on two different machines can also lead to different inference
|
|
100
|
+
> speeds, even if the GPU is the same. We make this transparent by also reporting the runner's hardware configuration.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
<a id="what-eval-measures"></a>
|
|
105
|
+
|
|
106
|
+
## What `crit-eval` measures
|
|
107
|
+
|
|
108
|
+
| KPI or record | In the result | What it records |
|
|
109
|
+
| --- | --- | --- |
|
|
110
|
+
| **decode_greedy** | `status.kpis.decode_greedy` | Greedy decode tokens per second over six workloads (chat, code, math, tool calls, a long document, a 14K-token agent session), with run-to-run noise |
|
|
111
|
+
| **decode_sampled** | `status.kpis.decode_sampled` | Decode tokens per second at the model's own sampling, the headline decode, and tokens per round for speculative engines; a case whose three seeds disagree is repeated at further seeds (up to 9) until its standard error is within 3%, and each case's error is reported |
|
|
112
|
+
| **prefill** | `status.kpis.prefill` | Prompt tokens per second on the two long prompts |
|
|
113
|
+
| **ttft** | `status.kpis.ttft` | Milliseconds to the first token over every workload |
|
|
114
|
+
| **long-context decode and ttft** | `status.kpis.context` | The same scores along a curve of prompts up to the required context (262,144 tokens by default) |
|
|
115
|
+
| **perplexity** | `status.kpis.perplexity` | The engine's perplexity over the reference's: the worst quality set (prompt and served tokens, each long length) against its limit; per set in `quality.sets` |
|
|
116
|
+
| **kl_divergence** | `status.kpis.kl_divergence` | Mean and p99 KL divergence of the engine's token distributions from the reference's: the worst set against its limits; per set in `quality.sets` |
|
|
117
|
+
| limits and gaps | `headroom` | Each KPI's physical limit on this machine, from the probe's best rate per format (cuBLASLt GEMM or raw tensor cores), and what each term (model pass, draft steps, verify pass, draft width, drafter acceptance, prefill, first token) would give at its floor |
|
|
118
|
+
| prefill by activation format | `headroom.activations` | The prefill and TTFT ceilings with the quantized matrices' prompt activations at BF16, FP16 accumulation, FP8 and the stored format, which of them the quality evidence rules out, and the reachable limit: the fastest shown to pass |
|
|
119
|
+
| prefill by term | `crit-eval status --kernels` | With a kernel trace, each prefill term (matmul per weight format, attention, recurrence, other kernels, host) against its floor, a gap per term, and a speculative round split into verify pass and draft steps |
|
|
120
|
+
| time to first token by part | `headroom.ttft` | Each case's time to first token split into the engine's own prefill and first token and the rest (server, tokenizer, HTTP) |
|
|
121
|
+
| quality noise and attribution | `quality.sets.*.budget_spread`, `quality.attribution` | Each set's share of the drift budget with its spread over its positions; with `--attribute-drift`, each matrix group's share of the budget |
|
|
122
|
+
| free device memory | `context.device_memory` | Device memory left free with the engine built for the required context, beside the capacity gate |
|
|
123
|
+
| gates | `status.gates` | Repeatable output, request history, prompt cache, retrieval, exactness, sampling and quality, each passed or not, with every KPI against its limit (`status.kpis`) |
|
|
124
|
+
| retrieval | `context.retrieval` | Facts at the start, middle and end of long prompts, found or not |
|
|
125
|
+
| exactness | `exactness` | Whether speculative output equals plain greedy, case by case |
|
|
126
|
+
| sampling | `sampling_check` | Whether sampled tokens follow the model's distribution |
|
|
127
|
+
| request history | `history` | Whether the same greedy requests give the same tokens after a long request history |
|
|
128
|
+
| prompt cache | `followup` | Follow-up turns answered from a prompt cache: the same answer, and their prefill and ttft |
|
|
129
|
+
| held-out prompts | `heldout` | Speed on ten prompts in other languages and styles, never used for tuning |
|
|
130
|
+
| hardware | `host`, `device` | OS, CPU, RAM and GPUs (name, VRAM, driver, PCIe link), and the measured GPU bandwidth and matmul rates, PCIe transfer rates, host memory bandwidth and CPU throughput |
|
|
131
|
+
| engine | `engine` | What the engine reported: name, configuration, max context, drafting, bytes read per pass |
|
|
132
|
+
| model | `model`, `model_sha256` | Name, repository and revision, format, architecture and quantization |
|
|
133
|
+
| reference | `reference` | The reference that computed the quality scores (version, transformers, torch, GPU) and the package they came from |
|
|
134
|
+
| run | `crit_eval_version`, `protocol`, `profile`, `requirements`, `timing` | Which `crit-eval`, protocol and profile measured it, the drift budget it was held to, and how long each part took |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
<a id="commands"></a>
|
|
139
|
+
|
|
140
|
+
## Commands
|
|
141
|
+
|
|
142
|
+
| Command | Does |
|
|
143
|
+
| --- | --- |
|
|
144
|
+
| `probe` | Measure the device's bandwidth, cuBLASLt GEMM rates per weight format and raw tensor-core rates per input and accumulator format (needs nvcc) |
|
|
145
|
+
| `context` | The max context for a model on a device: the model's positions and the device's memory |
|
|
146
|
+
| `prepare` | Freeze the suite as token ids for one model |
|
|
147
|
+
| `reference` | Score the prepared quality texts once on the checkpoint |
|
|
148
|
+
| `fetch` / `pack` | Get a checkpoint's reference package, or add one to a package folder |
|
|
149
|
+
| `pin` | Record an engine's plain greedy output of every speed case as the data's decode text |
|
|
150
|
+
| `run` | Evaluate one engine, through `--url` or an `--adapter`; with an adapter, `--only quality` checks quality in process (development evidence) and `--attribute-drift` attributes the drift to matrix groups |
|
|
151
|
+
| `status` / `compare` | Gates, goals, KPIs against their limits and gaps (`--kernels` joins a kernel trace to the prefill floor, `--device` and `--data` price a result again); results side by side |
|
|
152
|
+
| `ab` | Alternate two engines' speed runs in one session and report paired ratios |
|
|
153
|
+
| `kernels` | Trace every kernel of the speed cases (CUPTI, Linux), prefill on a fresh prompt, and rank them by GPU time per phase and prefill-floor term |
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
<a id="limitations"></a>
|
|
158
|
+
|
|
159
|
+
## Limitations
|
|
160
|
+
|
|
161
|
+
| Area | Current status |
|
|
162
|
+
| --- | --- |
|
|
163
|
+
| Quality reference | Quality is measured against the checkpoint as stored, for example an NVFP4 quantization, not against the full-precision model. `crit-eval` reports the drift the engine adds, never the quantization loss of the checkpoint itself, so quality results of two different quantizations of a model do not compare. |
|
|
164
|
+
| What quality covers | Drift on fixed texts: six conversations (prose, code, math, tool calls and more) and one long text each at 1K, 4K and 32K tokens, as perplexity ratio and KL divergence. It is not a task benchmark: no accuracy on MMLU-style questions, coding tests or agent tasks. |
|
|
165
|
+
| Reference coverage | The reference runs the model through transformers' modeling code in FP32, so it needs an architecture transformers implements and a CUDA GPU with the machine to itself for 5 to 25 minutes. Checkpoints in exl2 or exl3 are refused. Reference packages exist for three checkpoints and are not published yet. |
|
|
166
|
+
| Rounding-sensitive models | Where a model amplifies rounding (MoE routing near-ties, sparse-attention ties, recurrent state), two valid FP32 runs of the reference disagree; quality is then judged against twice the reference's own spread instead of the budget, which is looser for those models. |
|
|
167
|
+
| Speed | One request at a time: `crit-eval` measures single-stream decode, prefill and time to first token, not throughput under concurrent requests or batching. A noisy sampled decode is repeated at up to nine seeds per case, so an engine whose speed swings with the drawn text takes longer to measure (`--no-adaptive-sampled` keeps three, an override the result records). |
|
|
168
|
+
| Hardware | NVIDIA GPUs only: the probe builds with nvcc and measures one GPU. Multi-GPU engines are not measured as such. PCIe, host memory and CPU rates are recorded, but no limit uses them yet, so engines that offload weights or compute on the CPU get GPU-only limits. On Windows the CPU probe uses AVX2, which under-reports an AVX-512 CPU. |
|
|
169
|
+
| Long context | The hub profile measures the long-context curve at its two ends and interpolates the points between; only the full profile measures every point. |
|
|
170
|
+
| Comparability | Results compare only under the same protocol series and profile, on prepared data of the same checkpoint. |
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
<a id="documentation"></a>
|
|
175
|
+
|
|
176
|
+
## Documentation
|
|
177
|
+
|
|
178
|
+
| To… | Read |
|
|
179
|
+
| --- | --- |
|
|
180
|
+
| Run `crit-eval` and read its results | [Guide](docs/README.md) |
|
|
181
|
+
| See every case, score, limit and gate | [Measurements](docs/MEASUREMENTS.md) |
|
|
182
|
+
| Set the required context | [Context](docs/CONTEXT.md) |
|
|
183
|
+
| Plug in an engine without a server | [Adapter](docs/ADAPTER.md) |
|
|
184
|
+
| Build an engine to measure | [crit](https://github.com/crit-labs/crit) · [Building engines](https://github.com/crit-labs/crit/blob/main/docs/BUILDING_ENGINES.md) |
|
|
185
|
+
| See release history | [Changelog](CHANGELOG.md) |
|
|
186
|
+
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="docs/assets/wordmark-light.png#gh-light-mode-only" width="200" alt="crit" />
|
|
5
|
+
<img src="docs/assets/wordmark.png#gh-dark-mode-only" width="200" alt="crit" />
|
|
6
|
+
<br />
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
### Speed and quality measurement tool to compare inference engines honestly.
|
|
10
|
+
|
|
11
|
+
[](CHANGELOG.md)
|
|
12
|
+
[](LICENSE)
|
|
13
|
+
[](pyproject.toml)
|
|
14
|
+
|
|
15
|
+
[Summary](#summary) • [Quick start](#quick-start) • [What `crit-eval` solves](#what-crit-eval-solves) •
|
|
16
|
+
[What `crit-eval` measures](#what-eval-measures) • [Commands](#commands) •
|
|
17
|
+
[Limitations](#limitations) • [Documentation](#documentation)
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<a id="summary"></a>
|
|
24
|
+
|
|
25
|
+
## Summary
|
|
26
|
+
|
|
27
|
+
**`crit-eval` runs one fixed suite against every inference engine, so results compare.**
|
|
28
|
+
> [!IMPORTANT]
|
|
29
|
+
> The same prompts, output lengths, stop handling and quality references, through the same
|
|
30
|
+
> OpenAI-compatible API a client uses. Every score is reported against its physical limit on your
|
|
31
|
+
> GPU, and quality is measured as the drift the engine itself adds to the checkpoint you chose.
|
|
32
|
+
> Results from different runs, agents and machines therefore compare, and engines submitted to
|
|
33
|
+
> [crit-hub](https://github.com/crit-labs/crit-hub) are measured with its hub profile.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
<a id="quick-start"></a>
|
|
38
|
+
|
|
39
|
+
## Quick start
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
python -m pip install "crit-core @ git+https://github.com/crit-labs/crit#subdirectory=core/python"
|
|
43
|
+
python -m pip install "crit-eval[reference] @ git+https://github.com/crit-labs/crit-eval"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Serve your engine behind an OpenAI-compatible API, then measure it:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
crit-eval probe --out device.json
|
|
50
|
+
crit-eval fetch --model MODEL_DIR --data EVAL_DATA_DIR --packages PACKAGES
|
|
51
|
+
crit-eval run --url http://127.0.0.1:8000/v1 --model MODEL_DIR --data EVAL_DATA_DIR --device device.json \
|
|
52
|
+
--profile hub --out result.json
|
|
53
|
+
crit-eval status result.json
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`fetch` gets the checkpoint's [reference package](docs/MEASUREMENTS.md#quality) from `PACKAGES` (a folder or an
|
|
57
|
+
https base URL) when it has one; without it,
|
|
58
|
+
`crit-eval reference` scores the reference once on your GPU (the `reference` extra installs torch and
|
|
59
|
+
transformers for that). Inside crit the same commands are `crit eval ...`. An engine without a server
|
|
60
|
+
plugs in through a Python [adapter](docs/ADAPTER.md) instead of `--url`.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
<a id="what-crit-eval-solves"></a>
|
|
65
|
+
|
|
66
|
+
## What `crit-eval` solves
|
|
67
|
+
|
|
68
|
+
**There is no shared way to measure a bespoke inference engine.**
|
|
69
|
+
> Different bespoke inference engines report vastly different types of numbers. An honest comparison requires
|
|
70
|
+
> downloading and running the engines yourself. `crit-eval` finally makes apples-to-apples comparison possible.
|
|
71
|
+
|
|
72
|
+
**Physics-based evaluation lets you see what performance is left on the table.**
|
|
73
|
+
> `crit-eval` measures your GPU's memory bandwidth and matrix-multiply rates and turns them into a limit for each
|
|
74
|
+
> score. Its evaluation report can tell your coding agent how much performance can still be squeezed out of your
|
|
75
|
+
> inference engine.
|
|
76
|
+
|
|
77
|
+
**Speed that can't hide a quality loss.**
|
|
78
|
+
> Many inference engines push decode and prefill speed with no regard for quality. `crit-eval` treats quality
|
|
79
|
+
> as a first-class KPI. It measures not only inference speed but also quality regressions.
|
|
80
|
+
|
|
81
|
+
**A hardware report rounds out the evaluation.**
|
|
82
|
+
> The same model on the same inference engine but on two different machines can also lead to different inference
|
|
83
|
+
> speeds, even if the GPU is the same. We make this transparent by also reporting the runner's hardware configuration.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
<a id="what-eval-measures"></a>
|
|
88
|
+
|
|
89
|
+
## What `crit-eval` measures
|
|
90
|
+
|
|
91
|
+
| KPI or record | In the result | What it records |
|
|
92
|
+
| --- | --- | --- |
|
|
93
|
+
| **decode_greedy** | `status.kpis.decode_greedy` | Greedy decode tokens per second over six workloads (chat, code, math, tool calls, a long document, a 14K-token agent session), with run-to-run noise |
|
|
94
|
+
| **decode_sampled** | `status.kpis.decode_sampled` | Decode tokens per second at the model's own sampling, the headline decode, and tokens per round for speculative engines; a case whose three seeds disagree is repeated at further seeds (up to 9) until its standard error is within 3%, and each case's error is reported |
|
|
95
|
+
| **prefill** | `status.kpis.prefill` | Prompt tokens per second on the two long prompts |
|
|
96
|
+
| **ttft** | `status.kpis.ttft` | Milliseconds to the first token over every workload |
|
|
97
|
+
| **long-context decode and ttft** | `status.kpis.context` | The same scores along a curve of prompts up to the required context (262,144 tokens by default) |
|
|
98
|
+
| **perplexity** | `status.kpis.perplexity` | The engine's perplexity over the reference's: the worst quality set (prompt and served tokens, each long length) against its limit; per set in `quality.sets` |
|
|
99
|
+
| **kl_divergence** | `status.kpis.kl_divergence` | Mean and p99 KL divergence of the engine's token distributions from the reference's: the worst set against its limits; per set in `quality.sets` |
|
|
100
|
+
| limits and gaps | `headroom` | Each KPI's physical limit on this machine, from the probe's best rate per format (cuBLASLt GEMM or raw tensor cores), and what each term (model pass, draft steps, verify pass, draft width, drafter acceptance, prefill, first token) would give at its floor |
|
|
101
|
+
| prefill by activation format | `headroom.activations` | The prefill and TTFT ceilings with the quantized matrices' prompt activations at BF16, FP16 accumulation, FP8 and the stored format, which of them the quality evidence rules out, and the reachable limit: the fastest shown to pass |
|
|
102
|
+
| prefill by term | `crit-eval status --kernels` | With a kernel trace, each prefill term (matmul per weight format, attention, recurrence, other kernels, host) against its floor, a gap per term, and a speculative round split into verify pass and draft steps |
|
|
103
|
+
| time to first token by part | `headroom.ttft` | Each case's time to first token split into the engine's own prefill and first token and the rest (server, tokenizer, HTTP) |
|
|
104
|
+
| quality noise and attribution | `quality.sets.*.budget_spread`, `quality.attribution` | Each set's share of the drift budget with its spread over its positions; with `--attribute-drift`, each matrix group's share of the budget |
|
|
105
|
+
| free device memory | `context.device_memory` | Device memory left free with the engine built for the required context, beside the capacity gate |
|
|
106
|
+
| gates | `status.gates` | Repeatable output, request history, prompt cache, retrieval, exactness, sampling and quality, each passed or not, with every KPI against its limit (`status.kpis`) |
|
|
107
|
+
| retrieval | `context.retrieval` | Facts at the start, middle and end of long prompts, found or not |
|
|
108
|
+
| exactness | `exactness` | Whether speculative output equals plain greedy, case by case |
|
|
109
|
+
| sampling | `sampling_check` | Whether sampled tokens follow the model's distribution |
|
|
110
|
+
| request history | `history` | Whether the same greedy requests give the same tokens after a long request history |
|
|
111
|
+
| prompt cache | `followup` | Follow-up turns answered from a prompt cache: the same answer, and their prefill and ttft |
|
|
112
|
+
| held-out prompts | `heldout` | Speed on ten prompts in other languages and styles, never used for tuning |
|
|
113
|
+
| hardware | `host`, `device` | OS, CPU, RAM and GPUs (name, VRAM, driver, PCIe link), and the measured GPU bandwidth and matmul rates, PCIe transfer rates, host memory bandwidth and CPU throughput |
|
|
114
|
+
| engine | `engine` | What the engine reported: name, configuration, max context, drafting, bytes read per pass |
|
|
115
|
+
| model | `model`, `model_sha256` | Name, repository and revision, format, architecture and quantization |
|
|
116
|
+
| reference | `reference` | The reference that computed the quality scores (version, transformers, torch, GPU) and the package they came from |
|
|
117
|
+
| run | `crit_eval_version`, `protocol`, `profile`, `requirements`, `timing` | Which `crit-eval`, protocol and profile measured it, the drift budget it was held to, and how long each part took |
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
<a id="commands"></a>
|
|
122
|
+
|
|
123
|
+
## Commands
|
|
124
|
+
|
|
125
|
+
| Command | Does |
|
|
126
|
+
| --- | --- |
|
|
127
|
+
| `probe` | Measure the device's bandwidth, cuBLASLt GEMM rates per weight format and raw tensor-core rates per input and accumulator format (needs nvcc) |
|
|
128
|
+
| `context` | The max context for a model on a device: the model's positions and the device's memory |
|
|
129
|
+
| `prepare` | Freeze the suite as token ids for one model |
|
|
130
|
+
| `reference` | Score the prepared quality texts once on the checkpoint |
|
|
131
|
+
| `fetch` / `pack` | Get a checkpoint's reference package, or add one to a package folder |
|
|
132
|
+
| `pin` | Record an engine's plain greedy output of every speed case as the data's decode text |
|
|
133
|
+
| `run` | Evaluate one engine, through `--url` or an `--adapter`; with an adapter, `--only quality` checks quality in process (development evidence) and `--attribute-drift` attributes the drift to matrix groups |
|
|
134
|
+
| `status` / `compare` | Gates, goals, KPIs against their limits and gaps (`--kernels` joins a kernel trace to the prefill floor, `--device` and `--data` price a result again); results side by side |
|
|
135
|
+
| `ab` | Alternate two engines' speed runs in one session and report paired ratios |
|
|
136
|
+
| `kernels` | Trace every kernel of the speed cases (CUPTI, Linux), prefill on a fresh prompt, and rank them by GPU time per phase and prefill-floor term |
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
<a id="limitations"></a>
|
|
141
|
+
|
|
142
|
+
## Limitations
|
|
143
|
+
|
|
144
|
+
| Area | Current status |
|
|
145
|
+
| --- | --- |
|
|
146
|
+
| Quality reference | Quality is measured against the checkpoint as stored, for example an NVFP4 quantization, not against the full-precision model. `crit-eval` reports the drift the engine adds, never the quantization loss of the checkpoint itself, so quality results of two different quantizations of a model do not compare. |
|
|
147
|
+
| What quality covers | Drift on fixed texts: six conversations (prose, code, math, tool calls and more) and one long text each at 1K, 4K and 32K tokens, as perplexity ratio and KL divergence. It is not a task benchmark: no accuracy on MMLU-style questions, coding tests or agent tasks. |
|
|
148
|
+
| Reference coverage | The reference runs the model through transformers' modeling code in FP32, so it needs an architecture transformers implements and a CUDA GPU with the machine to itself for 5 to 25 minutes. Checkpoints in exl2 or exl3 are refused. Reference packages exist for three checkpoints and are not published yet. |
|
|
149
|
+
| Rounding-sensitive models | Where a model amplifies rounding (MoE routing near-ties, sparse-attention ties, recurrent state), two valid FP32 runs of the reference disagree; quality is then judged against twice the reference's own spread instead of the budget, which is looser for those models. |
|
|
150
|
+
| Speed | One request at a time: `crit-eval` measures single-stream decode, prefill and time to first token, not throughput under concurrent requests or batching. A noisy sampled decode is repeated at up to nine seeds per case, so an engine whose speed swings with the drawn text takes longer to measure (`--no-adaptive-sampled` keeps three, an override the result records). |
|
|
151
|
+
| Hardware | NVIDIA GPUs only: the probe builds with nvcc and measures one GPU. Multi-GPU engines are not measured as such. PCIe, host memory and CPU rates are recorded, but no limit uses them yet, so engines that offload weights or compute on the CPU get GPU-only limits. On Windows the CPU probe uses AVX2, which under-reports an AVX-512 CPU. |
|
|
152
|
+
| Long context | The hub profile measures the long-context curve at its two ends and interpolates the points between; only the full profile measures every point. |
|
|
153
|
+
| Comparability | Results compare only under the same protocol series and profile, on prepared data of the same checkpoint. |
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
<a id="documentation"></a>
|
|
158
|
+
|
|
159
|
+
## Documentation
|
|
160
|
+
|
|
161
|
+
| To… | Read |
|
|
162
|
+
| --- | --- |
|
|
163
|
+
| Run `crit-eval` and read its results | [Guide](docs/README.md) |
|
|
164
|
+
| See every case, score, limit and gate | [Measurements](docs/MEASUREMENTS.md) |
|
|
165
|
+
| Set the required context | [Context](docs/CONTEXT.md) |
|
|
166
|
+
| Plug in an engine without a server | [Adapter](docs/ADAPTER.md) |
|
|
167
|
+
| Build an engine to measure | [crit](https://github.com/crit-labs/crit) · [Building engines](https://github.com/crit-labs/crit/blob/main/docs/BUILDING_ENGINES.md) |
|
|
168
|
+
| See release history | [Changelog](CHANGELOG.md) |
|
|
169
|
+
|