Assignment
Starting case: Local authority: civil registry and electoral rolls to a single software package
A town replaces its civil registry and electoral software. Dependencies were added between target components without checking what they do to the LB order, and a component left its LB.
The session carries 4 defects. Open it in the app, find them and fix them: the dashboard counts those left, the exercise is solved when none is left.
Hints
- Dependency graph tab: two LBs wait for each other.
- A component another one depends on is loaded by no LB.
- A loaded component does not say what it depends on.
← Previous exercise: Choices, duplicates and descriptions Next exercise → Sources, cut-offs and extraction batches
Answers
Each point is an alteration slipped into the starting case. Unfold it to see what the app detects, why it is a problem and the fix; the title leads to the check's card.
Point 1: Dependency graph tab: two LBs wait for each other.
LBs waiting for each other
LBs each loading a component that a component of the other depends on, directly or step by step.
Why it matters. None can go first: the sequence cannot order them, so they are placed in the same wave.
Objects cited by the app. LB-02, LB-04
How to correct. Delete the dependency of T-CIVIC-VOTER on T-CIVIC-REGISTER (a voter does not belong to a register), or that of T-CIVIC-REGISTER on T-CIVIC-PERSON: removing one is enough to break the loop between LB-02 and LB-04.
Point 2: A component another one depends on is loaded by no LB.
Prerequisite that no LB loads
A component required by another one, but that no LB loads.
Why it matters. The sequence cannot guarantee that it will be there when it is needed.
Objects cited by the app. T-CIVIC-POLLING_STATION
Target component carried by no LB
A target component that no load block carries, neither itself nor the component that contains it.
Why it matters. Nobody knows how it gets built: it will be neither loaded nor sequenced, and the target will arrive incomplete.
Objects cited by the app. T-CIVIC-POLLING_STATION
How to correct. Put T-CIVIC-POLLING_STATION back into LB-04, with the voters that depend on it.
Point 3: A loaded component does not say what it depends on.
Provisional sequence: components to declare
Components loaded by an LB for which nobody has yet said what they depend on, nor that they depend on nothing.
Why it matters. As long as some remain, the waves and the critical path can still change.
Objects cited by the app. T-CIVIC-PERSON
How to correct. Tick “depends on nothing” on T-CIVIC-PERSON: the person loads first.