@valerypopoff/rivet2-evaluations 2.3.0

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.
package/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2026 Val P.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @valerypopoff/rivet2-evaluations
2
+
3
+ Portable, executor-agnostic evaluation engine for Rivet 2.
4
+
5
+ The package owns the shared contracts used by the Rivet Evaluations workspace, CLI, and host integrations:
6
+
7
+ - reusable suites, typed datasets, cases, checks, evaluator bindings, thresholds, and execution settings;
8
+ - pass/fail and 0–100 graph-facing scoring modes;
9
+ - `runEvaluationSuite(...)`, selected-case execution, bounded concurrency, cancellation, and progress snapshots;
10
+ - separate execution, quality, and accounting outcomes;
11
+ - canonical provenance, compact baselines, run normalization, and `EvaluationRunStore` contracts;
12
+ - strict portable-JSON validation and versioned dataset or suite-plus-dataset transfer.
13
+
14
+ The package does not choose a graph runtime or persistence backend. Callers supply a Rivet `Project` and `EvaluationGraphRunner`, and can receive detached progress through `onUpdate`. Hosts use the separate `EvaluationRunStore` contract around the runner when they need terminal history, immutable dataset snapshots, or recordings. Rivet's application-local suite/dataset library is app state rather than package-global state.
15
+
16
+ Evaluator graphs judge an already-executed target. Their Graph Output named `result` returns `passed` in pass/fail mode or a user-facing `score` from 0 through 100 in scoring mode. Stored observations use normalized scores internally.
17
+
18
+ See the [Evaluations developer documentation](../../developer-docs/EVALUATIONS.md) and [public user guide](../docs/docs/evaluations.md).
19
+
20
+ ## Development
21
+
22
+ ```bash
23
+ yarn workspace @valerypopoff/rivet2-evaluations run build
24
+ yarn workspace @valerypopoff/rivet2-evaluations run lint
25
+ ```
26
+
27
+ See the root [README](../../README.md) and [package docs](../../developer-docs/PACKAGES.md) for the current workspace contract.