GeezerVison is showing github.com — test(evals): device manager cases for mcp-tool-use (#25850) · incognitojam/styal@09a397b
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: apps/server/src/device/DeviceService.ts +20-22Lines changed: 20 additions & 22 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1232,29 +1232,27 @@ export const make = Effect.gen(function* () { | 1232 | 1232 | configured.set(host.id, { config: host, scope: hostScope }); | 1233 | 1233 | continue; | 1234 | 1234 | } | 1235 | | - const instance = yield* ( | 1236 | | - "environmentId" in host | 1237 | | - ? EnvironmentDeviceHost.make(host) | 1238 | | - : SshDeviceHost.make( | 1239 | | - host, | 1240 | | - (ready) => | 1241 | | - configureAgent(host.id, ready.agentDevice!).pipe( | 1242 | | - Effect.asVoid, | 1243 | | - Effect.mapError( | 1244 | | - (error) => | 1245 | | - new DeviceHost.DeviceHostError({ | 1246 | | - hostId: host.id, | 1247 | | - step: "configuring agent access", | 1248 | | - cause: error, | 1249 | | - }), | 1250 | | - ), | | 1235 | + const instance = yield* "environmentId" in host | | 1236 | + ? EnvironmentDeviceHost.make(host).pipe(Effect.provideService(Scope.Scope, hostScope)) | | 1237 | + : SshDeviceHost.make( | | 1238 | + host, | | 1239 | + (ready) => | | 1240 | + configureAgent(host.id, ready.agentDevice!).pipe( | | 1241 | + Effect.asVoid, | | 1242 | + Effect.mapError( | | 1243 | + (error) => | | 1244 | + new DeviceHost.DeviceHostError({ | | 1245 | + hostId: host.id, | | 1246 | + step: "configuring agent access", | | 1247 | + cause: error, | | 1248 | + }), | 1251 | 1249 | ), | 1252 | | - (status, detail) => | 1253 | | - service | 1254 | | - .setHostStatus(host.id, { status, ...(detail ? { detail } : {}) }) | 1255 | | - .pipe(Effect.asVoid), | 1256 | | - ).pipe(Effect.provide(hostContext)) | 1257 | | - ).pipe(Effect.provideService(Scope.Scope, hostScope)); | | 1250 | + ), | | 1251 | + (status, detail) => | | 1252 | + service | | 1253 | + .setHostStatus(host.id, { status, ...(detail ? { detail } : {}) }) | | 1254 | + .pipe(Effect.asVoid), | | 1255 | + ).pipe(Effect.provide(hostContext), Effect.provideService(Scope.Scope, hostScope)); | 1258 | 1256 | hosts.set(host.id, instance); | 1259 | 1257 | configured.set(host.id, { config: host, scope: hostScope }); | 1260 | 1258 | } | |
Collapse file Copy file name to clipboardExpand all lines: evals/README.md +5-5Lines changed: 5 additions & 5 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,11 +4,11 @@ An eval runs a real model against T3 Code's real text or code and scores what th | 4 | 4 |
| 5 | 5 | Write or run an eval when a change affects what a model sees or does: agent instructions, MCP tool descriptions and schemas, tool results, generated titles, or the guidance an agent gets for a feature such as Device Manager. | 6 | 6 |
| 7 | | -| Eval | Measures | | 8 | | -| ------------------------------- | --------------------------------------------------------------------------- | | 9 | | -| [mcp-tool-use](mcp-tool-use/) | Whether agents use T3's MCP tools correctly in fake threads. | | 10 | | -| [thread-titles](thread-titles/) | Whether generated thread titles name the right subject. | | 11 | | -| [test-signal](test-signal/) | Whether a cheap model running the test-signal check flags low-signal tests. | | | 7 | +| Eval | Measures | | | 8 | +| ------------------------------- | ---------------------------------------------------------------------------------------------------- | | | 9 | +| [mcp-tool-use](mcp-tool-use/) | Whether agents use T3's MCP tools correctly, including device routing and recovery, in fake threads. | | | 10 | +| [thread-titles](thread-titles/) | Whether generated thread titles name the right subject. | | | 11 | +| [test-signal](test-signal/) | Whether a cheap model running the test-signal check flags low-signal tests. | | 12 | 12 |
| 13 | 13 | ## Run an eval | 14 | 14 |
| |
Collapse file Copy file name to clipboardExpand all lines: evals/mcp-tool-use/README.md +81-2Lines changed: 81 additions & 2 deletions - Display the source diff
- Display the rich diff
Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: evals/mcp-tool-use/agent-device-help.txt +262Lines changed: 262 additions & 0 deletions Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: evals/mcp-tool-use/cases/device-manager.ndjson +16Lines changed: 16 additions & 0 deletions Large diffs are not rendered by default.
|