Sub topic 10
Testing Where the Analogy Holds and Breaks
Assume you can describe a problem in plain language and have already built a tentative mapping between a source domain and a target problem. The goal here is not to prove that two domains are identical. It is to determine which relationships transfer, which do not, and how much confidence the borrowed idea deserves.
Test relations, not appearances
An analogy is useful when the source and target share a structure: entities have comparable roles, and relationships between those entities behave similarly. Surface similarity is weaker. Two systems may use the same words or look alike while behaving differently.
For each proposed mapping, list the source relation and its target counterpart. Then classify the relation:
| Source relation | Target relation | Status | Reason |
|---|---|---|---|
| A queue serves requests in order | A help desk handles tickets in order | Holds conditionally | Both can use first-in, first-out processing |
| A queue has unlimited waiting space | A help desk has unlimited waiting space | Breaks | Staff, time, and customer patience are limited |
| A queue can pause service | A help desk can pause service | Usually breaks | Stopping service may create unacceptable delays |
“Conditionally” is often the right answer. An analogy can support a design choice without supporting every prediction made by the source model.
Use a relation checklist
Evaluate an analogy in four passes:
- Entities: Do the mapped objects play comparable roles?
- Relations: Do the important connections behave similarly?
- Constraints: What limits, costs, and rules differ?
- Outcomes: Does the borrowed action improve the target under its real constraints?
Mark each claim as holds, breaks, or unknown. An unknown claim needs evidence before it becomes part of the solution.
claims = [
("process requests in arrival order", "holds"),
("waiting space is effectively unlimited", "breaks"),
("service can pause without harm", "unknown"),
]
for claim, status in claims:
if status == "holds":
decision = "candidate for transfer"
elif status == "breaks":
decision = "reject or redesign"
else:
decision = "test before using"
print(f"{claim}: {status} -> {decision}")The checklist separates a useful transfer from an attractive story. It also exposes hidden assumptions. If the source depends on unlimited capacity but the target does not have it, transfer the ordering rule only after adding a capacity policy.
Trace where the analogy breaks
A break is not automatically a failure. It identifies an adaptation point. Ask what causes the difference:
- Is the target relation reversed?
- Is a source resource missing?
- Does the target have a stricter safety or fairness requirement?
- Does the source operate at a different scale or time span?
- Does the target include people whose incentives change the behavior?
For example, a software team may borrow a hospital triage model to prioritize incoming incidents. The analogy may hold for urgency categories and escalation paths. It may break because patients do not choose their symptoms, while software users can report strategically or omit information. The team must therefore add verification and feedback rather than copy triage rules unchanged.
Decide how much to trust the transfer
Confidence should reflect evidence, not enthusiasm. Increase confidence when the mapped relations are central, the constraints are comparable, and a small test produces the predicted result. Decrease confidence when the analogy depends on vague similarities, ignores incentives, or makes claims beyond the mapped relationships.
A practical decision record includes:
- the source and target;
- the mapped entities and relations;
- the relations that hold;
- the relations that break;
- the adaptation required;
- the test result and remaining unknowns.
Exercise
A team compares a garden sprinkler system with a notification system. Water reaches each plant through connected pipes, while notifications reach users through connected services. What should the team test before transferring the sprinkler design?
Show answer
Test whether users, services, and network paths behave like plants, pipes, and water paths. In particular, check failures, capacity limits, feedback, and whether sending more notifications creates harm rather than better coverage.