Code Format
This chapter defines the grammar of the full IDR code. The short code is defined in IDRS Short Code.
Grammar
IDR{version}{tier marker} U… D… G… W…
Each group segment is written as:
group letter + level digit(s) + effect letters (lowercase, optional) + failure letter (uppercase, optional)
Version prefix
- The code shall begin with
IDRfollowed immediately by the major spec version, with no space (IDR1). - Codes from different major versions are not comparable.
- While this specification is a draft (version 0.x), codes shall use major version 0:
IDR0andIDR0*.
Note (informative): Examples in this specification use
IDR1to show the format codes will take under version 1. Draft-eraIDR0codes are not comparable with version 1 codes.
Home-tier marker
- Home-tier codes shall carry
*immediately after the version:IDR1*. - Lab-tier codes shall carry no marker:
IDR1. - A code marked
*is never equivalent to a lab-tier code. - In Markdown and similar markup, a code shall be written in code formatting (
`IDR1* …`) or with the*escaped (IDR1\*), so that it is not read as emphasis.
The tiers are defined in Test Tiers.
Groups
- A full code shall contain all four groups, in the order U, D, G, W.
- Groups shall be separated by single spaces.
| Group | Level digits | Scale |
|---|---|---|
| U | One | U: Usage |
| D | One, 0–9 | D and G: Particulate Testing |
| G | One, 0–9 | D and G: Particulate Testing |
| W | Two (depth, time), or one for W0 | W: Water |
Untested groups
Xshall replace the level digit(s) of a group that was not tested (GX).- An untested group shall carry no letters.
Effect letters
- Effect letters shall be lowercase and taken only from the closed list in Effect Letters.
- Every effect present at the rated level shall be recorded, in alphabetical order.
ishall be used only when no other effect is present.- A group with no effect letters had no ingress and no effect at the rated level.
Failure letter
- At most one failure letter shall be written, after the effect letters.
- The failure letter names the failure at the next level above the rated level (for W, the next step on the W ladder).
- If several failures appear at once, the most severe shall be used, in this priority order:
| Priority | Letter |
|---|---|
| 1 (most severe) | E |
| 2 | S |
| 3 | C |
| 4 | R |
| 5 | H |
| 6 (least severe) | B |
The priority of the water letters F and M is [TBD].
Absent failure letter
No failure letter means no failure was reached: either the top of the scale was passed, or testing stopped first. Stopping first is normal for home-tier tests.
| Group | Top of the scale |
|---|---|
| U | U4 |
| D, G | Level 9 |
| W | The last step of the W ladder |