Frequently Asked Questions About SECourses Build Software People Can Trust

21 answers covering everything from basics to advanced usage.

// Basics

What is software engineering according to this methodology?

Software engineering is making and changing software that people depend on, over its whole lifetime, with the consequences for other people counted in. It's not about code size or cleverness — it's about who depends on the system. The defining shift is judging behavior against an intended outcome and its consequences, rather than accepting what a screen appears to say.

What is the happy path and why isn't it enough?

The happy path is the sequence of events when everything goes as planned. It isn't enough because engineering begins exactly where the happy path ends: simultaneous actors, failed dependencies, timeouts, accessibility constraints, and incident diagnosis. A system that only works on the happy path appears to work in a demo but fails under real conditions of use.

What is a painted box in a user interface?

A painted box is a UI element that looks like a control but isn't implemented as one — for example, a styled div instead of a real button. It's unreachable by keyboard or screen reader. The test: put the mouse away and Tab through the whole task once. If the focus ring skips a control or leaves the page, you've found a painted box.

What are the four kinds of information that cross a system boundary?

A request (something a person asks for), an identity assertion (a fact another system vouches for), reference data (read but not owned), and a notification (reports a decision, does not make one). You must treat them differently. Confusing them causes failures — treating an identity assertion like a request would let anyone sign in as someone else.

// How To

How do I identify the authoritative record for my core rule?

State the core rule precisely — for example, 'one confirmed booking per room per hour' — then ask where it is enforced. If the rule is kept only on each screen or client, multiple actors can violate it simultaneously because each sees 'free.' The rule must live where the records are stored, not where requests originate. The authoritative record is the stored state all actors share.

How do I apply conditions of acceptance when comparing designs?

List your constraints explicitly, then build a comparison table with one row per quality attribute and one column per design. Apply conditions of acceptance as gates before comparing anything else: a design that violates correctness is eliminated before speed, cost, or recoverability is weighed. Only designs that survive the gate get compared on response time, recoverability, privacy, and change effort.

How do I minimise data collection in logging?

For each field you want to log, write the question that field answers that a minimal identifier-and-category record cannot. Default to request identifier, timestamp, and outcome category. Add one field at a time with a written reason — for example, add 'file type' only if a written question like 'is the failure specific to one format?' requires it. The people in the log carry its risk, so collect deliberately.

How do I build a stakeholder map that isn't missing anyone?

Start with the minimum set: primary users, users with accessibility needs (motor and visual), operators or staff managing resources, support staff diagnosing failures, and maintainers interpreting past decisions. For each, state their concern and the question the system must answer for them. Include people who never click a button — their concerns still become system requirements or quality attributes.

// Troubleshooting

My tests pass but production keeps breaking — what am I missing?

You are likely stopping at appearance and overstating evidence. A passing test covers only the conditions it ran under — one user, one state, no simultaneous requests. Production failures usually come from conditions the test never covered: concurrency, dependency outages, or accessibility paths. State each claim with its scope and name what it didn't cover; the gaps are where production breaks.

Two users both got a confirmation for the same slot — how did that happen?

The exclusivity rule was kept on each screen instead of where the records are stored. Each client checked its own cached copy, both saw 'free,' and both received confirmations — violating the intended rule even though every individual screen and request appeared successful. Fix it by moving the decision to one shared check that reads the stored, authoritative state before confirming.

Why does my accessibility review keep finding broken controls?

Likely because the interface uses painted boxes — styled elements that look like controls but aren't real buttons or inputs. Run the keyboard test: put the mouse away and Tab through the entire core task. If the focus ring skips a control or leaves the page, replace the painted box with a real, semantically correct element. Reference standard is WCAG 2.2.

A lost notification cancelled a confirmed booking — what went wrong?

A notification was treated as a decision rather than a report. A notification reports a decision that has already been made; it does not make one. If a lost or delayed message can cancel a confirmed booking, the system is letting a report override the authoritative state. The confirmed booking should stay confirmed; the message failure should only change what the user sees, such as 'delayed.'

What should I do if my four check questions come back unclear?

Return to the relevant workflow step. The four checks test whether you understand overlapping confirmations (Step 1), why support staff are stakeholders (Step 3), whether one example proves correctness for simultaneous requests (Step 7), and which representation answers 'what happens after a timeout' (Step 9). An unclear answer signals an incomplete analysis at that step — go back and finish it before releasing.

// Comparisons

How does this methodology differ from agile or scrum?

Agile and scrum organise how work is scheduled and delivered; this methodology governs how you reason about a system's correctness, stakeholders, boundaries, and evidence. They're complementary, not competing. You can run sprints and still apply conditions of acceptance as gates, draw system boundaries, and state evidence with its scope. The lifecycle here is a network of feedback loops, not a process cadence.

How is this different from writing more unit tests?

More tests don't help if you overstate what they prove or never test beyond the happy path. This methodology makes you name the exact conditions each check covered and what it left out, so coverage becomes honest rather than reassuring. It also forces design decisions — like where the rule is enforced — that no amount of unit testing on a flawed design can rescue.

How does the lifecycle here compare to the traditional waterfall model?

Waterfall treats development as a one-way conveyor: Need → Code → Done. This methodology treats the seven stages — Need, Model, Implementation, Checks, Release, Operation, Revision — as a network of feedback loops. An acceptance example written at the Need stage becomes a check later; that arrow runs backward from Need toward Checks. The earlier you learn, the less you redo.

// Advanced

Does using an AI coding assistant change which representations or checks I need?

No. The representations and checks describe the system and its behavior, not who authored the draft. Whether a human or an automated assistant wrote the code, you still need the dependency graph for who-depends-on-what, the bounded evidence for correctness, and the stakeholder map. Changing the author eliminates none of them.

How do I estimate where a defect is cheapest to find?

Map the defect through the seven-stage lifecycle and estimate rework cost at each discovery point. A question asked during Need — like 'what does the user see when the message fails?' — costs one sentence and one acceptance example. The same defect found in Operation costs incident handling, user communication, state changes, new checks, and a release. Push discovery as early in the loop as possible.

What's the difference between an iteration and an increment?

An iteration is going around the lifecycle loop again to revisit understanding. An increment is the usable capability each pass around the loop adds. One revisits; the other delivers. Together they describe how trustworthy systems evolve: you iterate to learn more and each pass produces an increment of working capability under stated conditions.

How do I use ISO 25010 vocabulary to label quality attributes?

Name each attribute precisely: response time is performance efficiency, correctness is functional suitability, recoverability is reliability, privacy falls under security, and change effort is maintainability. Separating these from features — things you can add or drop — lets you reason about how well the system does what it must. Then separate conditions of acceptance from attributes you can trade off.

When does a disposable script not need this process at all?

When nobody else depends on it. A one-off calculation on your own machine needs none of this care because no one else carries the consequences of its failure. The moment a system becomes a shared service that others use, operate, support, or are affected by, it needs the full process. Process grows with consequence, not with code size.