Skip to content
System One

djev (mmastrac): Jev-style decisions on DiffusionGemma

Example server from vLLM PR 57250 that seeds a DiffusionGemma canvas with the answer template and reads one distribution per question slot after a denoise step. It serves a Jev-style question schema over chat completions and is the base djev-run deploys to Cloud Run.

mmastrac/djev on GitHub

Stars
68
Forks
7
Language
Python
License
Apache-2.0
Last push
24 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

t0 = time.time()
for text, fields in CASES:
    qs = {k: {"type": "span", "instructions": q} for k, (q, _) in fields.items()}
    r = post(args.base, "/v1/systemone", {"model": "jev-latest", "state": text, "questions": qs, "seed": seed})
    for k, (q, truth) in fields.items():
        n += 1
        a = r["answers"][k]
        got = a["text"] if a["found"] else "none"
        sliced = (not a["found"]) or text[a["start"]:a["end"]] == a["text"]
        hit = norm(got) == norm(truth) and sliced
        ok += hit
        if not hit:
            print(f"  BAD {k:12s} got {got!r:28s} want {truth!r:24s} conf {a['confidence']} reads {a['reads']}{'' if sliced else '  OFFSETS WRONG'}")
print(f"spans seed {seed}: {ok}/{n} in {time.time() - t0:.1f} s")
failures += n - ok

View in tests/span_battery.py

Open on GitHub

PrimitivesNoul

More like this

Keep browsing