discern
doeixd
A semantic control-flow library for Effect: Jev's `Choice` / `Noul` / `Score` answers become typed branches. Thresholds are caller-supplied, and an answer below them takes an explicit `Uncertain` branch the compiler forces you to handle rather than being rounded up to the top label. Procedure routing filters candidates with deterministic predicates first and skips the model call entirely when one candidate survives.
- License
- MIT
- GitHub Stars
- 15
- Source reviewed
- —
Where Jev makes a decision
Jev returns a structured decision for the local program; consult the source for the exact decision policy.
What this project offers
Adds structured choices or scores to the workflow; performance and cost benefits have not been independently verified.
Review scope
Author and repository text is preserved where clear; missing languages are enriched automatically. Checks establish source-level Jev integration, not runtime, safety, or performance validation.
Sources and implementation
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/README.md
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/src/model.ts
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/src/index.ts
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/LICENSE
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/test/integration.types.ts
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/test/procedure.test.mjs
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/examples/headline.ts
- doeixd/discern/blob/41d7cde74362650d81b1014b4386314d49bc1c9b/src/internal/hash.ts
Related projects
jev
dannote · SDK & Decision Frameworks
Integrates Jev as an asynchronous Elixir/OTP process whose replies are handled with GenServer pattern matching.
zod-jev
jomatsu · SDK & Decision Frameworks
Adds semantic rules to Zod validation, such as checking whether text matches a description or contains personal information.
daf-jev
docxology · SDK & Decision Frameworks
A Python toolkit for Jev requests, batch evaluation, calibration and MCP access.
jev-starter
hamakyo · SDK & Decision Frameworks
TypeScript patterns for thresholds, fallbacks, human review and evaluation on top of the TypeSafe SDK.