@agentv/core 4.17.1 → 4.19.0-next.1

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.
@@ -162,7 +162,7 @@ function isJsonValue(value) {
162
162
  }
163
163
  return false;
164
164
  }
165
- var EVALUATOR_KIND_VALUES = [
165
+ var GRADER_KIND_VALUES = [
166
166
  "code-grader",
167
167
  "llm-grader",
168
168
  "rubric",
@@ -188,9 +188,9 @@ var EVALUATOR_KIND_VALUES = [
188
188
  "rubrics",
189
189
  "inline-assert"
190
190
  ];
191
- var EVALUATOR_KIND_SET = new Set(EVALUATOR_KIND_VALUES);
192
- function isEvaluatorKind(value) {
193
- return typeof value === "string" && EVALUATOR_KIND_SET.has(value);
191
+ var GRADER_KIND_SET = new Set(GRADER_KIND_VALUES);
192
+ function isGraderKind(value) {
193
+ return typeof value === "string" && GRADER_KIND_SET.has(value);
194
194
  }
195
195
 
196
196
  // src/evaluation/loaders/case-file-loader.ts
@@ -844,7 +844,7 @@ function validateAssertArray(assertField, parentLocation, filePath, errors, cust
844
844
  continue;
845
845
  }
846
846
  const typeValue = rawTypeValue.replace(/_/g, "-");
847
- if (!isEvaluatorKind(typeValue) && !customAssertionTypes.has(typeValue)) {
847
+ if (!isGraderKind(typeValue) && !customAssertionTypes.has(typeValue)) {
848
848
  errors.push({
849
849
  severity: "warning",
850
850
  filePath,