Add discern - #86
Add discern#86doeixd wants to merge 1 commit into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe project catalog adds the ChangesProject catalog
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This catalog-only change adds discern without changing application runtime behavior and is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Landed on main as 5283fd3 with you as the commit author, now live on https://awesomejev.com. Closing rather than merging because every PR appends to the same data file and they conflict with each other; landing directly keeps your authorship. Thanks! |
Adds one object to the
projectsarray indata/projects.json. No other files touched —README.mdandsite/index.htmlare left for CI.npm run validatepasses (906 entries valid).Disclosure: I built and maintain discern. It was developed with substantial AI assistance, with the design and the API reviewed by hand.
{ "name": "discern", "repo": "doeixd/discern", "site": "https://www.npmjs.com/package/@doeixd/discern", "description": "Uncertainty-aware control flow for Effect: Jev's Choice, Noul and Score answers become typed patterns with an explicit Uncertain branch, plus routable procedures, recording, replay, caching and call budgets.", "category": "integrations", "language": "TypeScript", "stars": 0, "added": "2026-09-22" }Where Jev fits
Effect v4 ships
Decision/DecisionModel— typed semantic observations (classification, probability, ordered rating). discern is the control-flow layer over that vocabulary: the semantic counterpart to Effect'sMatch. Jev is the provider, reached through@effect/ai-typesafewithTypeSafeDecisionModel.layer({ model: "jev-latest" })— seeexamples/headline.tsandtest/integration.types.ts.The library owns the thresholds: an answer below them takes an explicit
Uncertainbranch instead of being rounded to the top label, procedure routing skips the model call entirely when deterministic predicates leave one candidate, and recording/replay/caching/budgets areDecisionModelmiddleware.integrationsfelt right oversdks— it is not a client for the TypeSafe API, it is Jev inside a framework. Happy to move it if you'd rather it sit elsewhere.Not an empty repo: MIT licensed, published to npm, 48 tests that run offline with no API key (
npm test).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit