护栏与审查
基于 TypeSafe 的 Jev 实现模糊代码检查,帮助你审视代码质量。
typesafe's jev as a "fuzzy linter". give your code an ocular patdown.
/** Choice question body for POST /v1/systemone. Labels map to descriptions. */packages/patdown-jev/src/jev-choice-schema.ts:3
链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
取自 scripts/probe-jev-input-size.mjs:41
noul是/否Does this diff add console.log debugging statements?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
noul: { type: 'boolean', instructions: 'Does this diff add console.log debugging statements?' },
},
});