评测与研究
Jev 和 Microsandbox 使用可复用的 TypeScript 学习工具探索游戏的多种未来可能性。
Jev and Microsandbox explore alternate game futures with a reusable TypeScript learning harness
import type { TypeSafeClient } from '@typesafe-ai/sdk';scripts/evaluation-allowance-smoke.ts:7
链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
取自 examples/doom/server/src/session-jev-trace.test.ts:11
action选项Use measured progress
advance — Walk to the openingleft — Face the passageimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
action: { type: 'choice', instructions: 'Use measured progress',
criteria: { advance: 'Walk to the opening', left: 'Face the passage' } },
},
});