跪拜 Guibai
← All articles
LLM · Python · Testing

Jev Replaces Chatty LLM Output With Structured Decisions, Cutting Test Workflow Latency and Cost by an Order of Magnitude

By 得物技术 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

AI teams burning time and money on high-frequency classification inside agents can get an order-of-magnitude latency and cost win by offloading bounded decisions to Jev. But the tool only works when the answer space is fixed in advance; using it for open-ended judgment silently breaks the pipeline.

Summary

Jev, positioned as TypeSafe System One, is a decision layer that slots into AI workflows for tasks where the answer space is predefined. Instead of generating natural language, it returns machine-readable results: yes/no probabilities, single choices from up to 255 options, or ordered scores, each with confidence values. That removes the text-parsing and JSON-repair step that general LLMs force on downstream scripts.

Dewu Technology's engineering team ran three test scenarios against it. Labeling 300 test cases took 5 seconds at roughly 0.01 yuan, versus 4 minutes 5 seconds and 0.31 yuan for a DeepSeek-based script. An interactive UI login test took 7 seconds versus 90, at 0.01 yuan versus 0.93. A knowledge base retrieval filter judged 10 candidates in 4 seconds for a total Jev cost of $0.000336. The numbers are rounded and based on a single run, but the direction is consistent.

Jev is not a substitute for a reasoning model. It has no memory, no open-ended generation, and degrades when option definitions are vague. The team's guidance is to keep analysis and planning on a general LLM, route bounded decisions to Jev, and set confidence thresholds so low-confidence results fall back to manual review or a stronger model.

Takeaways
— Jev returns structured judgments (probability, choice, score) instead of natural language, so downstream scripts skip text parsing and JSON repair.
— In a 300-case labeling test, Jev finished in 5 seconds and ~0.01 yuan; a DeepSeek-based script took 4 minutes 5 seconds and ~0.31 yuan, roughly 49x slower and 31x pricier.
— An interactive UI login test ran in 7 seconds and ~0.01 yuan with Jev versus 90 seconds and ~0.93 yuan with a general LLM, about 13x faster and 93x cheaper.
— For retrieval filtering, 10 candidates were judged in ~4 seconds at $0.000336 total Jev cost, yielding 6 accepted, 1 to-review, 3 rejected.
— Jev offers three judgment primitives: Noul (yes/no with probability), Choice (one of up to 255 options with per-option probabilities), and Score (custom ordered scale).
— Latency is 70-500ms end-to-end; input costs 0.3 yuan per million tokens and output is free.
— Jev lacks memory, open-ended generation, and long-horizon reasoning; it depends on clearly defined options and scores in the prompt.
— The recommended pattern sets confidence thresholds so low-confidence results are routed to manual review or a stronger LLM instead of being trusted blindly.
— An open npm package, easy-jev-e2e, uses Jev to pick the next page element in interactive UI tests, letting developers maintain text steps only.
Conclusions

Jev reframes classification as a routing primitive, not a conversation; the economic win is that you stop paying a generative model to produce prose you immediately discard.

The confidence threshold pattern is the real safeguard: the article treats model confidence as a routing signal, not a calibrated accuracy, and keeps a human review fallback.

The benchmark methodology is rough - single runs, rounded costs, and a specific comparison to DeepSeek on one script - so the 49x/31x and 13x/93x ratios are directional, not guarantees.

Merging multiple judgment items into one request is a tunable lever Jev supports; the team chose one request per case here, which suggests batching behavior will be a practical concern in production.

Concepts & terms
Jev (TypeSafe System One)
A structured decision model that returns machine-readable judgments (probability, choice, score) instead of natural language, designed for tasks where the answer space is predefined.
Noul
Jev's yes/no judgment primitive; it returns a probability between 0 and 1 that the proposition holds.
Choice (in Jev)
Jev's multiple-choice primitive; it picks one from a preset list of up to 255 options and returns each option's probability.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗