@altnovatrail/spec 0.9.13 → 0.9.14

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.
@@ -1701,9 +1701,9 @@ export interface PermutationDraw {
1701
1701
  *
1702
1702
  * A test vector of templates (sections 23 and 24 of the format text): a template, the number of its
1703
1703
  * instances, the names that its solver gets, when it has one, and attempts, each with its seed, the
1704
- * numbers of the instance that the seed picks, and that instance. An implementation counts the
1705
- * instances, picks the instance of each seed, runs the solver on it, replaces the placeholders, and
1706
- * gets exactly these.
1704
+ * numbers of the instance that the seed picks, that instance, and the digest of its open view. An
1705
+ * implementation counts the instances, picks the instance of each seed, runs the solver on it,
1706
+ * replaces the placeholders, and gets exactly these.
1707
1707
  */
1708
1708
  export interface TemplateVector {
1709
1709
  /**
@@ -1730,7 +1730,8 @@ export interface TemplateVector {
1730
1730
  /**
1731
1731
  * Attempt is the type of template-vector.schema.json#/$defs/attempt.
1732
1732
  *
1733
- * An attempt on the template: its seed, and the instance that the seed picks.
1733
+ * An attempt on the template: its seed, the instance that the seed picks, and the digest of that
1734
+ * instance's open view.
1734
1735
  */
1735
1736
  export interface Attempt {
1736
1737
  /**
@@ -1748,6 +1749,12 @@ export interface Attempt {
1748
1749
  * them, in the place of its placeholders, and without its template.
1749
1750
  */
1750
1751
  readonly instance: Task;
1752
+ /**
1753
+ * The digest of the open view of the instance, as a sample of the eval protocol names the task it
1754
+ * answers: sha256: and the SHA-256 of the open view's canonical text, the instance's numbers in
1755
+ * place (section 25 of the format text; contracts/README.md, section 11).
1756
+ */
1757
+ readonly open_view_digest: Digest;
1751
1758
  }
1752
1759
 
1753
1760
  // The types of tier-vector.schema.json.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altnovatrail/spec",
3
- "version": "0.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "The types of NovaTrail's module format for TypeScript, generated from its schemas: the parts of a module and their open views, the canonical view, the inventory, the module index and the test vectors. And the types of the element <novatrail-canvas>, the contract of the canvas and the app. And the types of the admission table, which says which AI provider may serve which age category.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {