maiven gateway · online··
manifest · 3d ago
Sign in
Back to catalog
MAIVENmodelmarts

mart_mdt_rate_card

beta
mart table

Per-test rate card (GBP pence) for costing RFQ test requests.

Definition

One row per (related_test, category). related_test is the exact-matchable test name — a canonical test family or one of the raw mdt_test_methods.test_name variants (is_canonical=0 alias). canonical_test is the normalized family. unit_rate_minor is the per-unit rate in GBP integer pence; category splits labour / setup / materials. Synthetic reference data (build_rate_card.py); a few families are anchored to observed proposal pricing, the rest are seed-derived within a plausible band. BI + commercial personas only.

Watch out for
  • highExposing the rate card to AI personas

    unit_rate_minor is confidential-commercial. This mart grants no ai_readonly access and the row-detail is restricted to commercial personas. Do not add ai_readonly to accessible_to.

  • mediumReading unit_rate_minor as pounds

    unit_rate_minor is integer PENCE (420000 = £4,200). Divide by 100 for pounds. This is a deliberate departure from the repo's major-unit Decimal money convention.

  • mediumDouble-counting canonical + alias rows

    A physical test appears as one canonical row (is_canonical=1) plus raw-name alias rows (is_canonical=0) carrying the same rate. Dedupe on canonical_test; prefer canonical rows.

Questions this answers
  • “What's the labour rate for vacuum decay CCIT testing?”
  • “What are the most expensive tests on the rate card?”
8 of 8
Column
Type
Description
Tests · PII
rate_card_id
String
Primary key — grain of this mart (uuid5).
2 tests
related_test
String
Exact-matchable test name — canonical family or raw-name alias.
1 test
canonical_test
String
Normalized test family; aliases of the same physical test share it.
1 test
is_canonical
UInt8
1 = canonical family row, 0 = raw-name alias (same rate).
2 tests
category
String
Cost category — labour / setup / materials.
2 tests
unit_rate_minor
Int64
Per-unit rate in GBP integer pence (420000 = £4,200).
2 tests
currency
String
Always GBP.
1 test
basis
Nullable(String)
Provenance string (anchored / seed-derived / alias of …).