Skip to content

Assumptions versus confirmed requirements

Difficulty: Beginner

Key concepts

  • assumption
  • confirmed requirement
  • unknown
  • hidden assumption
  • assumption register
  • risk
  • validation plan
  • The difference between a confirmed fact, an assumption, and an unknown.
  • How to find the assumptions that a design makes without anyone noticing.
  • How to record assumptions in an assumption register, with the parts of the design each one affects and the risk if it is wrong.
  • How to keep a risky assumption in one place in the code, so that changing it later is cheap.
  • How to plan the check that confirms or rejects each assumption.

No design waits until every fact is known. The print-release service is being designed while IT is still checking whether printers can report page counts, and while finance has not decided about colour pages. That is normal. The danger is not that a design has assumptions. It is that nobody knows which parts of it are assumptions, so nobody checks them, and the first person to find a wrong one is a user.

The question log already uses three statuses. Here they are more precisely:

Status Meaning What it lets you do
Confirmed Someone with the authority to decide has given the answer. Design on it. It can still change, but then it is a requirement change.
Assumption Nobody has confirmed it, but you have chosen a working answer, and said so. Design on it, while keeping a plan to check it and knowing what it affects.
Unknown Nobody has an answer, and no working answer has been chosen. Not much. Before detailed design, it must become confirmed or an assumption.

The step from unknown to assumption is a decision: you pick the answer you think most likely, or the one that is cheapest to change later, and you write it down. In a design interview, you make this step out loud.

Confirmed depends on who answered. Q5 (how users prove who they are) was answered by IT and confirmed with the security officer, because security decides it. A limit “confirmed” by someone who does not decide limits is still an assumption.

Here is a design sketch for the release that contains no visible assumptions:

When a user badges in, look up their held jobs. For each job, if its pages fit in their quota, charge the pages and send the job to the print server.

It reads like a plain description. Now ask, for each phrase, what must be true for this to work?

  • “Look up their held jobs”: the badge system maps each badge to exactly one user, and answers quickly enough for NFR-1.
  • “If its pages fit”: the print server tells the service a correct page count for each job before it prints. If page counts are only known after printing, the quota cannot be checked first.
  • “Charge the pages”: a colour page costs the same as a black-and-white page (Q8, still open).
  • “Send the job”: sending succeeds, or if it fails part-way, someone can tell how many pages were printed (Q16, still open).

Four assumptions in two sentences. Only the last was ever asked (Q16). And reading the first and second phrases closely gives two more that nobody asked at all: that each badge belongs to exactly one user, and that the page count is known before printing (A7 and A8 in the register below). These are hidden assumptions: decisions the design depends on that nobody chose on purpose.

Some places to look:

  • Each arrow on the context diagram. Every outside system is assumed to send correct data, at some speed, and to be available. What if it does not?
  • Each number. Where did it come from? Q12’s 1,000 jobs a day was an estimate from memory.
  • Words like “always”, “never”, “each”, “exactly one”. “Each badge belongs to exactly one user.” Is that true for shared or temporary badges?
  • Defaults in the code. Every default value is a decision. If Quotas gives a new user 500 pages, the code assumes that every new user gets the standard quota.
  • The order of operations. Charging before printing assumes printing will succeed. Removing a job after printing assumes the job was printed in full.

The habit is the same each time: read a sentence of the design, and ask what would have to be true for it to work.

An assumption register is a table of every assumption with its effect on the design and a plan to check it. It sits next to the question log; each assumption links to the question it answers, if there is one.

ID Assumption Question Affects If wrong Risk Check, by whom, by when
A1 About 1,000 jobs a day, mostly 9:00 to 11:00. Q12 NFR-2; how held jobs are stored Even 10 times more is small for one program; little changes. Low IT counts jobs in the print server’s logs for one week.
A2 Printers can report how many pages of a job they printed. Q16 FR-9; how jams are handled; what is charged after a jam The service cannot know which pages are left after a jam; FR-9 needs a different answer. High IT tests one printer with the supplier, before detailed design of FR-9.
A3 A colour page counts the same as a black-and-white page. Q8 FR-4; how pages are charged The charge for a job changes; quotas may need two balances. Medium Facilities gets finance’s decision, before the quota code is finished.
A4 Held jobs and quota balances must survive a restart of the service. Q19 NFR-4; storage Either storage is built that nobody needed, or jobs and balances are lost at each restart. High Ask facilities and the security officer together, this week.
A5 A job refused for quota stays held until it expires, so it can print after extra pages. Q20 FR-4; ReleaseStation Refused jobs must be deleted instead; a small change in one place. Low Facilities confirms when reviewing the use cases.
A6 Extra pages do not carry over into the next month. Q21 FR-5; QuotaAccount One function changes. Low Facilities confirms when reviewing the use cases.
A7 Each badge belongs to exactly one user, and the badge system answers within 2 seconds. none FR-2, FR-8, NFR-1 Shared badges would break FR-8; a slow badge system would break NFR-1. Medium IT confirms badge rules and measures lookup time.
A8 The print server reports each job’s page count, correctly, when the job is submitted. none FR-4: the quota is checked before printing The quota cannot be checked before printing; FR-4 must be redesigned. High IT checks the print server’s job data, before any quota design.

A few things the register shows:

  • A7 and A8 have no question. They are hidden assumptions found by the “what must be true?” habit. They go into the question log too.
  • Risk combines two things: how likely the assumption is to be wrong, and how much it costs if it is. A1 is uncertain but cheap to be wrong about. A8 is probably true, but if it is false the quota design does not work at all.
  • A4 is a possible conflict. Facilities will probably want held jobs to survive a restart. The security officer may prefer that confidential documents are not written to disk at all. Asking them together surfaces the conflict early; the prioritization lesson covers how to resolve it.
  • The check names a person and a moment. “Someday” is not a plan. The moment is usually before the design depends on it heavily.

Check the high-risk assumptions first, and check them cheaply. In rough order of cost:

  1. Look at existing data. Print server logs answer A1 and probably A8 in an afternoon.
  2. Ask the person who decides. A3, A5, and A6 each need one decision from facilities or finance.
  3. Try it. A2 needs a small experiment with one printer. A throw-away program that sends one job and reads the printer’s status is enough; it is not the design.
  4. Measure. A7’s lookup time can be measured against the real badge system.

Some assumptions cannot be checked before the design is built. A1’s real peak will only be known in use. For those, make the design tolerant: NFR-2 already has a margin, and the plain container of held jobs works for far more jobs than expected.

You do not need to build every alternative. But a risky assumption should live in one place in the design, so that if it changes, one place changes:

  • A3 (colour pages): the number of pages charged for a job is computed in one function, pages_charged. Today it returns the page count. If colour pages cost three times as much, that function changes, PrintJob gains a count of colour pages, and their tests change. The release logic does not.
  • A2 (jam reports): the print server is reached through a small interface (PrintServer in the use-case lesson’s example). What it reports after a failure can be added to that interface without changing how jobs are held.
  • A4 (durability): saving held jobs goes behind an interface too. The release logic does not change whether the jobs are kept in memory or on disk.
  • A5 and A6 are small enough that the code simply follows the assumption, with a comment naming it. The use-case lesson’s example does this:

VerifiedCompiled and tested with GNU 11.4.0 and Clang 14.0.0 (C++20, 2026-12-01).

release_station.cpp
// FR-4: each job is judged on its own. A job that does not fit is
// not printed and stays held (assumption A5, Q20).
// try_charge either takes all of the job's pages and returns true,
// or takes none and returns false; it never charges part of a job.
if (!quota.try_charge(pages_charged(job))) {
result.jobs.push_back({job.id, JobOutcome::over_quota});
// `continue` skips the rest of this pass and goes on to the next
// job, so a later, smaller job can still print.
continue;
}

A comment that names the assumption’s ID, plus a test that checks the assumed behaviour, means that when the assumption changes, a search for “A5” finds the code and the tests, and the tests fail until they are updated. The example’s test ac_4_2_extra_pages_do_not_carry_into_the_next_month does this for A6.

  • When it would be absurd to doubt it. “Printers print on paper” needs no row.
  • When it is really a design decision. “Held jobs are kept in a std::vector” is a choice you control and can change; it belongs in the design, not the register.
  • When the answer is cheap to get right now. If the facilities manager is in the room, ask instead of assuming.

Checking an assumption costs time and someone’s attention. Acting on an unchecked assumption costs rework if it is wrong. The register makes this choice deliberate: low-risk assumptions are recorded and left; high-risk ones are checked before the design leans on them. A register that is never read is only paperwork, so review it at each step where the design commits further, such as before detailed design.

  • Not writing assumptions down. They are still there, only invisible.
  • Marking an answer “confirmed” because someone said it, without checking that they decide it.
  • Checking easy assumptions first. The register’s risk column exists so the high-risk ones are checked first, even when they are harder.
  • Building every alternative instead of keeping the risky decision in one place.
  • Never closing the loop. When a check is done, update the register, the question log, and any requirement that depended on it.

IT reports back on A2: the printers can say that a job failed, but not how many pages they printed before it failed.

The register says what this affects: FR-9, jam handling, and what is charged after a jam. Work through it:

  • Requirements: FR-9 said the unprinted pages must not be lost. Without a page count, the service can only offer the whole job again. That is a new answer to Q15, and facilities must agree to it.
  • Rules: if the whole job is printed again, is it charged again? A reasonable answer is to refund the pages of a failed job and charge again on the next release. That is a new question for facilities.
  • Design: the print server’s failure report becomes “failed” rather than “failed after N pages”. The release logic refunds the job’s pages and keeps it held. Because A2 was contained behind the PrintServer interface, the change stays in the failure path. Holding, quotas, and expiry are untouched.
  • Register: A2 is closed, as rejected, with the date and source. The new answers become questions or confirmed facts in the log.

The invariants and failures lesson designs this failure path in full.

Exercise: Confirmed, assumed, or unknown?

Sort each statement about a meeting-room booking system into confirmed, assumption, or unknown, and say what you would do about each one that is not confirmed.

  1. The office manager, who runs the rooms, says there are 20 rooms.
  2. “I think people book about two weeks ahead,” says a developer.
  3. Nobody knows yet whether bookings must work with the existing calendar system.
  4. The team lead says, in a meeting, that the boardroom needs approval. The office manager was not there.
  5. The design shows each booking stored with a start and end time, assuming no booking crosses midnight. Nobody has asked about it.
  6. The office manager has decided that a booking can be cancelled up to the moment it starts.
  7. The design team has chosen to assume that 30-minute slots are fine, and has written it down for the office manager to confirm next week.
  8. Facilities says the building is closed at weekends.
Show the explained answer
# Status Why, and what to do
1 Confirmed The person who runs the rooms gave the answer.
2 Assumption (and not one anyone chose) A developer’s guess, not a decision. Register it, and check it cheaply: does the current calendar data show how far ahead people book?
3 Unknown No answer and no working answer. It is high impact (it moves the boundary), so it must be answered, or an assumption chosen, before design goes further.
4 Assumption Said by someone who does not decide room rules. Confirm with the office manager.
5 Hidden assumption Found by asking “what must be true for this design to work?” Add it to the question log and the register. Late meetings or events could cross midnight.
6 Confirmed Decided by the person who runs the rooms.
7 Assumption, handled well Chosen deliberately, written down, with a person and a time to check it.
8 Confirmed, if facilities decides opening hours Facilities is the right source for the building. If the office manager can open rooms at weekends for events, it is worth one more question.

The difference between 2 and 7 is the point of this lesson. Both are assumptions. In 7, someone chose it, wrote it down, and planned the check. In 2, it is an opinion that could end up in the design without anyone noticing.

  • A confirmed answer comes from someone who decides; an assumption is a working answer chosen on purpose and labelled; an unknown has neither and must not survive into detailed design.
  • Hidden assumptions are found by asking, for each part of the design, what must be true for it to work, especially at each boundary, number, and “always”.
  • An assumption register records each assumption, what it affects, the risk if it is wrong, and who will check it, and when.
  • Check high-risk assumptions first and cheaply; keep each risky assumption in one place in the design; name it in comments and pin it with a test.