From Fixed Rules to Probabilities

Old Software Follows Rules. AI Makes a Best Guess.

Normal software gives the same answer every time. An AI model gives a likely answer. Leaders who understand this one difference make better choices about where to use AI.

Ranjit Nethi

·

From Fixed Rules to Probabilities

The short version

  • Normal software follows rules and gives the same answer every time. An AI model predicts a likely answer, so it can differ from one run to the next.
  • This is why AI can read messy language, and also why it can be wrong with full confidence.
  • Use rules where the answer must always be the same. Use AI where judgment and language are needed, and check its work.

The idea

Traditional software is deterministic. A person writes the rules, and the same input always produces the same output. A tax calculation or a stock check works this way.

A language model is probabilistic. Nobody wrote its rules. It learned patterns from a very large amount of text, and for every request it estimates which words are most likely to come next. A setting called temperature controls how much it varies. A low value makes the answers steady, and a higher value makes them more varied.

Think of a train and a car. A train runs on fixed rails and always arrives at the same place. A car can go anywhere, but it needs a driver, a map and guardrails. Old software is the train. AI is the car.

  1. Input
  2. Fixed rules
  3. Same answer every time
  1. Input
  2. Learned patterns
  3. Most likely answer

This changes what “good” means. For rule-based software, good means correct, and one test can prove it. For a probabilistic system, good means right often enough, on the cases that matter, at a cost you accept. You measure it across many examples, the way you would judge a new employee across many tasks.

An example

A distributor receives purchase orders by email. Checking the price on an order is a rule: look up the contract and compare the numbers. That belongs in normal software. Reading a customer’s free-text note, such as “same as last time but ship half to the Dallas site”, needs language skill. That part suits a model. A good design uses each where it fits, and a person reviews the cases where the model is unsure.

Common mistakes

  • Expecting the same answer twice, then losing trust when the answer differs.
  • Testing an AI feature with three examples and calling it done.
  • Using a model for arithmetic or lookups that a rule would do perfectly.
  • Giving a model no way to say “I am not sure”.

What to do this week

  1. List the steps in one process. Mark each as “always the same answer” or “needs judgment”.
  2. For the judgment steps, write down what a wrong answer would cost.
  3. Ask your team how they measure quality today. If the answer is “we tried a few”, ask for a test set of at least 50 real cases.

The terms, in plain language

TermWhat it means
DeterministicSame input, same output, every time
ProbabilisticThe output is a best guess and can vary
TemperatureA setting that controls how much the answers vary
HallucinationA confident answer that is false

Further reading

  • Chip Huyen, AI Engineering (O’Reilly, 2025)

Section 1.1 of the AI Engineering Guide · Last reviewed November 2026

All parts of the guideChecklists and templates

About the author

Ranjit Nethi leads AI and data for commercial operations at a global industrial manufacturer. He writes about the operating model that turns AI pilots into results finance will sign. Kellogg Executive MBA; MS in Computer Science. This site is his own perspective and view, with no affiliation with any organization.