@cogitator-ai/evals 0.13.2 → 0.14.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/README.md +94 -14
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/plugin-evals/execute.d.ts +45 -0
- package/dist/plugin-evals/execute.d.ts.map +1 -0
- package/dist/plugin-evals/execute.js +508 -0
- package/dist/plugin-evals/execute.js.map +1 -0
- package/dist/plugin-evals/files.d.ts +17 -0
- package/dist/plugin-evals/files.d.ts.map +1 -0
- package/dist/plugin-evals/files.js +46 -0
- package/dist/plugin-evals/files.js.map +1 -0
- package/dist/plugin-evals/glob.d.ts +8 -0
- package/dist/plugin-evals/glob.d.ts.map +1 -0
- package/dist/plugin-evals/glob.js +63 -0
- package/dist/plugin-evals/glob.js.map +1 -0
- package/dist/plugin-evals/graders.d.ts +21 -0
- package/dist/plugin-evals/graders.d.ts.map +1 -0
- package/dist/plugin-evals/graders.js +198 -0
- package/dist/plugin-evals/graders.js.map +1 -0
- package/dist/plugin-evals/index.d.ts +4 -0
- package/dist/plugin-evals/index.d.ts.map +1 -0
- package/dist/plugin-evals/index.js +3 -0
- package/dist/plugin-evals/index.js.map +1 -0
- package/dist/plugin-evals/judge.d.ts +33 -0
- package/dist/plugin-evals/judge.d.ts.map +1 -0
- package/dist/plugin-evals/judge.js +73 -0
- package/dist/plugin-evals/judge.js.map +1 -0
- package/dist/plugin-evals/mocks.d.ts +34 -0
- package/dist/plugin-evals/mocks.d.ts.map +1 -0
- package/dist/plugin-evals/mocks.js +373 -0
- package/dist/plugin-evals/mocks.js.map +1 -0
- package/dist/plugin-evals/report.d.ts +4 -0
- package/dist/plugin-evals/report.d.ts.map +1 -0
- package/dist/plugin-evals/report.js +177 -0
- package/dist/plugin-evals/report.js.map +1 -0
- package/dist/plugin-evals/runner.d.ts +23 -0
- package/dist/plugin-evals/runner.d.ts.map +1 -0
- package/dist/plugin-evals/runner.js +582 -0
- package/dist/plugin-evals/runner.js.map +1 -0
- package/dist/plugin-evals/schema.d.ts +179 -0
- package/dist/plugin-evals/schema.d.ts.map +1 -0
- package/dist/plugin-evals/schema.js +194 -0
- package/dist/plugin-evals/schema.js.map +1 -0
- package/dist/plugin-evals/suite.d.ts +40 -0
- package/dist/plugin-evals/suite.d.ts.map +1 -0
- package/dist/plugin-evals/suite.js +476 -0
- package/dist/plugin-evals/suite.js.map +1 -0
- package/dist/plugin-evals/tools.d.ts +42 -0
- package/dist/plugin-evals/tools.d.ts.map +1 -0
- package/dist/plugin-evals/tools.js +136 -0
- package/dist/plugin-evals/tools.js.map +1 -0
- package/dist/plugin-evals/transcript.d.ts +35 -0
- package/dist/plugin-evals/transcript.d.ts.map +1 -0
- package/dist/plugin-evals/transcript.js +149 -0
- package/dist/plugin-evals/transcript.js.map +1 -0
- package/dist/plugin-evals/types.d.ts +378 -0
- package/dist/plugin-evals/types.d.ts.map +1 -0
- package/dist/plugin-evals/types.js +2 -0
- package/dist/plugin-evals/types.js.map +1 -0
- package/dist/reporters/html-format.d.ts +5 -2
- package/dist/reporters/html-format.d.ts.map +1 -1
- package/dist/reporters/html-format.js +6 -3
- package/dist/reporters/html-format.js.map +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Website docs: [Evals](https://cogitator.app/docs/evals), [Datasets](https://cogi
|
|
|
27
27
|
- **Assertions** — threshold, noRegression, custom assertion with auto-detection of lower-is-better metrics
|
|
28
28
|
- **A/B Testing** - EvalComparison with McNemar's test (exact for few discordant pairs), the paired t-test or Wilcoxon signed-rank, Holm's correction across metrics, bootstrap confidence intervals, effect sizes, latency and cost comparisons and pairwise judging
|
|
29
29
|
- **Experiment Tracking** - named runs with metadata saved as versioned run files, a `RunStore` directory of runs, `compareRuns()` with the A/B statistics, per-case regressions and improvements, and warnings when datasets, prompt versions, metrics or judges differ. Agent cases keep the `traceId` and versioned `prompt` of their runs
|
|
30
|
+
- **Plugin Evals** - `experimental_runPluginEvals()` runs a plugin's eval suite in the format of Claude Code's `claude plugin eval`, with and without the plugin, six grader types, MCP mocks and a JSON and HTML report
|
|
30
31
|
- **8 Reporters** - console (colored table), JSON, CSV, JUnit XML, Markdown (pull request comments), self-contained HTML, GitHub Actions annotations and job summary, CI (exit code on failure), plus `reportComparison()` for comparisons
|
|
31
32
|
- **Vitest** - `describeEval` from `@cogitator-ai/evals/vitest` runs a suite as a test file, one test per case plus one for the assertions, and `evalMatchers` from `@cogitator-ai/evals/matchers` (Vitest 5) adds `toHaveCalledTool`, `toFollowTrajectory`, `toHaveRetrieved` and `toScoreAtLeast`
|
|
32
33
|
- **Builder API** — Fluent `EvalBuilder` for composable eval pipelines
|
|
@@ -676,6 +677,83 @@ if (base) {
|
|
|
676
677
|
|
|
677
678
|
---
|
|
678
679
|
|
|
680
|
+
## Plugin Evals
|
|
681
|
+
|
|
682
|
+
Experimental. `experimental_runPluginEvals()` runs a plugin's eval suite in the format of Claude Code's `claude plugin eval`: each case's prompt several times with the plugin loaded (the with-arm) and with no plugin (the without-arm), scores every run with the case's graders and writes `aggregate-result.json` and a self-contained `report.html`. From the command line it is `cogitator plugin eval`. Needs `@cogitator-ai/core`.
|
|
683
|
+
|
|
684
|
+
```typescript
|
|
685
|
+
import { experimental_runPluginEvals } from '@cogitator-ai/evals';
|
|
686
|
+
|
|
687
|
+
const { result, reportFile } = await experimental_runPluginEvals({
|
|
688
|
+
target: './my-plugin',
|
|
689
|
+
llm: { defaultModel: 'anthropic/claude-sonnet-5-5' },
|
|
690
|
+
judgeModel: 'anthropic/claude-haiku-4-5',
|
|
691
|
+
threshold: 0.8,
|
|
692
|
+
maxCostUsd: 5,
|
|
693
|
+
});
|
|
694
|
+
|
|
695
|
+
console.log(result.aggregates.overallScore, result.aggregates.meanDelta, reportFile);
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
A suite lives in `evals/` of the plugin, one directory per case with a `prompt.md` (frontmatter with the run settings, body the prompt) or a `case.yaml`, and graders in `graders/<name>.md` or under `graders:` of `case.yaml`:
|
|
699
|
+
|
|
700
|
+
```text
|
|
701
|
+
my-plugin/
|
|
702
|
+
├── .claude-plugin/plugin.json
|
|
703
|
+
├── skills/commit-message/SKILL.md
|
|
704
|
+
└── evals/
|
|
705
|
+
├── writes-commit-message/
|
|
706
|
+
│ ├── prompt.md
|
|
707
|
+
│ └── graders/
|
|
708
|
+
│ ├── skill-fired.md
|
|
709
|
+
│ └── criteria.md
|
|
710
|
+
└── mocks/<server>/<tool>.md
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
```markdown
|
|
714
|
+
---
|
|
715
|
+
runs: 3
|
|
716
|
+
max_turns: 10
|
|
717
|
+
allowed_tools: [Read, Glob, Grep, Skill]
|
|
718
|
+
---
|
|
719
|
+
|
|
720
|
+
Write me a commit message for this change: I renamed getUser to fetchUser and updated the three call sites.
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
Each run gets a fresh temporary workspace, a new runtime with only the plugin under test (no user or project settings, hooks, memory or other plugins) and only the tools the case may use: the read-only tools its `allowed_tools` lists (`Read`, `Glob`, `Grep`, `Skill`, `Agent`, `TodoWrite` and the rest of Claude Code's read-only set) plus what `allowTools` grants for the whole run, such as `Write` or `Bash(npm test *)`. A tool that is not granted is not given to the model, and runs never stop to ask. Claude Code's tool names map to Cogitator's (`Read` to `read_file`, `Bash` to `run_command`, `Skill` to `use_skill`, `Agent` to `agent`), and graders see the calls under Claude Code's names and input shapes. A `read_skill_file` call keeps its own name, it is not a `Skill` call.
|
|
724
|
+
|
|
725
|
+
The six grader types are `regex` (over `last_message`, `trace`, `files`, `mock_calls` or `{ source: file, path }`), `tool_used`, `tool_order`, `file_exists`, `llm` and `baseline`. The last two ask the judge three times and pass on two PASS votes. A run's score is the weighted share of its graders that passed, a case's score the mean of its with-arm runs, and its delta the with-arm score minus the without-arm score. In a two-arm run, graders that can only pass with the plugin (`tool_used: Skill`, mock call graders of the plugin's own servers, `arm: with-only`) are reported as plugin-fired indicators with `scored: false`.
|
|
726
|
+
|
|
727
|
+
| Option | Default | Description |
|
|
728
|
+
| ------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
729
|
+
| `target` | the working directory | A plugin directory, a `prompt.md` or `case.yaml`, or an installed plugin by name |
|
|
730
|
+
| `llm` | required | The LLM configuration of the runs and the judge: providers, keys, backends, model |
|
|
731
|
+
| `model` | each case's `model`, else `llm.defaultModel` | Model of the agent under test |
|
|
732
|
+
| `judgeModel` | each case's agent model | Model of `llm` and `baseline` graders |
|
|
733
|
+
| `runs` | each case's `runs`, else 3 | Runs per case per arm, 1 to 50 |
|
|
734
|
+
| `concurrency` | 1 | Agent runs at once, 1 to 8. Results keep case order |
|
|
735
|
+
| `ablation` | decided per case | `none` runs the with-arm only, `with-without` adds the baseline to every case |
|
|
736
|
+
| `threshold` | 1 | A case passes when its with-arm score is at least this |
|
|
737
|
+
| `maxCostUsd` | none | Once the cost estimate reaches it no further run starts, and the result is partial |
|
|
738
|
+
| `allowTools` | none | Tools granted beyond the read-only set, as permission rules |
|
|
739
|
+
| `scaffold` | false | Run each case's `context.scaffold_script` |
|
|
740
|
+
| `caseGlob` | none | Only the cases whose name matches |
|
|
741
|
+
| `tags` | none | Only the cases with any of these tags |
|
|
742
|
+
| `evalDir` | `experimental.evals` of `plugin.json`, else `evals` | The eval directory, a relative path of plain directory names such as `./qa`. In `plugin.json` a list takes its first entry |
|
|
743
|
+
| `outputDir` | `<evalDir>/results/<timestamp>/` | Where `aggregate-result.json` and `report.html` go |
|
|
744
|
+
| `keepTemp` | false | Keep every run's temporary directory |
|
|
745
|
+
| `exec` | none | How granted `Bash` commands are spawned, such as a `launch` that adds an OS sandbox |
|
|
746
|
+
| `signal` | none | Stops starting runs: the result is partial, `interrupted` |
|
|
747
|
+
| `onProgress` | none | Hears warnings, each case with its notices, each finished run, and skipped runs |
|
|
748
|
+
|
|
749
|
+
The result, `PluginEvalResult`, is the document written to `aggregate-result.json`: `schemaVersion: 1`, `cogitatorVersion`, `outcome` (`passed`, `failed`, `partial` or `interrupted`), `partial` and `partialReason` (`cost_ceiling`, `interrupted` or `auth_failed`), `aggregates` (`overallScore`, `casesPassed`, `casesTotal`, `meanDelta`, `baselineScore`, `perfectRuns`), `apiErrors`, `loadErrors`, `costUsd`, `durationSeconds`, and `cases[]` with `aggregates.score` and `delta` and every run of `arms.with` and `arms.without` with its `error`, `aborted`, `skippedPaidGraders` and grader results with explanations and judge votes. A suite that cannot start (no plugin, no case, an invalid option) throws `PluginEvalError`, a case that does not load is reported with its `error` and scores 0.
|
|
750
|
+
|
|
751
|
+
Through `cogitator plugin eval` the outcome is the exit code: `0` when every case met the threshold, `1` for a case below it, a case that did not load, a run that ended on a provider error or an invalid or unknown option, `2` for a partial run, `130` when interrupted and `143` when terminated. Claude Code's `--trust-plugin`, `--no-publish`, `--publish-report` and `--mocks record` are accepted and change nothing, `--mocks off` and `--allow-real-servers` exit 1.
|
|
752
|
+
|
|
753
|
+
Supported from Claude Code's format: `prompt.md` and `case.yaml` with every field (an unknown key is an error), `context.scaffold_script`, `context.history_file` (such a case runs one arm by default), `context.add_dirs` (read-only), `env` keys matching `EVAL_[A-Z0-9_]*`, every grader type and option, the exclusion rules of two-arm runs, and `fixed` MCP mocks with `{{input.<field>}}` and `{{file:...}}` substitutions, `expect:` guards, `error: true` and `_tools.json`. Not supported: `type: agent` and `_server.md` mocks (a case that uses the server, through its own `mocks/` or a plugin that declares it, fails to load and names the file, other cases run), `--mocks off` and the plugin's real MCP servers, skills-directory plugins (`name@skills-dir`), images shown to the `llm` judge (a binary file fails the grader), the trust prompt and report publishing. Granted `Bash` commands run in the workspace directory without an OS sandbox unless `exec.launch` adds one, and `env` reaches those commands only. The judge votes at temperature 1 on each case's agent model unless `judgeModel` names another.
|
|
754
|
+
|
|
755
|
+
---
|
|
756
|
+
|
|
679
757
|
## Builder API
|
|
680
758
|
|
|
681
759
|
`EvalBuilder` provides a fluent interface for constructing eval suites.
|
|
@@ -754,20 +832,22 @@ result.report('ci');
|
|
|
754
832
|
|
|
755
833
|
### Core
|
|
756
834
|
|
|
757
|
-
| Export
|
|
758
|
-
|
|
|
759
|
-
| `EvalSuite`
|
|
760
|
-
| `EvalComparison`
|
|
761
|
-
| `calibrateJudge`
|
|
762
|
-
| `EvalBuilder`
|
|
763
|
-
| `compareRuns`
|
|
764
|
-
| `RunStore`
|
|
765
|
-
| `loadRun`
|
|
766
|
-
| `caseKey`
|
|
767
|
-
| `Dataset`
|
|
768
|
-
| `loadJsonl`
|
|
769
|
-
| `loadCsv`
|
|
770
|
-
| `isLLMMetric`
|
|
835
|
+
| Export | Description |
|
|
836
|
+
| ----------------------------- | ------------------------------------------------------------------- |
|
|
837
|
+
| `EvalSuite` | Main evaluation runner |
|
|
838
|
+
| `EvalComparison` | A/B testing runner with statistical significance |
|
|
839
|
+
| `calibrateJudge` | Agreement of a judge metric with labelled examples |
|
|
840
|
+
| `EvalBuilder` | Fluent builder for EvalSuite |
|
|
841
|
+
| `compareRuns` | Compares two saved runs or suite results case by case |
|
|
842
|
+
| `RunStore` | Directory of run files: save, list, load, latest |
|
|
843
|
+
| `loadRun` | Reads and validates a run file |
|
|
844
|
+
| `caseKey` | The key a case is matched by across runs |
|
|
845
|
+
| `Dataset` | Immutable dataset with from/fromJsonl/fromCsv/filter/sample/shuffle |
|
|
846
|
+
| `loadJsonl` | Low-level JSONL file loader |
|
|
847
|
+
| `loadCsv` | Low-level CSV file loader |
|
|
848
|
+
| `isLLMMetric` | Type guard: checks if a `MetricFn` is an `LLMMetricFn` |
|
|
849
|
+
| `experimental_runPluginEvals` | Runs a plugin's eval suite, Claude Code's plugin eval format |
|
|
850
|
+
| `PluginEvalError` | Thrown when a plugin eval run cannot start |
|
|
771
851
|
|
|
772
852
|
### Metrics
|
|
773
853
|
|
package/dist/index.d.ts
CHANGED
|
@@ -49,5 +49,7 @@ export { pearson, spearman } from './stats/correlation.js';
|
|
|
49
49
|
export { mean, median, stdDev, percentile, aggregate } from './stats/percentiles.js';
|
|
50
50
|
export type { EvalCase, ExpectedToolCall, EvalSuiteConfig, JudgeConfig, JudgeConfigInput, JudgeCache, JudgeCogitator, EvalComparisonConfig, } from './schema.js';
|
|
51
51
|
export { createRunEvalTool, evalTools } from './tools.js';
|
|
52
|
+
export { experimental_runPluginEvals, PluginEvalError } from './plugin-evals/index.js';
|
|
53
|
+
export type { PluginEvalAblation, PluginEvalAbort, PluginEvalArm, PluginEvalBaselineGrader, PluginEvalCaseAggregates, PluginEvalCaseResult, PluginEvalExpectation, PluginEvalExpectType, PluginEvalFileExistsGrader, PluginEvalGrader, PluginEvalGraderResult, PluginEvalLlmGrader, PluginEvalMockCall, PluginEvalOptions, PluginEvalOutcome, PluginEvalPartialReason, PluginEvalProgressEvent, PluginEvalRegexGrader, PluginEvalReport, PluginEvalResult, PluginEvalRunResult, PluginEvalTarget, PluginEvalToolCall, PluginEvalToolMatcher, PluginEvalToolOrderGrader, PluginEvalToolUsedGrader, PluginEvalVote, } from './plugin-evals/index.js';
|
|
52
54
|
export type { EvalTool } from './tools.js';
|
|
53
55
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,EAAE,MAA4B,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACtD,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,E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E,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAElF,YAAY,EACV,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,oBAAoB,GACrB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC9E,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -32,4 +32,5 @@ export { holm } from './stats/holm.js';
|
|
|
32
32
|
export { pearson, spearman } from './stats/correlation.js';
|
|
33
33
|
export { mean, median, stdDev, percentile, aggregate } from './stats/percentiles.js';
|
|
34
34
|
export { createRunEvalTool, evalTools } from './tools.js';
|
|
35
|
+
export { experimental_runPluginEvals, PluginEvalError } from './plugin-evals/index.js';
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 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M,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG9F,OAAO,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,WAAW,EACX,aAAa,EACb,eAAe,EACf,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAoBhB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAalF,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CogitatorConfig } from '@cogitator-ai/core';
|
|
2
|
+
import type { RunCapture } from './graders.js';
|
|
3
|
+
import { type ToolGrant } from './tools.js';
|
|
4
|
+
import type { PluginEvalAbort, PluginEvalArm, PluginEvalCase, PluginEvalOptions } from './types.js';
|
|
5
|
+
type Core = typeof import('@cogitator-ai/core');
|
|
6
|
+
/** How one run goes: the case, its arm and what the run may use */
|
|
7
|
+
export interface RunSpec {
|
|
8
|
+
core: Core;
|
|
9
|
+
case: PluginEvalCase;
|
|
10
|
+
arm: PluginEvalArm;
|
|
11
|
+
llm: CogitatorConfig['llm'];
|
|
12
|
+
model: string | undefined;
|
|
13
|
+
grants: readonly ToolGrant[];
|
|
14
|
+
/** The MCP servers each plugin of the case declares, by plugin name */
|
|
15
|
+
pluginServers: ReadonlyMap<string, ReadonlySet<string>>;
|
|
16
|
+
scaffold: boolean;
|
|
17
|
+
exec: PluginEvalOptions['exec'];
|
|
18
|
+
keepTemp: boolean;
|
|
19
|
+
signal: AbortSignal;
|
|
20
|
+
}
|
|
21
|
+
/** How a run ended and what it left for its graders */
|
|
22
|
+
export interface RunOutcome {
|
|
23
|
+
/** What the graders read, absent when the run is not graded */
|
|
24
|
+
capture?: RunCapture;
|
|
25
|
+
error: string | null;
|
|
26
|
+
apiError?: boolean;
|
|
27
|
+
authFailed?: boolean;
|
|
28
|
+
interrupted?: boolean;
|
|
29
|
+
aborted?: PluginEvalAbort;
|
|
30
|
+
costUsd: number;
|
|
31
|
+
durationSeconds: number;
|
|
32
|
+
tempDir?: string;
|
|
33
|
+
/** Removes the run's temporary directory unless it is kept */
|
|
34
|
+
cleanup(): void;
|
|
35
|
+
}
|
|
36
|
+
/** The tool name of a mocked MCP tool: `mcp__plugin_<plugin>_<server>__<tool>` for a plugin's server */
|
|
37
|
+
export declare function mockToolName(plugin: string | undefined, server: string, tool: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* Runs the case once in a fresh temporary workspace: the scaffold, the read-only fixture
|
|
40
|
+
* directories, an agent with the granted tools and, in the with-arm, the case's plugins. The run
|
|
41
|
+
* never stops to ask: what is not granted is not given
|
|
42
|
+
*/
|
|
43
|
+
export declare function executeRun(spec: RunSpec): Promise<RunOutcome>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMapp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