remyx-validate 0.1.0a0__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.
Files changed (40) hide show
  1. remyx_validate-0.1.0a0/LICENSE +202 -0
  2. remyx_validate-0.1.0a0/PKG-INFO +254 -0
  3. remyx_validate-0.1.0a0/README.md +226 -0
  4. remyx_validate-0.1.0a0/pyproject.toml +46 -0
  5. remyx_validate-0.1.0a0/setup.cfg +4 -0
  6. remyx_validate-0.1.0a0/src/remyx_validate/__init__.py +4 -0
  7. remyx_validate-0.1.0a0/src/remyx_validate/backends/__init__.py +13 -0
  8. remyx_validate-0.1.0a0/src/remyx_validate/backends/base.py +120 -0
  9. remyx_validate-0.1.0a0/src/remyx_validate/backends/docker.py +107 -0
  10. remyx_validate-0.1.0a0/src/remyx_validate/backends/local.py +52 -0
  11. remyx_validate-0.1.0a0/src/remyx_validate/bundle.py +533 -0
  12. remyx_validate-0.1.0a0/src/remyx_validate/canonical.py +85 -0
  13. remyx_validate-0.1.0a0/src/remyx_validate/cli.py +610 -0
  14. remyx_validate-0.1.0a0/src/remyx_validate/collect.py +137 -0
  15. remyx_validate-0.1.0a0/src/remyx_validate/compare.py +533 -0
  16. remyx_validate-0.1.0a0/src/remyx_validate/decisions.py +69 -0
  17. remyx_validate-0.1.0a0/src/remyx_validate/declaration.py +264 -0
  18. remyx_validate-0.1.0a0/src/remyx_validate/demo.py +357 -0
  19. remyx_validate-0.1.0a0/src/remyx_validate/gitops.py +173 -0
  20. remyx_validate-0.1.0a0/src/remyx_validate/plan.py +292 -0
  21. remyx_validate-0.1.0a0/src/remyx_validate/report.py +150 -0
  22. remyx_validate-0.1.0a0/src/remyx_validate/runner.py +399 -0
  23. remyx_validate-0.1.0a0/src/remyx_validate/schemas/decision.schema.json +33 -0
  24. remyx_validate-0.1.0a0/src/remyx_validate/schemas/declaration.schema.json +424 -0
  25. remyx_validate-0.1.0a0/src/remyx_validate/schemas/evidence.schema.json +103 -0
  26. remyx_validate-0.1.0a0/src/remyx_validate/schemas/observation.schema.json +18 -0
  27. remyx_validate-0.1.0a0/src/remyx_validate/schemas/outcome.schema.json +31 -0
  28. remyx_validate-0.1.0a0/src/remyx_validate/stats.py +205 -0
  29. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/PKG-INFO +254 -0
  30. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/SOURCES.txt +38 -0
  31. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/dependency_links.txt +1 -0
  32. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/entry_points.txt +2 -0
  33. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/requires.txt +5 -0
  34. remyx_validate-0.1.0a0/src/remyx_validate.egg-info/top_level.txt +1 -0
  35. remyx_validate-0.1.0a0/tests/test_bundle_cli.py +204 -0
  36. remyx_validate-0.1.0a0/tests/test_compare.py +265 -0
  37. remyx_validate-0.1.0a0/tests/test_hostile.py +472 -0
  38. remyx_validate-0.1.0a0/tests/test_scenarios.py +66 -0
  39. remyx_validate-0.1.0a0/tests/test_spec.py +164 -0
  40. remyx_validate-0.1.0a0/tests/test_stats.py +65 -0
@@ -0,0 +1,202 @@
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.
@@ -0,0 +1,254 @@
1
+ Metadata-Version: 2.4
2
+ Name: remyx-validate
3
+ Version: 0.1.0a0
4
+ Summary: Open-source evaluation harness for AI engineering. Compare changes, measure tradeoffs and capture evidence.
5
+ Author: Remyx AI
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Repository, https://github.com/remyxai/validate
8
+ Project-URL: Issues, https://github.com/remyxai/validate/issues
9
+ Project-URL: Specification, https://github.com/remyxai/validate/blob/main/spec/v0.1/SPEC.md
10
+ Keywords: evaluation,ai-engineering,ab-testing,llm,mlops,evidence
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Operating System :: MacOS
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development :: Testing
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: PyYAML>=6
24
+ Requires-Dist: jsonschema>=4.18
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest>=7; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # Validate
30
+
31
+ **Know before you merge.**
32
+
33
+ A new model, retrieval strategy or agent harness can improve one part of your AI system while making another worse.
34
+
35
+ Validate is an open-source evaluation harness for measuring those tradeoffs. Compare a proposed change against your baseline using your own tests, data and compute. Define what you want to improve, set the requirements your application needs to meet, and capture the evidence behind your decision.
36
+
37
+ Run locally without a Remyx account. Reuse your evaluation criteria across changes and build a record of what works for your system.
38
+
39
+ We're developing the Change Evidence Spec alongside Validate so that developers, coding agents and evaluation tools can work with a common format for these results.
40
+
41
+ [Quickstart](#quickstart) · [See a completed run](#example-peft-optimizer-comparison) · [Read the draft specification](spec/v0.1/SPEC.md) · [Managed Validate](https://remyx.ai/validate)
42
+
43
+ > Developer alpha (v0.1). Runs locally without a Remyx account. The evidence format is a draft; interfaces may change. Start with code and evaluation scripts you trust.
44
+
45
+ ![Workflow: baseline and candidate use one reviewed evaluation plan; results become a portable evidence record for a human decision.](docs/images/change-evidence.png)
46
+
47
+ ## Quickstart
48
+
49
+ **Run your first comparison.**
50
+
51
+ Try a small retrieval comparison on your CPU. You need Git, Python 3.10 or newer, and a POSIX shell (macOS or Linux; CI covers Linux on Python 3.10 and 3.12 and macOS on 3.12). The demo needs no model weights, GPU or API key. Installation requires network access to download dependencies; the installed demo can run offline. The package is not on PyPI yet, so install from source:
52
+
53
+ ```bash
54
+ git clone https://github.com/remyxai/validate.git
55
+ cd validate
56
+ python3 -m venv .venv
57
+ source .venv/bin/activate
58
+ python -m pip install .
59
+ remyx-validate demo --dir validate-demo
60
+ ```
61
+
62
+ Your tests. Your data. Your compute. No account required.
63
+
64
+ The demo compares two versions of a small support-article retriever on 240 generated queries. A deeper reranking pass retrieves more of the right articles, but exceeds the declared latency limit. The verdict is `FAIL` (guardrail veto). Retrieval accuracy comes from the actual retrieval task; latency and cost in this demo are simulated from operation counts.
65
+
66
+ ```bash
67
+ cd validate-demo
68
+ remyx-validate report
69
+ remyx-validate verify
70
+ remyx-validate record --decision revise --reason "Latency over the declared limit"
71
+ ```
72
+
73
+ The report and machine-readable evidence are saved under `.validate/runs/`. Try `remyx-validate demo --all --dir validate-fixtures` from the repository root to see examples of all five verdicts.
74
+
75
+ ## Evaluate a change in your repository
76
+
77
+ Start with a pull request or two Git refs. Use an evaluation you already trust: a Python script, a benchmark, or a command that produces metrics. The declaration tells Validate how to run that evaluation and what the result needs to establish.
78
+
79
+ ```bash
80
+ mkdir my-eval && cd my-eval
81
+ remyx-validate init --pr https://github.com/huggingface/peft/pull/3382
82
+ ```
83
+
84
+ `init` pins the PR's merge base and head and writes an `impact.yaml` template. For a local repository, use `init --repo /path/to/repo --baseline main --candidate feature-branch` instead. A pull-request scaffold is written with `execution.trust: review-required`, and `plan` will not accept it until you choose how to run the code. Review the code, setup commands and execution settings before running either version. Add your evaluation script under `harness/` (or use an existing command), and fill in the metric names, targets, guardrails and validity checks in `impact.yaml`.
85
+
86
+ Here is the criteria portion of a retrieval evaluation declaration (illustrative):
87
+
88
+ ```yaml
89
+ criteria:
90
+ - id: resolution
91
+ metric: resolved
92
+ role: target
93
+ direction: higher
94
+ min_improvement: 0.02
95
+ - id: p95_latency
96
+ metric: latency_ms
97
+ role: guardrail
98
+ direction: lower
99
+ aggregate: p95
100
+ max: 800
101
+ - id: cost
102
+ metric: cost_usd
103
+ role: info
104
+ direction: lower
105
+ ```
106
+
107
+ For this example, resolution is a proportion, the required improvement is two percentage points, and p95 latency must stay at or below 800 ms. See the [declaration reference](spec/v0.1/SPEC.md) for the full format and the meaning of its uncertainty rules.
108
+
109
+ Run a command that reports metrics. For per-example metrics, keep the same example IDs across both versions so they can be paired. A harness can write `$VALIDATE_OUTPUT_DIR/results.json`:
110
+
111
+ ```json
112
+ {
113
+ "metrics": {"dataset_size": 240},
114
+ "observations": [
115
+ {"unit": "q001", "metrics": {"resolved": 1, "latency_ms": 412, "cost_usd": 0.0004}}
116
+ ]
117
+ }
118
+ ```
119
+
120
+ A final `METRICS_JSON={...}` line or a flat metric map is also supported. See the [worked PEFT example](examples/peft-riemannian/) for a complete harness and declaration.
121
+
122
+ ### Review the plan, then run
123
+
124
+ ```bash
125
+ remyx-validate validate
126
+ remyx-validate plan
127
+ ```
128
+
129
+ Inspect the resolved commits, evaluation command, harness, criteria, resource budget and permissions. Copy the displayed plan digest into the next command in place of `YOUR_PLAN_DIGEST` after reviewing it.
130
+
131
+ ```bash
132
+ remyx-validate approve YOUR_PLAN_DIGEST
133
+ remyx-validate run
134
+ remyx-validate report
135
+ remyx-validate verify
136
+ ```
137
+
138
+ A change to the approved plan requires a new approval. The report includes the baseline and candidate measurements, uncertainty where supported by the sample, validity checks, execution details and the verdict. Run `remyx-validate status` for run history and `remyx-validate cancel` to stop a running evaluation.
139
+
140
+ ### What you get
141
+
142
+ | Artifact | What it records |
143
+ | --- | --- |
144
+ | `report.md` | Results, tradeoffs, verdict and limitations for review |
145
+ | `evidence.json` | Structured comparison, criteria, identities and provenance |
146
+ | `manifest.json` and `declaration.json` | The approved plan and resolved evaluation declaration |
147
+ | `observations.jsonl` | The measurements used to compute the comparison |
148
+ | `checksums.json` | File digests for checking bundle consistency |
149
+ | `.validate/decisions.jsonl` | Your decision, reason and reference to the evidence |
150
+
151
+ `remyx-validate verify` checks the files, the identities that tie them together, and recomputes the comparison from the observations. A local bundle is self-reported evidence; consistency checks do not prove who ran the evaluation or that the workload measured honestly.
152
+
153
+ Keep a record of why you chose to ship, revise, hold or drop a change:
154
+
155
+ ```bash
156
+ remyx-validate record --decision revise --reason "Improve retrieval within the latency limit"
157
+ remyx-validate decisions
158
+ ```
159
+
160
+ To prepare a bundle for sharing:
161
+
162
+ ```bash
163
+ remyx-validate export --public --output evidence.tar.gz
164
+ remyx-validate verify evidence.tar.gz
165
+ ```
166
+
167
+ Public export keeps an allowlist of files, removes logs by default and attempts to redact common sensitive strings and local paths. If redaction would alter the declaration, the plan or the observations, the export is refused. Review every exported file before sharing. No upload is performed. Keep credentials out of declarations and results; use only the explicitly approved environment variables required by your evaluation.
168
+
169
+ ## How to read a result
170
+
171
+ The execution status tells you whether the run finished. Validity checks tell you whether the comparison can support the claim. The verdict applies the criteria you declared. The decision is yours to record separately.
172
+
173
+ | Verdict | Meaning |
174
+ | --- | --- |
175
+ | `PASS` | Targets met and guardrails clear under the declared rule |
176
+ | `WARN` | A criterion remains uncertain |
177
+ | `FAIL` | A target is not met or a guardrail is breached |
178
+ | `NO_SIGNAL` | The comparison cannot distinguish a useful signal (for example, the candidate behavior was never activated or a control drifted) |
179
+ | `INCOMPLETE` | Execution or required measurement failed, or integrity checks failed |
180
+
181
+ If the independent sampling unit is an example, results are paired by example ID. If it is a seed, results are paired by seed. With one paired unit there is no estimated interval. Cost and latency can be targets, guardrails or informational metrics. The offline result describes the chosen evaluation setup; measure the effect on live users separately.
182
+
183
+ ## Example: PEFT optimizer comparison
184
+
185
+ We used Validate to evaluate [huggingface/peft#3382](https://github.com/huggingface/peft/pull/3382), a contribution that adds a Riemannian-preconditioned LoRA optimizer. We wanted to see whether the proposed optimizer would reach a lower evaluation loss than AdamW at the same step budget.
186
+
187
+ Both versions train a LoRA adapter on a synthetic teacher-student task. We held the data, initialization, learning rate (2e-3) and training steps (400) constant across five paired seeds on CPU. An activation witness checks that the candidate arm used the preconditioned optimizer.
188
+
189
+ ![Recorded PEFT comparison: mean evaluation loss 0.004214 versus 0.006574; throughput 829 versus 540 steps per second. The target was not met on this synthetic task.](docs/images/peft-comparison.png)
190
+
191
+ | Measure | AdamW | Riemannian | Paired difference (95% interval) |
192
+ | --- | ---: | ---: | --- |
193
+ | Final evaluation loss | 0.004214 | 0.006574 | +0.00236 [0.001489, 0.003230] |
194
+ | Training throughput (steps/s) | 828.9 | 539.9 | -289.0 [-289.9, -288.1] |
195
+
196
+ The candidate ended with a higher loss on every seed in this recorded run. The target was not met. Throughput was also lower. This is a small synthetic benchmark at one learning rate, not a reproduction of the paper's main results. The next comparison we'd run is a learning-rate sweep to examine stability across learning rates.
197
+
198
+ [Read the evidence report](examples/peft-riemannian/sample-evidence/report.md) · [Inspect the harness and reproduce the comparison](examples/peft-riemannian/)
199
+
200
+ From the repository root, verify the recorded bundle without installing PyTorch or running the benchmark again:
201
+
202
+ ```bash
203
+ remyx-validate verify examples/peft-riemannian/sample-evidence
204
+ ```
205
+
206
+ Verification checks the recorded evidence; reproduction runs the evaluation again. The committed result is recorded on one machine and has not been independently reproduced. The reproduction guide requires `uv`, Python 3.12 and network access for the initial PEFT and CPU PyTorch setup.
207
+
208
+ ## The Change Evidence Spec
209
+
210
+ A result is easier to build on when it keeps its context: what changed, what the team wanted to measure, how it was measured, what happened and what the team decided.
211
+
212
+ We're publishing a draft, versioned [Change Evidence Spec](spec/v0.1/SPEC.md) and JSON schemas for that record. The local runner is one producer. We want other evaluation tools and coding agents to be able to produce and consume the same evidence without depending on a Remyx account. The deployment/outcome schema is a draft; this release does not collect production outcomes or recommend subsequent changes.
213
+
214
+ | Object | What it keeps |
215
+ | --- | --- |
216
+ | Change | Baseline, candidate and hypothesis |
217
+ | Declaration | Evaluation question, criteria, method and validity checks |
218
+ | Execution | Resolved plan, run and attempt identities |
219
+ | Observation / comparison | Measurements, paired differences, uncertainty and verdict |
220
+ | Decision | What a person chose and why |
221
+ | Deployment / outcome | A future link to a deployed change and observed outcomes (draft) |
222
+
223
+ Review [the spec's open questions](spec/v0.1/SPEC.md#open-questions-for-review), open an issue with an evaluation format or use case we should support, or contribute a fixture that exercises the contract. See [CONTRIBUTING.md](CONTRIBUTING.md).
224
+
225
+ ## Local execution and trust
226
+
227
+ Use the local subprocess backend only with code, setup commands and harnesses you trust. It runs with your user's file and network access. Docker support is experimental in this alpha; untrusted declarations get no network and no host variables by default. Container isolation is limited, setup can require network access, and the workload can influence its own measurements. Do not use this release as a security boundary for hostile PR code or on a machine containing sensitive credentials. Read the [threat model](docs/THREAT_MODEL.md) and [security reporting policy](SECURITY.md).
228
+
229
+ The tool does not send evidence to Remyx or collect telemetry. Git fetches, dependency installation, and any external model or data calls made by your evaluation are separate network activity. Reported-cost caps are checked against metrics emitted by the harness after attempts; they are not guaranteed spending limits. Set provider-side limits when making paid API calls.
230
+
231
+ ## Where it fits
232
+
233
+ **Measure the impact of your next AI change.**
234
+
235
+ | Open source | Managed Validate |
236
+ | --- | --- |
237
+ | **Run your own evaluations.** Bring your evaluation scripts, define your criteria, run comparisons on your infrastructure and retain portable evidence. | **Automate your evaluations.** Validate prepares the evaluation for review, configures the environment, runs the comparison and returns evidence to your pull request. |
238
+ | Run locally without a Remyx account. | [Evaluate a PR](https://remyx.ai/validate). |
239
+
240
+ The [Change Evidence Spec](spec/v0.1/SPEC.md) is a proposed common format for recording evaluations and decisions. We're working toward interoperability between the standalone runner, managed Validate and other producers. The standalone and managed implementations are separate in this alpha. Shared-core parity and direct bundle import are planned, not available today.
241
+
242
+ [Outrider](https://github.com/remyxai/outrider) is available separately for finding and drafting promising changes.
243
+
244
+ ## Contribute
245
+
246
+ Try the runner on a change you're already considering. Tell us what you measured, which tools you used, and what was missing from the evidence. You do not need to share your private data or results to report an issue.
247
+
248
+ - [Report a problem or suggest a spec change](https://github.com/remyxai/validate/issues)
249
+ - [Contribution guidelines](CONTRIBUTING.md)
250
+ - [Security policy](SECURITY.md)
251
+
252
+ ## License
253
+
254
+ Apache 2.0. See [LICENSE](LICENSE).