Games & simulation
Chakravyuha — a polar ring-maze where every move is a Jev (TypeSafe System One) decision. A fun experiment: the model picks each move, the walk grades it green or red, and the history page asks whether its confidence score can be trusted. BYOK, no build step.
// direct POST https://api.typesafe.ai/v1/systemone withThe link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
from test/helpers.mjs:63
next_movechoiceWhich move is the FIRST move of a shortest route from Abhimanyu to the centre?
inward — ring 3 → ring 2, same sectoroutward — ring 3 → ring 2, same sectorclockwise — sector 0 → sector 1, same ringimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
next_move: { type: 'choice', instructions: 'Which move is the FIRST move of a shortest route from Abhimanyu to the centre?',
criteria: { inward: 'ring 3 → ring 2, same sector', outward: 'ring 3 → ring 2, same sector', clockwise: 'sector 0 → sector 1, same ring' } },
},
});