@united-workforce/eval 0.1.6 → 0.2.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 +13 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +41 -26
- package/dist/commands/run.js.map +1 -1
- package/package.json +10 -10
- package/src/commands/run.ts +41 -26
- package/LICENSE +0 -21
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @united-workforce/eval
|
|
2
|
+
|
|
3
|
+
Evaluation harness for workflow runs. Installs the `uwf-eval` CLI binary.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
uwf-eval run <task-dir> [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Debugging
|
|
12
|
+
|
|
13
|
+
`uwf-eval run` now cleans up `/tmp` workdirs after each run. Use `--keep-workdir` to retain them for debugging.
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
{"hash":"a185a72834e0bc03535f8eb1205c4670a48cdfe4f836cb10006da5b0dfe8c706","outputs":["cli.d.ts","cli.d.ts.map","cli.js","cli.js.map","commands/diff.d.ts","commands/diff.d.ts.map","commands/diff.js","commands/diff.js.map","commands/format.d.ts","commands/format.d.ts.map","commands/format.js","commands/format.js.map","commands/index.d.ts","commands/index.d.ts.map","commands/index.js","commands/index.js.map","commands/list.d.ts","commands/list.d.ts.map","commands/list.js","commands/list.js.map","commands/read.d.ts","commands/read.d.ts.map","commands/read.js","commands/read.js.map","commands/report.d.ts","commands/report.d.ts.map","commands/report.js","commands/report.js.map","commands/run.d.ts","commands/run.d.ts.map","commands/run.js","commands/run.js.map","commands/types.d.ts","commands/types.d.ts.map","commands/types.js","commands/types.js.map","index.d.ts","index.d.ts.map","index.js","index.js.map","judge/builtin/frontmatter.d.ts","judge/builtin/frontmatter.d.ts.map","judge/builtin/frontmatter.js","judge/builtin/frontmatter.js.map","judge/builtin/hallucination.d.ts","judge/builtin/hallucination.d.ts.map","judge/builtin/hallucination.js","judge/builtin/hallucination.js.map","judge/builtin/index.d.ts","judge/builtin/index.d.ts.map","judge/builtin/index.js","judge/builtin/index.js.map","judge/builtin/read-steps.d.ts","judge/builtin/read-steps.d.ts.map","judge/builtin/read-steps.js","judge/builtin/read-steps.js.map","judge/builtin/token-stats.d.ts","judge/builtin/token-stats.d.ts.map","judge/builtin/token-stats.js","judge/builtin/token-stats.js.map","judge/builtin/types.d.ts","judge/builtin/types.d.ts.map","judge/builtin/types.js","judge/builtin/types.js.map","judge/builtin/upstream.d.ts","judge/builtin/upstream.d.ts.map","judge/builtin/upstream.js","judge/builtin/upstream.js.map","judge/index.d.ts","judge/index.d.ts.map","judge/index.js","judge/index.js.map","judge/types.d.ts","judge/types.d.ts.map","judge/types.js","judge/types.js.map","runner/collect.d.ts","runner/collect.d.ts.map","runner/collect.js","runner/collect.js.map","runner/execute.d.ts","runner/execute.d.ts.map","runner/execute.js","runner/execute.js.map","runner/index.d.ts","runner/index.d.ts.map","runner/index.js","runner/index.js.map","runner/prepare.d.ts","runner/prepare.d.ts.map","runner/prepare.js","runner/prepare.js.map","runner/types.d.ts","runner/types.d.ts.map","runner/types.js","runner/types.js.map","storage/index.d.ts","storage/index.d.ts.map","storage/index.js","storage/index.js.map","storage/schemas.d.ts","storage/schemas.d.ts.map","storage/schemas.js","storage/schemas.js.map","storage/store.d.ts","storage/store.d.ts.map","storage/store.js","storage/store.js.map","storage/types.d.ts","storage/types.d.ts.map","storage/types.js","storage/types.js.map","task/index.d.ts","task/index.d.ts.map","task/index.js","task/index.js.map","task/loader.d.ts","task/loader.d.ts.map","task/loader.js","task/loader.js.map","task/types.d.ts","task/types.d.ts.map","task/types.js","task/types.js.map"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA6DzC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkCzD"}
|
package/dist/commands/run.js
CHANGED
|
@@ -1,40 +1,55 @@
|
|
|
1
|
+
import { rm } from "node:fs/promises";
|
|
1
2
|
import { resolve } from "node:path";
|
|
3
|
+
import { createLogger } from "@united-workforce/util";
|
|
2
4
|
import { collect, execute, getEngineVersion, prepare } from "../runner/index.js";
|
|
3
5
|
import { createEvalStore } from "../storage/index.js";
|
|
4
|
-
|
|
6
|
+
const log = createLogger({ sink: { kind: "stderr" } });
|
|
7
|
+
const LOG_CLEANUP = "EVC1NP7Q";
|
|
8
|
+
async function runOnce(taskDir, agent, model, engineVersion, keepWorkdir) {
|
|
5
9
|
const prepared = await prepare(taskDir);
|
|
6
10
|
const { manifest, workDir } = prepared;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
11
|
+
try {
|
|
12
|
+
const { threadId } = await execute({
|
|
13
|
+
workDir,
|
|
14
|
+
workflow: manifest.workflow,
|
|
15
|
+
prompt: manifest.prompt,
|
|
16
|
+
agent,
|
|
17
|
+
maxSteps: manifest.limits.maxSteps,
|
|
18
|
+
});
|
|
19
|
+
const evalStore = await createEvalStore();
|
|
20
|
+
const config = { agent, model, engineVersion };
|
|
21
|
+
const collected = await collect({
|
|
22
|
+
evalStore,
|
|
23
|
+
taskDir: prepared.taskDir,
|
|
24
|
+
workDir,
|
|
25
|
+
threadId,
|
|
26
|
+
manifest,
|
|
27
|
+
config,
|
|
28
|
+
});
|
|
29
|
+
return {
|
|
30
|
+
runHash: collected.runHash,
|
|
31
|
+
overall: collected.overall,
|
|
32
|
+
task: manifest.name,
|
|
33
|
+
judges: collected.judges,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
finally {
|
|
37
|
+
if (keepWorkdir) {
|
|
38
|
+
log(LOG_CLEANUP, `keeping workDir: ${workDir}`);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
await rm(workDir, { recursive: true, force: true });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
30
44
|
}
|
|
31
45
|
export function registerRunCommand(program) {
|
|
32
46
|
program
|
|
33
47
|
.command("run <task>")
|
|
34
48
|
.description("Run eval on a task directory or tarball")
|
|
35
|
-
.option("--agent <name>", "agent adapter to use", "uwf-
|
|
49
|
+
.option("--agent <name>", "agent adapter to use", "uwf-builtin")
|
|
36
50
|
.option("--model <model>", "model override")
|
|
37
51
|
.option("--count <n>", "number of eval runs", "1")
|
|
52
|
+
.option("--keep-workdir", "keep the temporary workDir after run (for debugging)", false)
|
|
38
53
|
.action(async (task, opts) => {
|
|
39
54
|
const taskDir = resolve(task);
|
|
40
55
|
const agent = opts.agent;
|
|
@@ -49,7 +64,7 @@ export function registerRunCommand(program) {
|
|
|
49
64
|
try {
|
|
50
65
|
const results = [];
|
|
51
66
|
for (let i = 0; i < count; i++) {
|
|
52
|
-
results.push(await runOnce(taskDir, agent, model, engineVersion));
|
|
67
|
+
results.push(await runOnce(taskDir, agent, model, engineVersion, opts.keepWorkdir));
|
|
53
68
|
}
|
|
54
69
|
const output = count === 1 ? results[0] : results;
|
|
55
70
|
process.stdout.write(`${JSON.stringify(output)}\n`);
|
package/dist/commands/run.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.js","sourceRoot":"","sources":["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6
|
"src",
|
|
@@ -17,13 +17,17 @@
|
|
|
17
17
|
"import": "./dist/index.js"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "vitest run __tests__/",
|
|
22
|
+
"test:ci": "vitest run __tests__/"
|
|
23
|
+
},
|
|
20
24
|
"dependencies": {
|
|
21
25
|
"@ocas/core": "^0.5.0",
|
|
22
26
|
"@ocas/fs": "^0.4.1",
|
|
27
|
+
"@united-workforce/protocol": "workspace:^",
|
|
28
|
+
"@united-workforce/util": "workspace:^",
|
|
23
29
|
"commander": "^14.0.3",
|
|
24
|
-
"yaml": "^2.9.0"
|
|
25
|
-
"@united-workforce/protocol": "^0.3.0",
|
|
26
|
-
"@united-workforce/util": "^0.2.0"
|
|
30
|
+
"yaml": "^2.9.0"
|
|
27
31
|
},
|
|
28
32
|
"devDependencies": {
|
|
29
33
|
"typescript": "^5.8.3"
|
|
@@ -37,9 +41,5 @@
|
|
|
37
41
|
"bugs": {
|
|
38
42
|
"url": "https://git.shazhou.work/shazhou/united-workforce/issues"
|
|
39
43
|
},
|
|
40
|
-
"license": "MIT"
|
|
41
|
-
|
|
42
|
-
"test": "vitest run __tests__/",
|
|
43
|
-
"test:ci": "vitest run __tests__/"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
44
|
+
"license": "MIT"
|
|
45
|
+
}
|
package/src/commands/run.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
import { rm } from "node:fs/promises";
|
|
1
2
|
import { resolve } from "node:path";
|
|
2
|
-
|
|
3
|
+
import { createLogger } from "@united-workforce/util";
|
|
3
4
|
import type { Command } from "commander";
|
|
4
5
|
import type { RunResult } from "../runner/index.js";
|
|
5
6
|
import { collect, execute, getEngineVersion, prepare } from "../runner/index.js";
|
|
6
7
|
import type { EvalRunConfig } from "../storage/index.js";
|
|
7
8
|
import { createEvalStore } from "../storage/index.js";
|
|
8
9
|
|
|
10
|
+
const log = createLogger({ sink: { kind: "stderr" } });
|
|
11
|
+
const LOG_CLEANUP = "EVC1NP7Q";
|
|
12
|
+
|
|
9
13
|
type RunCliOptions = {
|
|
10
14
|
agent: string;
|
|
11
15
|
model: string | undefined;
|
|
12
16
|
count: string;
|
|
17
|
+
keepWorkdir: boolean;
|
|
13
18
|
};
|
|
14
19
|
|
|
15
20
|
async function runOnce(
|
|
@@ -17,44 +22,54 @@ async function runOnce(
|
|
|
17
22
|
agent: string,
|
|
18
23
|
model: string,
|
|
19
24
|
engineVersion: string,
|
|
25
|
+
keepWorkdir: boolean,
|
|
20
26
|
): Promise<RunResult> {
|
|
21
27
|
const prepared = await prepare(taskDir);
|
|
22
28
|
const { manifest, workDir } = prepared;
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
try {
|
|
31
|
+
const { threadId } = await execute({
|
|
32
|
+
workDir,
|
|
33
|
+
workflow: manifest.workflow,
|
|
34
|
+
prompt: manifest.prompt,
|
|
35
|
+
agent,
|
|
36
|
+
maxSteps: manifest.limits.maxSteps,
|
|
37
|
+
});
|
|
31
38
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
const evalStore = await createEvalStore();
|
|
40
|
+
const config: EvalRunConfig = { agent, model, engineVersion };
|
|
41
|
+
const collected = await collect({
|
|
42
|
+
evalStore,
|
|
43
|
+
taskDir: prepared.taskDir,
|
|
44
|
+
workDir,
|
|
45
|
+
threadId,
|
|
46
|
+
manifest,
|
|
47
|
+
config,
|
|
48
|
+
});
|
|
42
49
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
return {
|
|
51
|
+
runHash: collected.runHash,
|
|
52
|
+
overall: collected.overall,
|
|
53
|
+
task: manifest.name,
|
|
54
|
+
judges: collected.judges,
|
|
55
|
+
};
|
|
56
|
+
} finally {
|
|
57
|
+
if (keepWorkdir) {
|
|
58
|
+
log(LOG_CLEANUP, `keeping workDir: ${workDir}`);
|
|
59
|
+
} else {
|
|
60
|
+
await rm(workDir, { recursive: true, force: true });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
49
63
|
}
|
|
50
64
|
|
|
51
65
|
export function registerRunCommand(program: Command): void {
|
|
52
66
|
program
|
|
53
67
|
.command("run <task>")
|
|
54
68
|
.description("Run eval on a task directory or tarball")
|
|
55
|
-
.option("--agent <name>", "agent adapter to use", "uwf-
|
|
69
|
+
.option("--agent <name>", "agent adapter to use", "uwf-builtin")
|
|
56
70
|
.option("--model <model>", "model override")
|
|
57
71
|
.option("--count <n>", "number of eval runs", "1")
|
|
72
|
+
.option("--keep-workdir", "keep the temporary workDir after run (for debugging)", false)
|
|
58
73
|
.action(async (task: string, opts: RunCliOptions) => {
|
|
59
74
|
const taskDir = resolve(task);
|
|
60
75
|
const agent = opts.agent;
|
|
@@ -71,7 +86,7 @@ export function registerRunCommand(program: Command): void {
|
|
|
71
86
|
try {
|
|
72
87
|
const results: RunResult[] = [];
|
|
73
88
|
for (let i = 0; i < count; i++) {
|
|
74
|
-
results.push(await runOnce(taskDir, agent, model, engineVersion));
|
|
89
|
+
results.push(await runOnce(taskDir, agent, model, engineVersion, opts.keepWorkdir));
|
|
75
90
|
}
|
|
76
91
|
const output = count === 1 ? results[0] : results;
|
|
77
92
|
process.stdout.write(`${JSON.stringify(output)}\n`);
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 United Workforce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|