The pieces
What each thing in the app holds, and the rules it follows. The figure on the first page shows how they connect, and Status explains how their statuses are worked out.
Requirement lists
A list is a named set of requirements, such as everything about the hardware. It has:
- Code
- A short id, such as
HW, that starts every requirement's cite in the list. See Ids and names for the rules. - Title
- A display name, such as Hardware.
- Description
- Optional. What the list covers and what it leaves out. On the list's page it shows on one line under the header; hover over it to read the rest. It can be formatted, except that cites in it stay as text.
- Lists appear in the sidebar in the order you put them in. Drag one to move it, or focus it and press ⌥↑ or ⌥↓. A new list goes at the bottom. Verifications move the same way, in their own group. Layout shows the sidebar.
- The title and description are changed in List settings, the gear in the list's header. The list is deleted there too.
- Deleting a list deletes every requirement in it and closes their mappings.
Requirements
A requirement belongs to one list and stays in it. It has:
- Cite
- The list's code and a number: HW-18. Numbers count up from 1 in the order requirements are created. They say nothing about where a requirement sits in the tree:
HW-40can sit aboveHW-5. - Title
- A short label, such as 3V3 rail tolerance, for where there is room for only a few words. Required.
- Statement
- The requirement itself: The 3V3 rail shall stay within 3% of nominal from 0 to 2 A. It may be empty, which suits a requirement whose children carry the detail.
- Body
- Optional. The detail the statement depends on: a table of limits, a register layout, sub-clauses. The body is part of the requirement and binds as the statement does: a pass covers both. Up to 16 KiB.
A requirement has one status, however much its body holds. If a body holds a table of limits that can pass or fail separately, see Tables for how to keep track of which did.
Each saved change to the title, statement or body is kept, however small, and can be read under History in the requirement pane or on its page, along with the runs that recorded a result against each version. Moving a requirement in the tree is not a change to it.
The tree
The requirements in a list form a tree. Any requirement can have children that break it down; there is no separate heading type.
- HW-1Power supply no statement; its children carry it
- HW-23V3 rail tolerance
- HW-33V3 ripple
- HW-5Ripple at full load
- HW-4Inrush current
- A child's status counts towards its parent's: HW-1 fails above because HW-4 does (see a requirement's status).
- A requirement can be moved anywhere in its own list, under another parent or to the top level, but not to another list. Moving requirements says how.
- A requirement that has children cannot be deleted; move or delete the children first. Deleting a requirement closes its mappings.
Verifications
A verification is a procedure that checks requirements: a bench test, an analysis, an inspection. BreezeBlock does not record which kind. It has:
- Short id
- An id you choose, such as VERIF-PWR.
VERIF-is only a convention, andVERIF-HWis not tied to the listHWin any way. - Name
- A display name, such as Power rail test. Changing it does not make a new version.
- Description
- The procedure: what to set up, what to measure, what counts as a pass. It is kept in versions.
Verifications appear in the sidebar below the lists, in their own order.
Versions
A verification's description is never edited in place. Each change is committed as a new version, numbered 1, 2, 3 and so on, and each run records the version it followed. A run fixes its procedure when it completes, not when it opens, so a procedure corrected during a run is the version that run used.
Version 1
Committed. RUN-1 to RUN-4 used it, and RUN-4 still sets the statuses.
Version 2
Committed, the latest. Not yet run; the next run will use it.
Draft
Saved but not committed. The next run follows it, and a run on it commits it when the run completes.
| In the procedure editor | Does |
|---|---|
| Save as version | Commits the description as the next version, named on the button (Save as version 3). Refused if it is empty, or the same as the version before (ignoring spaces and blank lines at either end). |
| Save draft | Keeps your changes without committing them. There is at most one draft; saving again replaces it. |
| Discard draft | Throws the draft away and keeps the last committed version. Not offered before the first commit; delete the verification instead. |
- Committed versions never change. The verification's page shows the latest; each run's page shows the procedure that run followed, a version or the draft. Show history under the runs lists every committed version, what each changed from the one before, and the runs that used it.
- The description is written in the same editor as a requirement's body (see The body), with the same blocks: numbered steps, tables, code and maths. Up to 16 KiB. What happens when two people edit it at once is under Editing in more than one window.
- Committing a version changes no status. Statuses come from the last completed run, on whatever version it used, until a run of the new version completes. Until then the page says Version 2 has not been run., and which run the statuses still come from (example).
Mappings
A mapping says that a verification covers a requirement. A requirement can be mapped to any number of verifications, and a verification to any number of requirements, in any lists.
- Add one from either end: Map a verification in the requirement's pane, or Map a requirement on the verification's page, under Requirements it checks.
- A mapping can have notes saying how the verification covers this requirement: Measured at TP4 under the 2 A load step.
- Close mapping ends it. It stops counting towards any status, and runs that already included it keep it. Mapping the same pair again makes a new mapping, which is untested until a run includes it.
- Adding or closing mappings does not make a new version of the verification.
Runs
A run is one occasion on which a verification was carried out, cited as VERIF-PWR:RUN-3, or RUN-3 on the verification's own page. Runs are numbered in each verification.
In progress
RUN-3Rows and details can be changed. Shows Fail as soon as a row fails.
Completed
RUN-3Frozen except for run notes. Its rows now count towards statuses.
Replaced
RUN-3A later run completed. Kept, faded, and no longer counted.
Opening a run
The button on a verification's page that starts one is named for the run it makes, such as Start RUN-4. It needs at least one mapping, and only one run per verification can be in progress. A verification with only a draft can be run.
The run takes the draft if it has text in it, otherwise the latest committed version, and one row for each requirement mapped at that moment. An empty draft beside a committed version is not followed. The procedure can be corrected while the run is in progress, from the run's page: Edit writes the draft and the run follows it. Completing a run on the draft commits the draft as the next version, or, when it matches the latest version, records the run against that version and makes no new one. An empty procedure cannot be completed. Go back returns the run to the version it moved from, and discards the draft only if the run wrote all of it. The rows don't follow the procedure: mapping a requirement while the run is in progress adds a row for it, and closing a mapping removes its row and whatever was recorded there. A requirement deleted during the run keeps its row, marked deleted, and still counts towards the result.
Recording results
Each row starts unset. While the run is in progress, choose one of three; the choice is saved at once. It can be changed, but not cleared.
| Choice | Means |
|---|---|
| Checked and met | |
| Not checked this run, perhaps because its fixture was not ready. The requirement counts it as untested. | |
| Checked and not met | |
| not set | Nothing chosen yet |
Each row can also have notes: Ripple 41 mV at 2 A, limit 30 mV. The run itself has three more fields, saved together with Save details:
| Field | Holds | After completing |
|---|---|---|
| Carried out at | When the test was done. Starts as the time the run was opened; cannot be in the future. | Frozen |
| Record | What this run produced: measurements, builds, links to logs | Frozen |
| Run notes | Comments on the run as a whole. Shown only in their edit box, so never formatted. | Still editable |
Completing a run
- Save or close an open row note before completing the run. Cancel asks before discarding changes to the note.
- Complete run is refused while any row is unset, and when every row is didn't cover, since such a run checked nothing. It is also refused when the run has no rows, and when rows were added or removed since the page was loaded. The page then shows the run as it is now.
- It is also refused while a row is marked Needs review: the requirement changed in meaning after that row's status was set. Click the same choice again, which records it against the current wording, then complete.
- A completed run cannot be reopened. If something was wrong, open another run.
- Only completed runs count towards statuses. A run in progress affects only its own cite.
Later runs
Each completed run replaces the one before it: a requirement's status uses only the latest completed run of each verification. The older run stays, faded, and its page says A later completed run replaces this one.
A run can be deleted. It no longer counts, and the latest completed run before it counts again. Reviews of the deleted run stop counting too; the confirmation says, for each requirement whose result changes, what it will show instead.
Tags
A tag classifies things: safety-critical, needs-rig. It is defined once in a workspace, with a name, a colour and a one-line description, and says what it applies to: requirements in every list or in the lists you choose, verifications, or both. It can have an ordered list of options to choose from (asil with QM, A, B, C and D), each with its own colour or the tag's, and a rule of one option per item or several. A requirement can carry any tag that applies to its list, and one option of a tag, or several, as the tag says. A tag change is not an edit of the requirement: it makes no revision, doesn't change who last changed it and never raises Needs review. Children don't inherit a parent's tags. A verification can carry any tag that applies to verifications, the same way. A tag change doesn't move its Updated time, and a run doesn't record the tags its verification had.
- A name is letters, digits,
-,_and., starts with a letter and is at most 32 characters. Case is kept as written. Two tags in use can't have the same name, ignoring case. - An option's name is letters, digits,
-,_and., starts with a letter or a digit and is at most 32 characters. Two options of one tag can't have the same name, ignoring case. A tag has at most 100 options. - A tag has options once it has one. The order you give them is the order used wherever they are listed.
- A tag's address doesn't use its name, so links to it survive a rename. After a tag is deleted its name can be used again, by a new tag that has nothing to do with the old one.
Ids and names
| Example | Can be changed | Unique among | |
|---|---|---|---|
| List code | HW | No | List codes and verification ids, for ever |
| Verification id | VERIF-PWR | No | List codes and verification ids, for ever |
| Requirement cite | HW-18 | No | Its list, for ever |
| Run number | RUN-3 | No | Its verification, for ever |
| List title, verification name | Hardware | Yes | List titles and verification names in use |
| Requirement title | 3V3 ripple | Yes | Titles in use in its list |
- For ever means an id is never used again, even after the thing is deleted. A title or name can be reused once nothing uses it.
- Codes and ids are letters, digits and hyphens. They start with a letter, do not end in a hyphen, and have no doubled hyphen. They are shown in capitals, whatever case you type.
How long a field can be
Anything longer than its limit is refused. Notes on a mapping or a run row say how many bytes are left once you are close, and a requirement's body shows its size from 12 KiB.
| Field | Limit |
|---|---|
| List code, verification id | 32 characters |
| Titles and names | 256 characters |
| List description | 2,048 bytes |
| Requirement statement; notes on a mapping, a run or a run row | 1,024 bytes |
| Requirement body, verification description, run record | 16,384 bytes |