Learn the primitives / Lesson 5 of 24

Use Noul for yes or no

Define one positive proposition, read its yes probability, and give uncertainty an explicit path.

After this moduleYou can write and interpret a Noul without confusing uncertainty with intensity or action policy.

Use Noul for one yes-or-no meaning

Suppose a feedback app receives: "I love the calendar, but please add a weekly view." The application wants to know whether the message contains a feature request.

Noul: Jev's primitive for evaluating one proposition and returning the probability that the answer is yes. A result of 0.91 means Jev places 0.91 probability on yes for that exact proposition and state. The implied no probability for the same evaluation is 0.09.

Primitive explorer

Choose by what the answer means

Use the arrow keys or select a tab to compare the three question shapes.

Synthetic teaching data
Ask this kind of questionDoes this review describe a product problem?

Use Noul when the answer is one yes-or-no proposition.

Synthetic native response
{
  "type": "noul",
  "noul": 0.73
}
Synthetic output
yes0.73
no0.27

0.73 is the synthetic probability of yes. It is not 73% problem severity.

Noul works for questions such as "Does this message request a new capability?", "Does this passage support the claim?", and "Does this answer address the form question?" It does not represent a medium amount of something. A result near 0.5 means yes and no are similarly probable.

Trace this example from input to result
01

Customer choice

A user asks for a weekly calendar view.

02

Request or event

The application asks whether the message requests a new product capability.

03

Backend behavior

Jev returns one yes probability; code applies the feedback policy.

04

Customer sees

Likely requests appear in a feature-feedback view.

05

Diagnostic reasoning

Check the message, proposition wording, returned probability, and code threshold.

Make yes mean one stable thing

Phrase the proposition positively and directly. A variable such as featureRequestProbability is easy to read. A question such as "Is this not unrelated to feature requests?" creates avoidable confusion.

const featureRequest = {
  type: "noul",
  instructions: "Does message ask for a new product capability or a change to existing behavior?",
  criteria: {
    true: "The author asks for functionality or behavior the product should provide.",
    false: "The author only reports a bug, asks how to use an existing feature, or gives praise.",
  },
};

The criteria distinguish neighboring meanings. "Please add a weekly view" is a request. "Weekly view is blank" reports a problem with something that exists. A message may contain both, so decide whether one Noul answers the product need or whether separate independent questions would preserve useful information.

Customer seesApplication doesJev returns
A feature-request tagApplies a rule to the yes probabilityProbability that the defined request is present
Both problem and request tagsEvaluates two independent propositionsTwo probabilities that need not sum to one
A request countCounts stored tagged records in codeNo exact aggregate

Turn probability into application behavior

The Noul result is data, not an action. Code decides what different ranges mean for the feature. Keep that policy visible.

function feedbackPath(featureRequestProbability: number) {
  if (featureRequestProbability >= policy.suggestTag) {
    return "suggest-feature-request-tag";
  }
  if (featureRequestProbability >= policy.askReviewer) {
    return "send-to-review";
  }
  return "leave-untagged";
}

These threshold names express behavior without pretending a universal number exists. Choose actual values from labeled examples and the cost of mistakes. A reversible suggestion can tolerate different tradeoffs than an automatic public label.

Do not ask a second, negated Noul and expect exact complements. "Does this request a feature?" and "Is this not a feature request?" are two separately worded evaluations. Only yes and no inside the same Noul form a complementary pair.

Applied diagnosis

A 0.52 result is described as a medium feature request

Noul result: 0.52 · UI label: medium request

Change the interpretation. The result is nearly balanced between yes and no; it does not measure request intensity. Send it through the application's uncertainty path. If intensity matters, define an ordered Score with meaningful levels.

Design a useful binary question

Choose a condition whose presence or absence changes a small product behavior. Write a positive proposition, define true and false with neighboring examples, and create a few synthetic probabilities to exercise the code path.

Include clear positives, clear negatives, and phrases that contain the same keywords with different meaning. For example, compare "Please add offline mode," "How do I turn on offline mode?", and "Offline mode stopped working." This tests semantics rather than word matching.

Dig deeperOne Noul per independent label

If several labels may be true at once, separate Nouls often fit better than Choice. A message can be both a bug report and a feature request. Independent questions preserve both signals. They also require separate evaluation: the probabilities across those questions are not a single distribution and do not need to sum to one.

Use Choice when the application truly needs one winner, such as a primary category. That is the next lesson.

Saved locally

Design one Noul

Your answers stay in this browser. Write enough that another engineer could continue the investigation.

Knowledge check

Check your understanding

Interpret Noul as a yes probability for one proposition and keep the application's action policy separate.
Module quiz

0/3 answered

01What does a Noul value near 0.5 mean?
02A message can be both a bug report and a feature request. Which design preserves both?
03What is the implied no probability when one Noul returns yes = 0.91?
Sources and verification notes 5
Noulpublic-contract

Probability for the stated binary condition, optional true/false criteria and no separate confidence field.

Primitives overviewpublic-contract

Independent named questions and typed answers. Its approximate 32k wording differs from the model page's more specific 64k aggregate and 32k longest-question limits.

Probability and confidencepublic-contract

Distribution concentration is distinct from empirical correctness. The exact native confidence formula is not published.

Jev 1.13 limitationspublic-contract

Literal interpretation, arithmetic, dates, representations, indirection, irrelevant and adversarial text, criteria and calibration limitations. Reviewed model page dated September 17.

Official cookbookspublic-contract

All 18 indexed cookbooks were reviewed; measurements remain attributed, dated vendor reports.

Further learning

Optional references

These resources provide public documentation and examples for readers who want them.

Official documentationNoulOfficial documentationPrimitives