GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(evals): device manager cases for mcp-tool-use (#25850) · incognitojam/styal@09a397b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/device
    • DeviceService.ts
  • evals
    • README.md
    • mcp-tool-use
      • README.md
      • agent-device-help.txt
      • cases
        • device-manager.ndjson
      • device-grading.ts
      • devices.test.ts
      • devices.ts
      • run.test.ts
      • run.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/device/DeviceService.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/device/DeviceService.ts
+20-22Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,29 +1232,27 @@ export const make = Effect.gen(function* () {
12321232
configured.set(host.id, { config: host, scope: hostScope });
12331233
continue;
12341234
}
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+
}),
12511249
),
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));
12581256
hosts.set(host.id, instance);
12591257
configured.set(host.id, { config: host, scope: hostScope });
12601258
}
Collapse file

‎evals/README.md‎

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 numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ An eval runs a real model against T3 Code's real text or code and scores what th
44

55
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.
66

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. |
1212

1313
## Run an eval
1414

Collapse file

‎evals/mcp-tool-use/README.md‎

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

‎evals/mcp-tool-use/agent-device-help.txt‎

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

‎evals/mcp-tool-use/cases/device-manager.ndjson‎

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.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.