Jev Code CampFOUNDATIONS
0/8 complete
LESSON 05 / 08 5 MIN
Decide with Noul
Turn a yes-or-no judgment into a usable signal.
Noul measures a yes-or-no judgment on a scale from 0 to 1. Values near 1 indicate yes, near 0 indicate no, and near 0.5 indicate uncertainty.
Unlike Choice and Score, Noul has no separate confidence field. The noul value is the signal your application receives.
Criteria is optional for Noul. In this exercise, define both true and false to make refund eligibility explicit. The refund policy belongs in state, where Jev can compare it with the ticket.
Your challenge
- Set questions.eligible.type to noul.
- Describe both true and false outcomes in criteria.
- Keep the refund policy and ticket in state, and keep the eligibility instructions.
request.json
Loading your draft…
Local checks · No API call
Your next decision starts here.
Edit the JSON, then check your work.
Hints are available whenever you need them.