评测与研究

Jevs-Garage

@JGalego1Python更新于 2026-09-19可当场跑

一个包含多个小实验的车库,用于用 System One 和 Jev 构建关键系统。

英文原文

A garage full of tiny experiments for building critical systems with System One & Jev 🔧🧠⚡

JGalego/Jevs-Garage

它在哪儿调用了 Jev

from typesafe_sdk import (

src/jevs_garage/gallery.py:24

链接指向我们抓取当天的那个 commit,行号是准的。

它问 Jev 的问题

下面是从这个项目源码里原样取出来的 question 组合。

取自 berserk/global-payment-incident/demo.py:54

  1. failure_domain选项

    Identify the dominant failure domain supported by the complete incident snapshot.

    • application_releaseThe active application release is the primary causal factor.
    • payment_providerAn external payment provider is the primary causal factor.
    • routing_configurationRouting or timeout configuration is the primary causal factor.
    • capacityInternal capacity exhaustion is the primary causal factor.
    • multi_factorSeveral coupled causes prevent a single dominant attribution.
    • unknownEvidence is insufficient for stable attribution.
  2. customer_impact打分

    Score current customer and financial impact.

    • 0contained
    • 1minor
    • 2material
    • 3major
    • 4systemic
  3. systemic_outage是/否

    Is this a multi-region, customer-visible payment outage requiring incident command?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    failure_domain: { type: 'choice', instructions: 'Identify the dominant failure domain supported by the complete incident snapshot.',
      criteria: { application_release: 'The active application release is the primary causal factor.', payment_provider: 'An external payment provider is the primary causal factor.', routing_configuration: 'Routing or timeout configuration is the primary causal factor.', capacity: 'Internal capacity exhaustion is the primary causal factor.', multi_factor: 'Several coupled causes prevent a single dominant attribution.', unknown: 'Evidence is insufficient for stable attribution.' } },
    customer_impact: { type: 'score', instructions: 'Score current customer and financial impact.',
      criteria: ['contained', 'minor', 'material', 'major', 'systemic'] },
    systemic_outage: { type: 'boolean', instructions: 'Is this a multi-region, customer-visible payment outage requiring incident command?' },
  },
});

取自 berserk/global-payment-incident/demo.py:86

  1. change_risk打分

    Score the blast radius and reversibility risk of the selected intervention.

    • 0minimal
    • 1low
    • 2moderate
    • 3high
    • 4unacceptable
  2. evidence_sufficient是/否

    Is the evidence sufficient for operators to consider the selected intervention now?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    change_risk: { type: 'score', instructions: 'Score the blast radius and reversibility risk of the selected intervention.',
      criteria: ['minimal', 'low', 'moderate', 'high', 'unacceptable'] },
    evidence_sufficient: { type: 'boolean', instructions: 'Is the evidence sufficient for operators to consider the selected intervention now?' },
  },
});

取自 berserk/infinity-of-jevs/demo.py:58

  1. position选项

    Choose the seismic hazard interpretation best supported by the source and prior consensus.

    • backgroundActivity is consistent with ordinary global background seismicity.
    • elevated_clusterA meaningful cluster or sequence warrants focused monitoring.
    • major_eventA major event creates credible disruption potential.
    • unclearThe evidence cannot support a stable hazard interpretation.
  2. strength打分

    Score the operational strength of the seismic hazard signal.

    • 0negligible
    • 1weak
    • 2moderate
    • 3strong
    • 4extreme
  3. supported是/否

    Is this hazard interpretation directly supported by the supplied events?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    position: { type: 'choice', instructions: 'Choose the seismic hazard interpretation best supported by the source and prior consensus.',
      criteria: { background: 'Activity is consistent with ordinary global background seismicity.', elevated_cluster: 'A meaningful cluster or sequence warrants focused monitoring.', major_event: 'A major event creates credible disruption potential.', unclear: 'The evidence cannot support a stable hazard interpretation.' } },
    strength: { type: 'score', instructions: 'Score the operational strength of the seismic hazard signal.',
      criteria: ['negligible', 'weak', 'moderate', 'strong', 'extreme'] },
    supported: { type: 'boolean', instructions: 'Is this hazard interpretation directly supported by the supplied events?' },
  },
});

取自 berserk/infinity-of-jevs/demo.py:77

  1. position选项

    Choose the plausible exposure pattern after considering hazard and prior-round evidence.

    • remoteEvents are unlikely to disrupt significant infrastructure or population centers.
    • regionalOne region could face meaningful disruption.
    • multi_regionSeveral regions or global networks could be affected.
    • unclearLocations and impact context do not support a stable exposure judgment.
  2. strength打分

    Score plausible infrastructure and population exposure.

    • 0negligible
    • 1low
    • 2moderate
    • 3high
    • 4extreme
  3. supported是/否

    Is this exposure judgment supported without inventing missing asset data?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    position: { type: 'choice', instructions: 'Choose the plausible exposure pattern after considering hazard and prior-round evidence.',
      criteria: { remote: 'Events are unlikely to disrupt significant infrastructure or population centers.', regional: 'One region could face meaningful disruption.', multi_region: 'Several regions or global networks could be affected.', unclear: 'Locations and impact context do not support a stable exposure judgment.' } },
    strength: { type: 'score', instructions: 'Score plausible infrastructure and population exposure.',
      criteria: ['negligible', 'low', 'moderate', 'high', 'extreme'] },
    supported: { type: 'boolean', instructions: 'Is this exposure judgment supported without inventing missing asset data?' },
  },
});

同类的其他项目