Benchmarks & research

jev-playground

@mizchi17TypeScriptupdated 2026-09-19runnable

TypeSafe AI の System One モデル Jev を MoonBit から触るためのプレイグラウンド。

mizchi/jev-playground

Where it calls Jev

this.baseUrl = baseUrl ?? process.env.TYPESAFEAI_BASE_URL ?? "https://api.typesafe.ai";

jevlang-js/src/jev.mjs:11

The link points at the commit we read, so the line number still holds.

What it asks Jev

These question sets are lifted from this project's source exactly as written.

from experiments/browser-chaos/src/jev-driver.ts:85

  1. stucktrue/false

    This page is a dead end for the goal.

  2. destructivetrue/false

    The chosen candidate would undo progress already made (emptying a cart, deleting an account, logging out).

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    stuck: { type: 'boolean', instructions: 'This page is a dead end for the goal.' },
    destructive: { type: 'boolean', instructions: 'The chosen candidate would undo progress already made (emptying a cart, deleting an account, logging out).' },
  },
});

from experiments/browser-chaos/src/spa-bench.ts:203

  1. undotrue/false

    The control you chose would undo progress already made — emptying a cart, deleting an account, going back a step.

  2. dead_endtrue/false

    Nothing on this screen advances the goal.

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    undo: { type: 'boolean', instructions: 'The control you chose would undo progress already made — emptying a cart, deleting an account, going back a step.' },
    dead_end: { type: 'boolean', instructions: 'Nothing on this screen advances the goal.' },
  },
});

from experiments/skill-suggestion/src/suggest.ts:53

  1. acts_on_worldtrue/false

    Is the assistant being asked to act on the user's files, accounts, devices, or online services, rather than only to explain or advise?

  2. needs_proceduretrue/false

    Would a careful expert answering this consult a specific documented procedure or set of commands, rather than general understanding?

  3. generalist_sufficestrue/false

    Could a knowledgeable generalist fully satisfy this request in prose, with no tools or access?

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    acts_on_world: { type: 'boolean', instructions: 'Is the assistant being asked to act on the user\'s files, accounts, devices, or online services, rather than only to explain or advise?' },
    needs_procedure: { type: 'boolean', instructions: 'Would a careful expert answering this consult a specific documented procedure or set of commands, rather than general understanding?' },
    generalist_suffices: { type: 'boolean', instructions: 'Could a knowledgeable generalist fully satisfy this request in prose, with no tools or access?' },
  },
});

from hooks/jev-permission-gate.mjs:150

  1. destructivetrue/false

    This command destroys or overwrites data.

  2. irreversibletrue/false

    The effect cannot be undone.

  3. outside_projecttrue/false

    It touches things outside the current project directory.

  4. obfuscatedtrue/false

    The command hides what it actually does.

  5. privilegedtrue/false

    It runs with elevated privileges.

  6. affects_otherstrue/false

    It could affect other people or production systems.

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    destructive: { type: 'boolean', instructions: 'This command destroys or overwrites data.' },
    irreversible: { type: 'boolean', instructions: 'The effect cannot be undone.' },
    outside_project: { type: 'boolean', instructions: 'It touches things outside the current project directory.' },
    obfuscated: { type: 'boolean', instructions: 'The command hides what it actually does.' },
    privileged: { type: 'boolean', instructions: 'It runs with elevated privileges.' },
    affects_others: { type: 'boolean', instructions: 'It could affect other people or production systems.' },
  },
});

Other projects in this category