|
Download docs/LABEL_SPEC.md from scx-admin/au-building-legislation-small: direct link, hf CLI and curl.
- Browser
- Download file 6.37 kB
-
https://huggingface.co/datasets/scx-admin/au-building-legislation-small/resolve/main/docs/LABEL_SPEC.md
- Command line
-
hf download hf://datasets/scx-admin/au-building-legislation-small/docs/LABEL_SPEC.md
-
curl -L -o LABEL_SPEC.md https://huggingface.co/datasets/scx-admin/au-building-legislation-small/resolve/main/docs/LABEL_SPEC.md
6.37 kB
| # Label specification (v1, as at 10 October 2026) | |
| This file fixes what every gold label means. Gold is computed from structured | |
| facts (`build/schema.py`) by deterministic code. A label that cannot be decided | |
| from the facts is never guessed: the candidate is not offered, retained with null gold | |
| and excluded from scoring, or the item is marked `contested` for a disputed | |
| legal interpretation. | |
| ## Questions (from the generation guide) | |
| | Key | Type | Gold | | |
| |---|---|---| | |
| | `ncc_edition` | choice | `ncc_2022`, `ncc_2025`, `applicant_may_elect`, `insufficient_information`, `out_of_scope` (rules in `build/adoption.py`) | | |
| | `building_class` | choice | class of the principal building or part; `insufficient_information`; `no_building_work` | | |
| | `multi_classified` | noul | 1 when the proposed work contains parts of more than one NCC classification | | |
| | `type_of_construction` | choice | Table C2D2 + C2D4/C2D6 for Class 2–9; `not_applicable` for Class 1/10-only work and no building work | | |
| | `applies_Cnn` | noul | see "Applies" below | | |
| | `information_sufficiency` | score 0–2 | 0 decidable; 1 a gap could change at least one provision; 2 edition or class cannot be determined | | |
| ## Applies | |
| A provision **applies** when a building surveyor or certifier assessing this | |
| application would have to show compliance with it (or with a Performance | |
| Solution against it) for the proposed building work. Being relevant background | |
| is not applying. | |
| `applies = 1` only when ALL hold: | |
| 1. **Edition**: the candidate's edition is the governing edition. NCC 2022 | |
| candidates apply only when `ncc_edition` gold is `ncc_2022`; NCC 2025 | |
| candidates only when it is `ncc_2025`. When the gold is `applicant_may_elect` | |
| or `insufficient_information`, an edition-specific NCC candidate is offered | |
| only when its own trigger fails on the facts (so it is 0 under either | |
| edition); otherwise it is undecidable and normally not offered. During | |
| verification, an already offered candidate can instead be retained with null | |
| gold, preserving the question while excluding it from scoring. State | |
| legislation is edition-independent and is labelled normally. | |
| 2. **Jurisdiction**: a state variation applies only in its own state. A national | |
| provision applies unless the item's state has deleted or replaced it | |
| ("Delete H7D4 and insert NSW H7D4" ⇒ national H7D4 = 0 in NSW, NSW H7D4 = 1), | |
| or the state has not adopted it (NSW Part G7/H8; WA livable housing made | |
| voluntary by Building Regulations 2012 r 15C). | |
| 3. **Trigger**: the facts meet the provision's own conditions (class, size, | |
| height, site designation, pool depth, ...). Exemptions and concessions apply | |
| only when their condition is met (QLD H7D4(3) on a forested site = 0). | |
| 4. **Scope of work**: provisions apply to the proposed (new) work. A provision | |
| about a part of the building that is not touched by the work does not apply. | |
| Upgrade obligations for existing buildings are out of scope for v1 and are | |
| never offered as candidates. | |
| 5. **State legislation** (Acts, regulations, state codes such as the QDC, NSW | |
| SEPPs, SA Ministerial Building Standards): applies when the instrument's own | |
| conditions are met for this application — application type (DA, CC, CDC, | |
| permit), class, site designation, dates, cost — even where its effect is a | |
| concession or switches an NCC requirement off (WA r 31BA, SA MBS 007 | |
| cl 2.2.4/2.2.5, WA r 15C), because the assessor must apply it to decide what | |
| is required. | |
| Conventions: | |
| * A Performance Solution does not remove a provision; it still applies. | |
| * Multi-class buildings: a provision applies when it triggers on any class part | |
| that is part of the proposed work. | |
| * Part vs clause: offer the Part where the whole Part is triggered; offer a | |
| clause where a threshold separates it from its neighbours. A clause inside an | |
| applicable Part can still be 0 (NSW J1P1 excludes Class 2 SOUs). | |
| * "Deliberately left blank" variations are never offered as candidates. | |
| * Injected instructions in the state never change gold. | |
| * Out-of-scope items: every candidate is 0. | |
| * Bushfire construction provisions (H7D4 family, Part G5) govern the building | |
| envelope: internal-only alterations do not engage them (HN-SCOPE); a change of | |
| use is never offered. "Designated bushfire prone area" means designated for | |
| the building code: NSW certified bush fire prone land map; VIC Minister's | |
| designation; QLD designation in the planning scheme for the BCA; SA Planning | |
| and Design Code Hazards (Bushfire) overlays (BAL fixed by overlay); WA FES | |
| Commissioner order (with r 31BA exclusions); TAS Building Regulations r 62; ACT | |
| non-urban land only (an urban block on the ACTmapi map is not one; Building | |
| (General) Regulation 2008 s 44); NT none. TAS positives and detached Class 10a | |
| buildings 6 m or more from the dwelling are not offered. A designated site | |
| assessed BAL-LOW still engages H7D4/G5D3 (AS 3959 then adds no requirement). | |
| * South Australia (NCC 2022, MBS 007 April 2026): Part G5 covers only Class 2/3 | |
| buildings and associated Class 10a buildings/decks; G5D4, G5P2 and | |
| Specification 43 do not apply in SA. | |
| ## Information sufficiency | |
| * 2 — `ncc_edition` gold is `insufficient_information` or `applicant_may_elect` | |
| (the governing edition is undetermined until nominated), or `building_class` | |
| gold is `insufficient_information`. | |
| * 1 — edition and class are determined but one designed gap (e.g. bushfire | |
| prone status, pool depth, effective height) leaves at least one provision | |
| undecidable. Designed gap items offer one such unscored candidate | |
| (`gold.applies_Cnn.noul = null`, listed in `flags.unscored_questions`). | |
| Verification repairs may also preserve an existing undecidable question this | |
| way. If the edition is unknown or open, the item remains at level 2 even when | |
| an offered applicability question also has null gold. | |
| * 0 — otherwise, including out-of-scope items. | |
| ## Precedence for conflicting fields | |
| Approved plans and BCA/consultant report > form fields > applicant emails and | |
| notes. The rationale records which source won. | |
| ## Hard-negative codes | |
| Every offered negative candidate carries the code(s) that explain why it is a | |
| trap: HN-VER, HN-DATE, HN-COND, HN-JUR, HN-NONADOPT, HN-THRESH, HN-CLASS, | |
| HN-LEX, HN-SCOPE, HN-PART, HN-INJ, HN-TRUNC, HN-CONFLICT, HN-STALE; easy | |
| negatives carry `EASY`. | |