@agentswf/lab 0.3.0 → 0.4.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.
Files changed (88) hide show
  1. package/package.json +4 -4
  2. package/schema/{case-check.schema.json → lab-check.schema.json} +1 -1
  3. package/schema/{case-config.schema.json → lab-config.schema.json} +1 -1
  4. package/schema/{case-final.schema.json → lab-final.schema.json} +6 -6
  5. package/schema/{case-grade.schema.json → lab-grade.schema.json} +1 -1
  6. package/schema/{case-key.schema.json → lab-key.schema.json} +7 -0
  7. package/schema/{case-label.schema.json → lab-label.schema.json} +3 -3
  8. package/schema/{case-loop-report.schema.json → lab-loop-report.schema.json} +26 -15
  9. package/schema/{case-loop.schema.json → lab-loop.schema.json} +1 -1
  10. package/schema/{case-plan.schema.json → lab-plan.schema.json} +14 -3
  11. package/schema/{case-proposal.schema.json → lab-proposal.schema.json} +3 -3
  12. package/schema/{case-report.schema.json → lab-report.schema.json} +272 -36
  13. package/schema/{case-run.schema.json → lab-run.schema.json} +4 -4
  14. package/schema/{case-runs.schema.json → lab-runs.schema.json} +8 -1
  15. package/schema/{case-score.schema.json → lab-score.schema.json} +2 -2
  16. package/schema/{case-spread.schema.json → lab-spread.schema.json} +6 -6
  17. package/schema/{case-trial.schema.json → lab-trial.schema.json} +9 -9
  18. package/schema/{case-try.schema.json → lab-try.schema.json} +6 -6
  19. package/schema/local.json +3 -3
  20. package/src/env/capture.ts +1 -1
  21. package/src/env/compare.ts +7 -7
  22. package/src/env/fetch.ts +1 -1
  23. package/src/env/files.ts +14 -14
  24. package/src/env/grade-helper.ts +15 -15
  25. package/src/env/grader.ts +5 -2
  26. package/src/env/index.ts +18 -18
  27. package/src/env/trial.ts +5 -2
  28. package/src/format/key.ts +24 -0
  29. package/src/format/loop.ts +20 -19
  30. package/src/format/output.ts +120 -59
  31. package/src/format/records.ts +23 -20
  32. package/src/format/schema-files.ts +30 -30
  33. package/src/format/settings.ts +20 -13
  34. package/src/format/trial-env.ts +9 -6
  35. package/src/help/awf-lab.txt +1 -1
  36. package/src/help/case.txt +5 -4
  37. package/src/help/config.txt +2 -2
  38. package/src/help/label.txt +2 -2
  39. package/src/help/loop.txt +10 -10
  40. package/src/help/report.txt +1 -1
  41. package/src/help/run.txt +11 -10
  42. package/src/help/runs.txt +4 -3
  43. package/src/help/score.txt +4 -3
  44. package/src/lab/blame.ts +1 -1
  45. package/src/lab/box.ts +7 -5
  46. package/src/lab/capture-command.ts +11 -7
  47. package/src/lab/capture.ts +1 -1
  48. package/src/lab/check-command.ts +3 -3
  49. package/src/lab/cli.ts +9 -8
  50. package/src/lab/columns.ts +5 -5
  51. package/src/lab/command-context.ts +7 -7
  52. package/src/lab/compare.ts +8 -8
  53. package/src/lab/config-command.ts +25 -20
  54. package/src/lab/dataset.ts +37 -18
  55. package/src/lab/eval-files.ts +27 -16
  56. package/src/lab/folders.ts +26 -7
  57. package/src/lab/good.ts +1 -1
  58. package/src/lab/grading-stub.txt +2 -2
  59. package/src/lab/inspect.ts +13 -12
  60. package/src/lab/labels.ts +16 -11
  61. package/src/lab/loop-command.ts +68 -64
  62. package/src/lab/loop-records.ts +5 -5
  63. package/src/lab/loop.ts +105 -100
  64. package/src/lab/rates.ts +11 -6
  65. package/src/lab/record-copies.ts +1 -1
  66. package/src/lab/report-command.ts +8 -7
  67. package/src/lab/report.ts +172 -74
  68. package/src/lab/reuse.ts +29 -21
  69. package/src/lab/run-command.ts +304 -199
  70. package/src/lab/run-report.ts +49 -22
  71. package/src/lab/runs-command.ts +35 -27
  72. package/src/lab/scaffold.ts +19 -16
  73. package/src/lab/score-command.ts +72 -64
  74. package/src/lab/score.ts +1 -1
  75. package/src/lab/store.ts +3 -3
  76. package/src/lab/{trial-stub.txt → target-stub.txt} +3 -3
  77. package/src/lab/trial-settings.ts +17 -12
  78. package/src/lab/trial.ts +19 -23
  79. package/src/lab/usage.ts +1 -0
  80. package/src/lab/workflow-graders.ts +4 -1
  81. package/src/lab/workspace.ts +16 -9
  82. package/src/loop/propose.workflow.ts +1 -1
  83. package/src/shared/compare/index.ts +2 -2
  84. package/src/shared/compare/paired.ts +20 -20
  85. package/src/shared/compare/types.ts +4 -4
  86. package/src/write-schemas.ts +3 -3
  87. /package/schema/{case-good-record.schema.json → lab-good-record.schema.json} +0 -0
  88. /package/schema/{case-previous.schema.json → lab-previous.schema.json} +0 -0
@@ -4,11 +4,13 @@
4
4
  "type": "object",
5
5
  "required": [
6
6
  "kind",
7
- "run",
7
+ "labRun",
8
8
  "dataset",
9
9
  "partial",
10
10
  "exit",
11
11
  "params",
12
+ "code",
13
+ "sums",
12
14
  "reused",
13
15
  "rates",
14
16
  "tags",
@@ -20,9 +22,9 @@
20
22
  "properties": {
21
23
  "kind": {
22
24
  "type": "string",
23
- "const": "awf.case-report/1"
25
+ "const": "awf.lab-report/1"
24
26
  },
25
- "run": {
27
+ "labRun": {
26
28
  "type": "string",
27
29
  "pattern": "^[0-9]{8}-[0-9]{6}-[0-9a-f]{4}$"
28
30
  },
@@ -33,6 +35,20 @@
33
35
  "partial": {
34
36
  "type": "boolean"
35
37
  },
38
+ "stop": {
39
+ "type": "object",
40
+ "required": ["why", "notRun"],
41
+ "properties": {
42
+ "why": {
43
+ "enum": ["budget", "compare", "precondition", "stage"]
44
+ },
45
+ "notRun": {
46
+ "type": "integer",
47
+ "minimum": 0
48
+ }
49
+ },
50
+ "additionalProperties": false
51
+ },
36
52
  "exit": {
37
53
  "type": "integer",
38
54
  "minimum": 0,
@@ -47,6 +63,187 @@
47
63
  }
48
64
  }
49
65
  },
66
+ "code": {
67
+ "type": "object",
68
+ "required": ["path", "branch", "commit", "dirty", "version", "sandbox", "limits"],
69
+ "properties": {
70
+ "path": {
71
+ "type": "string",
72
+ "minLength": 1
73
+ },
74
+ "branch": {
75
+ "anyOf": [
76
+ {
77
+ "type": "string",
78
+ "minLength": 1
79
+ },
80
+ {
81
+ "type": "null"
82
+ }
83
+ ]
84
+ },
85
+ "commit": {
86
+ "anyOf": [
87
+ {
88
+ "type": "string",
89
+ "minLength": 1
90
+ },
91
+ {
92
+ "type": "null"
93
+ }
94
+ ]
95
+ },
96
+ "dirty": {
97
+ "type": "boolean"
98
+ },
99
+ "version": {
100
+ "type": "string",
101
+ "minLength": 1
102
+ },
103
+ "sandbox": {
104
+ "anyOf": [
105
+ {
106
+ "type": "object",
107
+ "required": ["by", "provider", "network"],
108
+ "properties": {
109
+ "by": {
110
+ "type": "string",
111
+ "const": "lab"
112
+ },
113
+ "provider": {
114
+ "type": "string",
115
+ "const": "srt"
116
+ },
117
+ "network": {
118
+ "type": "object",
119
+ "required": ["agents", "code", "webSearch", "sockets"],
120
+ "properties": {
121
+ "agents": {
122
+ "type": "array",
123
+ "items": {
124
+ "type": "string",
125
+ "pattern": "^(\\*\\.)?[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$"
126
+ }
127
+ },
128
+ "code": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string",
132
+ "pattern": "^(\\*\\.)?[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$"
133
+ }
134
+ },
135
+ "webSearch": {
136
+ "type": "boolean"
137
+ },
138
+ "sockets": {
139
+ "type": "array",
140
+ "items": {
141
+ "type": "string",
142
+ "minLength": 1
143
+ }
144
+ }
145
+ },
146
+ "additionalProperties": false
147
+ }
148
+ },
149
+ "additionalProperties": false
150
+ },
151
+ {
152
+ "type": "object",
153
+ "required": ["by", "network"],
154
+ "properties": {
155
+ "by": {
156
+ "type": "string",
157
+ "const": "workflow"
158
+ },
159
+ "network": {
160
+ "type": "object",
161
+ "required": ["agents", "code", "webSearch", "sockets"],
162
+ "properties": {
163
+ "agents": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "string",
167
+ "pattern": "^(\\*\\.)?[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$"
168
+ }
169
+ },
170
+ "code": {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string",
174
+ "pattern": "^(\\*\\.)?[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$"
175
+ }
176
+ },
177
+ "webSearch": {
178
+ "type": "boolean"
179
+ },
180
+ "sockets": {
181
+ "type": "array",
182
+ "items": {
183
+ "type": "string",
184
+ "minLength": 1
185
+ }
186
+ }
187
+ },
188
+ "additionalProperties": false
189
+ }
190
+ },
191
+ "additionalProperties": false
192
+ }
193
+ ]
194
+ },
195
+ "limits": {
196
+ "type": "object",
197
+ "required": ["setup", "workflow", "after"],
198
+ "properties": {
199
+ "setup": {
200
+ "type": "string",
201
+ "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
202
+ },
203
+ "workflow": {
204
+ "type": "string",
205
+ "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
206
+ },
207
+ "after": {
208
+ "type": "string",
209
+ "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
210
+ }
211
+ },
212
+ "additionalProperties": false
213
+ }
214
+ },
215
+ "additionalProperties": false
216
+ },
217
+ "sums": {
218
+ "type": "object",
219
+ "required": ["estimate", "reusedEstimate", "gradingEstimate", "unpriced"],
220
+ "properties": {
221
+ "msMedian": {
222
+ "type": "number",
223
+ "minimum": 0
224
+ },
225
+ "estimateMedian": {
226
+ "type": "number",
227
+ "minimum": 0
228
+ },
229
+ "estimate": {
230
+ "type": "number",
231
+ "minimum": 0
232
+ },
233
+ "reusedEstimate": {
234
+ "type": "number",
235
+ "minimum": 0
236
+ },
237
+ "gradingEstimate": {
238
+ "type": "number",
239
+ "minimum": 0
240
+ },
241
+ "unpriced": {
242
+ "type": "boolean"
243
+ }
244
+ },
245
+ "additionalProperties": false
246
+ },
50
247
  "reused": {
51
248
  "type": "integer",
52
249
  "minimum": 0
@@ -152,6 +349,7 @@
152
349
  "verdict",
153
350
  "passed",
154
351
  "trials",
352
+ "trialIds",
155
353
  "knownFailing",
156
354
  "outcomes",
157
355
  "notes",
@@ -183,6 +381,13 @@
183
381
  "type": "integer",
184
382
  "minimum": 0
185
383
  },
384
+ "trialIds": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string",
388
+ "minLength": 1
389
+ }
390
+ },
186
391
  "knownFailing": {
187
392
  "type": "boolean"
188
393
  },
@@ -468,10 +673,11 @@
468
673
  "branch",
469
674
  "commit",
470
675
  "dirty",
471
- "params",
472
676
  "version",
473
677
  "sandbox",
474
678
  "limits",
679
+ "params",
680
+ "sums",
475
681
  "numbers",
476
682
  "numbersLeftOut",
477
683
  "cases"
@@ -485,27 +691,20 @@
485
691
  "anyOf": [
486
692
  {
487
693
  "type": "object",
488
- "required": ["verdict"],
694
+ "required": ["decision", "stop", "reason", "metrics"],
489
695
  "properties": {
490
- "verdict": {
491
- "type": "object",
492
- "required": ["verdict", "stop", "reason", "metrics"],
493
- "properties": {
494
- "verdict": {
495
- "enum": ["better", "worse", "tie", "undecided"]
496
- },
497
- "stop": {
498
- "type": "boolean"
499
- },
500
- "reason": {
501
- "type": "string"
502
- },
503
- "metrics": {
504
- "type": "array",
505
- "items": {}
506
- }
507
- },
508
- "additionalProperties": false
696
+ "decision": {
697
+ "enum": ["better", "worse", "tie", "undecided"]
698
+ },
699
+ "stop": {
700
+ "type": "boolean"
701
+ },
702
+ "reason": {
703
+ "type": "string"
704
+ },
705
+ "metrics": {
706
+ "type": "array",
707
+ "items": {}
509
708
  }
510
709
  },
511
710
  "additionalProperties": false
@@ -644,15 +843,6 @@
644
843
  "dirty": {
645
844
  "type": "boolean"
646
845
  },
647
- "params": {
648
- "type": "object",
649
- "patternProperties": {
650
- "^[A-Za-z][A-Za-z0-9_-]*$": {
651
- "type": "string",
652
- "minLength": 1
653
- }
654
- }
655
- },
656
846
  "version": {
657
847
  "type": "string",
658
848
  "minLength": 1
@@ -751,13 +941,13 @@
751
941
  },
752
942
  "limits": {
753
943
  "type": "object",
754
- "required": ["setup", "run", "after"],
944
+ "required": ["setup", "workflow", "after"],
755
945
  "properties": {
756
946
  "setup": {
757
947
  "type": "string",
758
948
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
759
949
  },
760
- "run": {
950
+ "workflow": {
761
951
  "type": "string",
762
952
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
763
953
  },
@@ -768,6 +958,45 @@
768
958
  },
769
959
  "additionalProperties": false
770
960
  },
961
+ "params": {
962
+ "type": "object",
963
+ "patternProperties": {
964
+ "^[A-Za-z][A-Za-z0-9_-]*$": {
965
+ "type": "string",
966
+ "minLength": 1
967
+ }
968
+ }
969
+ },
970
+ "sums": {
971
+ "type": "object",
972
+ "required": ["estimate", "reusedEstimate", "gradingEstimate", "unpriced"],
973
+ "properties": {
974
+ "msMedian": {
975
+ "type": "number",
976
+ "minimum": 0
977
+ },
978
+ "estimateMedian": {
979
+ "type": "number",
980
+ "minimum": 0
981
+ },
982
+ "estimate": {
983
+ "type": "number",
984
+ "minimum": 0
985
+ },
986
+ "reusedEstimate": {
987
+ "type": "number",
988
+ "minimum": 0
989
+ },
990
+ "gradingEstimate": {
991
+ "type": "number",
992
+ "minimum": 0
993
+ },
994
+ "unpriced": {
995
+ "type": "boolean"
996
+ }
997
+ },
998
+ "additionalProperties": false
999
+ },
771
1000
  "numbers": {
772
1001
  "type": "object",
773
1002
  "patternProperties": {
@@ -818,7 +1047,7 @@
818
1047
  "type": "array",
819
1048
  "items": {
820
1049
  "type": "object",
821
- "required": ["name", "verdict", "passed", "trials"],
1050
+ "required": ["name", "verdict", "passed", "trials", "trialIds"],
822
1051
  "properties": {
823
1052
  "name": {
824
1053
  "type": "string",
@@ -841,6 +1070,13 @@
841
1070
  "trials": {
842
1071
  "type": "integer",
843
1072
  "minimum": 0
1073
+ },
1074
+ "trialIds": {
1075
+ "type": "array",
1076
+ "items": {
1077
+ "type": "string",
1078
+ "minLength": 1
1079
+ }
844
1080
  }
845
1081
  },
846
1082
  "additionalProperties": false
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "awf-lab run of cases",
3
+ "title": "awf-lab lab run",
4
4
  "type": "object",
5
5
  "required": ["kind", "id", "dataset", "folders", "columns", "asked", "started"],
6
6
  "properties": {
7
7
  "kind": {
8
8
  "type": "string",
9
- "const": "awf.case-run/1"
9
+ "const": "awf.lab-run/1"
10
10
  },
11
11
  "id": {
12
12
  "type": "string",
@@ -149,13 +149,13 @@
149
149
  },
150
150
  "limits": {
151
151
  "type": "object",
152
- "required": ["setup", "run", "after"],
152
+ "required": ["setup", "workflow", "after"],
153
153
  "properties": {
154
154
  "setup": {
155
155
  "type": "string",
156
156
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
157
157
  },
158
- "run": {
158
+ "workflow": {
159
159
  "type": "string",
160
160
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
161
161
  },
@@ -6,7 +6,7 @@
6
6
  "properties": {
7
7
  "kind": {
8
8
  "type": "string",
9
- "const": "awf.case-runs/1"
9
+ "const": "awf.lab-runs/1"
10
10
  },
11
11
  "runs": {
12
12
  "type": "array",
@@ -37,6 +37,9 @@
37
37
  "state": {
38
38
  "enum": ["finished", "partial", "broke"]
39
39
  },
40
+ "stopped": {
41
+ "enum": ["budget", "compare", "precondition", "stage"]
42
+ },
40
43
  "verdicts": {
41
44
  "type": "object",
42
45
  "properties": {
@@ -56,6 +59,10 @@
56
59
  "type": "integer",
57
60
  "minimum": 1
58
61
  },
62
+ "knownFailing": {
63
+ "type": "integer",
64
+ "minimum": 1
65
+ },
59
66
  "none": {
60
67
  "type": "integer",
61
68
  "minimum": 1
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "awf-lab case score",
3
+ "title": "awf-lab trial score",
4
4
  "type": "object",
5
5
  "required": ["kind", "at", "entries"],
6
6
  "properties": {
7
7
  "kind": {
8
8
  "type": "string",
9
- "const": "awf.case-score/1"
9
+ "const": "awf.lab-score/1"
10
10
  },
11
11
  "at": {
12
12
  "type": "string",
@@ -8,7 +8,7 @@
8
8
  "properties": {
9
9
  "kind": {
10
10
  "type": "string",
11
- "const": "awf.case-spread/1"
11
+ "const": "awf.lab-spread/1"
12
12
  },
13
13
  "at": {
14
14
  "type": "string",
@@ -23,17 +23,17 @@
23
23
  },
24
24
  {
25
25
  "type": "object",
26
- "required": ["kind", "at", "runId", "trials", "cases", "verdict", "unsteady", "spend"],
26
+ "required": ["kind", "at", "labRun", "trials", "cases", "decision", "unsteady", "estimate"],
27
27
  "properties": {
28
28
  "kind": {
29
29
  "type": "string",
30
- "const": "awf.case-spread/1"
30
+ "const": "awf.lab-spread/1"
31
31
  },
32
32
  "at": {
33
33
  "type": "string",
34
34
  "minLength": 1
35
35
  },
36
- "runId": {
36
+ "labRun": {
37
37
  "type": "string",
38
38
  "minLength": 1
39
39
  },
@@ -45,7 +45,7 @@
45
45
  "type": "integer",
46
46
  "minimum": 0
47
47
  },
48
- "verdict": {
48
+ "decision": {
49
49
  "anyOf": [
50
50
  {
51
51
  "type": "string",
@@ -99,7 +99,7 @@
99
99
  "additionalProperties": false
100
100
  }
101
101
  },
102
- "spend": {
102
+ "estimate": {
103
103
  "type": "number",
104
104
  "minimum": 0
105
105
  }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "awf-lab case trial",
3
+ "title": "awf-lab trial",
4
4
  "type": "object",
5
5
  "required": [
6
6
  "kind",
7
- "run",
7
+ "labRun",
8
8
  "dataset",
9
9
  "case",
10
10
  "column",
@@ -26,9 +26,9 @@
26
26
  "properties": {
27
27
  "kind": {
28
28
  "type": "string",
29
- "const": "awf.case-trial/1"
29
+ "const": "awf.lab-trial/1"
30
30
  },
31
- "run": {
31
+ "labRun": {
32
32
  "type": "string",
33
33
  "pattern": "^[0-9]{8}-[0-9]{6}-[0-9a-f]{4}$"
34
34
  },
@@ -67,9 +67,9 @@
67
67
  },
68
68
  "reused": {
69
69
  "type": "object",
70
- "required": ["run", "column", "trial"],
70
+ "required": ["labRun", "column", "trial"],
71
71
  "properties": {
72
- "run": {
72
+ "labRun": {
73
73
  "type": "string",
74
74
  "pattern": "^[0-9]{8}-[0-9]{6}-[0-9a-f]{4}$"
75
75
  },
@@ -197,13 +197,13 @@
197
197
  },
198
198
  "limits": {
199
199
  "type": "object",
200
- "required": ["setup", "run", "after"],
200
+ "required": ["setup", "workflow", "after"],
201
201
  "properties": {
202
202
  "setup": {
203
203
  "type": "string",
204
204
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
205
205
  },
206
- "run": {
206
+ "workflow": {
207
207
  "type": "string",
208
208
  "pattern": "^[1-9][0-9]*(ms|s|m|h)$"
209
209
  },
@@ -239,7 +239,7 @@
239
239
  },
240
240
  "additionalProperties": false
241
241
  },
242
- "runId": {
242
+ "trialId": {
243
243
  "type": "string",
244
244
  "minLength": 1
245
245
  },
@@ -2,11 +2,11 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "title": "awf-lab loop's try.json",
4
4
  "type": "object",
5
- "required": ["kind", "n", "at", "parent", "decision", "why", "changed", "spend"],
5
+ "required": ["kind", "n", "at", "parent", "outcome", "why", "changed", "estimate"],
6
6
  "properties": {
7
7
  "kind": {
8
8
  "type": "string",
9
- "const": "awf.case-try/1"
9
+ "const": "awf.lab-try/1"
10
10
  },
11
11
  "n": {
12
12
  "type": "integer",
@@ -20,7 +20,7 @@
20
20
  "type": "integer",
21
21
  "minimum": 0
22
22
  },
23
- "decision": {
23
+ "outcome": {
24
24
  "anyOf": [
25
25
  {
26
26
  "type": "string",
@@ -78,11 +78,11 @@
78
78
  "minLength": 1
79
79
  }
80
80
  },
81
- "runId": {
81
+ "labRun": {
82
82
  "type": "string",
83
83
  "minLength": 1
84
84
  },
85
- "verdict": {
85
+ "decision": {
86
86
  "anyOf": [
87
87
  {
88
88
  "type": "string",
@@ -93,7 +93,7 @@
93
93
  }
94
94
  ]
95
95
  },
96
- "spend": {
96
+ "estimate": {
97
97
  "type": "object",
98
98
  "required": ["proposer", "trials"],
99
99
  "properties": {
package/schema/local.json CHANGED
@@ -31,7 +31,7 @@
31
31
  "eval": {
32
32
  "type": "string",
33
33
  "minLength": 1,
34
- "description": "The eval folder, holding trial.ts and grading.ts, relative to evals/; the folder of the dataset's name when absent."
34
+ "description": "The eval folder, holding target.ts and grading.ts, relative to evals/; the folder of the dataset's name when absent."
35
35
  },
36
36
  "data": {
37
37
  "type": "string",
@@ -46,7 +46,7 @@
46
46
  "minLength": 1
47
47
  }
48
48
  },
49
- "description": "Values over trial.ts's defaults, each a parameter it declares."
49
+ "description": "Values over target.ts's defaults, each a parameter it declares."
50
50
  },
51
51
  "records": {
52
52
  "type": "string",
@@ -118,7 +118,7 @@
118
118
  "minLength": 1
119
119
  }
120
120
  },
121
- "description": "Values over trial.ts's and the dataset entry's, for every trial of the loop."
121
+ "description": "Values over target.ts's and the dataset entry's, for every trial of the loop."
122
122
  },
123
123
  "cases": {
124
124
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  import type { Fact } from "./index";
2
2
 
3
3
  /** What a dataset's `capture.ts` default export carries, checked by the helper that loads it. */
4
- export const CAPTURE_KIND = "awf.case-capture/0";
4
+ export const CAPTURE_KIND = "awf.lab-capture/0";
5
5
 
6
6
  /** A real run of the workflow, as `capture` is given it: its record, read from its folder. */
7
7
  export type CapturedRun = {