Open reproductions
Local JEV-style decisions with DiffusionGemma on Apple Silicon, with benchmarks and coding-agent examples.
@app.post("/v1/systemone")The 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 src/diffusion_jev/benchmark_cases.py:56
enabledtrue/falseIs enabled true in the supplied state?
colorchoiceSelect the exact color in the supplied state.
red — Color is red.green — Color is green.blue — Color is blue.progressscoreRate completed_steps using the exact numeric rubric.
0 — Zero steps completed.1 — One step completed.2 — Two steps completed.import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
enabled: { type: 'boolean', instructions: 'Is enabled true in the supplied state?' },
color: { type: 'choice', instructions: 'Select the exact color in the supplied state.',
criteria: { red: 'Color is red.', green: 'Color is green.', blue: 'Color is blue.' } },
progress: { type: 'score', instructions: 'Rate completed_steps using the exact numeric rubric.',
criteria: ['Zero steps completed.', 'One step completed.', 'Two steps completed.'] },
},
});from src/diffusion_jev/examples.py:64
causechoiceChoose the direct cause supported by the failure.
dependency — A declared Python dependency is missing.assertion — An assertion compares two different values.network — A remote HTTP request timed out.missing_dependencytrue/falseDoes the failure indicate an unavailable Python dependency?
network_timeouttrue/falseDoes the failure indicate a remote network request timed out?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
cause: { type: 'choice', instructions: 'Choose the direct cause supported by the failure.',
criteria: { dependency: 'A declared Python dependency is missing.', assertion: 'An assertion compares two different values.', network: 'A remote HTTP request timed out.' } },
missing_dependency: { type: 'boolean', instructions: 'Does the failure indicate an unavailable Python dependency?' },
network_timeout: { type: 'boolean', instructions: 'Does the failure indicate a remote network request timed out?' },
},
});from src/diffusion_jev/examples.py:102
filechoiceSelect the file most directly responsible for the bug.
validators — src/email_validation.pystyles — assets/colors.cssreadme — README.mdimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
file: { type: 'choice', instructions: 'Select the file most directly responsible for the bug.',
criteria: { validators: 'src/email_validation.py', styles: 'assets/colors.css', readme: 'README.md' } },
},
});from src/diffusion_jev/examples.py:129
security_regressiontrue/falseDoes this patch remove the authentication check?
review_priorityscoreRate the patch's review priority using its observed effect.
0 — Cosmetic change without behavioral impact.1 — Nonblocking issue without exposing protected resources.2 — Critical security issue exposing protected resources.import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
security_regression: { type: 'boolean', instructions: 'Does this patch remove the authentication check?' },
review_priority: { type: 'score', instructions: 'Rate the patch\'s review priority using its observed effect.',
criteria: ['Cosmetic change without behavioral impact.', 'Nonblocking issue without exposing protected resources.', 'Critical security issue exposing protected resources.'] },
},
});