This page holds the whole guide, ready to print. To download it, print it and choose Save as PDF as the printer.
Government Data · Guide v0.8.1
Documentation
The guide, its reference and its method.
Built on December 1, 2026
Government Data
The Government Data platform, its applications and modules, how an installation is built and kept up to date, and where each reader goes next.
Government Data is a platform for an organisation’s data, installed on
servers the organisation controls. It brings together the applications
that measure, process and show that data, on one sign-in, one set of
permissions, one audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy. and one data lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.. This guide covers the
platform and each of its applications.
Data quality: rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. written by whoever knows the data, cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. that measure it, indicators and remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.
SchedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… and tracks the platform’s jobs; its job runners send them to Trino. Its own web shows the flows and the runs with their logs
DashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. of the indicators, with Apache Superset
Where the platform keeps its copies of the data and its results, as open tablesOpen table formatA way of storing large tables in common files (Parquet) with a layer that records every change, so they behave like a database: see the base as it was at a past date, undo a wrong load, and read only the needed part.; its console shows the storage
These pages, served inside every installation and also published openly
User guide
This guide
The apps menu, at the top right under Applications, shows each person
only the applications their permissions open; which permission opens each
is in Permissions.
Every application signs people in through the core, with the same account.
Underneath them is the platform’s core: sign-in for every application,
permissions, the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., settings, the installation’s machines and
certificates. Its package is called Quality Data, after the application it
carries.
An installation is the set of servers where one organisation runs
Government Data. It serves that organisation alone, and no data leaves it
except what the organisation itself exports. Each application is a
module: it can be added, and removed without losing its data.
Installations pull their updates: each installation’s agent fetches
signed versions, checks the signature, backs up, and applies them. Nothing
reaches into an installation from outside.
People enter every application through one door and sign in once, at the
core. The orchestrator schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… the jobs; Trino, the one SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. engine, reads
the organisation’s databases and writes the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.; the dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. read the
lake’s results through Trino. The
architecture figure draws it on its
machines, the simulation tours it one technology at
a time, and each part has a page of its own in the Technology stack.
Reviewing the architecture: the Technology stack,
one page per technology.
On paper:Download PDF gathers the whole guide on one
page.
Quality Data
Quality Data
What Quality Data, the data quality application of Government Data, is, why it exists, who uses it, its parts, and where each reader goes next.
Quality Data measures the quality of an organisation’s data. It reads
the tables of the databases the organisation already runs, checks every
record against rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. written by the people who know the data, and turns the
results into indicators people can follow and into queues of data to fix.
It only reads: the data is fixed where it lives, and the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
shows the fix. It is one of the applications of the Government
Data platform.
Most organisations know their data has errors, but not how many, where, or
whether it is getting better. Quality Data changes that:
Without it
With Quality Data
Checks are scattered across capture screens, reports and spreadsheets
Every check is a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. in one catalog, a few lines of text that whoever knows the data can write, read and review
A check alerts on some records, and nobody sees the whole picture
Every rule runs on every record of a table, and the results add up to indicators
Quality is measured by hand, now and then, in a way nobody can repeat
CutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. run on a scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…; dates are compared with the cut’s date, so measuring a cut again gives the same result
What a check does drifts away from what its description says
Each rule is explained in words from the same definition that runs it
A rule changes and nobody knows who changed it, or why the figures moved
A rule counts only once it is approved, and its history keeps who changed what and when
Errors are fixed in the order someone happens to notice them
Failures are grouped into remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. per office, region or channel, each with an SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. in days
Each person gets what they need through the policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. an administrator gives
them. The product ships with ready-made policies for the usual roles:
Role
What they do in Quality Data
Policy
Data steward: writes rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., reads indicators
Connects sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., maps tables into datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., writes, tests and approves rules, runs and schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., sets the queues’ SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.
quality-steward
Analyst: works a remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.
Reads which groups have the most open findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. and their priority, and gets the failing records fixed in the source system
quality-analyst
Manager or compliance reader
Reads the dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and indicators, never a record’s values
quality-viewer, or auditor, which also reads the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.
Administrator
Installs the product and keeps it running: user accounts, groups and policies, sign-in, mail and updates, under Settings
The Administrator role
Values read from a source come masked. Whoever’s policies let them see
personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. may show them whole, saying why, and every view of them is
recorded in the audit trail with its reason.
Explorer, in the side bar: the sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it. and their tables, the datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.
made from them with their Cuts, Schedules and Dashboard, and
the Lake, where the product keeps its copies of the data.
Sources: the databases Quality Data reads, with their credentials
stored sealed.
Rules and the rule editor: write a rule, see it said in words (As
read), Test it on real data, and take it to the approved version
directly or through a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. that someone approves.
Cuts and Schedules: take a dataset’s data at a date and measure
it, now or on a schedule.
Dashboard: one per dataset, with its indicators, its charts and its
Remediation queues.
Lake SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. console: read-only queries over the product’s copies of the
data, in Structured Query Language (SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it.), for stewards.
Settings: accounts, groups, policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., sign-in through a company
directory or an external provider, mail and updates.
Indicators that only make sense in one regulated sector are an optional
part of the product; this part of the guide describes Quality Data as it
applies to any organisation, and an optional module at its
end covers regulated financial entities in Colombia.
Everyone: read Concepts first. It walks the chain from
a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. to a remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. with one example, and defines the words
the rest of the guide uses.
Administrators:Getting started: administrator
installs the product and gives a colleague an account and a policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer..
Data stewards:Getting started: data steward
connects a source, maps a table and measures a first ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.; then the
tutorial, Rule language,
Rule patterns and Lint findings.
Analysts working a queue:Getting started: analyst
finds a group’s queue and says what to do with it today.
Managers and compliance readers:Getting started: indicators opens a dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and
reads its first indicators; then Reading the dashboard,
From results to indicators and Formulas, with
an example of each chart drawn with made-up data.
Looking something up: the Tasks pages say how each thing is done and
who does it; the Reference pages, every key, patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition., findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it., formula,
chart and permission. Every underlined term shows its meaning when you
point at it, tap it or reach it with the keyboard.
On paper:Download PDF gathers the whole guide on one
page, to print it or save it as a PDF.
Quality Data
Concepts
The chain Quality Data is built around, from a source to a remediation queue, with one example carried through it.
Everything in Quality Data follows one chain, each step handing its output
to the next: source → dataset and mapping → rules → cut → evaluation →
results and indicators → dashboard → remediation queue.
The data is fixed in the source; the next cut shows the fix, and the chain starts again.
The chain, in order: the data steward connects a source, maps a table into a dataset, writes the rules and takes a cut; Quality Data evaluates it on its own; managers and compliance readers read the results, indicators and dashboard; an analyst works a remediation queue. Each step links to its section.
This page walks it once with one made-up example: a customers table in
the organisation’s customer database, with 12,000 records and the columns
CustomerId, Email, Region and LastUpdate.
A source is a database the organisation already runs. Quality Data reads
it and never writes to it; today it reads PostgreSQL, MySQL and SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server.
A source is added under Sources with its server and credentials, which
are stored sealed and never shown again; its tables then appear in the
Explorer. Example: the customer database becomes a source, and
customers is one of its tables. Next: that table is mapped. More in
Connect a source.
A dataset is one table of a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. as Quality Data reads it: a name, its
fields and the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that check them. Its mapping says how the table is
read: which column each field reads and its type, the record key that
tells one record from another, each field’s priority (critical, high,
medium or low), and the roles of some fields, such as a grouping
field (an office, a region, a channel) that the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and the queues
split results by.
Map this table, a button inside a table opened in the Explorer,
samples the table, proposes the mapping and some first rules, and
publishes them. The sample
keeps counts, never values. Example: the dataset customers, with
CustomerId as its record key (the table’s primary key) and Region
proposed as a grouping field from its name. Next: rules check its
fields. More in Map a table into a
dataset.
A rule applies a pattern to a field: required (it has a value),
format (it has the right shape), fresh (a date is recent enough) and
eleven more. The pattern gives the rule its dimension, the kind of
quality it measures (completenessCompletenessQuality dimension: the data is present when it must be., validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list)., timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.…), and a default
severity (blocking, major or minor). A rule is a few lines of text,
written in the rule editor, which checks it as you type and says it in
words under As read.
The rules that count are the ones on main, the approved version of a
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s rules. Someone allowed to approve takes a change there with
Deploy; anyone else uses Save as a draft, and the draft waits
for an approver to Approve or Discard it. History keeps every
change, and Test runs a file on the latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. before it counts.
Next: every cut is measured with the rules on main. More in the
tutorial, Rule patterns and
Take a change to main.
A cut is the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s data as it was on one date. Quality Data copies
the table from the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. into its own store, the lake, so the cut can
be measured again later without touching the source. A dataset has at most
one cut per date, started with Run now under the dataset’s Cuts or
by a schedule (daily, weekly, monthly…). Example: the cut of 31
October 2026 holds the 12,000 customers as they were that day. Next:
once the copy is complete, its evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. starts on its own. More in Run
and schedule cuts.
The evaluation runs every ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main on every record of the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. For
each record a rule gives one of three results: it fails, it passes,
or it does not apply (the record is outside the rule’s condition, or the
value it checks is empty). A record a rule does not apply to is left out of
that rule’s figures: it is not a pass.
Example: 300 customers have no e-mail. EML-01 fails those 300 and passes
the other 11,700. EML-02 does not apply to the 300; of the 11,700 it
applies to, 150 fail. UPD-01 fails every customer whose LastUpdate is
before 31 October 2024.
EML-01
Applies to 12,000
Passes 11,700
Fails 300
Conformity: 11,700 / 12,000 ≈ 97.5%
EML-02
Applies to 11,700
Does not apply 300 · left out of the rule's figures
Passes 11,550
Fails 150
Conformity: 11,550 / 11,700 ≈ 98.7%
The 12,000 customers under EML-01 and EML-02, to scale. The 300 with no e-mail fail EML-01, and EML-02 does not apply to them, so a missing e-mail counts once; conformity divides the records that pass by those the rule applies to.
Two fixed ideas lie under every figure:
Empty means no value, an empty text, or only spaces, including the
invisible no-break space. Only required (and its opposite, empty)
looks at empty values; every other patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. skips them, so a missing value
counts once, not once per rule.
Dates are compared with the cut, never with today. “Within 24 months”
means 24 months before the cut’s date, so measuring the October 2026 cut
again next year gives the same result.
The results are each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.’s counts at the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: applied, passed, failed.
From them come the indicators:
Conformity of a rule: the share of the records it applies to that
pass. EML-02: 1 − 150 / 11,700, about 98.7 %.
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. (data reliability index): a score from 0 to 1 for each field of
each record, lowered by the rules that fail on it, weighted by severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity.,
and, for values that go out of date such as an e-mail, by the time since
the last update. A record’s ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. weights its fields by priority.
IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (overall data quality index): the mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. of the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. at the
cut, the one figure to follow over time.
Each datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has a Dashboard, under the dataset in the Explorer and in
the Quality tab of a table. It charts the results of the Cut you
choose: conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. and IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut, failures by dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., the fields with
the most failures and more. A chart appears only when the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. gives it
what it needs; charts by group need a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.. It shows totals,
never a customer’s values. Next: the failures, grouped into queues.
More in Reading the dashboard.
A finding is a record that fails a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. at a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. A remediation
queue gathers the findings of one group of a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., such as
Region North, with a service level agreement (SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.): the days allowed
to fix them, 30 unless someone who may edit the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. sets another under
Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another., below the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.. The Remediation queues chart
shows each group’s open findings, the overdue ones and their summed
priority.
Data is fixed where it lives, in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. system. A finding is resolved
when a later cut no longer fails it, so a fix shows at the next evaluated
cut, and the chain starts again. In the example, the customers failing
EML-01, EML-02 or UPD-01 fall into the queue of their region.
Today the queues show counts only: the product does not yet list a queue’s
records, nor carry findings from one cut to the next, so Overdue and
Resolved at this cut read 0. More in Reading the dashboard: remediation
queues.
Quality Data · Method
How quality is measured
Why Quality Data measures quality the way it does, the quality cycle it follows and the quality dimensions it measures.
This page explains the method behind the product: why quality is measured
with rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on every record, the cycle the work follows and what each
quality dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern. means. What each word means is in
Concepts; how a result becomes an indicator, in From
results to indicators; the exact calculations, in
Formulas.
Quality Data rests on three ideas from the standard frameworks for data
quality.
Quality is measured against written requirements.ISO 8000ISO 8000Master data quality standard: quality is declared against explicit requirements, with provenance and traceability., the
International Organization for Standardization’s standard for data
quality, says data is of good quality when it meets requirements stated
beforehand. In Quality Data each requirement is a rule: a few lines of
text with a patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition., a severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. and the sentence the person who fixes the
record reads. A figure can always be traced back to the rules behind it,
and As read says each rule in words from the same definition that
runs it.
Every record counts, not a sample. A rule runs on every record of
the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. A rate from a sample hides where the errors are; a rate from
every record can be split by field, by group and by severity, and each
failure can go to a queue.
A cut can be measured again. A cut is the data as it was on one
date, kept in the product’s own copy, and dates are compared with the
cut, never with today. Measuring the same cut again with the same rules
gives the same figures, so a change in a figure means a change in the
data or in the rules, never in the day it was measured.
The work follows the quality management cycle of DAMA-DMBOKDAMA International's data management body of knowledgeGovernance framework, roles (owner, steward) and quality cycle., the data
management body of knowledge published by DAMADAMA International (Data Management Association)The professional association that publishes DAMA-DMBOK, the data management body of knowledge. International (the Data Management Association): define,
measure, analyse, improve and control.
Control feeds the next definition: rules are tuned, and the cycle starts again.
The quality cycle as Quality Data follows it: requirements are defined as rules, measured on a cut, analysed on the dashboard, improved where the data lives, and controlled by the next cut. Each step links to its section.
The people who know the data write what it must meet, field by field, as
rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.. Not every field needs rules: start with the fields whose errors
cost most, and give them a critical or high priority in the
mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., because priority weights them in every indicator. A rule counts
only once it is approved on main. More in Write, change and test a
rule and Take a change to main.
A cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. copies the data, and its evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. runs every rule on main on
every record. Each record gets one of three results per rule: it fails,
it passes, or the rule does not apply. More in Run and schedule
cuts.
The dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. turns the results into indicators and charts: what kind of
problem dominates, in which fields, in which groups, and whether it is
improving. More in Reading the dashboard.
Failures go to remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up., one per group of a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.
(an office, a region, a channel), each with a service level agreement (SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.). Data is fixed where
it lives, in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. system: Quality Data only reads. Where many records
fail for one reason, such as a capture form or a load, fixing the cause
once is worth more than fixing records one by one. More in Work a
remediation queue.
The next cut shows whether the fixes held. The trend by cut, the movement
between bandsBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). and the p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. by group tell a lasting change from noise.
What the cycle teaches goes back to the first step: a rule that fails
almost every record may be badly posed, and a field that keeps failing
may need a stricter rule at the point of capture.
Each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. measures one quality dimension, given by its patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition.. The
dimensions come from ISO/IEC 25012ISO/IEC 25012Data quality model: inherent dimensions (accuracy, completeness, consistency, credibility, timeliness) and system-dependent ones., the data quality model of ISOInternational Organization for StandardizationThe international body that publishes standards such as ISO 8000. and the
International Electrotechnical Commission, and from DAMA-DMBOKDAMA International's data management body of knowledgeGovernance framework, roles (owner, steward) and quality cycle.. Quality
Data uses six:
Dimension
The data…
Patterns
Example on customers
CompletenessCompletenessQuality dimension: the data is present when it must be.
is present when it must be
required
Every customer has an e-mail
ValidityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list).
has the right form and an allowed value
format, length, domain
The e-mail has an @ and a domain; the region is in its list
ConsistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities).
does not contradict other fields
empty, sum, combination, implies, differs
A closed account has a closing date
TimelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.
is recent enough
fresh
The record was updated within 24 months of the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
UniquenessUniquenessQuality dimension: an entity appears only once (a unique document; a mobile phone or e-mail not shared).
appears once
unique
One customer per identity document
AccuracyAccuracyQuality dimension: the value represents reality correctly. Without an external source it is approximated by plausibility.
is believable as a picture of reality
range, placeholder
A birth date is not in the future; no “N/A” as a name
An expression declares its own dimension. Two more things a reader may
look for:
Referential integrity, that a code points to something that exists,
is checked with domain against a reference column or a catalog table,
and counts as validity.
Accuracy in the strict sense, that the value is true, needs an
external sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. to compare with. Without one, rules approximate it with
plausibilityPlausibilityThat a value is believable. A negative net worth or expenses far above income are possible but unlikely: they are confirmed with the customer, not taken as errors.: values that are possible but unlikely.
The Failures by dimension and severity chart counts failures by these
dimensions. Each pattern’s dimension and default severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. are in Rule
patterns; the formula of each dimension over a whole
variable, in How each quality dimension is
measured.
Rules say what is wrong with a record. Three more kinds of evidence look at
the data as a whole, and each has its chart on the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.:
Profiling describes each field before any rule: how often it is
empty, how many distinct values it has, and its commonest shape. A code
stored as a number that lost its leading zero shows here first.
Statistical control asks whether a group fails more than normal
variation explains. The p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. by group draws limits that are wide for
small groups and narrow for large ones, so only real signals stand out.
Outliers and drift look at amounts and populations: an amount
unusual for its group, measured with a robust zRobust zHow many typical distances a value is from its group's normal value: 0.6745 × (value − median) / MAD, robust because it uses the median and the MAD. Above 3.5 the value is flagged as an outlier. based on the medianMedianThe middle value once the data is sorted. Unlike the mean, a few extreme values do not drag it.
absolute deviation (MADMedian absolute deviationHow spread the data is around its typical value: the median of the distances of each value to the median. An extreme value does not inflate it, which is why it serves to find outliers.), and a population that moved since the
previous cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., measured with the population stability index (PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use.).
The formula of each quality dimension (completeness, validity, uniqueness, accuracy, consistency and timeliness), per variable and per cut, and what each one counts.
How quality is measured says which quality dimensionsDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern.
Quality Data uses and which rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. belong to each. This page gives the
formula of each dimension, so that a figure can be checked by hand.
Every dimension yields a value between 0 and 1, shown as a percentage.
For every dimension but completenessCompletenessQuality dimension: the data is present when it must be., the higher, the better;
completeness counts what is missing, so for it the lower, the better. Each value is measured per variable (one
field of a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., such as a document number or an income) and per
cut, so the same variable can be followed from one cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to the next.
Notation: i = variable, j = record, Ni = total records of variable
i in the cut. Unless a dimension says otherwise, Ni counts all
records, including those where the value is not filled in: an empty value
is not left out, it counts against the dimension.
This measure is the share of empty or null records: the lower, the
better, unlike the other dimensionsDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., where higher is better. 0 means no
record is missing the value.
Completeness of a fieldExample dataTen records of the e-mail field: the measure is the share of empty ones (the lower, the better).
Whether the value has the right form for its kind of field. Each kind has
its own check, measured over all values, including those not filled in:
Kind of field
Formula
Document
1−Nrecords with spaces
Name
1−Nrecords with special characters
Phone
1−Nrecords without exactly 10 digits
E-mail
Nrecords with the structure text@text.text
Date
Nrecords within the valid date range
Financial variable
Ninumeric recordsi
The first three count what is wrong and subtract it from 1; the last three
count what is right (a phone counts as valid only with exactly 10 numeric
digits, nothing else). Both read the same way: 1 means every value is valid.
An empty value is not a valid e-mail, date or number, so it lowers those
three.
Validity by kind of fieldExample dataA document with a space, a name with a special character, a phone without 10 digits, an e-mail without @, a date out of range and a non-numeric amount are not valid; nor is an empty value.
Whether a financial value is believable. Income and expenses each join two
checks, with equal weight: the value is not zero, and income is not below
expenses. Measured over all values, including those not filled in.
Whether the same financial variable agrees between two sets that must
hold the same values: set A and set B, such as two sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., or a
detail and its total.
Consistencyi=1−∑Ai∣∑Ai−∑Bi∣
where ∑Ai and ∑Bi are the sums of the values of variable i
in set A and in set B.
Set A is the reference: the difference is read as a share of its total,
so its sum must not be zero. Measured over all values, including those not
filled in.
Consistency between two setsExample dataThe same variable summed in two sets that must agree; the gap is read against A's total.
Whether a value has been updated recently enough for the risk it carries.
Timelinessi=1−Nirecords with dj>Dj+30
where:
dj = calculation date − date the field was last updated, in days;
Dj = maximum number of days allowed by the record’s risk profile.
A record is late when its value is older than its risk profile allows, plus
30 days of grace. When the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. keeps only a general last-update date per
person, not one per field, that date is used for every field measured.
Measured over all values, including those not filled in.
Timeliness by risk profileExample dataEach bar is d, the days from the last update to the calculation date. Dashed line: D, the profile's maximum (high 180, low 365); solid line: D + 30.
These formulas measure a dimension over a whole variable. In Quality Data,
the rules of a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. are what count each case: an empty value, a value
with spaces, a duplicate, an old update. Which rules feed each dimension,
and with which parameters (the valid date range, the risk profiles and
their days), is configured per dataset. See Write, change and
test a rule to configure them, Rule
patterns for each patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition.’s dimension, and
Formulas for the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.’s own figures.
Quality Data · Method
Formulas
Each chart of the dashboard with its example, the formula it is calculated with, and how to read it.
This page gathers, for each of the 17 charts on a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s quality
dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., an example, the formula Quality Data calculates it with, and how
to read it. The core evaluates the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and sends the notifications; the
charts are drawn by the quality dashboard in Superset, the installation’s
BI application, from the results in gold. What to do with each chart is in
Reading the dashboard; what each indicator means, in From
results to indicators. How long each stage of an
evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. takes is a system metric, shown in Grafana, not a chart of the
dashboard.
Notation: i = record, e = entity, a = field, r = rule, g = group,
k = component of the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. (data reliability index), 1[⋅] = 1
when the condition holds and 0 otherwise. The weights, severities and
thresholds below are fixed in the product today. Some concepts of the
original method (the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.’s K, V and T components, a failure’s cause,
outliers as probable errors, an SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. measured against a target, a treatment
by bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75).) are not calculated yet: see Assumptions and
limits.
Each chart is a query over a results model in gold that every evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures.
writes the same way, for any datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.: customers, orders, products, suppliers.
Under each chart, Query says which part of that model feeds it, and
Needs what a dataset must have for the chart to appear.
Part
One row per
What it holds
CutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. summary
Dataset and cut
Overall data quality index (IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time.), records, entities, bandsBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75).
RuleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. results
Dataset, cut and rule
Field, dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity., applies, failures
Field quality
Dataset, cut and field
Mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., empties, distinct values, commonest shape, update recency
Entity ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.
Dataset, cut and entity
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., band, segmentSegmentThe commercial group a customer belongs to; it defines the offer and the service.; charts read it only through aggregate views
Group figures
Dataset, cut, grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. and group
Records, records with a serious failure, mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.
Distribution checks
Dataset, cut and variable
Each driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. variable’s percentilesPercentilePercentile 99 (P99) is the value below which 99 % of the data falls., outliers by group
Queue findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.
Dataset, cut, queue and the cut its findings opened at
Open and resolved findings, their priority
Charts read aggregates only: the entity ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. reaches them through three
aggregate views (the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. distribution, bands by segment and band
transitions), never one row per entity, and individual records stay behind
the permission to see personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.. When a dataset is mapped, some of its
fields take a role, and each role turns on the charts that need it:
Role
Example in customers
Example in orders
Turns on
Entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it.
Document
The customer’s document
Distribution of the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., band transitions
Segment
Customer type
Order type
Data condition by segment (with an entity key)
Grouping field
Office, advisor
Store, product, channel
p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out., largest groups, groups that changed most, remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.
Update date
Last update
Last change date
Update recency, and the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.’s A component
Outlier amount
Total income
Order amount
Outliers by group (with a grouping field)
Drift variable
Income, age
Price, delivery days
PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. by decilesDecileDeciles split the data into 10 groups with the same number of records.
Charts that need nothing (conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. and IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut, failures by dimension
and severity, fields with the most failures, fields with the lowest ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.,
profilingProfilingA descriptive analysis of each column: nulls, cardinality, patterns and distribution., conformity by rule) appear for every dataset.
The SFC indicatorSFC indicatorThe data quality indicator of Colombia's financial supervisor, for the entities it supervises: the share of its cells that meet the 90 % threshold. Quality Data computes it from the same rule results as the ICD when a dataset takes part in it. belongs to an optional
module.
Every figure on this page comes from each rule’s result on each record,
which is one of three:
Does not apply when the record is outside the rule’s population or
does not meet its when condition; when the field it checks is empty,
unless the rule says on_empty: fail (required exists to fail on
empties, so an empty value does fail it); or when a value the check needs
is missing, such as one of the parts of a sum.
Fails when it applies and the check does not hold.
Passes when it applies and the check holds.
A rule reads every field it names: the one it checks, those in its
when and its population, those it checks for emptiness, and the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.
fields of a derived field. If it reads one field, it counts in that
field’s C component; if it reads several, in the S of each. For
example, a required on the legal representative limited to companies also
reads the customer type, so it counts in the S of both fields and not in
the representative’s C.
Each rule has a quality dimension, set by its patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. (required is
completenessCompletenessQuality dimension: the data is present when it must be.; format, length and domain, validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list).; range and
placeholder, accuracyAccuracyQuality dimension: the value represents reality correctly. Without an external source it is approximated by plausibility.; unique, uniquenessUniquenessQuality dimension: an entity appears only once (a unique document; a mobile phone or e-mail not shared).; fresh, timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.; those
across fields, consistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities).; an expression declares its own), and a
severity with its weight sr: blocking 1.0, major 0.6, minor 0.3.
Without a written severity, required is blocking, unique and differs
minor, and the rest major. The six dimensions classify rules: they are not
components of the ICDICD componentsThe parts that add up to a field's ICD: C (conformity with the field's own rules), S (consistency with other fields) and A (timeliness).. A fresh rule, for example, counts in its field’s
C or S like any other, and is distinct from the A component of
section 7.
Each field has a priority with its weight ca: critical 4, high 3,
medium 2, low 1. Until someone sets it, it is medium.
appliesr counts the records the rule applies to and
failuresr those that fail it. A rule that applied to no record
has no conformity: it shows ”—” in the table and is left out of the
drawing.
The 15 rules with the lowest conformityExample dataConformity = 1 − failures ÷ records the rule applies to. R-31 applies to companies only.
QueryRule resultsNeeds nothing: it applies to every dataset
Show the data as a table
Rule
Field
Dimension
Severity
Applies
Failures
Conformity
R-12 · Updated over a year ago
Last update date
Timeliness
Major
52,634
22,106
58%
R-08 · Address without street format
Home address
Validity
Major
53,399
18,156
66%
R-04 · Activity code inconsistent with occupation
Activity code
Consistency
Major
51,870
15,042
71%
R-31 · Legal representative empty (companies)
Legal representative
Completeness
Blocking
4,368
1,136
74%
R-09 · Placeholder e-mail
Email
Accuracy
Major
50,014
11,003
78%
R-14 · Invalid mobile phone format
Mobile phone
Validity
Major
52,907
10,052
81%
R-15 · Net worth ≠ assets − liabilities
Net worth
Consistency
Major
46,956
7,983
83%
R-02 · Occupation empty
Occupation
Completeness
Blocking
54,600
8,190
85%
R-21 · Customer category empty
Customer category
Completeness
Blocking
54,600
7,644
86%
R-11 · Employer empty for employees
Employer
Completeness
Blocking
28,392
3,407
88%
R-17 · City not in the catalog
City code
Validity
Major
54,491
5,994
89%
R-05 · Income empty
Total income
Completeness
Blocking
54,600
4,914
91%
R-18 · Repeated mobile phone
Mobile phone
Uniqueness
Minor
52,907
3,703
93%
R-01 · Date of birth empty
Date of birth
Completeness
Blocking
54,600
2,730
95%
R-06 · Name with invalid characters
Name
Validity
Major
54,600
1,638
97%
How to read it. A low conformity means the data is wrong or the rule is
badly framed: review the lowest with their owner before fixing thousands of
records. A rule that applies to few records, like R-31 here, swings a lot
between cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: read its count before its rate. More in Reading the
dashboard.
A cut’s conformity sums failures and applies over all its rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.; the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time.
is section 8’s. The chart shows the last twelve cuts up to the one chosen.
Conformity and IGCD by cutExample dataConformity is the share of rule checks that passed; the IGCD, the entities' mean ICD. The vertical axis does not start at zero.
Conformity
IGCD
QueryCut summary and rule resultsNeeds nothing: it applies to every dataset
Show the data as a table
Cut
Records
Failures
Conformity
IGCD
2026-01
52,900
141,794
0.797
0.781
2026-02
53,300
138,643
0.803
0.792
2026-03
53,600
134,469
0.810
0.806
2026-04
54,000
131,195
0.816
0.818
2026-05
54,300
127,622
0.822
0.833
2026-06
54,600
123,698
0.828
0.846
How to read it. Both rising is good. The vertical axis does not start
at zero: check the table before calling something a change. Steady
conformity with a falling IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. is usually outdated data (the A
component), fixed by an update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case. rather than case by case.
A failure is a record failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.: a record that fails three rules
counts three. The table adds how many rules each pair has and how many
records they applied to.
Failures by dimension and severityExample dataEach failure is a record failing a rule: a record failing three rules counts three.
QueryRule resultsNeeds nothing: it applies to every dataset
Show the data as a table
Dimension · severity
Rules
Applies
Failures
Validity · Major
4
215,397
35,840
Completeness · Blocking
6
251,160
28,021
Consistency · Major
2
98,826
23,025
Timeliness · Major
1
52,634
22,106
Accuracy · Major
1
50,014
11,003
Uniqueness · Minor
1
52,907
3,703
How to read it. Blocking and major first. Many completenessCompletenessQuality dimension: the data is present when it must be. failures
point at the capture form or the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.; many timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. failures, at an
update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case..
field(r) is the field the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. checks (its field), even if it
reads others in its condition. The table adds how many rules check the
field and how many checks they made.
Fields with the most failuresExample dataEach rule's failures, summed under the field the rule checks.
QueryRule resultsNeeds nothing: it applies to every dataset
Show the data as a table
Field
Rules
Applies
Failures
Last update date
1
52,634
22,106
Home address
1
53,399
18,156
Activity code
1
51,870
15,042
Mobile phone
2
105,814
13,755
Email
1
50,014
11,003
Occupation
1
54,600
8,190
Net worth
1
46,956
7,983
Customer category
1
54,600
7,644
City code
1
54,491
5,994
Total income
1
54,600
4,914
Employer
1
28,392
3,407
Date of birth
1
54,600
2,730
Name
1
54,600
1,638
Legal representative
1
4,368
1,136
How to read it. A field with many failures and many rules may simply be
the most checked: compare it with conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. by rule before deciding where
to start.
Ca,iSa,iAa,iICDa,iICDa=1−∑r∈own(a),appliessr∑r∈own(a)sr1[failsr,i]=1−∑r∈cross(a),appliessr∑r∈cross(a)sr1[failsr,i]=0.5max(di,0)/365=∑kwk∑kwkxk,a,i,(wC,wS,wA)=(0.40,0.15,0.15)=meani:ICDa,i existsICDa,iconformity of the rules that read only aconsistency with other fieldsonly if a expires and the record has a date
own(a) are the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that read only field a and
cross(a) those that read a and others (section 2). di is the
number of days from the record’s update date to the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. A falls from the
first day: 0.94 at 30 days, 0.71 at 180, 0.50 at a year, 0.25 at two years.
It exists only for fields marked as expiring (contact data, income, an
employer), when the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has an update date field, and on the records
that have that date: a record with no date has no A, not an A of zero.
A component that does not exist for a record (no rule applies, the field
does not expire, there is no date) leaves the sum and the remaining weights
are renormalised; a field with no component has no ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. on that record.
The 12 fields with the lowest mean ICDExample dataEach field's mean ICD, over the records where the field has one.
QueryField qualityNeeds nothing: it applies to every dataset
Show the data as a table
Field
Mean ICD
Last update date
0.64
Home address
0.71
Activity code
0.74
Email
0.77
Mobile phone
0.79
Occupation
0.81
Customer category
0.83
Employer
0.85
Total income
0.86
City code
0.88
Net worth
0.89
Date of birth
0.95
How to read it. Unlike the failure count, the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. weighs severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. and,
for fields that expire, age. A field low here with few failures, like the
example’s update date, is usually old rather than wrong: it needs
updating, not correcting.
ICDiICDa,eIGCD=∑aca∑acaICDa,iover the fields with an ICD on i={mini∈eICDa,imeani∈eICDa,ia criticalotherwise,ICDe=∑aca∑acaICDa,e=N1e=1∑NICDe,bine=20min(⌊20ICDe⌋,19)
An entity e is the set of records sharing the entity key, normalised:
a document field keeps its digits only, without leading zeros; any other
field, its value without surrounding spaces and in upper case; a key of
several fields joins them. A record whose key, or one of its parts, is
empty belongs to no entity: it is left out of the entity ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. and
the bandsBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75).. N is the number of entities with an ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.. Without an entity
key, the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. is the mean of the records’ ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. and there are no bands. The
chart counts entities in 0.05 bins named by where they start; an ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. of
1.00 counts in the last, and bins with no entity are not shown.
Distribution of the entities' ICDExample dataEntities per 0.05 bin, named by where it starts; an ICD of 1.00 counts in the last. The lines mark the bands: 0.75 and 0.90.
QueryAggregate view: ICD distributionNeeds an entity key
Show the data as a table
ICD bin
Entities
0.40 – 0.45
90 (0%)
0.45 – 0.50
150 (1%)
0.50 – 0.55
220 (1%)
0.55 – 0.60
350 (2%)
0.60 – 0.65
520 (3%)
0.65 – 0.70
760 (4%)
0.70 – 0.75
1,040 (6%)
0.75 – 0.80
1,380 (7%)
0.80 – 0.85
1,900 (10%)
0.85 – 0.90
2,750 (15%)
0.90 – 0.95
3,960 (21%)
0.95 – 1.00
5,480 (29%)
How to read it. Right of 0.90 is the good band, between the lines the
fair one, left of 0.75 the poor one. A tall pile just left of a line is
cheap to move: a few fixes per entity change its band.
An entity’s segment is the commonest value of the segment field among its
records; on a tie, the first in alphabetical order. The chart counts each
segment’s entities by bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75)., the largest segment first. The band is a
classification: the product triggers no action from it.
Data condition by segmentExample dataEach segment's entities by band. An entity's segment is the commonest value among its records.
✓Good (ICD ≥ 0.90)
!Fair (0.75–0.90)
✕Poor (< 0.75)
QueryAggregate view: bands by segmentNeeds an entity key and a segment (here, customer type)
Show the data as a table
Segment
Good (ICD ≥ 0.90)
Fair (0.75–0.90)
Poor (< 0.75)
Individual
9,950 (58%)
5,050 (29%)
2,150 (13%)
Company
520 (36%)
480 (33%)
450 (31%)
How to read it. A segment much redder than the rest usually fails on
fields its records do not bring: a process problem, fixed at the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.. A
small segment can look extreme with few entities: read its count in the
table.
Where did the entities go since the previous cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.?
nb→b′=#{e:Bandeprevious=b,Bandethis=b′}
Entities are matched between the two cuts by a keyed hash of their
normalised key: the key itself never leaves the evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures.. Only entities
with a band in both cuts count; the first evaluated cut has no transitions.
How the entities moved between bandsExample dataRows: band at the previous cut. Columns: band at this cut. The diagonal stayed the same. Only entities with a band in both cuts count.
QueryAggregate view: band transitions, 2 cutsNeeds an entity key and two cuts
Show the data as a table
Previous cut ↓ / this cut →
✓ Good
! Fair
✕ Poor
✓ Good
9,240
610
150
! Fair
880
4,120
470
✕ Poor
90
640
1,800
How to read it. The diagonal stayed the same; above it (towards good)
improved, below it worsened. A large flow from good to fair without new
errors is usually data that expires (the A component).
di=cut−update datei(days)bands: di<0,0–30,31–90,91–180,181–365,366–730,>730,no date
It counts every record of the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. by the days between its update date and
the cut’s date, never today. “No date” are the records with that field
empty. The table shows the A (section 7) each bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). gives a field that
expires.
Update recencyExample dataThe records by the days from their update date to the cut. The A of a field that expires falls from the first day and is 0.50 at a year.
QueryField qualityNeeds a field with the «update date» role
Show the data as a table
Last update
Records
A of a field that expires
After the cut
218 (0.4%)
1.00
Up to 30 days
4,914 (9%)
1.00–0.94
31–90 days
7,644 (14%)
0.94–0.84
91–180 days
8,190 (15%)
0.84–0.71
181–365 days
10,374 (19%)
0.71–0.50
366–730 days
9,828 (18%)
0.50–0.25
Over 730 days
11,466 (21%)
< 0.25
No date
1,966 (4%)
—
How to read it. Data can be correct and still old, and A falls from
the first day, not after a year. A large share in the bands over a year
calls for an update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case.. Dates after the cut are suspect (a wrong
format, a default date): check how they are captured.
pg is the share of group g‘s records with at least one serious
failure: a blocking or major ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that reads a critical or high field and
fails. With groups of thousands of records, the plain binomial limits
almost vanish and every group looks out of control; σz, the real
spread between groups measured with the moving rangeMoving rangeIn the p′ chart, the difference between each office's score and the previous one's; its mean divided by 1.128 gives σz, how much more the offices vary among themselves than chance would explain. of z over the groups
ordered by size (Laney’s p′ chart), widens them. With a single group,
σz=1. There is one chart per grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., over its 1,000
largest groups; the empty group is left out. There is a signal when pg
falls outside its limits.
p′ chart by group · OfficeExample dataShare of records with at least one serious failure, by office size. The curves are the control limits: they narrow for larger offices. The empty group is left out.
In control
✕Signal: above the limit
✓Signal: below the limit
Control limits
QueryGroup figuresNeeds a grouping field (here, office)
Show the data as a table
Office
Records
With a serious failure
Limits
Reading
Office 01
320
21%
2.3% – 35.0%
In control
Office 02
450
15%
4.9% – 32.4%
In control
Office 03
600
24%
6.7% – 30.6%
In control
Office 04
780
19%
8.2% – 29.1%
In control
Office 05
900
12%
8.9% – 28.4%
In control
Office 06
1,100
20%
9.8% – 27.4%
In control
Office 07
1,300
17%
10.5% – 26.7%
In control
Office 08
1,500
26%
11.1% – 26.2%
In control
Office 09
1,700
16%
11.5% – 25.7%
In control
Office 10
2,000
19%
12.1% – 25.2%
In control
Office 11
2,300
14%
12.5% – 24.7%
In control
Office 12
2,600
21%
12.9% – 24.4%
In control
Office 13
3,000
18%
13.3% – 24.0%
In control
Office 14
3,400
22%
13.6% – 23.6%
In control
Office 15
3,800
17%
13.9% – 23.4%
In control
Office 16
4,300
13%
14.2% – 23.1%
Signal: below the limit
Office 17
4,800
20%
14.4% – 22.8%
In control
Office 18
5,300
24%
14.6% – 22.6%
Signal: above the limit
Office 19
5,800
16%
14.8% – 22.5%
In control
Office 20
6,200
19%
14.9% – 22.3%
In control
How to read it. Only points outside the curves are signals. Above:
something in that group produces more serious failures than in the others,
and its cause is worth findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.. Below: something is done better and is
worth copying. Between the curves: normal variation, whatever the ranking
says. If every group rises at once, the cause is in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., not in the
groups.
The fifteen groups with the most records of each grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., with their
share with a serious failure (section 12) and their mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. (section 8).
Records with the grouping field empty make their own group, “(empty)”.
Largest groups · OfficeExample dataThe 15 groups with the most records, the empty office included.
QueryGroup figuresNeeds a grouping field (here, office)
Show the data as a table
Office
Records
With a serious failure
Mean ICD
Office 20
6,200
19%
0.85
Office 19
5,800
16%
0.87
Office 18
5,300
24%
0.82
Office 17
4,800
20%
0.85
Office 16
4,300
13%
0.88
Office 15
3,800
17%
0.86
Office 14
3,400
22%
0.83
Office 13
3,000
18%
0.86
Office 12
2,600
21%
0.84
(empty)
2,450
31%
0.74
Office 11
2,300
14%
0.88
Office 10
2,000
19%
0.85
Office 09
1,700
16%
0.87
Office 08
1,500
26%
0.81
Office 07
1,300
17%
0.86
How to read it. Read it with the p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out.: a large group with a
slightly worse share moves more records than a small one with a much worse
share. A large “(empty)” is a capture problem in itself.
Which groups moved since the previous cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.?
In percentage points, for the groups with records in both cuts; the
fifteen with the largest ∣Δg∣ of each grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. are shown. A
positive Δg is worse: more records with a serious failure. The
first evaluated cut has nothing to compare with.
Groups that changed most · OfficeExample dataChange in the share with a serious failure since the previous cut, in percentage points: right worsened, left improved.
Worsened
Improved
QueryGroup figures, 2 cutsNeeds a grouping field (here, office) and a previous cut
Show the data as a table
Office
Previous cut
This cut
Change
Office 03
18%
24%
+6.0 pp
Office 08
21%
26%
+5.0 pp
(empty)
27%
31%
+4.0 pp
Office 01
25%
21%
−4.0 pp
Office 18
20%
24%
+4.0 pp
Office 05
15%
12%
−3.0 pp
Office 14
19%
22%
+3.0 pp
Office 11
16%
14%
−2.0 pp
Office 16
15%
13%
−2.0 pp
Office 02
14%
15%
+1.0 pp
Office 04
20%
19%
−1.0 pp
Office 06
19%
20%
+1.0 pp
Office 07
18%
17%
−1.0 pp
Office 10
20%
19%
−1.0 pp
Office 12
20%
21%
+1.0 pp
How to read it. It shows where to look, not whom to blame: a group can
worsen because it took records over from another. Small groups move a lot
by chance; check the p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. before acting.
How much waits in each group’s queue, and how much is late?
Priorityi,roverduei,r=a∈reads(r)maxbusiness impact4ca(1−ICDa,i)×closenessa⟺sincei,r+SLAg<cut,SLAg=the group’s, else the grouping field’s, else 30 days
A finding is a record i failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.r; it needs a record keyRecord keyThe field or fields of a dataset's mapping that tell one record from another.
(the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.’s, or the entity’s). Its priority takes the highest term over
the fields the rule reads. closenessa is 0.2 except in a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.
with the SFC indicatorSFC indicatorThe data quality indicator of Colombia's financial supervisor, for the entities it supervises: the share of its cells that meet the 90 % threshold. Quality Data computes it from the same rule results as the ICD when a dataset takes part in it., where it depends on how close the field’s cellCellEach field the optional SFC indicator evaluates: 1 when at least 90 % of the active records have it right, 0 otherwise. is
to the threshold (see the optional
module).
Each finding falls in one queue per grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.: that of the record’s
value. since is the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. the finding opened at, carried from one cut
to the next while the same rule keeps failing on the same record. Per
queue, the chart gives:
Open: the cut’s findings; overdue, those meeting the condition
above.
Resolved at this cut: the previous cut’s findings this cut no longer
has.
Oldest open: the days from the oldest since to the cut.
Priority: the sum over its open findings.
The fifteen queues with the most open findings of each grouping field are
shown. While findings are not yet carried from one cut to the next, every
finding counts from the cut shown, and Overdue and Resolved show 0.
Remediation queues · OfficeExample dataOpen findings in each office's queue and, of them, the overdue: open since a cut more than their SLA before this one.
Open
Overdue
QueryQueue findingsNeeds a grouping field (here, office) and a record key
Show the data as a table
Office
Open
Overdue
Resolved at this cut
Oldest open (days)
SLA (days)
Priority
Office 20
2,180
310
640
92
30
171
Office 18
2,050
520
410
123
15
186
Office 19
1,620
140
590
61
30
118
Office 17
1,530
380
350
92
30
129
(empty)
1,180
260
90
153
30
112
Office 16
1,090
90
420
61
30
77
Office 15
1,060
150
300
92
30
84
Office 14
1,020
210
280
92
30
88
How to read it. Red is what to chase first; a high summed priority with
few findings means a few costly ones. A finding is resolved only when a
later cut stops failing it. How the SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. is set is in Reading the
dashboard.
For each group of a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., take the typical amount (the
median; with an even number of amounts, the mean of the two middle
ones) and how far amounts usually stray from it (the MADMedian absolute deviationHow spread the data is around its typical value: the median of the distances of each value to the median. An extreme value does not inflate it, which is why it serves to find outliers., median
absolute deviation). The robust z says how many of those typical
distances each amount is away. Median and MADMedian absolute deviationHow spread the data is around its typical value: the median of the distances of each value to the median. An extreme value does not inflate it, which is why it serves to find outliers. are used instead of mean and
standard deviation because a few huge amounts would move the mean and hide
precisely the unusual cases; the logarithmLogarithmA transformation that counts "how many zeros" a number has: log10 of 1,000,000 is 6. Used with income so that going from 1 to 2 million weighs the same as from 10 to 20. makes doubling weigh the same at
any level. Only positive amounts count. Records with the grouping field
empty make the “(empty)” group. The 1,000 groups with the most amounts are
calculated, and the fifteen with the most outliers are shown.
Example. With amounts of 1, 1.1, 1.2, 1.3 and 50 thousand, the median
is 1.2 thousand and the MADMedian absolute deviationHow spread the data is around its typical value: the median of the distances of each value to the median. An extreme value does not inflate it, which is why it serves to find outliers. 0.1 thousand: the extreme value does not
inflate it. Taken as logarithms, the MADMedian absolute deviationHow spread the data is around its typical value: the median of the distances of each value to the median. An extreme value does not inflate it, which is why it serves to find outliers. falls below 0.10 and the floor is
used: 50 thousand gets a robust z of about 10.9, an outlier, and the other
four stay within 0.6 of zero.
Income outliers by group · OccupationExample dataIncomes with a robust z beyond 3.5 below or above within their occupation. Only positive incomes count.
Low (z < −3.5)
High (z > 3.5)
QueryDistribution checksNeeds an outlier amount and a grouping field (here, income by occupation)
Show the data as a table
Occupation
Positive incomes
Low (z < −3.5)
High (z > 3.5)
Outlier share
Self-employed
11,300
9
63
0.64%
Employee
24,800
12
41
0.21%
Retiree
7,900
21
8
0.37%
Homemaker
2,100
14
3
0.81%
Student
1,600
2
11
0.81%
(empty)
900
0
5
0.56%
How to read it. An outlier is not an error by itself: the chart does
not tell an error from a legitimate value. Review the groups with the
largest share, fix the errors (extra digits, another unit) and keep the
legitimate ones. In a group with few amounts the median is unstable: read
the count in the table.
Did this cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.’s population change from the previous one?
PSI=k=1∑10(ak−ek)lnekak⎩⎨⎧<0.100.10 to 0.25>0.25stablemoderate driftsignificant drift
The PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. compares how a drift variable is spread in this cut and in the
previous evaluated cut. Each evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. keeps the variable’s
percentilesPercentilePercentile 99 (P99) is the value below which 99 % of the data falls. 0 to 100, exact, with linear interpolation between two values.
The previous cut’s decilesDecileDeciles split the data into 10 groups with the same number of records. are the ten bins; ek is the previous cut’s
share in bin k (about 10 %) and ak this cut’s, both read off their
percentiles, to a resolution of 1 %. An empty bin counts as 0.0001, so the
logarithmLogarithmA transformation that counts "how many zeros" a number has: log10 of 1,000,000 is 6. Used with income so that going from 1 to 2 million weighs the same as from 10 to 20. exists. There is one chart per drift variable, and none on the
first evaluated cut.
PSI = 0.16 · moderate driftExample dataThis cut's income in the previous cut's deciles (D1, the lowest-income 10%). If alike, each decile would hold about 10%. Under 0.10 is stable; 0.10 to 0.25, moderate drift; over 0.25, significant drift.
Previous cut
This cut
QueryDistribution checks, 2 cutsNeeds a drift variable (here, income) and a previous cut
Show the data as a table
Decile
Previous cut
This cut
D1
10%
4%
D2
10%
5%
D3
10%
7%
D4
10%
8%
D5
10%
10%
D6
10%
11%
D7
10%
12%
D8
10%
13%
D9
10%
15%
D10
10%
15%
How to read it. Blue columns like the grey ones is good. If the blue
piles up at one end, the population moved: every record can be valid and
the batch still suspect. With moderate drift, review it before using it;
with significant drift, look for the cause (a new sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., a change of unit,
a loading error). Because of the 1 % resolution, a PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. near 0 is
approximate.
A value is empty if it is null or only spaces. A value’s shape turns
each digit into 9 and each letter A to Z, upper or lower case, into A;
every other character (spaces, hyphens, @, accented letters) stays as it
is, and it is cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. at 40 characters. Repeats are not compressed: a ten-digit
mobile number is 9999999999. fa∗ is the commonest shape among the
filled values (on a tie, the first in alphabetical order). The table adds
the distinct values.
Profiling: the emptiest fieldsExample dataEmpty is null or only spaces. The shape turns each digit into 9 and each letter A to Z into A, cut at 40 characters.
QueryField qualityNeeds nothing: it applies to every dataset
Show the data as a table
Field
Empty
Distinct
Commonest shape
Of the filled
Landline
41.2%
28,400
9999999
92.0%
Email
8.4%
45,100
AAAAAAAA@AAAAA.AAA
6.1%
Mobile phone
3.1%
51,300
9999999999
99.2%
Home address
2.2%
49,800
AAAAA 99 # 99 - 99
12.0%
Activity code
1.6%
286
9999
81.3%
Date of birth
0.4%
17,950
9999-99-99
99.6%
City code
0.2%
412
99999
97.5%
Name
0.0%
50,900
AAAA AAAAAAA
3.2%
How to read it. An empty field may be optional: compare it with the
rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.. A commonest shape far below 100 % suggests mixed formats, except in
free fields such as e-mail or name, where it is normal; a code that lost its
leading zero shows as a shorter shape. It is profiling: it shows no values,
only shapes.
Only for a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. that takes part in the indicator of Colombia’s
Superintendencia Financiera (SFCSuperintendencia Financiera de ColombiaColombia's financial supervisor. Its data quality indicator applies only to the entities it supervises.): see the optional
module.
An active record is correct in a field’s cellCellEach field the optional SFC indicator evaluates: 1 when at least 90 % of the active records have it right, 0 otherwise. when the field is filled and
no ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that reads it fails.
SFC indicator: 6 of 10 cells passExample dataEach row is a cell: it is 1 when at least 90% of active records have the field right. The band (80–90%) is where the fewest fixes turn a cell from 0 to 1.
✓Passes (cell = 1)
✕Fails (cell = 0)
QuerySFC cellsNeeds the dataset takes part in the SFC indicator
Show the data as a table
Field
Correct
Cell
Document number
99%
1
Name
98%
1
Date of birth
96%
1
City code
93%
1
Total income
92%
1
Occupation
91%
1
Mobile phone
87%
0
Home address
84%
0
Email
81%
0
Activity code
76%
0
How to read it. Red cells inside the 80–90 % bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). are where the fewest
fixes turn a cell from 0 to 1; green ones just above 90 % are at risk. More
in Reading the SFC indicator
chart.
Quality Data · Method
From results to indicators
How a rule's result becomes conformity, the ICD, the IGCD and a band, how to read each one, and the decision it supports.
Every indicator Quality Data shows comes from one sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.: the result of
each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on each record of a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. This page follows that result up to the
figures people read, and says what each figure answers and what to do
about it. The exact formulas are in Formulas; where each
figure appears on the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., in Reading the dashboard.
From a rule's result to a decision: results per record give each rule's conformity and each field's ICD; fields add up to a record's ICD, records to an entity's, with its band; entities to the dataset's IGCD; people read them to decide. Each step links to its section.
For each record, a rule fails, passes or does not apply. A
record the rule does not apply to is left out of that rule’s figures: it is
neither a pass nor a failure. That keeps a missing value from counting once
per rule, and keeps a rule written for some records (companies, closed
accounts) from looking better because of the records it ignores. More in
Concepts: evaluation.
A ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.’s conformity is the share of the records it applies to that
pass. It answers how well each requirement is met, and it is the figure to
review rules with: a rule with very low conformity means either that the
data is wrong or that the rule is badly posed. Overall conformity, on the
trend by cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., is the share of all rule checks that passed.
Conformity counts checks, not records, and treats every rule alike. The
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. weighs what matters.
The ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. (data reliability index) is a score from 0 to 1 for each field
of each record. It joins up to three components, each telling a different
reason why a value is not reliable:
Component
It comes from
When it is low, the value…
C · conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies.
The rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that read only this field
is wrong by itself: empty, badly formed, repeated
S · consistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities).
The rules that read this field with others
contradicts another field
A · timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.
The time from the record’s update date to the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
may be right, but is old and trusted less
C and S weight each failing rule by its severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity.: a blocking failure costs
more than a minor one. A loses half its value for each year without an
update, and applies only to fields whose value goes out of date, such as an
e-mail or an address, and only when the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has an update date. A
component with nothing to measure, such as no rule applying, leaves the
score, and the others share its weight.
A record’s ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. averages its fields’ ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., weighting each field by its
priority: a critical field weighs four times a low one.
An entity is whoever the records are about, such as a customer or a
company, known by the field holding the entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it.. When one entity has
several records, its ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. takes, for each field, the mean of its records,
except for critical fields, where it takes the worst: one bad identity
document is enough to doubt the entity. Without an entity key, the figures
stop at records.
The IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (overall data quality index) is the mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. of the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. at
a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: over its entities when it has an entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it., otherwise over its
records. It is the one figure to follow over time, on the Conformity and
IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut chart. A rise means the data became more reliable; a fall
with no new errors usually means data going out of date.
Each entity falls into a band by its ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.:
Band
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.
What it says
Good
≥ 0.90
The record can be relied on
Fair
0.75 – 0.90
Usable, with some fields to fix or update at the next contact
Poor
< 0.75
Too many problems to rely on without checking
Bands make the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. actionable. An organisation decides what each band
means for its own processes, for example which records an update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case.
goes to first, or which segmentSegmentThe commercial group a customer belongs to; it defines the offer and the service. needs its capture form reviewed. A tall
pile of entities just below a limit is cheap to move: a few fixes per
entity change their band. Bands need an entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it..
A findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.’s priority says which failures cost most: the weight of the
field it fails (its priority over four) times what the field’s ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. lacks
from 1. A failure on a critical field that is already doubtful comes before
a minor one on a reliable field. Each remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. sums its open
findings’ priority, so a queue with few but costly findings stands out.
ConformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. of a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
How well is each requirement met?
Review the rule or the data; tune rules with their authors
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. of a field
Which data elements are least reliable, and why?
Fix a field with low C or S; update one with low A
ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. and bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). of an entity
How reliable is the whole record of this customer or company?
Where an update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case. or a check goes first
IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time.
Is the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s quality improving?
Follow the trend cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. by cut; confirm that fixes held
Priority
Which findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. cost most?
The order in which a queue is worked
p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. by group
Does this group fail more than normal, or is it noise?
Look for a cause at the point of capture only where there is a signal
Outliers by group
Is this amount unusual for its group?
Review it: fix the errors, keep the legitimate values
PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. by decilesDecileDeciles split the data into 10 groups with the same number of records.
Did the population change since the previous cut? The population stability index (PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use.) measures it
Review a moved population before using it
Every figure is read at the cut it belongs to, and a chart that compares
compares with the evaluated cut before it. What the indicators do not
capture is in Assumptions and limits.
Organisations in a regulated sector may also follow an indicator their
supervisor measures: see the optional module for regulated financial
entities in Colombia.
Quality Data · Method
Assumptions and limits
What the method assumes, which parameters are fixed, and what the indicators do not measure.
Every figure Quality Data shows rests on a few assumptions. Knowing them
tells you how far a figure can be trusted and what it cannot say.
The rules are the requirements. An indicator is only as good as the
rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. behind it. A rule that is too strict makes good data look bad; a
missing rule leaves an error unseen. The rules proposed when a table is
mapped (required, unique, format from a sample) are a first
version for the people who know the data to review, not a verdict.
The cut is the moment measured. Every date is compared with the
cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.’s date, never with today. A figure says how the data was on that
date: to see a fix, evaluate a new cut.
What a rule does not apply to is left out. A rule that applies to few
records gives a conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. that swings a lot from one cut to the next:
read its count before reading its rate.
The mapping says what matters. Field priorities, the entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it., the
update date and the fields that go out of date are set when the table is
mapped, mostly from the columns’ names. They weight every indicator, and
today they cannot be changed from a screen: if one is wrong, ask
whoever supports your installation. See Map a table into a
dataset.
These values are the same for every datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., and no setting changes them
today:
Parameter
Value
SeveritySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. weights
Blocking 1.0, major 0.6, minor 0.3
Component weights of the data reliability index (ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.)
ConformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. 0.40, consistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities). 0.15, timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. 0.15
Field priorityField priorityCritical, high, medium or low: it weights each field in a record's ICD and in a finding's priority (weights 4, 3, 2, 1). weights
Critical 4, high 3, medium 2, low 1
Timeliness
Loses half its value per year without an update
BandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). limits
Good from 0.90, poor below 0.75
Outlier limit
A robust zRobust zHow many typical distances a value is from its group's normal value: 0.6745 × (value − median) / MAD, robust because it uses the median and the MAD. Above 3.5 the value is flagged as an outlier. beyond 3.5 either way
Population stability index (PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use.) readings
Stable below 0.10, significant driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. above 0.25
What can be set is each remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.’s service level agreement
(SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.), the days allowed to fix its findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.: 30 days unless whoever may edit the dataset sets another.
Whether a value is true. Without an external sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. to compare with,
accuracyAccuracyQuality dimension: the value represents reality correctly. Without an external source it is approximated by plausibility. is approximated by plausibilityPlausibilityThat a value is believable. A negative net worth or expenses far above income are possible but unlikely: they are confirmed with the customer, not taken as errors. (range, placeholder): a
believable wrong value passes.
The age of data without an update date.TimelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. needs a field
holding the update date and applies only to fields marked as going out
of date. Without them, an old value counts as a current one.
Why a record fails. A ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. may declare a cause (capture or
systemic), but no indicator or queue uses it yet: queues are split by
group, not by cause.
An entity across datasets. The ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. of a customer is computed within
one datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.. The same customer in two datasets has two separate scores.
Whether an outlier is an error. The outliers chart finds amounts
unusual for their group; telling a probable error from a legitimate
value is left to the person who reviews it.
How long a finding has been open.FindingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. are not yet carried from
one cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to the next: every open finding counts from the cut shown, so
Overdue and Resolved at this cut read 0.
Trends on the first cut.BandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). movements, groups that changed, and the
PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. compare with the previous evaluated cut, so on the first cut they
have nothing to show.
The original method describes some things the product does not calculate
today. None of the charts shows them:
The ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.’s K, V and T components: the reliability of the channel a
value came in through, verification against an external sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., and
coherence with transactions. The ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. calculates C, S and A only.
Queues split by cause, capture or systemic, and outliers told apart
as probable errors or legitimate values.
An SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. met against a target. How long each stage of an evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures.
takes is a system metric in Grafana, with no target to meet.
An IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. without timeliness, and weights, severities and thresholds
set per datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them..
A treatment by band. The product calculates the bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75).; what a band
triggers, such as enhanced due diligenceEnhanced due diligenceReinforced verification of a customer because of higher risk, required of regulated financial entities., is the organisation’s
decision.
Get Quality Data installed on a server, sign in for the first time, and give a colleague an account and a policy until they can sign in.
For whoever installs Quality Data and looks after it. At the end the
product runs on your server, you can sign in, and a colleague has signed in
with the policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. that fits their work.
The administrator's path: install, sign in, set up mail, create an account and give it a policy; then the colleague activates the account and signs in. Each step links to its section.
A Linux server (Ubuntu, Debian, Red Hat Enterprise Linux or a derivative)
with Docker and its Compose plugin, ports 80 and 443 free, and access as
root (sudo) for whoever installs it.
Access from the server to the internet over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes., the secure web
protocol: the server downloads its versions and updates from there.
Nothing on the internet connects to the server.
The name people will type to reach the product, such as
quality.example.org, pointing to the server on your network.
Your organisation’s mail server (SMTPSimple Mail Transfer ProtocolThe standard mail protocol; through it, the organisation's mail server sends colleagues their activation links., the standard mail protocol, or
Office 365), to send colleagues their activation links.
Whoever supports your installation runs the Quality Data installer on the
server, as root. It checks the server, registers it with its certificate
(the only way the server proves who it is when it downloads a version),
downloads the version to install, checks its signature, generates the
installation’s passwords, starts the product and makes it start with the
server. Running it again does only what is missing and keeps the data and
the passwords.
Two names and an address go in the installer, and it checks them:
The address people type (--domain), such as quality.example.org.
The server’s own machine name (--machine-name), the name the
installation’s other machines reach it by. It must not be the address
people type: the installer refuses the two being equal.
The server’s address on the network the joined machines reach it
by (--address). Left out, the installer keeps the one it had or takes
the address of the server’s default route, and says which.
Running the installer again with a changed setting recreates only the
core’s services that read it and restarts the agent, so the change applies
at once.
You should see, from them, the address to open and a link to choose
your password as the first administrator, with your e-mail. The link works
once. If the browser warns about the site’s certificate, ask them which
certificate to trust on the computers that will open the product.
Open the link. On Activate your account, type your password in New
password and Repeat the new password, following the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. listed, and
choose Activate the account. On Sign in, type your Email and
Password and choose Sign in.
You should see the product open, signed in as you. If the link expired,
ask whoever supports your installation for a new one: they make it on the
server.
Accounts are activated by e-mail, so mail comes first. In the menu at the
top right, choose Settings, then Outgoing mail. If the card says
Not configured, turn on Send mail, pick the Mail provider, fill
in the fields (each has its help), use Send test, then Save.
You should see the card on Settings say On, and the test message
in your inbox.
In Settings, open Users and access, tab Users, and choose
Register user. In New user, type their Email, optionally their
name, leave Role as User, and choose Create and send the link.
You should see the account in the list, Waiting for activation, with
Nothing under Access. The role Administrator can do everything,
without policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer..
On the account’s row, choose Edit. Under Policies attached
directly, tick the ready-made policy for their work, and choose Save
changes:
They will…
Policy
Connect sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., write rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., run cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
quality-steward
Work a remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.
quality-analyst
Read dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and indicators
quality-viewer
Read dashboards and the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.
auditor
You should see the policy under Access. To give the same policies to
several people at once, use the Groups tab.
They open the link in their e-mail, choose their password on Activate
your account, and sign in. You should see their account become
Active. If the e-mail is lost or the link expired, use Resend link.
The installer sets up the application: the web screens, sign-in, settings,
updates and its own database. MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. tables and taking cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. also need the
lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources., Trino and the orchestrator, which whoever supports your installation
adds as modules, and the machines they run on: the lake’s server and at
least one Trino workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., which join as described in To add a
machine and start once
you approve them. If the Explorer in the side bar stays empty and says
Could not load. Try again., ask your provider to set them up before the
data steward starts.
Accounts, groups and policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. in full: Manage users and
access.
Sign-in through a company directory or an external provider, updates,
machines: Mail, sign-in and updates.
Quality Data · Getting started
Getting started: data steward
Connect a source, map one of its tables into a dataset, get its first cut, write a first rule and see its result on the dashboard.
For the person who prepares the data and writes the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.. At the
end one table of a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. is a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., measured at a first cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., with a
rule of yours deployed and its result on the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.. The example is the
customers table of Concepts.
The data steward's path: add a source and map one of its tables; Quality Data takes and evaluates the first cut by itself; write a rule with the tutorial, measure again and read its result. Each step links to its section.
An account with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. (see
Getting started: administrator).
The Explorer in the side bar shows Sources. If it stays empty and
says Could not load. Try again., the installation cannot measure data
yet: tell your administrator.
The source’s server, port, database name, and a user that can read the
table. A read-only user is best: Quality Data never writes to a source.
In the Explorer, choose + beside Sources (New source). Type a
Name (lowercase letters, digits and _), pick the kind of database
under Engine, fill in Server, Port, Database, User and
Password, and choose Save.
You should see the source in the Explorer. Open it: a moment later it
lists its schemas and tables, and says how many tables it read and when. If
it says the source did not accept the connection, choose Edit on it and
check the server, port and credentials. The password is stored sealed and
never shown again.
Open the table, customers, and choose Map this table. In Map a table
of …, check Table, type the Dataset name, such as customers, and
choose Map and collect.
You should see a notice that the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. started, and the table marked
while Quality Data samples it, proposes the mapping and some first rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.,
publishes them, copies the data and evaluates it. When it is done, a notice
says customers is ready with the number of records evaluated. The sample
keeps counts, never values.
The datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. now appears under Lake in the Explorer, as ◆ customers.
Open it: its fields with the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. proposed for each, then Cuts,
Schedules and Dashboard. Under Cuts, today’s cut is
Evaluated, with its records. You did not have to start it: mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. takes
the first cut.
The mapping also proposed a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. from the column names, such as
Region. There is no screen yet to change the mapping afterwards; if
something is wrong in it, ask whoever supports your installation.
Follow the tutorial on your datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.: choose +
beside a field (Add a rule to …), write the rule, read it under As
read, use Test to run it on the latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., and choose Deploy to
take it to main. The tutorial’s example dataset differs from yours; its
steps are the same. Without the right to approve, use Save as a draft;
someone who may approve reviews it from the field’s History, under
Open drafts (Take a change to main).
A cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. is measured with the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main when it is taken, so your new
rule counts from the next cut. Under the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Cuts, set If
today’s cut is there to Replace it (unless running) and choose Run
now.
You should see today’s cut at the top of Cuts, Extracting. The
list does not refresh by itself: reload the page and open Cuts again
until it reads Evaluating, then Evaluated. Then open Dashboard, keep the latest Cut, and find
your rule in Rules with the lowest conformity; the
dashboard guide explains it.
Set how many days each queue has under Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another., below the
dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.: Reading the dashboard: remediation
queues.
The ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. language itself: Rule patterns and Rule
language.
Quality Data · Getting started
Getting started: analyst
Find a dataset's remediation queues, read what a queue shows, and learn what to do about it with the product as it is today.
For the person who gets failing data fixed, for an office, a region or a
channel. At the end you know where your group’s queue is, how much is
open in it, which fields and rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. make it up, and how to see a fix count.
The example is the customersdatasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. of Concepts, whose
queues are split by Region.
Each new cut counts the queue again: what was fixed leaves it.
The analyst's path: open the dashboard, find the group's queue, see which fields and rules fail, get the records fixed in the source system, and check the fix at the next cut. Each step links to its section.
An account with the quality-analystpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer..
A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. with at least one evaluated cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., from your
data steward. Without a grouping field a dataset has no queues.
In the Explorer in the side bar, open Lake, then the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.,
◆ customers, and choose Dashboard.
You should see the page Dashboard of customers, with the Cut
selector at the top on the latest evaluated cut. If it says that no cut has
been evaluated yet, ask your data steward to run one.
Scroll to Remediation queues: one chart per grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., such as
Remediation queues · Region, with a column per group. Its table has,
for each group:
Open: the findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. waiting, each a record failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. at this cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
Priority: the open findings’ summed priority; high with few findings
means a few costly ones.
SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. (service level agreement): the days the queue has to fix a
finding, 30 unless your data
steward set another under Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another., below the charts.
Overdue, Resolved at this cut and Oldest open: see below what
they show today.
On the same dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., Fields with the most failures and Rules with
the lowest conformity say which fields and rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. produce the findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it..
For examples of failing records, open the rule in the Explorer, under its
field, and choose Test: the Result tab shows its counts at the
latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and a few records of each outcome. They are records of the whole
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., not only of your group, masked. Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you show their
values whole with Show values and a purpose, and every view is
recorded in the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy..
Quality Data only reads. The records are corrected where they live, in the
source system, by whoever captures or owns them; tell them which ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
fails and why, as As read says it.
A findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. is resolved when a later cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. no longer fails it. Wait for the next
scheduled cut, or under the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Cuts choose Run now (with
Replace it (unless running) if today’s cut is there). Once it is
Evaluated, pick it in Cut: your group’s Open should drop.
The product does not yet list the records of a queue, nor carry a findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.
from one cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to the next. So today a queue shows counts only, and
Overdue, Resolved at this cut and Oldest open read 0, because
every open finding counts from the cut shown. Use Open, its change from cut to cut, and the
examples from Test.
Work a remediation queue: the fuller account of this
path, including setting the queues’ SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another..
Run and schedule cuts: taking a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. now, and following
it until it is evaluated.
Quality Data · Getting started
Getting started: indicators
For managers and compliance readers, open a dataset's dashboard, pick a cut and read its first indicators.
For managers and compliance readers, who follow the quality of the data
without touching it. At the end you have read a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s overall figure
at a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., whether it is getting better, and where its failures are. The
example is the customers dataset of Concepts.
The reader's path: open a dataset's dashboard, pick a cut, read the trend of conformity and IGCD, then see where the failures are. Each step links to its section.
An account with the quality-viewerpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., or auditor, which also
reads the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.. Neither shows a record’s values: the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. shows
totals only.
A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. with at least one evaluated cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., from your data steward.
In the Explorer in the side bar, open Lake: each datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. is a line
marked ◆. Open ◆ customers and choose Dashboard.
You should see the page Dashboard of customers. If it says that no
cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. has been evaluated yet, ask your data steward to run one.
The Cut selector at the top lists the evaluated cuts, the latest first.
Every chart shows the cut you choose, and figures are always worked out at
that cut’s date, so an old cut keeps saying what it said on its day.
You should see the charts redrawn for that date. A chart appears only
when the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. gives it what it needs, so two datasets may show different
charts. More in Reading the dashboard: before you read a
chart.
Start with Conformity and IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut: a line for the share of ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
checks that passed, and one for the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (overall data quality index), the
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s one figure to follow over time, from 0 to 1. Rising is good. Point
at a dot to see its value; the table under the chart has every cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. The axis
does not start at zero, so check the table before calling a step a change.
More in Conformity and IGCD by
cut.
Then read, at the same cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.:
Failures by dimension and
severity: which kind of
quality fails (completenessCompletenessQuality dimension: the data is present when it must be., validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list)., timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.…) and how seriously.
Remediation queues, when the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.
has a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.: how much is waiting in each group.
Read the dashboard to answer a question: from
whether quality is getting better down to the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and the group.
Personal data and the audit trail: with
auditor, who saw values from sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it..
From results to indicators and Formulas: what the
figures mean and how they are worked out, with an example of each chart
drawn with made-up data.
Quality Data · Getting started
Tutorial: your first rules
Write a dataset's first rules step by step: a required field, a format, a condition, a list, dates against the cut, a rule across fields, reuse, and taking them to main.
This tutorial writes the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. of one field, then a few more, explaining
each choice as it comes. It takes about half an hour. By the end you will
know how a rule is read, why it fails, passes or does not apply, and how it
reaches main.
Every key used here is described in Rule language, and
every patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. in Rule patterns. The datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., its fields
and its values are synthetic.
A dataset of customers, clients, whose mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. has these fields:
Field
Holds
ClientType
PERSON or COMPANY
Mobile
A mobile phone number
Occupation
EMPLOYEE, STUDENT, RETIRED…
Employer
The employer’s name, for employees
BirthDate
The customer’s birth date
LastUpdate
When the customer’s data was last updated
HasIncome
YES or NO
Status
ACTIVE or CLOSED
ClosedOn
When the customer’s account was closed
RepDocument
A company’s legal representative’s document
The rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. check the dataset at a cut: the date its data was taken.
Keep that in mind; it comes back in step 6.
The datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. is mapped: its fields are in the Explorer, under Lake.
MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. a table is done once, by whoever manages datasets, and it takes
the dataset’s first cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. by itself, so Test has data to run on: see
Map a table into a dataset.
If the data of that first cut could not be extracted, Test says the
dataset has no cut extracted yet: take one with Run now, under the
dataset’s Cuts, as Run and schedule cuts
explains.
Your permissions: Edit rules on the dataset to write rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
(without it, the + beside a field does not show); Approve rules and
mappingsandManage datasets to deploy to main. With only the first,
you save draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. that someone else approves.
Each field has its own rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. file, named as the field: Mobile.yaml. In
the Explorer, + beside Mobile opens it (new if there is none) with a
rule ready to fill. A file always starts by naming its datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.:
id names the rule for good. Results are kept by it over time, so keep
it when the rule changes.
field is the field it checks.
check is the pattern: here required, the field has a value.
alert is what the person who fixes the record reads. Write it for them.
Nothing else is needed: required already has a dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern. (completenessCompletenessQuality dimension: the data is present when it must be.)
and a severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. (blocking). Empty means no value, an empty text, or only
spaces; a filler the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. declares, such as UPDATE, counts as empty
too.
Look at As read beside the editor: it says the rule in words. Read it
every time you write one; it is the quickest way to catch a rule that does
not say what you meant.
format takes your own pattern, a regular expression that must match
the whole value (here, ten digits), or a named format Quality Data
maintains, such as email.
Notice what happens with an empty mobile: MOB-01 fails, and MOB-02does not apply. Every rule gives one of three results for a record: it
fails, it passes, or it does not apply. PatternsPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. other than required
skip an empty value, so a missing mobile is counted once, by the rule that
exists for it.
examples are records the rule must fail, pass and skip. Writing them
makes you say what the rule must do, and tells whoever reviews it the same;
the editor does not run them yet, so check the rule’s behaviour with
Test (step 10). Write at least one of each for any rule with a
condition.
5. A rule with a condition: the employer of an employee
when is a condition in plain SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. (Structured Query Language). Where it does not hold, the rule does
not apply: a student without an employer is not a failure.
severity: major changes the patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition.’s default (blocking): the record is
usable, with reservations. SeveritySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. weights a failure in the indicators.
Texts compare trimmed and without telling upper from lower case, so
'employee ' matches as well.
If many rules share a condition, such as “only people”, declare it once as
a population in the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset., reglas_globales.yaml:
dataset: clients
populations:
individuals: ClientType = 'PERSON'
Then any rule says population: individuals. With both when and
population, both must hold.
The customer’s data must have been updated within the last 13 months, in
LastUpdate.yaml:
dataset: clients
rules:
- id: UPD-01
field: LastUpdate
check: fresh
max_age: 13 months
alert: The contact data was not updated in the last year
“Within the last 13 months” means before the cut, never before today.
A cut measured again next year gives the same result. When you need the
cut in an expression, write :cut; as a bound alone, quote it:
The occupations that come with an income, declared once in the global
rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset.:
Some checks are about two fields together. implies says: when one
condition holds, another holds too.
- id: END-01
field: ClosedOn
check: implies
if: Status = 'CLOSED'
then: not is_empty(ClosedOn)
alert: A closed account needs the date it was closed
implies skips nothing: its conditions decide what an empty value means,
so say it with is_empty(x). As read marks the rule as cross-field,
because it reads more than its own field.
Several fields hold documents with the same form. Write the check once as
a named rule in the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset.:
named:
valid_document:
check: format
pattern: \d{5,12}
severity: major
alert: The document has 5 to 12 digits
and start each field’s ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. from it with extends, changing only what
differs:
- id: REPDOC-01
field: RepDocument
extends: valid_document
when: ClientType = 'COMPANY'
A change to valid_document changes every rule that extends it, at the
next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. Before you change or remove one, read Share rules across
fields.
Fix what lint marks, choose Test to run the file on the latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., and
read the counts: if a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. fails on half the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., read it again. Then
choose Deploy, or Save as a draft if you may not approve. How each
step goes, and what it can refuse, is in Write, change and test a
rule and Take a change to
main. The rules on main are the ones the next cut is
evaluated with.
YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. reads it as something else
max: ":cut"
A new id after changing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
Rule language: every key, expressions and their
functions, and what Quality Data decides for every ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version..
Rule patterns: the fourteen patternsPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition., one by one.
Lint findings: every message of the editor’s checker.
The Tasks pages, from Write, change and test a rule
to Export and import rules: sharing rules,
draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it., history.
Quality Data · Tasks · Data
Tasks: connect a source
Which databases Quality Data reads, what to ask your database administrator, and how to add, check, edit and remove a source.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.. Anyone
with quality-analyst or auditor sees the sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it. and their tables but
cannot change them. The first time through is in
Getting started: data steward; this
page is the fuller account.
Today a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. can be a PostgreSQL, MySQL or SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server
database. Quality Data reads tables; spreadsheets and files cannot be a
source yet.
The Engine list in the form also shows oracle and openedge. They are
not ready yet: a source of either kind cannot be read today.
The server’s name or address, and its port if it is not the usual
one (5432 for PostgreSQL, 3306 for MySQL, 1433 for SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server).
The database name.
A user and password that can read the tables you want to measure. Ask
for a read-only user: Quality Data never writes, but a user that cannot
write makes that certain.
That the database accepts connections from the servers Quality Data runs
on, including its workersWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., which are the ones that connect.
For SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server, any extra connection settings the server needs, such as
how to encrypt the connection; they go in Options.
Each cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. reads the whole table it measures, so a large table means a
heavier read: agree with the administrator on a quiet hour for scheduled
cuts.
the list of schemas, tables and columns, with their types, when the
source is saved and each time someone lists it again;
a sample of a table when it is mapped, of which it keeps counts, never
values;
the whole table at each cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., copied into its own store, the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.;
a page of records when someone opens a table’s Records.
It never writes, changes or deletes anything in the source. Removing a
source or a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. in Quality Data leaves the database as it was.
The user and password are stored sealed (encrypted) in Quality Data’s own
database. Nobody sees them again, not even an administrator: editing the
sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. shows them empty. They never appear in logs or notices. A workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one.
receives them only for the job that needs them.
When you change the password, the previous one is kept as well: if the
source still refuses the new one, a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. tries the previous one. This lets
your database administrator change the password without stopping the
cuts for a moment. Every change of credentials is recorded in the
audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., never their value.
In the Explorer, in the side bar, choose + beside Sources
(New source).
Type a Name: lowercase letters, digits and _, starting with a
letter, such as customers_db. It cannot be changed later.
In Engine, pick the entry that starts with postgres, mysql or
sqlserver.
Fill in Server, Database, User and Password, and
Port if it is not the usual one. Fields marked * are required; the
form lists those still missing.
Choose Save.
You should see the source in the Explorer, under Sources. Open it:
Quality Data connects at once and lists its tables. The source shows its
database, then its schemas and tables, and a line that says how many tables
it read and when.
There is no separate test button: listing the tables is the test. Open the
sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. in the Explorer and choose List again. The line under the source
goes through Connecting to the source…, Reviewing its schemas…,
Reading the columns… and Loading the tables…, then says how many
tables it read and when.
If the listing cannot connect, it tries again by itself, three times in all,
and says so (Retrying, attempt 2 of 3…). After the last attempt it shows
the reason: see Problems.
Open a table to see its columns and their types. A table no datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. reads
yet is marked not read, and one that has disappeared from the source,
gone. To find a table among many, type part of its name in Filter by
schema, table or column.
Choose Records beside a table. Pick what to Read (the first or last
1,000, or all of them 1,000 at a time) and, if you want, a column to
Order by, then Read. The records come straight from the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., as
they are now, every value masked. With permission to see personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.,
Show values shows them whole with a purpose and, if you want, a
reference, and each page shown is recorded in the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy. (To show
values whole).
Change what you need. The user and password show empty with Stored:
leave it empty to keep it.: leave them empty to keep them, or type new
ones.
Choose Save.
Quality Data lists the tables again with the new settings. The next cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. of
every datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. that reads the source use them.
Open the source in the Explorer and choose Delete.
In Delete the source …, read the warning and choose Delete.
The source and its credentials, the previous version too, are gone. A
source cannot be removed while a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. reads it: remove those datasets
first, as Map a table into a dataset
explains, or keep the source.
Your policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. do not let you manage sources. Ask your administrator for quality-steward.
The source did not accept the connection: check its server, port and credentials.
The server could not be reached, or refused the user. Check the fields with Edit. If they are right, ask the database administrator whether the workersWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. can reach the server and the user can sign in.
The tables could not be read. Check the source’s connection, and refresh.
The listing gave up after three attempts. Fix what the message before it says, then List again.
The source’s catalog could not be read. or The listing could not finish.
The list of tables could not be read. Check with the database administrator that the user can see the schemas, then List again. If it persists, tell whoever supports your installation.
Its tables have not been read yet.
Nobody has listed the source. Choose List again.
Only the first ones are shown: search for the one you need.
The source has more tables than the Explorer shows. Type part of the name in the filter.
The name is not valid., The port is not valid., … is missing.
The form refused a field. Fix it and save again.
A SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server source was saved, but a message says its catalog was not created
Quality Data could not prepare the connection to it. Choose Save again to retry.
It cannot be deleted: these datasets read it: …
Remove the datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. named, or keep the source.
On deleting, a message says the source’s catalog was not dropped
Nothing was deleted. Try again.
Could not load. Try again., and the Explorer stays empty
The installation cannot measure data yet. Tell your administrator.
What mapping decides, the field roles and what each switches on, what the automatic proposal does, what can be changed afterwards, and removing a dataset.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.. The
sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. must be connected first (Connect a source).
The first time through is in
Getting started: data steward; this page
is the fuller account. The example is the customers table of
Concepts.
Mapping a table: you choose the table and the dataset's name; Quality Data samples the table, publishes the mapping and the rules it proposes, takes the first cut and evaluates it. Each step links to where it is explained.
Mapping turns one table of a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. into a dataset. Its mapping says:
The fields: one per column of the table, named as the column, each
with its type (text, number, date…).
The record key: the field or fields that tell one record from
another, taken from the table’s primary key. Without a record keyRecord keyThe field or fields of a dataset's mapping that tell one record from another. (or an
entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it.), failing records cannot be followed, and the remediation
queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. stay empty.
Each field’s priority: critical, high, medium or low, which weights
the field in a record’s ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. (data reliability index). Mapping sets every
field to medium, so all weigh the same.
The roles of some fields, which switch charts and queues on.
A role tells Quality Data what a field is for. MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. proposes them from
the column’s name and its sample: a role proposed for the wrong column, or
missed, changes which charts appear.
Role
What it is
Proposed for
Switches on
Grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.
A field whose values are groups that fix their own data: an office, a region, a channel
A text column named like office, branch, advisor, product, channel, region or zone, with up to 500 different values
The Remediation queues, one per value, and the charts by group: p′ chart by group, Largest groups, Groups that changed most
Entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it.
Who the record is about, such as a person’s or company’s identity document
A column that looks like an identity document, or named like document type
Distribution of the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. by entity and How entities moved between bands
SegmentSegmentThe commercial group a customer belongs to; it defines the offer and the service.
A kind of customer or product, with few values
A text column named like client type or segment, with up to 12 values
With an entity key, Data condition by segment
Update date
When the record was last updated
A date column named like update or modified
Update recency
Outlier amount
An amount where unusual values are sought
A number column named like income, amount, balance or value
With a grouping field, Outliers by group
DriftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. variable
A number whose population is compared from one cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to the next, with the PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. (population stability index)
A number column named like income, age, rate or term
PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. by deciles
The names are recognised in English and Spanish. Entity key, segment,
update date and outlier amount go to one field at most: the first column
that fits. Two more roles belong to an optional sector indicator and are
never proposed. Charts that need no role appear for every datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them..
Mapping also marks fields whose value goes out of date, such as an e-mail,
a phone, an address, an income or an employer, by their names: the time
since the last update lowers their ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD..
In the Explorer, open the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., then the schema, until you see
the table, marked not read.
Open the table and choose Map this table.
In Map a table of …, check Table (schema.table, as the source
names it) and type the Dataset name: lowercase letters, digits and
_, starting with a letter, such as customers. The name cannot be
changed later.
Choose Map and collect.
You should see the notice MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. customers: you will be told when it
is ready. and a turning circle beside the table; point at it to read the
step it is on and since when: waiting for a workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., sampling the table,
collecting its data, evaluating the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.. When it is done, a notice says
customers is ready: 12,000 records evaluated. It stays until you close
it.
The notices come only while Quality Data is open in your browser. If you
close it, nothing is lost: the dataset appears under Lake once it is
published, and its first cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. under its Cuts.
It reads a sample of 10,000 records of the table and keeps counts:
how many are empty, how many different values, lengths. It never keeps a
value.
It proposes the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.: the fields and their types, the record keyRecord keyThe field or fields of a dataset's mapping that tell one record from another., the
roles, the priorities.
It proposes rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. for each field: required when no record of the
sample is empty and the column does not allow empty values; unique on
the primary key; format for a column that looks like an e-mail, a
mobile number or an identity document. Each is named MAP-001,
MAP-002… with severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. major.
It publishes the mapping and those rules directly on main, the
approved version: there is no draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. to approve.
It takes the first cut, today’s, and evaluates it with those rules.
The dataset: under Lake in the Explorer, as ◆ customers, with
the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. and table it reads. Open it: a line per column, with its rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
under it; a column with none is marked no rules.
The first cut: under the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Cuts, Evaluated, with its
records.
The grouping fields: on the dataset’s Dashboard, below the
charts, Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. (the service level agreements, the days each
queue has) shows one block per grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.. If it says The dataset’s mapping
has no field with the dimension role: its findings have no queue., none
was proposed (the form calls a grouping field a dimension).
The other roles: by the charts on the Dashboard; each chart
appears only when its role is there (Reading the
dashboard).
No screen shows the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. itself yet: its roles, priorities and key are
seen only through what they switch on.
The rules: write, change and remove them as with any ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.; see the
tutorial and Write, change and test a
rule.
New columns: when the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s table gains columns, open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.
after List again on the source: the new ones show as not read.
Map the whole table, under the dataset, adds them as fields, at once,
ready for rules, with no role and medium priority.
The roles, the priorities, the record key and the types cannot be
changed yet: there is no screen for it. MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. the table again proposes
the same, so it does not help. If something in the mapping is wrong, ask
whoever supports your installation.
In the Explorer, right-click the dataset (◆ customers under
Lake, or its table in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.) and choose Delete.
Read what goes, type the dataset’s name under To confirm, type, and
choose Delete.
The mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. and the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. leave main (the rules catalogRules catalogWhere Quality Data keeps every dataset's mapping and rules, with their history and the approved version, main.’s history keeps
them); the schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., results and the dataset’s copy in the lake are
deleted. The source’s table is not touched and can be mapped again. It
cannot be undone, and it is refused while one of its cuts is being
extracted or evaluated.
A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. reads it already: the table shows → and the dataset’s name.
There is a dataset with that name already.
Choose another name.
Check the table, the dataset or the sample.
The name is not valid, the table is not in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s last listing (List again on the source, and try again), or your policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. do not let you manage datasets.
… could not be mapped.
The sample could not be read; nothing was published. Check the source’s connection (Connect a source) and map again.
…‘s data could not be collected. or …‘s rules could not be evaluated.
The dataset was published, but its first cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. failed. See When a run fails.
The circle stays on queued, waiting for a workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one.
No worker is taking jobs. Tell your administrator.
… was not deleted: one of its cuts is being collected or evaluated. Wait for it to end.
Wait until the cut is Evaluated or Failed, then delete again.
Run and schedule cuts to measure the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. again, and the
tutorial to write its rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version..
Quality Data · Tasks · Data
Tasks: run and schedule cuts
What a cut is, running one now and the same-day options, schedules, following a run through its stages, what to do when it fails, and where the history is.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., runs
cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and manages schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…. An analyst, with quality-analyst, can also
run a cut now. MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. a table takes its first cut by itself
(Map a table into a dataset); this page is about every
cut after it.
A cut is a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s data as it was on one date. Quality Data copies the
sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s table into its own store, the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources., and evaluates that copy with the
rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main at that moment. A dataset has at most one cut per date.
Results are compared at the cut, never with today: a rule such as “updated
within 24 months” counts back from the cut’s date, and the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.
compares a cut with the evaluated cut before it. So a cut keeps saying what
it said on its day, and two cuts tell you how the data changed between them.
A new rule counts from the next cut; earlier cuts stay as they were
evaluated.
The life of a cut: Run now or a schedule starts it; a worker copies the table into the lake (Extracting), then runs the rules on it (Evaluating); the cut is Evaluated and its results reach the dashboard. If either stage fails, the cut is Failed: see When a run fails.
In the Explorer, under Lake, open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. (◆ customers),
then Cuts.
Leave If today’s cut is there on Do nothing, or see the next
section.
Choose Run now.
You should seeCut 2026-11-12 queued: extracted, then evaluated. and
today’s cut at the top of Cuts, Extracting. The date is today’s in
the installation’s time zone.
There is one cut per date, so a second run on the same day must say what to
do with the first. If today’s cut is there offers:
Do nothing, the default: today’s cut is kept as it is, and the notice
says The cut … is there and was not replaced. Use it when a cut a day is
enough, so that nobody replaces it by mistake.
Replace it (unless running): today’s cut is taken again, with the
sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s data as it is now and the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main now; the notice says
Cut … replaced: extracted again. Use it after deploying a rule you want
to see today, after the source’s data was fixed, or to retry a cut that
failed. A cut still extracting or evaluating is never replaced.
Only today’s cut can be taken again. A cut of an earlier date cannot be run
again.
Open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. in the Explorer and choose + beside Schedules
(Add a schedule to customers).
In New schedule, keep Daily chosen, with Repeat every set to 1, and set Start and Time, such as 06:00, a quiet hour for
the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it..
Check Timezone: it starts on America/Bogota; choose your
organisation’s.
Keep What it fires on Extracts the cut and evaluates it, and
choose If the cut is there, as for Run now.
Keep Enabled ticked. The line beside the buttons says the schedule
in words; check it, then choose Save.
You should see the schedule under Schedules, described in words,
with next and the date and time it fires next. A scheduled cut is dated
with the day it fires, in the schedule’s time zone.
Other frequencies work the same way: Weekly (every so many weeks, on
the days you tick), Monthly (the months, then days of the month or,
with On, a day such as the first Monday), Once, or Custom
(cron) for a five-field cron expression. Advanced settings add a
random delay, a repetition within the day, and an expiration date.
Change it: choose its description under Schedules, change the
form and choose Save.
Pause it: open it the same way, untick Enabled and save. It shows
Disabled and fires nothing until you tick it again.
Remove it: choose × beside it and confirm. A schedule that has
already fired cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. cannot be removed: pause it instead.
Under the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Cuts, each cut shows its date, its state and, once
evaluated, its records:
Extracting: the cut is waiting for a workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., or a worker is copying
the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s table into the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources..
Evaluating: the copy is complete and the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main are running
on every record.
Evaluated: done. Its results are on the dataset’s Dashboard.
Failed: see the next section.
The list does not refresh by itself: reload the page and open Cuts
again to see the cut move on. A scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…’s last outcome shows beside it:
Queued, Replaced, Blocked (the cut was there and was kept) or
Skipped (late).
A cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. that fails shows Failed and, beside it, Failed extracting or
Failed evaluating, followed by a short technical reason, in English,
that names the step where it stopped. It never holds your data. Before
failing, Quality Data retries the step by itself, three times in all.
Failed extracting: the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s table could not be copied. Check the
source as in Connect a source:
a changed password, an unreachable server, a table renamed or removed.
Then run the cut again with Replace it (unless running).
Failed evaluating: the data was copied but the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. could not run on
it. A rule that reads another datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. needs that dataset to have records
at the same date, and the reason then names it: take that dataset’s cut
first. Then run the cut again with Replace it (unless running). If it
fails again, tell whoever supports your installation, with the dataset,
the date and the reason shown.
Nothing warns you of a failed scheduled cut yet: look at Cuts after the
time it should have run.
Cuts lists the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s 60 most recent cuts, newest first, with
their state and records.
The Dashboard’s Cut selector lists every evaluated cut, and
Conformity and IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut follows conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. and the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (overall
data quality index) over the last twelve. How long each stage of the
evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. took is a system metric, shown in Grafana.
Who ran a cut by hand, and every change to a scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, is in the audit
trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., which the auditorpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. reads (Personal data and
the audit trail).
Your policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. do not let you run cuts, or manage schedules. Ask your administrator.
The cut … is there and was not replaced.
Today’s cut exists, or is still running. Choose Replace it (unless running), or wait for it to finish.
It cannot run: this dataset is read from no source, its data was loaded into the lake.
The datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has no sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. to copy from, so it cannot be cut.
A cut stays Extracting for a long time
No workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. is taking it. Tell your administrator.
Delete this schedule? …, then It has fired cuts: disable it instead of deleting it.
Untick Enabled instead.
That timezone does not exist., The cron is not valid., That cron never fires again.
Fix the field named and save again.
A schedule shows Skipped (late)
It was due while the installation was stopped, longer ago than the installation allows (24 hours by default); it fires again at its next time.
This dataset has no cut extracted yet: extract one in Cuts to test., in the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. editor
No cut has been copied yet. Run one now.
Quality Data · Tasks · Rules
Tasks: write, change and test a rule
Find a dataset's rules, add one to a field, change or remove one, read what the editor says about it, and test it on the latest cut before it counts.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.,
writes rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and takes them to main. Anyone whose policy lets them see the
rules (quality-analyst, quality-viewer, auditor) can open, read and
test them, but not save. The first time through, follow the
tutorial; how a rule is written is in Rule
language and Rule patterns. The
example is the customersdatasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. of Concepts.
Each field has its own rules file, named as the field: the rules of Email
are in Email.yaml. What several fields share, such as a list of values or
a check written once, is in the dataset’s Global rules
(Share rules across fields). Only the rules on main,
the approved version, are evaluated.
In the Explorer, under Lake, open the dataset (◆ customers):
each field lists its rules by id, and a field with none is marked no
rules. The ▤ beside the dataset opens its Rules page: every rule
on main in words, with its patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition., dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity., what makes it
fail and its file.
Choose ▤ beside the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them..
Type in Search an id, a field or words of what fails, such as
e-mail, or narrow the list with Pattern, Dimension or
Severity.
Choose the rule’s Id.
You should see the field’s file in the editor, at that rule, with the
file’s name in a tab above it. A file whose rules cannot be read is named
at the top of the Rules page, with its errors.
In the Explorer, open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. and choose + beside the field
(Add a rule to Email).
The field’s file opens (new if it had none) with a rule added at the
end, ready to change:
- id: Email-01
field: Email
check: required
Change the patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. under check, add what it needs, and write an
alert: the sentence whoever fixes the record reads. For example:
- id: EML-02
field: Email
check: format
named: email
alert: The e-mail address is not valid
Read the rule under As read (next section), then test it.
Nothing is saved yet: the tab shows ● and the head says Unsaved
changes; Restore takes the file back as it was.
Open it from the Explorer or the Rules page, change it, and test it.
Keep its id: results are kept by it from cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to cut, so a new id starts
the rule’s history again. A rule changed today counts from the next cut;
earlier cuts stay as they were evaluated.
The file is checked as you type, without data. A mark on the line shows
where something is wrong; beside the editor, four tabs:
Problems: the errors and warnings, each with its message, its code
(such as QR003) and its line; choose one to go to it.
Style: how the file is written. Tidy fixes most of it at once,
keeping comments and values; Ctrl+Z undoes it.
As read: each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. in words: what it applies to, when it fails, when
it does not apply. Read it every time: it is the quickest way to catch a
rule that does not say what you meant.
Result: the last test (below).
An error blocks saving and deploying; a warning does not.
Put the cursor on the rule, or anywhere outside a rule to test the
whole file.
Choose Test.
It runs the text as it is, unsaved, on the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., and
nothing it finds counts anywhere. It waits for a workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. first, then shows
in Result, for each rule: Applies, Fails, Passes, Does
not apply and Conformity, then up to 10 records of each outcome, and
the failures grouped by the value’s shape (a digit as 9, a letter as A).
Values come masked; if your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you see personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.
(quality-analyst does, quality-steward does not), Show values shows
them whole with a purpose, and every view of whole values is recorded in
the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy. (To show values
whole). In the Explorer, the rule then shows
✓ if it passed, or how many records failed.
A test’s result is kept for a day: after that, Result says This
test’s result is no longer kept (results are kept for a day). Test
again., and Test runs it anew.
If a rule fails on most records, read it again before it counts.
With quality-steward the button is Deploy: it shows what the linterLinterThe checker that reads a rules file as it is typed, without data, and marks its errors, which block saving and deploying, and its warnings.
(the checker) finds, which rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. the file adds, removes or changes, and
the change line by line; choose Deploy again to confirm. You should
seeDeployed to main: the rules are under their field now. Without the
right to approve, the button is Save as a draft. Both are in Take a
change to main. The rule counts from the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: run
one now with Run and schedule cuts.
In the Explorer, right-click the rule under its field and choose
Delete rule.
Read the dialog (Delete the rule EML-02): it shows the file without
the rule. Choose Deploy.
You should seeThe rule EML-02 deleted; the field’s history undoes
it. It is a deploy like any other, so only whoever may deploy sees Delete
rule; the field’s history can bring it back. A rule
that a list of fields gives several of cannot be removed from the tree:
open its file and take it out there.
The field … is not in the dataset, maybe with Did you mean …? (QR003)
Write the field’s name exactly as the Explorer shows it.
Another rule already uses the id … (QR009)
An id is unique in the whole datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.: choose another.
The parameter … is missing (QR006), The pattern … does not take the parameter … (QR005)
Look up the patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. in Rule patterns.
There is no population named … (QR004), or list, table, reference
The YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. cannot be read: … (QR001)
The file’s layout (YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written., the format rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. are written in) is broken where it says: an indent, a quote left open, a # inside a value.
The rule has no alert: … (QR021), a warning
Add an alert. A rule added with + has none until you write it.
It checks the same as …: each failure would count twice (QR020)
Remove one of the two.
The condition never holds: … (QR023)
Its when or population excludes every record: check it.
This rule is about …: it goes in its own file, … (QR210)
Move it to the file named.
The file has … rules and … lines: … (QR100)
Over 30 rules or 300 lines: move some to their fields’ files.
No + beside the fields, and no Deploy or Save as a draft
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you read the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., not change them.
Deploy greyed, Fix the errors to save.
An error is in Problems: fix it.
Fix the errors to test.
The same, before a test.
This dataset has no cut extracted yet: extract one in Cuts to test.
Run a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. first (Run and schedule cuts).
The test stays on …queued, waiting for a worker to take it…
No workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. is free. If it lasts, tell your administrator.
The file changed on main since you opened it: open it again.
Someone deployed this file meanwhile. Keep a copy of your change, reload the page, and make it again on the file as it is now.
EML-02 cannot be deleted from here: …, after Delete rule
The rule is not written alone in its file: open it in the editor.
Quality Data · Tasks · Rules
Tasks: share rules across fields
Declare once what several fields use, write a check once and reuse it with extends, change a shared check safely, and move older rules files to one file per field.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.. The
global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. are a rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. file like any other: written, checked and taken to
main as in Write, change and test a rule. What each
section means is in Rule language: what the dataset declares
once.
Each datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has one Global rules file, reglas_globales.yaml, beside
its fields’ files. It declares once what several fields use, and every file
of the dataset sees it as if it declared it itself:
populations, lists, placeholders, derived fields,
references to other datasets and combination tables;
named rules: a check written once, which a field’s ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. takes with
extends.
It has no rules of its own: each rule stays in its field’s file. A name
means one thing in the whole dataset, so a list or population declared in
the global rules is not declared again in a field’s file.
In the Explorer, open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. (◆ customers) and choose
◆ Global rules, its first line. If the dataset has none yet, the editor
opens an empty one, dataset: customers, and saving or deploying creates
it.
In the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset., add the list:
dataset: customers
lists:
regions: [NORTH, SOUTH, EAST, WEST]
Deploy it (Deploy, then Deploy again to confirm).
In Region.yaml, use it:
- id: REG-01
field: Region
check: domain
in: { list: regions }
alert: The region is not one of the organisation's
Deploy the global rules first: a field’s file is checked with the global
rules on main, so until then the editor says There is no list named
regions (QR004). The same holds for a test.
Say customers has two e-mail fields, Email and WorkEmail, checked the
same way.
In the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset., under named, write the check with everything but
id and field:
named:
valid_email:
check: format
named: email
severity: major
alert: The e-mail address is not valid
Deploy the global rules.
In each field’s file, start the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. from it with extends, and change
only what differs:
- id: WEM-01
field: WorkEmail
extends: valid_email
severity: minor
At the extends line the editor says the rule as it results, such as As
valid_email: it applies to …; it fails when …, and As read shows it
whole. A named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. needs a patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. (check) and cannot extend another.
A change to a named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. changes every ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. that extends it, from the next
cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., without touching their files. Two things to know before you deploy:
The confirmation of the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. lists no rules: it says No rule
changes what it checks: only how the file is written changes. even when
a named rule changed, because the rules that change are in other files.
Nothing lists the rules that extend a named rule yet: search the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s
Rules page (▤) for words of what it fails on.
The global rules are checked alone. A named rule removed while a field
still extends it leaves that field’s file unreadable: the Rules page
then names the file at the top with … is not a named rule of the
table’s global rules. So first change or remove the rules that extend
it, one field’s file at a time, then remove the named rule.
A Test of a field’s file uses the global rules on main: test a rule
that extends the named rule right after you deploy, and if it is wrong,
undo the change from the global rules’ history
(See a rule’s history and undo a change).
A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. whose rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. were written before files went by field may have
files that hold several fields’ rules. Split by field, beside Global
rules in the Explorer, rewrites them on a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it.: each rule in its field’s
file, the declarations and the checks several fields share in the global
rules, and fields named as their columns.
Choose Split by field.
You should seeDraft made: review it with ⎇ beside the dataset.
main does not change until the draft is approved, and the split is
refused unless the very same rules still run. Renaming fields changes the
mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., so it needs the right to manage the dataset, which
quality-steward gives.
… is not a named rule of the table’s global rules (QR012)
The name after extends is wrong, or the named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. is not deployed yet.
… is already declared by the table’s global rules: … (QR013)
A field’s file declares a name the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. declare: take it away from the field’s file, or rename it.
The global rules have no rules of their own: … (QR014)
Move the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. to its field’s file.
… repeats what … already says: it is not needed (QR211), a warning
The rule repeats a key of its named rule with the same value: remove the key.
There is no population named … (QR004), or list, table, reference
Declare it in the global rules and deploy them before the file that uses it.
The rules are already split by field.
Nothing to do.
… has errors: fix them before splitting
Fix the file named, deploy it, and split again.
Split, the rules would not be the same: nothing was split
The split would change what is checked, so it was not made. Move those rules by hand.
Two fields would take the name …: …, Which field rule … of … is about cannot be told
Fix as the message says, or move those rules by hand.
Quality Data · Tasks · Rules
Tasks: take a change to main
The two ways a change reaches main, deploying it or saving it as a draft for review, who may do which, and reviewing, approving and discarding a draft.
Who does this: a data steward, with the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.,
deploys and approves. A ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. author whose policy lets them edit rules but
not approve them saves draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it.. Writing the change itself is in Write,
change and test a rule.
Only the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on main, the approved version, are evaluated. A change gets
there in one of two ways:
Deploy: whoever may approve takes a file straight to main, after
reading what the linterLinterThe checker that reads a rules file as it is typed, without data, and marks its errors, which block saving and deploying, and its warnings. (the checker) says and what changes.
A draft: whoever may only edit saves the change apart, as a
draft; someone who may approve reviews it, then approves or discards
it.
From a draft to main: the author saves the change as a draft, an approver reviews it from the field's history and approves or discards it, and the next cut is measured with what is on main. Whoever may approve goes straight to main with Deploy, after the same check.
The policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. needs
Among the ready-made policies
Open, read and test rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
Discard a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it.
Manage datasets
quality-steward
quality-steward gives all of them, so a steward deploys. On a file opened
from main, whoever may deploy sees Deploy, never Save as a draft.
For authors whose changes someone else approves, an administrator makes a
policy of their own (New policy, under Policies) that allows Edit
rules, View rules and View datasets, but not Approve rules and
mappings.
Nothing stops an approver from approving a draft they saved themselves:
review by someone other than the author is not built yet.
With the file open from main and your change made, choose Deploy.
Read the dialog Deploy Email.yaml to main: the errors that block it,
the warnings to look at, which rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. it adds, removes or changes, and the
change line by line (Side by side or Unified).
Choose Deploy.
You should seeDeployed to main: the rules are under their field now.
The change is in the field’s history, under your account. It counts from
the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. (Run and schedule cuts).
You should seeSaved on the draft., the tab marked draft, and
the head saying You are editing a draft: what you save stays on it until
it is approved.Version shows the draft chosen instead of main.
Go on changing the file and choose Save on the draft as often as you
like; each save is kept.
Tell whoever approves which datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. and field: nothing warns them of a
new draft yet.
A draft changes one field’s file, or the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset.. To change another
field, open its file from main and save a draft of its own. A field can
have several open drafts; to go back to one, open the field’s file and
choose it under Version.
Open the field’s file in the editor and choose History. While the
field has drafts, the button shows how many.
Under Open drafts, each draft shows its id, the account that saved
it and the date. Choose Review.
Read it in its two tabs:
Changes: the draft as a line of saves, newest first, down to Left
main. The whole draft shows everything it changes against
main; a save shows what that save changed.
Files: the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., marked Reads or not, and each rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. file
with No errors or its errors. Edit opens the file on the draft.
A draft of the whole datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., such as one made by Split by field, is
reviewed the same way from the ⎇ beside the dataset in the Explorer.
Approve takes the draft into main. It is greyed with To approve
it, the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. must read and the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. must have no errors. until both
hold. You should seeDraft approved: main now has the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.
customers., and the change in the field’s history.
Discard deletes the draft without it reaching main, after Discard
this draft? It is deleted without going into main.You should seeDraft discarded.
Either way the draft leaves Open drafts. An approved change counts from
the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
The file has errors: Cancel, fix them, deploy again.
The linter found errors: nothing was deployed.
The same, found as it was sent.
The file changed on main since you opened it: open it again.
Someone deployed this file meanwhile. Keep a copy of your change, reload the page, and make it again on the file as it is now.
Not saved: the file has errors.
A draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. is not saved with errors either: fix them first.
This draft is another column’s: open the file from main to start this one’s.
A draft holds one field’s file: open this field’s file from main and save a draft of its own.
main changed this dataset since it was proposed: discard it and propose again.
The field’s file (or, for a draft of the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., the dataset) changed on main after the draft was made, for example by another approved draft. Discard it and make the change again from main.
It conflicts with main: discard it and propose again.
The same remedy.
The mapping does not read or the rules have errors.
Fix the file on the draft (Edit), save, and approve again.
You may not do this.
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. does not let you approve, or discard.
Read every change to a field's rules on main, see what each one changed, go back to an earlier version, undo the last change or bring back a deleted rule.
Who does this: anyone who may see the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. reads their history. Going
back needs the right to deploy, which the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. gives:
restoring and undoing are deploys of their own (Take a change to
main).
Every change that reaches main is kept, by file: deploys, approved
draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it., deleted rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., restores and undos, and the rules that mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. the
table proposed. Nothing on main is ever erased; going back is one more
change on top.
Changing a rule’s history does not change past cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: each cut keeps the
results of the rules it was evaluated with. A version restored today counts
from the next cut.
Open the field’s file in the editor (from the Explorer, or a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.’s
Id on the Rules page).
Choose History.
You should seeHistory of Email.yaml, with Open drafts first
and then Approved changes on main, newest first. Each change shows a
short code, the account that made it, its date and time, and a line saying
what it was, such as catalog: edit customers/Email.yaml. Open one to see
the file before and after it, Side by side or Unified.
The global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. have a history of their own, from ◆ Global rules. The
⎇ beside the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. in the Explorer opens the dataset’s: its mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.’s
changes and the draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. of the whole dataset.
In the field’s history, open the change whose version you want back.
Choose Restore this version. It is offered on every change but the
newest, which is the version on main already.
Read the dialog as for a deploy: errors, warnings, which rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. change,
and the change line by line. Choose Deploy.
You should seeVersion deployed to main., and the restore at the top
of the history.
An earlier version is checked against the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. as it is now. If it
names a field the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. no longer has, or a named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset.
no longer declare, the dialog shows the error and it cannot be deployed:
open the file, restore the rest by hand and deploy.
The file goes back to how it was before that change. Undoing the file’s
very first change leaves it with no rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.. Only the newest change has
Undo this change: to go back further, use Restore this version on
the change before the one you want gone.
Delete rule is a deploy of the file without the rule, so it is in the
field’s history like any change. If it is the newest, Undo this change
brings the rule back; if not, Restore this version on the change just
before it. Other changes made since are lost with the restore, so check
the line-by-line view before you deploy.
No view says who last changed each line of a file: open the changes one
by one.
History is by file: there is no history of one ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. across files, nor of
every field at once.
Who deployed, approved, discarded or restored is also in the audit
trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., which the auditorpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. reads (Personal data and
the audit trail).
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you read the history, not deploy. Or the change is the newest (only Undo).
No changes on main.
The file has never been on main: it is new, or only a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. has it.
2 errors: it cannot be deployed, in the dialog
The version does not fit the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. as it is now; see above.
The file changed on main since you opened it: open it again.
Someone deployed this file meanwhile: close the history, reload the page and look again.
Quality Data · Tasks · Rules
Tasks: export and import rules
Download a dataset's rules as files, and take rules files back in, each one checked and confirmed before it reaches main.
Who does this: anyone who may see the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. exports them. Importing
deploys, so it needs the right to deploy, which the quality-stewardpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. gives (Take a change to main).
Use it to keep a copy of a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s rules outside Quality Data, to carry
them from one installation to another (a test one to the one in use), or
to edit many files at once in your own editor.
In the Explorer, choose ▤ beside the dataset to open its
Rules page.
Choose ⤓ Export .zip.
You should see a download named like customers-reglas-2026-11-12.zip:
every rules file of the dataset as main has it, one file per field and
the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset., reglas_globales.yaml, if it has them. It holds neither the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. nor
any draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it..
On the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Rules page, choose ⤒ Import.
Pick one or more .yaml files, or a .zip such as an export.
For each file that would change main, one after another, a dialog
Import Email.yaml (1 of 3) shows what a deploy shows: errors,
warnings, which rules it adds, removes or changes, and the change line
by line. Choose Deploy to take it, or Cancel to leave it out.
You should see at the end Import finished: 2 of 3 files deployed to
main. Each file deployed is a change in its field’s history, which can be
undone like any other (See a rule’s history and undo a
change). The rules count from the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
What an import takes:
Files are taken by name. A file goes over the dataset’s file of the
same name, inside a .zip too, whatever folder it is in. A name is
letters, digits, _ and -, ending in .yaml; anything else, .yml
included, is left aside and named in a notice.
A new file must be a field’s own or the global rules.WorkEmail.yaml
can be added if the dataset has a field WorkEmail; a file named after
no field is refused.
Files the same as on main are skipped, and a file main has but the
upload lacks is left as it is: an import adds and replaces, never
removes. To remove rules, delete them, or deploy their file without them.
Every file is checked against this dataset. Rules carried from
another dataset or installation fail where they name a field this one
lacks: fix the file and import it again.
An import always deploys: it cannot save a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it..
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. does not let you deploy.
Nothing to import: the files are the same as main.
Every file uploaded is already on main as it is.
Left aside (not rules files): …
Those files were not taken: rename them to <field>.yaml.
The uploaded file could not be read: is it a .zip or a .yaml?
The .zip is damaged, or not a .zip.
2 errors: it cannot be deployed, in a file’s dialog
Cancel it, fix the file, and import it again.
Email.yaml: The file changed on main since you opened it: open it again.
Someone deployed that file during the import: import it again.
extra.yaml: Could not save. Try again.
Usually a new file named after no field of the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.. Check the name against the fields in the Explorer.
Quality Data · Tasks · Results
Tasks: read the dashboard to answer a question
Open a dataset's dashboard, choose the cut, and follow a question from whether quality is getting better down to the field, the rule and the group where it fails.
Who does this: anyone who follows the quality of a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.. Every
ready-made policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. can read the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.: quality-viewer and auditor
for managers and compliance readers, quality-analyst and
quality-steward for those who act on it. The dashboard shows totals,
never a record’s values. This page is the order to read it in;
Reading the dashboard explains each chart on its own.
In the Explorer in the side bar, open Lake: each dataset is a
line marked ◆.
Open the dataset, ◆ customers, and choose Dashboard.
You should see the page Dashboard of customers, with the Cut
selector at the top and the charts under it. The same charts are in the
Quality tab of the table the dataset reads, opened from Sources in
the Explorer.
The dataset. Each dataset has its own dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.. To compare two
datasets, open each one’s; there is no dashboard across datasets.
The cut.Cut lists the dataset’s evaluated cuts, the latest
first. Every chart shows the cut chosen, worked out at that cut’s date,
never today’s, so an old cut keeps saying what it said on its day.
Charts that compare (bandsBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75)., groups that changed, driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI.) compare it with
the evaluated cut before it.
To see what changed between two dates, read the trend first, then choose
each cut in turn and compare the tables under the charts. More in Before
you read a chart.
A question about a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. usually goes from the whole to the detail: is
it getting better, what kind of problem, where, which ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., which group.
Each step is one or two charts at the same cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
A question followed down the dashboard: first whether quality is getting better, then what kind of problem dominates, in which fields, which rules produce it, and which groups. Each step links to its section.
Read Conformity and IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. by cut: the share of ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. checks that passed,
and the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (overall data quality index), the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s one figure, from 0
to 1, over the last twelve cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.. Rising is good. The axis does not start at
zero, so read the values in the table under it before calling a step a
change; a jump together with a jump in records usually means a different
population, not better data. More in Conformity and IGCD by
cut.
Read Failures by dimension and severity: completenessCompletenessQuality dimension: the data is present when it must be., validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list).,
timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. and the other dimensionsDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., split into blocking, major and minor.
Start with blocking and major. Many completeness failures point at how the
data is captured; many timeliness failures at data nobody has updated.
More in Failures by dimension and
severity.
Read Fields with the most failures, then Fields with the lowest ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.
(data reliability index). A
field with many failures may simply be the most checked: its table says
how many rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. read it. A field low in ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. but with few failures is
usually old rather than wrong. Emptiest fields shows which fields are
missing most, as shapes, never values. More in Fields with the most
failures and Fields with the
lowest ICD.
Read Rules with the lowest conformity: each rule with its field,
dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity., the records it applies to and its failures. A rule
that applies to few records swings a lot from cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to cut.
To see what the rule checks, open it in the Explorer, under its field
(◆ customers, then Email, then EML-02): As read says it in
words.
To see examples, choose Test. The Result tab shows the rule’s
counts and a few records of each outcome. It runs on the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s
latest cut, whatever cut the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. shows.
Values in Result come masked; if your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you see personal
dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail., as quality-analyst does, Show values shows them with a reason:
see Personal data and the audit
trail. Low conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. means the data is wrong
or the rule is badly posed: check the rule with its author before anyone
fixes thousands of records. More in Rules with the lowest
conformity.
When the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., such as Region, the charts by
group are drawn once for each grouping field:
p′ chart by group: which groups fail more than normal, and which
only look worse by chance. Only dots outside the curves are signals. See
p′ chart by group.
Largest groups and Groups that changed most: where most records
are, and which groups moved since the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. before.
Remediation queues: how much is waiting in each group. Working a
queue is in Work a remediation queue.
Which records make up a figure: no chart opens the records behind it.
Test on a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. gives examples from the latest cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
A chart that needs a field roleField roleWhat a field is for in a dataset's mapping, such as a grouping field. the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. does not give, such as a
grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. or an update date: there is no screen yet to change the
mapping.
A copy to take away: charts cannot be exported or downloaded yet.
Nothing to chart yet. Ask your data steward to run a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. (Run and schedule cuts).
A chart’s name followed by no data for this cut
The chart applies to the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. but this cut gave it nothing, such as a first cut with nothing to compare with. It is not zero.
A chart you expected is not there
The dataset’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. lacks the field it needs: see Before you read a chart.
Could not load. Try again.
Reload the page. If it stays, ask your administrator whether your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. lets you view results for this dataset.
No Explorer in the side bar
Your policies let you see neither rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. nor sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it.. Ask your administrator.
Your group is not in Remediation queues
The chart shows the fifteen groups with the most open findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.: see Work a remediation queue.
Rules with the lowest conformity shows ”—” for a rule
Reading the dashboard: every chart, what it answers and
its pitfalls; Formulas for how each figure is worked out, with an example of each chart drawn
with made-up data.
Quality Data · Tasks · Results
Tasks: work a remediation queue
What a remediation queue is, setting its SLAs, reading its counts, finding what fails, getting it fixed in the source system and confirming the fix at the next cut, with the limits of today's product.
Who does this: an analyst, with the quality-analystpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., works a
queue: reads it, looks at failing records with their values, and runs a
cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to check a fix. A data steward, with quality-steward, sets each
queue’s SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.. The first time through is in Getting started:
analyst; this page is the fuller account.
A finding is a record failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. at a cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: a customer failing two
rules is two findings. A remediation queue gathers the findings of one
value of a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.: with Region as the grouping field, North is
one queue and South another, and records with no region make the queue
(empty). A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. with two grouping fields has two sets of queues, and
each finding is in one queue of each.
Each queue has a service level agreement (SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.): the days it has to fix a
finding before the finding is overdue, 30 unless a steward sets another.
A dataset has queues only when its mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. has a grouping field and a
record keyRecord keyThe field or fields of a dataset's mapping that tell one record from another.; mapping a table proposes both. The dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. shows, for each
grouping field, the fifteen groups with the most open findings, in the
chart and in its table alike: a group with fewer is not listed.
What still fails at the new cut stays open: start again from what remains.
The remediation cycle: you find your group's queue and what makes it up, look at examples, have the records fixed in the source system, and the next cut confirms it. Quality Data only reads: nothing is fixed inside it.
Open the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s Dashboard in the Explorer (◆ customers,
Dashboard) and keep the latest Cut.
Scroll to Remediation queues · Region: a column of open findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.
per group, and the table under it.
Find your group’s row:
Open: its findings at this cut.
Priority: the open findings’ priority added up. High with few
findings means a few costly ones, in important fields with a low data reliability index (ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.)
(Formulas §15).
SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.: the queue’s days.
Overdue, Resolved at this cut and Oldest open: they read 0
today. The product does not yet carry a finding from one cut to the
next, so every open finding counts as opened at the cut shown: none
is old enough to be overdue, and none is seen to close.
So today the figure to work with is Open, and how it changes from one
cut to the next.
A data steward does this; the form shows only to policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. that may edit
the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s pipeline, as quality-steward does.
On the dataset’s Dashboard, below the charts, open Remediation
SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.. Its note calls the grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. a “dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern.”: each box is
one grouping field, named after it (Region).
In Every group (days), type the days for every group of that field,
from 1 to 365. Leave it empty to keep 30.
For a group that needs other days, choose Add a group and type the
Group exactly as the chart shows it, such as North, and its
Days. Leave Group empty for the records with no value. ×
removes the line.
Choose Save.
You should seeSLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. saved: the queues show them. and the queues’
chart redrawn with the new SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.. No new evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. is needed. The form
saves every line at once: a line you removed goes back to the field’s
days. Each save is recorded in the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy..
The dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. says what fails in the whole datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.; nothing yet narrows it
to one group’s records.
On the same cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., read Fields with the most failures and Rules
with the lowest conformity: the fields and rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. behind most
findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it.. Largest groups gives your group’s share of records with a
serious failure; p′ chart by group says whether that share is
unusual or chance (p′ chart by group).
Open a failing rule in the Explorer, under its field, and read As
read: what the rule asks, in words.
Choose Test. The Result tab shows the rule’s counts at the
dataset’s latest cut and up to 10 records of each outcome, from the
whole dataset, not only your group, masked. With quality-analyst,
Show values shows them whole with a purpose (such as Remediation
of data), and each view is recorded in the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy..
To look at a record as it is now in the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., open the table under
Sources and choose Records (Connect a
source).
Quality Data only reads: no record is fixed inside it. The records are
corrected where they live, in the source system, by whoever captures or
owns them. Tell them, for each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.: its id, what As read says, the
field, and the example records Test showed, by their record keyRecord keyThe field or fields of a dataset's mapping that tell one record from another.. Keep
values out of e-mails and tickets where your organisation’s rules ask you
to.
A fix counts when a later cut no longer fails the record.
Wait for the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s next scheduled cut, or take one now: under the
dataset’s Cuts, choose Run now, with If today’s cut is there
on Replace it (unless running) when today’s cut exists (Run and
schedule cuts).
Reload the page until the cut is Evaluated, then open the
Dashboard and choose it in Cut.
Compare your group’s Open with the cut before: choose each in
Cut in turn.
You should seeOpen drop by the findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. fixed. What still fails
stays open: go round the cycle again with what remains.
A queue’s records. A queue shows counts; it does not list its
findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. or their records. Use Test for examples.
Findings carried from cut to cut. Until they are, Overdue,
Resolved at this cut and Oldest open read 0.
Assigning or closing by hand. A finding cannot be given to a person
or closed from a screen: the next cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. is the proof.
Warnings. Nothing tells you when a queue passes its SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another..
The datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has no grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.. Ask your data steward.
Your group is not in the chart
It is not among the fifteen with the most open findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. at this cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
No Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. below the charts
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. may not edit the dataset’s pipeline, or there are no queues.
The dataset’s mapping has no field with the dimension role: its findings have no queue.
The dataset has no grouping field, so there is nothing to set.
Days are a whole number from 1 to 365.
Fix the days on the line marked and save again.
A group is set twice in the same dimension.
Two lines name the same group under one grouping field: remove one.
A group’s value is too long.
A group’s name is longer than any value can be: check what you typed.
A dimension is no longer in the dataset’s mapping: reload the page.
The mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. changed since you opened the page. Reload it and set the SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. again.
The dataset has no mapping on main.
The dataset is not on main any more. Ask your data steward.
Too many SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. for one dataset.
More group lines than a dataset can hold: keep the groups that really differ.
You do not have permission for this.
Your policy may not change the SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another..
The catalog does not answer: it cannot be checked now.
The store of mappings and rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. is not responding. Try again later; if it lasts, tell your administrator.
How access works, the ready-made policies and which to give for each job, creating and removing accounts, groups, policies of your own and service accounts.
Who does this: an administrator: an account with the role
Administrator, or one whose policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. allow Manage users (accounts)
and Manage groups and policies (groups, policies, and attaching them);
among the ready-made policies, quality-admin allows both. Everything here
is under Settings (the menu at the top right), Users and access.
The first account you create is in Getting started:
administrator; this page is the fuller account.
The role. An account is an Administrator, which can do everything
without policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., or a User, which can do what its policies allow.
Only an Administrator can make another account Administrator, or change
or delete one.
Policies. A policy is a set of allowed actions. A user gets the
policies attached to the account and those of its groups, and they add
up. A policy of your own can also deny an action; a denial always wins.
When it applies. A change of policies or groups applies at once, at
the latest within a minute; the person does not need to sign in again.
They come with the product, are marked built-in, and cannot be changed
or deleted.
Policy
For
Allows
Does not allow
quality-steward
Whoever owns the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
Every data quality action: sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., writing and approving rules, running and scheduling cuts, queue SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another., the console
Seeing personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.: values from sources show masked
quality-analyst
Whoever works the queues
Seeing everything, personal data included, and running cuts
Changing sources, rules, schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… or SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.
quality-viewer
Managers, dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.
Reading dashboards, cuts and rules
Sources and their records, personal data, changing anything
auditor
Internal control
Seeing everything without personal data, and the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.
Changing anything
quality-admin
Whoever runs the installation
Everything, Settings included
Changing or deleting an Administrator account, without that role
Every permission, what it lets someone do, and which of these policies
holds it is in Permissions.
Read dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and indicators
quality-viewer
Read everything, with values masked, and the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.
auditor
Work a remediation queueRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. and see failing records’ values
quality-analyst
Connect sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., map tables, run and scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.
quality-steward
Approve rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and mappingsMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., and set the queues’ SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.
Creating accounts needs outgoing mail: the account is activated from a link
sent by e-mail (Mail, sign-in and
updates).
In Users and access, tab Users, choose Register user.
In New user, type the Email, optionally the Name (optional),
and choose the Role: User unless they will run the
installation.
Choose Create and send the link.
You should seeDone: we sent … the link to activate their account (it
works for 72 hours). and the account listed as Waiting for activation.
When they choose their password it becomes Active. If the link was lost
or expired, choose Resend link: the earlier link stops working.
Under Policies attached directly, tick or untick policies. Each
shows what it is for.
Choose Save changes.
You should seeDone: the changes to … were saved. and the policies,
and the groups the account belongs to, under Access. An Administrator
shows Everything; an account with nothing shows Nothing. The same
dialog changes the Name (optional) and the Role; nobody can change
their own role.
There is no way to switch an account off and on again. Either:
Take its access away, keeping the account: Edit, untick every
policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., remove it from its groups, Save changes. It can still sign in,
but sees nothing beyond its own account.
Delete it: Delete on its row, then confirm Delete the user.
The account goes with its sessions and linked accounts, and cannot be
brought back; the e-mail can be registered again later.
Type a Name (lowercase letters, digits and -) and a
Description.
Tick the people under People added by hand and the Policies the
group gives.
If your organisation signs in through its directory, list under
Directory groups the directory groups whose members join it at
sign-in, one per line (directory
sign-in).
Choose Save.
You should seeGroup … saved. Deleting a group takes from its people
what its policies gave them.
In Statement 1, keep Effect on Allow and Resources on
* (everything), and tick the actions under Data quality and
Administration, or Every action.
To narrow it, choose Add statement with Effect on Deny: a
denial always wins. A resource such as pipeline/customers limits a
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s actions, such as View results or View personal data,
to the customers dataset.
Choose Save, then attach it to people or groups.
You should seePolicy … saved. and, under Attached to, how many
have it. A name or statement that does not hold is refused with a short
reason, in English, naming the field.
Anyone can create a token for a script or another system in the Service
accounts tab: New service account, a Name, optionally Its own
policies and Expires on, then Create. The token is shown once:
copy it then. It can do at most what its owner can, and stops working when
deleted.
The account for … was created, but the email did not go out.
Check outgoing mail, then Resend link.
There is already an account with that email.
That person has an account: find it in the list.
That account is already active.
No link is needed: they sign in with their password.
You cannot change your own role.
Another Administrator has to.
It is the only administrator: it cannot be deleted.
Make another account Administrator first.
You cannot delete your own account.
Another Administrator has to.
Only an admin can do that to an admin.
Only an Administrator changes or deletes an Administrator account.
The directory (LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work.) sets this account’s name and role.
A directory account: change it in the directory.
Only an administrator can change the settings.
Your policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. do not allow this.
Check the highlighted fields.
A field of New user is not valid, such as Type a valid email.: fix it.
Where values from sources appear, who may see them whole, how to show them with a reason, what is recorded when someone does, how to see who viewed what and why, and what the audit trail covers today.
Who does this: an administrator decides who sees values from sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it.,
with the policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. in Manage users and access.
Internal control, with the auditor policy, reads who saw them.
Most of Quality Data shows counts, never a record’s values: the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.,
the queues, the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.’s sample. Values from sources appear in three
places only:
Records, beside a table of a source in the Explorer: a page of the
table as it is now in the source.
Test, in the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. editor: up to 10 records of each outcome, in the
Result tab.
The Lake SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. console, for data stewards: the rows a query over the
lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. returns, written in SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. (Structured Query Language).
Values always come masked first, for everyone: each value as ••••
followed by its last four characters, or •••• alone when it is four
characters or fewer. Only someone whose policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. allow View personal
data can show them whole, and only by saying why. Among the ready-made
policies only quality-analyst (and quality-admin) allows it; an account
with the role Administrator may too. So quality-steward, quality-viewer
and auditor work with masked values.
Where
Showing whole values needs View personal data on…
Test
the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. whose ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. is tested
Records
every dataset that reads the table; on all datasets if none reads it yet
The console
every dataset
Without the permission the screen says values masked: seeing them whole
needs the personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. permission. With it, it says Values masked. and
offers Show values.
In Reference (optional), write the ticket or case the view is for,
such as INC-2041 or CASO/2026/118: up to 32 characters, letters,
digits and - _ / # ., no spaces, with at least one letter. A ticket
that is only digits goes with its system’s prefix (T-48213). Never
write a name or a document number. With Other it is required:
Reference (required with Other).
Choose Show values.
The values show whole, and above them a line says why: Showing values
for: Data quality review, INC-2041, with Change and Mask again.
The reason is remembered for that scope in this browser tab: a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.
(every page of its tables), a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. (its ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. tests) or the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. (the
console). The next page, test or query of the same scope shows whole
without asking again, and each one is still recorded with the reason.
Change asks for another reason; it applies from the next page, test
or query.
Mask again forgets the reason and masks what is shown.
Signing out, the session expiring or closing the tab forgets it too.
If the values cannot be shown (you lack the permission, the read has not
ended, or the audit or the service is unavailable), they stay masked: the
screen says Values masked. and why, never Showing values for. With a
reason remembered, Change opens it to try again or to give another,
and Forget reason forgets it.
To let them: attach quality-analyst to their account or to a group
of theirs (To give or change
policies).
For one dataset only: a policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. of your own that allows View
personal data with the resource pipeline/customers. Test on the
customersdatasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. then lets them show its values; Records only if
no other dataset reads the same table.
To stop them: take that policy away. It applies at once, at the
latest within a minute.
Each time someone shows values whole, Quality Data records who, when, from
which address and browser, and what they opened: a page of a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.’s
table, a test of a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., or a query of the console. With it go
the purpose, the reference if one was given, the read’s job, how
many rows it showed and the names of the fields it showed. A
console column whose name is not a plain name (an alias with a space, a
quote or an accent) is recorded by its position, such as #2. If the
record cannot be written, the values are not shown.
It never records a value, nor which records or customers a view showed.
Masked reads are not recorded as views. Each showing is recorded on its
own: a test opened again after reloading the page is recorded again.
Views from before reasons were asked have no purpose. There is no way to
export personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. from the product.
Quality Data has no screen of its own for the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy. yet. Monitoring,
the installation’s Grafana, does not show it either: it shows the
machines’ logs and metrics and never reads Quality Data’s database. Until
there is a screen for it, ask whoever supports your installation for who
viewed what, with its purpose, reference, rows and fields.
Sign-ins that succeeded or failed, lockouts and sign-outs
Changes to groups, policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. and service accountsService accountA token for a script or another system to use Quality Data in its owner's name; it can do at most what its owner can.
Password resets, and external accounts linked or unlinked
Changes to outgoing mail, directory and external sign-in
Accounts created, edited and deleted, and activation links sent
Which records a view showed
SourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it. added, changed (a credential as changed, never its value) and removed
RulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. deployed, draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. approved and discarded, mappingsMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. started, datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. removed
CutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. run by hand, schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… created, changed and removed, remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. saved
Every view of whole values, with its purpose, reference, rows and fields
Every query run in the console
The trail cannot be exported from the product yet.
values masked: seeing them whole needs the personal data permission., in Result
Your policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. does not allow View personal data on this datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them..
The values are masked: … on Records
It is missing on at least one dataset that reads the table.
The reference is not a ticket or case number: …
Write a ticket or case number such as INC-2041, with no spaces.
With Other, write the reference of the ticket or case.
Other needs a reference; or choose the purpose that fits.
The audit is unavailable, so the values cannot be shown: …
Nothing was shown or recorded. Try again later.
These values are no longer kept: read them again.
A read is kept an hour (a test, a day). Read the page, test or query again.
You may not see this source’s records.
Your policy does not let you see this sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it..
No Records beside a table
The table has gone from the source, or your policy does not let you see sources.
Manage users and access: the policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. and how to
give them.
The rest of Settings for whoever runs the installation, outgoing mail, signing in with the company directory or an external provider, updates, and adding and approving a machine.
Who does this: an administrator: an account with the role
Administrator, or one with the quality-adminpolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.. Each card under
Settings (the menu at the top right) shows only to whoever may use it.
Accounts, groups and policies are in Manage users and
access.
Quality Data sends by e-mail the links that activate accounts and recover
passwords, and its notices. The installation has no mail server of its
own: it uses your organisation’s. Without it, no account can be created.
In Settings, choose Outgoing mail. The card says Not
configured until it is set up.
Turn on Send mail and pick the Mail provider: Office 365
(Microsoft Graph) or SMTPSimple Mail Transfer ProtocolThe standard mail protocol; through it, the organisation's mail server sends colleagues their activation links. server, the standard mail protocol.
Fill in the fields; each has its help.
Under Send a test email, choose Send test: it uses what is in
the form, even unsaved.
Choose Save.
You should seeSaved. Outgoing mail is on., the card saying On,
and the test message in your inbox. Under Password recovery, The link
expires in (minutes) sets how long a recovery link works, from 5 minutes
to a day. With mail off, Quality Data sends nothing, no account can be
created, and Forgot your password? says recovery is not available.
People can sign in with the account they use at work, through the
organisation’s directory, over LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work. (Lightweight Directory Access
Protocol), such as Active Directory. Local accounts keep working. The
directory names each account and group by its DNDistinguished nameThe full name of an entry in a company directory, such as a group: CN=Quality,OU=Groups,DC=example,DC=org. (distinguished name), its
full name there.
In Settings, choose LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work. / Active Directory.
Tick Allow signing in with directory accounts.
Under Connection, type the Server URL; under Service
account, the Account DNDistinguished nameThe full name of an entry in a company directory, such as a group: CN=Quality,OU=Groups,DC=example,DC=org. and Password of an account that may
read the directory; under Users and groups, the Search base
(DNDistinguished nameThe full name of an entry in a company directory, such as a group: CN=Quality,OU=Groups,DC=example,DC=org.) and the User filter. Each field has its help; ask your
directory’s administrator for the values.
Under Administrator groups, list the directory groups whose members
are Administrators here, one per line.
Under Test the connection, type a colleague’s e-mail and choose
Test: it shows their Email, Name, whether they are
Administrator, and their Direct groups, without checking any
password.
Choose Save.
You should seeSaved. LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work. sign-in now uses these settings.
Who can then sign in with the directory:
Members of an Administrator groups group, as Administrators.
Members of a directory group listed under a group’s Directory groups
(groups),
as users with that group’s policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.. Copy each group’s DNDistinguished nameThe full name of an entry in a company directory, such as a group: CN=Quality,OU=Groups,DC=example,DC=org. exactly as
Test shows it under Direct groups; groups inside groups do not
count.
Nobody else: they get Invalid email or password., as with a wrong
password.
The note under Administrator groups still says that only
administrators sign in with the directory: the groups’ Directory groups
let other people in too. A directory account shows Directory (LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work.)
under Users; the directory sets its name and role at every sign-in. An
e-mail that already has a local account keeps signing in with its local
password.
To let people sign in with Microsoft, Google or another provider
A Continue with … button on the sign-in page can send people to an
external provider that speaks OIDCOpenID ConnectA standard for signing in through an external identity provider, such as the organisation's corporate account. (OpenID Connect).
In Settings, choose OAuth2 / OIDCOpenID ConnectA standard for signing in through an external identity provider, such as the organisation's corporate account..
Under Add provider, choose + Microsoft Entra ID (type your
organisation’s tenant ID in the box first), + Google or + Another
OIDCOpenID ConnectA standard for signing in through an external identity provider, such as the organisation's corporate account. provider.
Copy the Redirect URL (register it at the provider) into the
provider’s application settings, and copy from there the Client ID
and the Client secret.
For another provider, type its Issuer and choose Discover
endpoints.
Choose Save providers.
You should seeSaved. 1 provider active on the sign-in page. and,
on Sign in, a Continue with … button. A person gets in only if
they already have an account with that e-mail (when the provider vouches
for it), or once they link the provider under Settings, My account,
Linked accounts, Link.
In Settings, choose Updates: the Installed version, its
Status, any New version with What’s new, and the History.
Before installing, Quality Data waits for running jobs, backs up its
database and, if the new version does not start, goes back to the previous
one by itself. It does not respond for a few minutes.
Now: choose Update now, read the dialog and choose Update.
You should seeRequest sent: it starts in less than a minute, and
the progress on every screen.
When it updates: choose With approval (each version waits for
Update now), Automatic (it installs by itself on the Days,
between From and To, when no jobs are running) or Manual (it
is installed on the server), set Wait for jobs to finish for up to
(min), and choose Save. You should seePolicyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. saved.
In Settings, Execution, choose Add a machine and pick the
Role. The list holds the roles the installed modules declare, such as
lake (the lake’s server, from the lake module) and trino-worker (a
Trino workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., from the query module); with no such module installed it is
empty and there is nothing to join yet. A lake pool’s servers are added in
Settings, Lake, below. Choose Get the command. You should
see the command with Copy, and until when it works: an hour, once. It
is shown only this once; copy it before I have copied it, close, or ask
for a new one. Whoever supports your installation runs it as root on the
new server, which then shows in the list as Pending approval. When
there is no installation command for the role, you get the token alone,
and the panel says why.
The command also sets up the machine to send its metrics to your
installation’s observability server, which Grafana shows. It looks up that
server’s address in DNS when it runs: if the address cannot be found it
stops, changing nothing, and if the address changes later, get a new
command and run it again.
When whoever supports your installation brings the lake’s stack up, it
makes the main lake’s admin user and shows, once, on that server’s
terminal, an access key (qd-platform-admin) and a secret (64 hex
digits), marked SHOWN ONLY THIS ONCE. They are written to no file and
never shown again, so they pass them to you right away. In Settings,
Lake, under The main lake’s admin user, paste them in Access
key and Secret and choose Keep the keys. You should seeThe
main lake’s admin keys are kept. and the access key and when it was
pasted. Above it, The main lake says whether Quality Data reaches the
lake with those keys: You should see that it answers with the kept
keys, and how many of its drives are online and offline. Nothing is
changed on the lake.
A lake grows by pools of at least four servers. Before any of them is
installed, in Settings, Lake, under The lake’s pool, type in
Servers their names, one per line, in order (lowercase letters, digits
and hyphens; each must resolve in DNS from the others), and in Drives per
server how many drives each has (the same on every server). Choose Save
the pool. You should seeThe pool main is saved. and a table of the
servers, each Not joined yet. For a server, choose Command, type the
mounted paths of its drives (as many as the pool says) or leave it empty,
and choose Get the command: it is shown once, as when adding a machine,
and names that server; it joins only under that name. Once a server has
joined, the table shows its state and the pool’s servers and drives no
longer change. The first pool is always main; adding a second one is
not possible yet.
Whoever supports your installation runs each server’s command on that
server, as root, one server after another. The pool forms once all of them
are up. The last server of the list makes the lake’s admin user and
shows its keys once, as in “To keep the main lake’s admin keys”: run its
command last. If it ran before the others were up, it says so: once every
server is up, get its command again and run it. The other servers say
which server makes the user.
Each command looks up the other servers’ addresses in DNS when it runs,
and lets only those addresses reach the server’s port for its peers. So
get each server’s command again and run it when:
a server’s address changes, on every other server;
the lake’s replica joins after the pool’s servers, on every server, so
that each one copies to it;
a server restarts, on that server: until this version keeps its rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
across a restart, the port is open again to any address, though still
only to machines with a certificate of your installation.
Running a command again changes nothing that is already in place.
When the lake-replica command starts the replica, it makes the lake’s
admin user and shows, once, on that server’s terminal, an access key
(qd-platform-admin) and a secret (64 hex digits), marked SHOWN ONLY
THIS ONCE. They are written to no file and the command never shows them
again, so whoever runs it passes them to you right away. In Settings,
Lake, paste them in Access key and Secret and choose Keep the
keys. You should seeThe replica’s admin keys are kept. and, above
the form, the access key and when it was pasted. The secret is not shown
again, here or anywhere; pasting the keys again replaces them.
Above the form, The replica says whether Quality Data reaches the
replica with those keys: once the replica is approved in Execution and
the keys are kept, You should see the replica’s name, that it answers
with the kept keys, and how many of its drives are online and offline.
Choose Ask again to ask it now. Nothing is changed on the replica.
Once the main lake’s admin keys are kept, Quality Data makes the
installation’s warehouse on the main lake when it is missing, before any
replica is there. Once the replica’s are kept too and the replica is
approved, it configures the main lake to copy the warehouse into the
replica, where each object is kept for 30 days and no one, not even an
administrator, can delete it or shorten that; the main lake’s old versions
are removed after 7 days. It does so when keys are kept and every hour, and
changes nothing when all is already in place. In Settings, Lake,
The replication says whether it is ready and lists each warehouse:
You should seeConfigured since and a date for each. Until the replica
and its keys are there, a warehouse shows Made on the main lake; its
replication waits for the replica and its keys. Choose Ask again to
read it now.
The machines that do the heavy work join the installation from their own
server, which whoever supports your installation sets up with the command
above. In Settings, Execution lists them. A new one shows Pending approval and takes
no work until you choose Approve. Once approved, the machine gets its
role’s files from its module and starts its role’s services by itself,
within about a minute. Drain lets one finish what it has
and take nothing new; Retire takes it out for good, after a
confirmation.
No card for mail, directory or external sign-in under Settings
Your policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. do not allow configuring them.
Connection OK, but the filter did not find that user.
Check the User filter and the Search base (DNDistinguished nameThe full name of an entry in a company directory, such as a group: CN=Quality,OU=Groups,DC=example,DC=org.).
A directory colleague gets Invalid email or password. with the right password
None of their direct groups is an Administrator groups group or in a group’s Directory groups.
The directory is not responding. Please try again later., on Sign in
Quality Data cannot reach the directory: check the Server URL and the network.
Signing in with the provider did not work. …
Usually no account has that e-mail: the person signs in with a password and links the provider.
Updates says No service or Not responding
The update service on the server is not running. Tell whoever supports your installation.
Updates says This installation is not updated from here …
It is updated another way: ask whoever supports your installation.
This installation has no certificate authority yet: no machine can join., in Execution
Machines cannot join yet. Ask whoever supports your installation.
Each drive is an absolute path …, under Drives
A path starts with / and has only letters, digits, ., _, - and /, as /srv/disk1.
The secret is the 64 hex digits join.sh showed …, under Secret
Paste the whole secret, as shown, with no other characters.
The replica’s admin keys were lost before they were pasted
The command does not show them again. Ask whoever supports your installation.
… refuses the kept keys …, under The replica
The keys pasted are not the replica’s: paste again the ones its command showed.
… could not be reached: …, under The replica
Quality Data cannot reach the replica’s server. Tell whoever supports your installation what it says.
More than one replica is approved …, under The replica
Retire in Execution the machines that are not the replica.
The main lake refuses the kept keys …, under The main lake
The keys pasted are not the main lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s: paste again the ones shown when its stack was brought up.
The main lake could not be reached …, under The main lake
Quality Data cannot reach the lake. Tell whoever supports your installation what it says.
This installation reaches no lake …, under The main lake
Tell whoever supports your installation.
Failed at …, under The replication
The step named was refused or not reached. It is tried again every hour; tell whoever supports your installation what it says if it stays.
Reference for how a rule is written: its keys, where rules files live, what a dataset declares once, the expressions and what Quality Data decides for every rule.
A ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. applies a pattern to a field. Most rules need no logic at all:
the pattern and its parameters say everything. Rules are written in YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written.,
a plain-text format, with English keys, in the rule editor or in any text editor; the editor
completes keys and values and says what each one is for.
This page is the language itself. The fourteen patterns, one by one, are
in Rule patterns; every message the editor’s checker
gives, in Lint findings. Writing, testing and deploying a
rule in the product is in Write, change and test a
rule.
New to rules? Start with the tutorial: it writes a
few rules step by step.
Data quality rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. often live in code: a few developers write them, and
the text that explains each one can driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. from what it does. The rule
language exists so that:
whoever knows the data writes the rules. A data steward, not a
developer: most rules are a patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. and two or three parameters, with no
logic to get wrong;
a rule says what it checks, not how.check: required with
when: Occupation = 'EMPLOYEE' is the whole rule; Quality Data writes
the query and the explanation in words;
every rule can be reviewed. A rule is a few lines of text in a
versioned catalog: a change is a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it., someone approves it, and the
history keeps who changed what;
a rule means one thing. The query that evaluates it and its
explanation in words come from the same reading of the rule, so what
As read says is what runs;
results are comparable over time. Rules compare dates with the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.,
never with today, and keep their id: measuring a cut again gives the
same result, and a rule’s history follows it;
a rule cannot do harm. The language only reads the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s own
record and the references it declares: no other table, no writes, no
function outside a closed list.
If you know SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. (Structured Query Language), you already know most of it. Conditions (when, if,
then, fails, a population, a derived field) are written as the
condition of a SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it.WHERE, with the same operators: =, <>, AND,
OR, NOT, IN (…), BETWEEN, LIKE, IS NULL, CASE WHEN,
arithmetic and CAST.
What differs:
In SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. you would…
In a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
Write a query: SELECT … FROM … WHERE …
Write only the condition. A rule looks at one record of its datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.; Quality Data runs every rule of a dataset in one pass
Write the check itself
Name a pattern (required, format, range…) and its parameters; expression is there for what no pattern covers
JOIN another table
Declare a reference once and use in: { reference: … } or in_reference(x, 'ref.Column')
Use CURRENT_DATE
Use :cut, the date the data was taken
Get NULL as “unknown”
Get three results: fails, passes, does not apply (NULL means the rule does not apply to the record)
Treat '' and ' ' as values
They are empty, as NULL is; so is a value of only spaces, the no-break space included
Compare 'abc' = 'ABC ' as different
They are equal: texts compare trimmed and case-insensitive (case: exact changes it per rule)
Match a regular expression anywhere in the value
It matches the whole value, and is RE2Google's regular-expression engineThe dialect the rules' regular expressions are written in; it always runs in predictable time, so it has no backreferences or lookaround., Google’s dialect (no backreferences, no lookaround)
Spell a function as your database does
Use the language’s function (is_empty, regexp_like, days_since…), which Quality Data writes in the SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. it runs
Write subqueries, other functions, other tables
Not possible: the grammar is closed, and lint says where an expression leaves it (QR002)
So a rule is not SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. you run: it is a description Quality Data turns into
SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it.. As read, beside the editor, shows each rule in words and, folded
under SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. per engine, the SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. it becomes; you never write it by hand.
A rules file names its dataset (as the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. calls it) and
lists its rules. Each rule is one check, on one field.
Unique in the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.. It is how results are kept over time: keep it when a rule changes. Required
field
The field it checks, or a list of fields (one rule per field). Optional for combination, implies and expression
check
The patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition.: one of the fourteen of Rule patterns. Required, unless the rule extends one
when
The rule applies only where this condition holds
population
The rule applies only to this population, declared by the dataset
severity
blocking, major or minor. By default, the pattern’s
cause
capture (fixed by whoever records the data) or systemic (fixed once, at the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.)
alert
What the person who fixes the record reads. Lint warns when it is missing
on_empty
fail counts an empty value as a failure; by default it is skipped (see below)
case
exact compares texts as written; by default case and outer spaces do not count
examples
Records the rule must fail (fails), pass (passes) and not apply to (skips), kept with the rule
for_each
Repeats the rule for each value: { n: ["1", "2"] } with Phone{n}
extends
A named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. of the dataset’s global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. this one starts from (Share rules)
origin
Where an imported rule comes from: { process: OLD-FLOW, node: "#12" }
note
Free text for whoever maintains the rule; nobody else sees it
Each pattern adds its own parameters (min, pattern, in…). A parameter
the pattern does not take is an error with its place (QR005), so nothing
written is silently ignored.
When both when and population are given, both must hold.
The dimension comes from the pattern (completenessCompletenessQuality dimension: the data is present when it must be. for required,
validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list). for format…; the table in Rule patterns);
only expression declares its own. The severity has a default per
pattern and can be changed per rule; it weights a failure in the data reliability index (ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.)
(Formulas):
Severity
Means
Weight
blocking
The data is unusable
1.0
major
Usable with reservations
0.6
minor
A matter of form
0.3
A rule that reads one field counts in that field’s own conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies., the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.’s
C component. A rule that reads more than one field, counting the fields
of its when and its population, counts in the consistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities). between fields,
S, of each field it reads.
examples holds records the rule must fail, pass and skip (not apply to).
Each is a map of field to value, or a list of them; null is no value.
Writing them makes you say what the rule must do, and tells whoever reviews
the rule the same. The product’s editor checks that they are well written,
but does not run them yet: to see how a rule behaves on data, use Test
(Write, change and test a rule).
A datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s rules are in its catalog, one file per field, beside the
dataset’s global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset.:
clients/
reglas_globales.yaml the dataset's global rules
Employer.yaml the rules of the field Employer
Mobile.yaml the rules of the field Mobile
age.yaml the rules of the derived field age
A field’s file is named exactly as the field in the dataset’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.,
<field>.yaml, and holds that field’s rules.
A rule belongs to the field in its field:. A rule over several fields
belongs to the first one; one with no field, to the first field it reads.
What several fields compute together is better written as a derived
field in the global rules, with its rules in the derived field’s own
file.
A rule in another field’s file gets a warning that names the file it
belongs to (QR210).
A file holds up to 30 rules or 300 lines (QR100), and a list up to 50
values (QR103); a field’s rules rarely come near either.
Older datasets may still keep several fields in one file: Split by
field moves them to this layout (Share rules across
fields).
reglas_globales.yaml declares once what the dataset’s files share: the
sections of the next part, and named rules (named), which a field’s
rule starts from with extends. It has no rules: of its own (QR014),
no field may be called reglas_globales, and a name it declares is not
declared again in a field’s file (QR013). How to use it, and what to
check before changing a named rule: Share rules across
fields.
These sections sit beside rules:. In a dataset split by field, they live
in the dataset’s global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset., reglas_globales.yaml, and every file of the
dataset sees them (The dataset’s global rules).
Named conditions a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. applies to with population:
lists
Named lists of values, for domain (in: { list: name }) and in_list(x, 'name'). Over 50 values, lint asks for a catalog table
placeholders
Fillers that mean “no value”, by type: text, number, date, and email (with * for any text). Declared once, never per rule
derived
Fields computed with an expression, against the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.; a rule checks them as any field
references
Another dataset looked up by its key, at the same cut’s date; where keeps only some of its records (its fields, as written)
tables
Tables of allowed or forbidden combinations, for combination (Rule patterns)
named
Rules with everything but id and field, which a field’s rule extends. Only in the global rules
The email fillers apply to fields the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. types as e-mail, together
with the text ones.
when, if, then, fails, the bounds of range, the parts of sum,
populations, derived and a reference’s where are expressions in
standard SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it., from a closed grammar:
comparisons and logic: =, <>, <, <=, >, >=, AND, OR,
NOT, IN (…), BETWEEN, LIKE, IS NULL, CASE WHEN … THEN … END,
arithmetic, CAST;
intervals: INTERVAL 18 YEAR, MONTH or DAY;
the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: :cut, the only parameter;
functions:
Function
Gives
is_empty(x)
x has no value, is empty or only spaces
regexp_like(x, 'pattern')
x matches the regular expression, anchored to the whole value
in_list(x, 'name')
x is in a list the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. declares
in_reference(x, 'ref.Column')
x is in a reference’s column
days_since(x)
The days from the date x to the cut
days_between(a, b)
The days between two dates
years_between(a, b)
The whole years between two dates
upper, lower, trim
The text in upper or lower case, or without its outer spaces
length, abs, round(x, n)
A text’s length; a number’s absolute value; x rounded to n decimals (0 if left out)
coalesce(a, b, …)
The first of its arguments that has a value
Nothing else: no subqueries, no other functions, nothing outside the
dataset. An expression outside the grammar is a lint error (QR002) that
says where and why.
A long expression is folded with >-, one clause a line:
These are fixed: no rule can change them, except where it says so.
Empty is no value (NULL), an empty text, or only spaces, the
invisible no-break space (U+00A0) counted as a space.
Empty values are required’s job.required fails on them;
empty fails on filled values; the other patternsPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. skip a record whose
checked field is empty (it “does not apply”), so a missing value is not
counted twice. Each pattern’s section in Rule patterns
says which fields it skips on, and whether on_empty: fail can change it.
implies and expression skip nothing: they see empty values as their
conditions say, so write is_empty(x) where it matters.
Placeholders count as empty for required, which says so as its
reason; placeholder finds them.
Text is compared trimmed and without telling upper from lower case;
accents count. case: exact compares as written.
Regular expressions match the whole value, never a part of it:
3\d{9} does not match inside a longer number. They are written in the
common syntax known as RE2Google's regular-expression engineThe dialect the rules' regular expressions are written in; it always runs in predictable time, so it has no backreferences or lookaround.: no backreferences, no lookaround (QR010).
Dates are compared with the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. (:cut), never with the day the rule
runs: a cut gives the same result when it is measured again.
Codes keep their leading zeros when the mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. types them as text;
lint warns about a text pattern on a field mapped as a number.
The result of a rule for a record has three values: it fails, it
passes, or it does not apply (outside its population or
condition, an empty value it skips, or any other missing value, such as a
derived field that cannot be computed).
Quality Data · Reference
Rule patterns
Reference for the fourteen patterns of the rule language: what each checks, its parameters, its dimension and default severity, how it treats empty values, and an example.
A patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. is a way of validating. The list is closed: fourteen patterns,
each with its parameters. What none of them covers is written as an
expression and reviewed; if it repeats, it becomes a pattern or a named
format of Quality Data.
Every pattern also takes the keys every ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. has (when, population,
severity, cause, alert, examples…), described in
Rule language. A parameter a
pattern does not take is a lint error (QR005); one it needs and lacks is
another (QR006).
Pattern
Fails when
DimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern.
Default severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity.
Empty values. What counts as empty, and why the other patterns leave
empty values to required, is in Rule language: what Quality Data decides
for every rule.
Each section below says which fields a pattern skips on when they are
empty, and whether on_empty: fail counts them instead.
The field has a value. Fails when it is empty, or holds one of the
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s placeholders for its type (the reason then says “placeholder”).
Parameters: none.
Empty values: they are what it finds. on_empty does not apply.
- id: EMP-01
field: Employer
check: required
when: Occupation = 'EMPLOYEE'
alert: The employer is missing for an employee
Lint warns when a field has both required and placeholder (QR022):
required already counts the fillers.
The value is not a filler, such as UPDATE or 1900-01-01.
Parameters: values, the fillers to find; by default the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s
placeholders for the field’s type. A * stands for any text
(noemail@*).
The value, without its outer spaces, has its form.
Parameters: pattern, a regular expression, or named, a format
maintained by Quality Data; one of the two, never both. The expression
must match the whole value (it is anchored), and is RE2Google's regular-expression engineThe dialect the rules' regular expressions are written in; it always runs in predictable time, so it has no backreferences or lookaround., Google’s dialect: no
backreferences, no lookaround (QR010).
An e-mail address: a local part, @, and a domain with a dot
person_name
Letters (accents included), words joined by one space, ' or -
not_only_symbols
At least one letter or digit
capitalized
Starts with an upper-case letter
normalized_spaces
No doubled spaces between words
Three more named formats, for Colombian data, are in an optional
module.
- id: EML-02
field: Email
check: format
named: email
alert: Not an e-mail address
- id: DOC-02
field: Document
check: format
pattern: \d{5,12}
alert: The document has 5 to 12 digits
A regular expression is written plain, as above: YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written., the format rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. are written in, keeps its \.
It goes in single quotes only when it starts with a sign YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. reads, such
as [ (pattern: '[A-Z]{3}\d{3}').
Parameters: in, the allowed values, or not_in, the forbidden
ones; one of the two. Either is a list of values, { list: name } (a
list the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. declares) or { reference: name.Column } (a column of a
reference the dataset declares). Values compare trimmed and
case-insensitive, unless case: exact.
Parameters: min, max, at least one; each a number, a date
("2000-01-01"), another field, ":cut" or an expression. Bounds are
included; min_exclusive: true or max_exclusive: true leaves them out.
A bound on another field makes the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. cross-field.
A date is recent enough, against the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
Parameters: max_age, how old the date may be: a whole number and
days, months or years (13 months, 1 year). Fails when the date
is before the cut minus max_age.
Parameters: parts, a list of fields or expressions, each with its
sign ("- Liabilities", in quotes because it starts with -);
tolerance, the difference allowed (by default 0). Fails when the
field minus the sum of its parts is, in absolute value, over the
tolerance.
Empty values: skipped when the total is empty; on_empty: fail
counts it. A part with no value leaves the record out (it does not
apply).
Parameters: key, the field or fields that must not repeat together
(by default the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.’s field); normalize: true, compare letters and
digits only, in upper case; ignore, values that may repeat. Values
compare trimmed and case-insensitive.
Empty values: skipped when the rule’s field is empty;
on_empty: fail counts it. Placeholders are not skipped: list them in
ignore if they may repeat.
Two fields form an allowed combination, from a table the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. declares.
Parameters: table, the name of a table under tables:. field is
not needed: it is the table’s then.
The table: when, the field each row starts from; then, the field
whose values the rows allow or forbid; rows, each with when (a
value, a list, or "*" for every value no other row names) and
allowed or forbidden. One when field for now; a table on several
is not compiled yet (QR008).
Empty values: skipped when either field is empty. on_empty does
not apply.
alert: The activity code does not fit the occupation
The last row is the other direction of each pair, in the same table. A
record fails once, whichever row it breaks, and the findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. says the row.
Parameters: from, the other field; normalize: true, compare
letters and digits only, in upper case. Values compare trimmed and
case-insensitive, unless case: exact.
Empty values: skipped when either field is empty; on_empty: fail
counts it.
- id: REL-01
field: RelativeDocument
check: differs
from: Document
normalize: true
alert: The relative's document is the client's own
A free condition, for the rare case no patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. covers. Each one is reviewed.
Parameters: fails, the condition under which the ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. fails (an
expression); dimension, required,
since there is no pattern to take it from: completeness,
consistency, accuracy, validity, timeliness or uniqueness.
field is optional.
Empty values: nothing is skipped. Say what an empty value means in
the condition, or in a population that leaves it out. on_empty does
not apply.
- id: EQ-02
field: Equity
check: expression
fails: Equity < 0
dimension: accuracy
severity: minor
alert: Negative equity
Quality Data · Reference
Lint findings
Reference for every finding of the rule editor's checker: its code, its message as the editor shows it, what it means and how to fix it.
The ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. editor checks a rules file as you type, without data: this check
is called lint, and what it finds, a finding. Each finding has a code
(such as QR003), its line, and a message in the language you use
Quality Data in. In the messages below, … stands for what the editor
fills in: a field, a value, a count.
An error blocks saving and deploying; a warning does not, but
Deploy lists them so you read them first.
The editor’s Style tab shows the style warnings (QR200 to QR205)
and QR210; Problems shows everything else.
Tidy, in the Style tab, fixes in one edit the findings marked
Tidy below, keeping comments, order and every value; Ctrl+Z undoes
it. A file is never tidied when it is saved.
How the editor shows them while you write is in Write, change and test a
rule; the keys and
patternsPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. they name, in Rule language and Rule
patterns.
The YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. cannot be read: …
The file’s layout breaks where it says, and nothing after that point can be read. Most often a # that ends a value early, a quote left open, a line that goes on the value above at its key’s indent, or a >- on a list of names; the rest of the message says which, and whether Tidy fixes it
QR002
Expression outside the grammar (column …): …
A condition uses something the language does not have: a function outside its list, a parameter other than :cut, an interval not in YEAR, MONTH or DAY, a type CAST does not allow, or text left after the expression. Rewrite it with the expressions the language has
QR003
The field … is not in the dataset, maybe with Did you mean …?
Write the field’s name exactly as the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., and the Explorer, show it
QR004
There is no population named …, or list, table, reference, derived field
The name is declared nowhere the file can see. Declare it in the global rules, and deploy them first, or fix the name
QR005
The pattern … does not take the parameter …
Remove the parameter, or use the patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. that takes it: each pattern’s parameters are in Rule patterns. Also on_empty on required, which already finds empty values
QR006
The parameter … is missing
The pattern needs it: add it. Such as max_age for fresh, or dimension for expression
QR007
The value … of … does not fit the field’s type
A value that cannot be read as the field’s type, such as a text bound on a date field, or a max_age that is not a whole number and days, months or years. Fix the value, or the field’s type in the mapping
QR008
Not compiled yet: a table on several fields
A combination table whose when names several fields. Use one field in when
QR009
Another rule already uses the id …
An id is unique in the whole dataset, not only in its file: choose another
QR010
The regular expression uses …, which RE2Google's regular-expression engineThe dialect the rules' regular expressions are written in; it always runs in predictable time, so it has no backreferences or lookaround. lacks: …
Regular expressions have no backreferences and no lookaround. Rewrite it without them, or check part of the value with another ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
QR011
Example … should fail, but it gives: pass (or pass, not apply)
One of the rule’s examples does not give what it declares. The editor does not run examples today, so you will not see this findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. in the product
QR012
… is not a named rule of the table’s global rules
An extends names a rule the global rulesGlobal rulesA dataset's file reglas_globales.yaml: what several fields share, such as lists, populations and named rules, declared once for every rules file of the dataset. do not have. Fix the name, or deploy the global rules that declare it first
QR013
… (…) is already declared by the table’s global rules: take it away from here or rename it
A name means one thing in the whole dataset. Remove the declaration from the field’s file, or give it another name
QR014
The global rules have no rules of their own: each rule goes in its field’s file
It checks the same as …: each failure would count twice
Two rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. check the same thing on the same records. Remove one of them
No
QR021
The rule has no alert: whoever fixes the record will not know what to do
Add an alert: the sentence whoever fixes the record reads. A rule added with + has none until you write it
No
QR022
… already has required, which counts fillers as empty
The field has both required and placeholder; required already fails on fillers. Remove the placeholder rule
No
QR023
The condition never holds: the rule would apply to no record
Its when or population excludes every record, such as one field equal to two values at once, or FALSE. Check the condition
No
QR024
… is mapped as a number: a text pattern would read 1234.0; map the code as text
A text patternPatternA reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition. (format, length…) on a field mapped as a number reads it with decimals and without leading zeros. Map the field as text
No
QR100
The file has … rules and … lines: split it by field group (up to 30 rules or 300 lines)
Move rules to their fields’ own files
No
QR101
The draft changes … rules: split it (up to 25)
A draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. should change at most 25 rules, so one person can review it. The product does not show this findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. today
No
QR103
The list … has … values: make it a catalog table
A list of over 50 values is hard to review in a rules file. Keep the values as a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. of their own and check against it with a reference (in: { reference: … })
No
QR206
The # starts a comment and the value is lost: put it in quotes (”…”)
YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. reads # after a space as the start of a comment, so the rest of the value is lost. Put the value in quotes
Yes
QR207
These quotes are not closed on their line: what follows, up to the next quote, goes into the value
Close the quote on the same line
No
QR208
This line goes on the value above at its key’s indent, and reads as a new key: indent it further or use >-
A long value broken over lines must indent the lines that follow, or start with >-
Yes
QR209
… makes … a single text, but … is a list of names with their values: take … away from here and put it on each name
A >- or | on a key such as derived or populations makes one text of what is a list. Put it on each name’s value instead
Yes
QR211
… repeats what … already says: it is not needed
A rule that extends a named ruleNamed ruleA check written once in a dataset's global rules, with everything but its id and field; a field's rule starts from it with extends. writes a key with the same value the named rule gives. Remove the key
How a file is written is checked too, so that draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. show only what changed
in meaning. These are warnings.
Code
What the editor says
How to fix it
Tidy
QR200
The indentation is not two spaces a level
Indent each level two spaces more than the one above
No
QR201
There is a tab: use spaces
Replace the tab with spaces
Yes
QR202
Spaces at the end of the line
Remove them
Yes
QR203
These quotes are not needed: the value reads the same without them
Write the value plain (see below)
Yes
QR204
The line has … characters (over 120): if it is an expression, fold it with >-
Fold a long expression with >-, one clause a line
Yes
QR205
Leave exactly one blank line before each rule
Separate rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. with one blank line
A value goes plain (check: required, alert: No employer) unless, plain,
it would read as something else: a number or a date written as text
("0123", "1900-01-01"), yes, no, true, false, null; a value
that starts with a sign YAMLYAML Ain't Markup LanguageA plain-text format, easy for people to read and write, in which rules are written. reads (- : [ { # & * ! | > ' " % @, so
":cut" and "- Liabilities" keep them); one that holds : or #; and
inside […] or {…}, one that holds , or a bracket.
Quality Data · Reference
Reading the dashboard
What each chart on a dataset's dashboard answers, how to read it and what to do about it.
Every datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. has a dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.: the Dashboard under the dataset in the
Explorer, and the Quality tab of each table the dataset reads. This page
goes through every chart on it, in the order it shows them, for the people
who act on it: data stewards, analysts and managers. How each figure
is calculated, with an example of each chart drawn with made-up data, is in
Formulas.
The cut. The Cut selector at the top lists the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s evaluated
cuts, the latest first. Every chart shows the cut chosen. Charts that
compare (bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). transitions, groups that changed most, the population
stability index (PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use.)) compare it with the evaluated cut before
it, not with last month or with today.
Ages are counted at the cut, never today. “Up to 30 days”, “overdue”
and the oldest open findingFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. are measured from the cut’s date. An old cut
keeps saying what it said on its day.
Not every chart appears. A chart shows only when the dataset has what
it needs: an entity keyEntity keyThe field that tells whom a record is about, such as a person's or a company's identity document; charts by entity need it., a segmentSegmentThe commercial group a customer belongs to; it defines the offer and the service., a grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. (office, advisor,
product), an update date, an outlier amount or a driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. variable. MappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.
a table proposes those roles from its fields and publishes them with the
mapping; the application has no mapping editor yet to change them.
Charts that need nothing appear for every dataset.
“no data for this cut”. The chart exists for the dataset but the cut
gave it no rows: for example the first cut has nothing to compare with, or
no entity has a band. It is not a zero. If the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. says that no cut
has been evaluated yet, run one from Cuts.
Values and tables. Point at (or tab to) any bar, dot or column to see
its value and what it is. The drawing shows at most the fifteen worst;
the table under each figure has every row. A long label is cut in the
drawing and whole in the table. A missing value is a gap or ”—”, never a
zero.
One figure per grouping field. Charts by group are drawn once per
grouping field (or per drift variable), named after it: “p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. by group ·
Office”, “p′ chart by group · Channel”.
Question: is quality getting better? What you see: a line per
measure over the last twelve cuts up to the one chosen: Conformity
(blue), the share of ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. checks that passed, and the IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. (orange), the
overall data quality index: the mean data reliability index (ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.) of every entity (Formulas §4
and §8). The table
adds records and failures per cut.
How to read it. Rising is good. The vertical axis does not start at
zero, so a small step looks large: check the table before calling it a
change. A jump with a jump in records usually means a different population
(a new sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., a migration), not better capture. Before a cut with ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., the
IGCDOverall data quality indexThe mean ICD of a dataset at a cut: the one figure to follow over time. line is a gap.
Question: what kind of problem dominates? What you see: bars of
failures by quality dimension (completenessCompletenessQuality dimension: the data is present when it must be., validityValidityQuality dimension: the data has the right form and an allowed value (an e-mail with an @ and a domain; a region from its list)., consistencyConsistencyQuality dimension: the data does not contradict other fields or sources (for example, net worth = assets − liabilities).…) and
severity (blocking, major, minor), the most first; grey bars have none. A
failure is a record failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., so a record failing three rules counts
three.
How to read it. Blocking and major failures come first. Many
completeness failures point at the capture form or the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.; many
timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. failures at an update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case., not at the offices.
Question: where are the failures? What you see: bars of failures per
field: each ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.’s count under the field the rule checks; the table adds
how many rules check it and how many checks they made.
How to read it. A field with many failures and many rules may simply be
the most checked: compare with Rules with the lowest conformityConformityThe share of the records a rule applies to that meet it: 1 − failures / applies. before
deciding where to start.
Question: which data elements are least reliable? What you see:
bars of each field’s mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD., from 0 to 1, the lowest first
(Formulas §7).
How to read it. Unlike failure counts, the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. weighs severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity. and,
for fields that expire, how old the data is. A field low here but with few
failures is usually old rather than wrong: it needs an update, not a
fix.
Question: how are the customers (or whatever the entity is) spread across
quality? What you see: columns counting entities in bins of 0.05 from 0
to 1, with lines at 0.75 and 0.90, the bandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). limits
(Formulas §8).
How to read it. Right of 0.90 is the good band, between the lines the
fair one, left of 0.75 the poor one. A tall pile just left of a line is
cheap to move: a few fixes per entity change its band. A second hump far to
the left usually has one cause (a segmentSegmentThe commercial group a customer belongs to; it defines the offer and the service., a sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.).
Question: is one kind of entity worse than another? What you see: a
bar per segment (for example individual and company), split into Good
(ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD. ≥ 0.90) in green, Fair (0.75–0.90) in amber and Poor (< 0.75)
in red, as shares; the table has the counts.
How to read it. A segment much redder than the rest often fails on
fields its records do not carry: a process problem, fixed at the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.
rather than case by case. A small segment can look extreme with few
entities: read its count in the table.
Question: where did entities go since the previous cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.? What you
see: a grid with the previous cut’s band in rows and this cut’s in
columns; each square counts the entities that went from one to the other,
matched by an anonymous key.
How to read it. The diagonal stayed. Squares above it (towards Good)
improved; below it worsened. A large flow from Good to Fair with no new
errors is usually data expiring (timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today.). It needs two evaluated
cuts; entities only in one of them do not count.
This chart appears only for a datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. that takes part in the indicator of
the Superintendencia Financiera de Colombia (SFCSuperintendencia Financiera de ColombiaColombia's financial supervisor. Its data quality indicator applies only to the entities it supervises.), the country’s financial supervisor. It is described in the optional module
for regulated financial entities in
Colombia.
Question: does this office (advisor, channel) fail more than normal, or
is it noise? What you see: a dot per group: across, its number of
records; up, its share of records with a serious failure (a blocking or
major ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. failing on a critical or high field). The horizontal line is the
grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.’s average (p̄); the two curves are the control limits, wide for
small groups and narrow for large ones
(Formulas §12). Grey dots are in
control, red ✕ above the upper limit, green ✓ below the lower one. Records
with the grouping field empty are left out.
How to read it. Only dots outside the curves are signals. Above: look
for the cause in that group (process, form, training). Below:
something done better, worth copying. Between the curves: normal variation,
no action, however the ranking looks. Do not rank groups by height: a small
group high up may still be inside its wide limits. Serious failures still
include systemic ones (expired updates, catalogs), which the office cannot
fix; every group of a field shifted up together points at the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it..
Question: where are most records? What you see: bars of records for
the fifteen largest groups of each grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., the empty group included as
“(empty)”; the table adds each one’s share with a serious failure and its
mean ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD..
How to read it. Read it with the p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out.: a large group with a slightly
worse share moves more records than a small one with a much worse share. A
large “(empty)” group is a capture problem in itself.
Question: which groups moved since the previous cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.? What you see:
bars to the right (worse) or left (better) of zero, in percentage points of
their share with a serious failure, for the fifteen that moved most; the
table has both cuts’ shares. “No change since the previous cut.” means
none moved.
How to read it. It points at where to look, not at whom to blame: a
group may drop because it received records from another. Small groups move
a lot by chance; check the p′ chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out. before acting.
Question: are there amounts unusual for their group? What you see:
for the outlier amount (income, loan amount) and each grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., bars of
the groups with outliers: low ones in orange, high ones in blue. An amount
is an outlier when its robust zRobust zHow many typical distances a value is from its group's normal value: 0.6745 × (value − median) / MAD, robust because it uses the median and the MAD. Above 3.5 the value is flagged as an outlier. within its group is beyond 3.5 either way
(Formulas §16). Only positive
amounts count. “no outliers in any group” means none.
How to read it. An outlier is not an error by itself: the chart does not
yet tell a probable error from a legitimate value. Review the groups with
the highest share, fix the errors (extra digits, wrong unit) and keep the
legitimate ones. In a group with few amounts the medianMedianThe middle value once the data is sorted. Unlike the mean, a few extreme values do not drag it. is unstable: read
the count in the table.
Question: did this cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.’s population change from the previous one?
What you see: for each driftDriftA change in how a data element is distributed between periods or batches. It may be a real market change or a load error; it is measured with the PSI. variable, ten pairs of columns: the
previous cut split into ten bins of the same size (grey, about 10 % each)
and this cut’s share in the same bins (blue). The note gives the PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. and
its reading: stable below 0.10, moderate drift from 0.10 to 0.25,
significant drift above
(Formulas §17).
How to read it. Blue columns close to the grey ones are good. Blue
piling up at one end means the population moved: every record may be valid
and the batch still be suspicious. With moderate drift, review the batch
before using it; with significant drift, find the cause (a new sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., a
change of unit, a load error). The shares are read to the nearest 1 %, so
a PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use. near 0 is approximate. It needs a previous evaluated cut.
Question: how much is waiting in each group’s queue, and how much is
late? What you see: for each grouping fieldGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by., columns for the fifteen groups
with the most openfindingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. (blue) and those overdue (red). A finding
is a record failing a ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.; it is overdue when the days from the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. where it
first failed to the cut shown exceed the queue’s service level agreement (SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.). The table adds the
findings resolved at this cut, the oldest open finding’s age in days,
the SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. and the open findings’ summed priority
(Formulas §15).
How to read it. Red is what to chase first; a high summed priority with
few findings means a few costly ones. A finding is resolved only when a
later cut no longer fails it: fixes show at the next evaluated cut, not
before. With monthly cuts, an SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. under a month reads as overdue at the
first cut that still fails.
The SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.. Each queue’s SLAService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. is a number of days, set per grouping field with an
optional override per group; without one it is 30 days. It is set by people
who may edit the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s pipeline, and every change is audited. Changing it
needs no new evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures.: the chart applies it when it is read. Whoever may
edit the pipeline sets it in the Remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. form below the dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.: a
default per grouping field (blank keeps 30 days) and the groups that differ, from
1 to 365 days; saving redraws the queues’ chart.
While findings are not yet carried from one cut to the next, every open
finding counts from the cut shown, so Overdue and Resolved at this cut read 0.
Question: how old is the data? What you see: bars of records by how
long before the cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. the update date was: after the cut, up to 30 days,
31–90, 91–180, 181–365, 366–730, over 730 days, and no date; shown as
shares (Formulas §11).
How to read it. Data can be right and still old: in fields that expire,
the ICDData reliability indexA score from 0 to 1 for each field of each record that combines conformity with its own rules, consistency with other fields and timeliness; weighted by priority, it gives a record's and an entity's ICD.’s timelinessTimelinessQuality dimension: the data is up to date. A mobile phone that was right five years ago may not be today. (A) falls from the first day and is half at a year. A
big share over a year calls for an
update campaignUpdate campaignA mass action so customers confirm or correct their data (digital channels, calls or at the office). It is how outdated data is handled, since it is not solved case by case.. Dates after the cut are suspicious (wrong format, a
default date): check how they are captured.
Question: which fields are missing most? What you see: bars of each
field’s empty share, the emptiest first; the table adds distinct values and
the commonest shape (each digit a 9, each letter A to Z an A) with its share of
the filled values.
How to read it. An empty field may be optional: compare with the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version..
A commonest shape well under 100 % suggests mixed formats; a code that lost
its leading zero shows here as a shorter shape. This is profilingProfilingA descriptive analysis of each column: nulls, cardinality, patterns and distribution.: it shows
no values, only shapes.
Question: which rules are met least? What you see: bars of each
rule’s conformity, from 0 to 100 %, the lowest first; rules that applied to
no record are left out of the drawing and show ”—” in the table, which also
has the field, dimensionDimensionThe kind of quality a rule measures (completeness, validity, timeliness…), given by its pattern., severitySeverityA rule's weight in the ICD: blocking 1.0, major 0.6 and minor 0.3. The pattern gives a rule its default severity., records it applies to and failures
(Formulas §3).
How to read it. Low conformity means the data is wrong or the rule is
badly posed. Review the lowest with the rule’s owner before fixing thousands
of records. A rule that applies to few records swings a lot between cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment..
Small groups. A group with few records swings by chance. Trust the p′
chartP′ chartLaney's p chart for very large groups: it multiplies the limits by σz, the real spread between groups, so only differences that normal variation does not explain stand out.’s limits, not the ranking, and read counts in the tables.
The first cut.BandBandThe band of an entity's ICD: good (≥ 0.90), fair (0.75–0.90) or poor (< 0.75). transitions, groups that changed most and the PSIPopulation stability indexHow much a data element's distribution changed between two groups, comparing their shares across 10 bins of the base. Under 0.10, stable; 0.10 to 0.25, moderate change to watch; above 0.25, large change: the batch is reviewed before use.
need a previous evaluated cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment.: on the first one they say “no data for this
cut”.
Cut versus today. Everything is measured at the cut’s date. To see the
effect of fixes, evaluate a new cut.
Failures versus records. Failure counts add up ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. checks; the shares
of the p′ chart and the queues are of records or findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it..
No personal data. The dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. shows aggregates only.
Quality Data · Reference
Permissions
Reference for every permission a policy can allow: what it lets someone do, what it can be narrowed to, and which ready-made policy holds it.
A policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. is a set of allowed actions, called permissions here; the policy
editor lists them by name under Data quality and Administration. An
account with the role Administrator can do everything without any
policy. How policies are given, and which to give for each job, is in
Manage users and access.
The five ready-made policies, marked built-in in the product:
steward is quality-steward, analystquality-analyst, viewerquality-viewer, auditorauditor, and adminquality-admin.
A permission marked with a resource can be narrowed, in a policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. of your
own, to one sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. or one datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.: source/ followed by the source’s name,
or catalog/, dataset/ or pipeline/ followed by the dataset’s name,
such as pipeline/customers.
Permission
What it lets someone do
Resource
Steward
Analyst
Viewer
Auditor
Admin
View sources
See the sources and their tables, and a table’s Records (values masked without View personal data)
source
✓
✓
✓
✓
Manage sources
Add, change and remove sources, and list the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s tables again
source
✓
✓
View ETL
Nothing in the product uses it yet
etl
✓
✓
✓
✓
Edit ETL
Nothing in the product uses it yet
etl
✓
✓
View datasets
Nothing in the product uses it yet
dataset
✓
✓
✓
✓
Manage datasets
Map a table, change a mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.’s fields, discard a draftDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. and remove a dataset; with Approve rules and mappings, deploy and approve
dataset
✓
✓
View rules
Open, read and test a dataset’s rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., their drafts and their history
catalog
✓
✓
✓
✓
✓
Edit rules
Save a change to rules as a draft
catalog
✓
✓
Approve rules and mappings
With Manage datasets: deploy, approve a draft, delete a rule, restore, undo and import rules
catalog
✓
✓
View pipelines
See the datasets and their cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. in the Explorer, and the schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…
pipeline
✓
✓
✓
✓
✓
Edit pipelines
Set a dataset’s remediation SLAsService level agreementA measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another.
pipeline
✓
✓
Run pipelines
Run a cut now
pipeline
✓
✓
✓
Schedule pipelines
Create, change and remove schedules
pipeline
✓
✓
View results
Open a dataset’s dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and its remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.
pipeline
✓
✓
✓
✓
✓
Export results
Nothing in the product uses it yet
pipeline
✓
✓
✓
View personal data
See values from sources whole, in Test, Records and the console (Personal data)
pipeline
✓
✓
Query the lake with SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it.
Open the Lake SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. console
These act on the whole installation, so they take no resource, except
Manage secrets, which can be narrowed to one secret with secret/
followed by its name. Among the ready-made policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. only quality-admin
holds them, and auditor holds View audit log.
Permission
What it lets someone do
Auditor
Admin
Configure (mail, LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work., OAuth)
Set up outgoing mail, sign-in with the company directory and with an external provider (Mail, sign-in and updates)
✓
Manage users
Register, edit and delete accounts, and resend activation links
✓
Manage groups and policies
Create groups and policies, and attach policies to people and groups
✓
Manage secrets
Register the connections and keys kept encrypted under Settings, Secrets
✓
View audit log
Read the audit trailAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy. (Personal data and the audit trail)
✓
✓
Manage updates
Install updates and choose when they install
✓
Manage machines
Approve, drain and retire the machines that do the heavy work, under Settings, Execution
✓
Some things need no permission: anyone signed in can change their own
profile and linked accounts, and create service accountsService accountA token for a script or another system to use Quality Data in its owner's name; it can do at most what its owner can. for their own
integrations, which can do at most what their owner can.
Each application besides Quality Data brings permissions of its own, named
after its module, such as orchestrator:ViewFlows, and given in policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer.
like any other. An application shows in the apps menu, under
Applications, only to whoever holds the permission that opens it; what
they may do inside is what their other permissions allow. Every
application signs people in through the core.
Menu entry
Opens
Shown to whoever holds
Orchestrator
The orchestrator’s web, at /orchestrator/
orchestrator:ViewFlows
Analytics
Apache Superset, at /bi/
bi-superset:Author
Lake console
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s console (RustFS), at /rustfs/console/
lake-rustfs:UseConsole
Monitoring (coming)
Grafana, with the logs and metrics of every machine
observability:View
User guide
This guide, at /docs/
Anyone signed in
Permission
What it lets someone do
Ready-made policy
orchestrator:ViewFlows
See flows, folders, runs and their logs
orchestrator:RunWorkflow
Run a flow now and cancel a run
orchestrator:ManageFlows
Edit, pause and resume flows and engines
orchestrator:ManageSchedules
Create, enable, disable and delete a flow’s schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…
orchestrator:ImportFlows
Import the flows already on a cluster
bi-superset:Author
Open Superset and create charts and dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more.
bi-superset:Authors, bi-superset:Administrators
bi-superset:Administer
Administer Superset
bi-superset:Administrators
lake-rustfs:UseConsole
Sign in to the lake’s console and read the lake (RustFS’s readonly policy)
Deploying needs two permissions.Approve rules and mappings and
Manage datasets together; a policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. with Edit rules alone saves
draftsDraftA change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. that someone else approves (Take a change to
main).
Values need their own permission. No ready-made policy but
quality-analyst and quality-admin shows values from sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it.; give
quality-steward and quality-analyst together to a steward who must
see them.
Technology stack
Technology stack
Every technology the Government Data platform is built on, what each one does, which module brings it, and how the parts talk to each other.
For whom: administrators and technical staff who run an installation
or review it: what runs on its servers, what each part is for, and where
its data lives. You do not need any of this to write rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. or read a
dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more..
This section describes the stack of the Government Data platform: its
architecture as it is designed, for every application on it. Some
parts are still being rolled out; Implementation
status, at the end of this page, says which.
An installation is the set of servers where one organisation runs Government
Data. It serves that organisation alone: there is no sharing of an
installation between organisations, and no data leaves it except what the
organisation itself exports. Everything in it runs as containers on
servers the organisation controls, in its own data centre or in its own
cloud account.
An installation is made of modules. A module is a set of containers
with a manifest that says what it offers to the others, what it needs from
them, where people reach it and what its data is. The core never names a
module: it reads what each one declares. Removing a module keeps its data;
only an explicit purge deletes it, after a backup.
Module
What it is
Main technologies
quality-data
The core: sign-in, permissions, audit, settings, and the Quality Data application with its rules catalogRules catalogWhere Quality Data keeps every dataset's mapping and rules, with their history and the approved version, main.
Rust, Traefik, PostgreSQL, Dolt
lake-rustfs
The data lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources., where the copied data and the quality results are kept as tables
RustFS, Apache Iceberg
query-trino
The SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. engine that reads the sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it. and the lake and runs the quality rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
Trino
orchestrator
The operator that schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… jobs, and the job runners that send them to Trino
The orchestrator and its job runners
bi-superset
The dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. of the quality indicators, read from the lake
Apache Superset, Valkey
observability
Monitoring (being built): the logs and metrics of every machine, and alerts
Grafana, Loki, Mimir, Alloy
docs
This guide, served inside the installation
A static site
Modules depend on capabilities, not on each other: the lake module
provides the capability “lake” (the S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. protocol and the Iceberg catalog),
and the query module provides “SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query”. Another module that provides the
same capability, with the same protocols, could take its place.
How the modules sit on an installation’s machines. An installation runs on
three:
the main server, with Traefik, the core, the orchestrator (its
operator and its job runners) and the Trino coordinator it runs and
manages, Superset with Valkey, and the
operations stack;
a Trino worker, on a machine of its own, which does the heavy query
work and needs the most memory;
the lake server, which keeps the data and needs the most disk.
Every machine runs Alloy and the agent. For big data, an installation adds
Trino workersWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one.: nothing else changes. The figure goes through the stack one
technology at a time and lights every place each one takes part; click it
or use the arrow keys to step through, and press Space or ▶ to resume the
tour. The sizes on each machine are proposed starting points, marked *,
not measurements.
Fig 1The stack · where each technology takes partTouring · click, → or Space to stop1/19 · Traefik · 6 roles in 11 places · 1 optional
The stack · the current technology is lit · click one
1Traefik6 roles · 11 places
2Quality Data6 roles · 10 places
3OIDC4 roles · 11 places
4CA · mTLS4 roles · 9 places
5PostgreSQL4 roles · 4 places
6Dolt3 roles · 3 places
7Orchestrator6 roles · 5 places
8Trino7 roles · 13 places
9Big data5 roles · 11 places
10RustFS5 roles · 12 places
11Iceberg4 roles · 4 places
12Superset4 roles · 8 places
13Valkey2 roles · 2 places
14Grafana4 roles · 6 places
15Loki2 roles · 6 places
16Mimir2 roles · 6 places
17Alloy3 roles · 8 places
18qd · AWS5 roles · 10 places
19Compose4 roles · 7 places
What it is, and where it takes part · point at a row to light only its places
Traefik
A reverse proxy: it receives connections, terminates TLS and routes each request to the service behind it by its path. It can require and check client certificates.
Why here One door for people and machines alike: routes come from each module's manifest, so a module added or removed changes its route and nothing else; it authenticates, and leaves what a person may do to the module.
To run it
Ports :443 for people; the internal entry point for machines
In this platform · the installation's only entry point, for people and for machines, and the gate in front of the lake
in every installationThe web entry point, HTTPS on :443: the application, the guide and every module's screens, each under its own pathMain server · Traefik · edge; cable browser → Traefik :443 on the main server; people's browser
in every installationThe internal entry point: the installation's machines and modules, each with a certificate of its CAMain server · Traefik · edge; cable Trino coordinator ↔ Trino worker; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationForward authentication: for a module with no sign-in of its own, it asks the core for a valid session firstMain server · Traefik · edge; Main server · Quality Data · API
in every installationRoutes come from the modules' manifests, written by the agent when a module is addedMain server · Traefik · edge; Main server · qd agent
in every installationThe lake's gate: lets in only connections with a certificate of the installationLake server · Lake gate · Traefik; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalThe replica's gate, at the other siteLake replica · gate · Traefik; cable lake server → lake replica at another site (optional)
Quality Data
The platform's core and its package: the data quality application, plus sign-in, permissions, audit, settings and the installation's machines.
Why here Every module asks one place who a person is and what they may do, and one place writes every SQL statement a job runs.
Rust and SolidJS
Rust is a compiled language with memory safety checked by the compiler; SolidJS is a library for the browser that updates only what changed.
Why here Single fast binaries for the server and the agents, and a light web app served as static files.
To run it
Needs PostgreSQL, Dolt and the lake
In this platform · the core every module needs: its server in Rust and its web app in SolidJS
in every installationThe web app, a single-page application in SolidJS, served as static filesMain server · Quality Data · web; people's browser; cable browser → Traefik :443 on the main server
in every installationThe server, in Rust: the application's API and the internal API that modules and machines callMain server · Quality Data · API
in every installationCompiles every quality job's SQL from the rules on the catalog's main line, and signs itMain server · Quality Data · API; Main server · Dolt · rules catalog
in every installationKeeps accounts, policies, settings, the audit log and the jobs' indexMain server · Quality Data · API; Main server · PostgreSQL
in every installationReaches the lake through its adapter, the lake module's admin service: health, warehouses, replicationMain server · Quality Data · API; Lake server · Lake gate · Traefik; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationNever runs a job: the orchestrator's job runners send its signed SQL to TrinoMain server · Quality Data · API; Main server · Operator
OpenID Connect
The standard sign-in protocol built on OAuth 2.0: an application sends the person to the provider and gets back who they are.
Why here People sign in once and enter every module with that session; machines and jobs get short-lived tokens instead of long-lived passwords.
To run it
Needs the core; optionally the organisation's directory or an external provider
In this platform · the core is the installation's identity provider, for people and for every module
in every installationPeople sign in once, at the core: a local account, the organisation's directory or an external providerMain server · Sign-in · OIDC; people's browser; cable browser → Traefik :443 on the main server
in every installationSuperset and Grafana are its clients: the person's roles come in the tokensMain server · Sign-in · OIDC; Main server · Superset; Main server · Grafana
in every installationRustFS's console, opened from the application's menu, signs in at the core tooMain server · Sign-in · OIDC; Lake server · RustFS · S3
in every installationA token per job, valid for that job alone, which Trino checksMain server · Sign-in · OIDC; Main server · Job runner 1; Main server · Job runner 2; Main server · Trino coordinator; Trino worker · Trino worker; cable Trino coordinator ↔ Trino worker
Mutual TLS
In mutual TLS both ends of a connection show a certificate and check the other's. A certificate authority signs them.
Why here Services trust a certificate, not where a connection comes from; the installation's own CA is shared with no one, and agents renew its certificates without hands.
To run it
Needs a time source on every machine: certificates last about a day
In this platform · every server and service proves who it is with a short-lived certificate of the installation's own authority
in every installationThe CA, made when the installation is installed, kept as files beside the coreMain server · CA · certificates
in every installationA certificate for every machine, about a day long, renewed several times a day by its agentMain server · qd agent; Trino worker · qd agent; Lake server · qd agent; Main server · CA · certificates
in every installationBoth ends of every connection between machines check each other's certificatecable Trino coordinator ↔ Trino worker; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalA machine added for big data joins with a one-time commandTrino worker · qd agent; cable Trino coordinator ↔ an added Trino worker (optional)
PostgreSQL
An open-source relational database.
Why here A well-known database for the platform's own data and the audit log, and a database of its own for each module that needs one.
To run it
Disk on the main server, with room for the backups taken before updates
In this platform · the platform's relational database, on the main server
in every installationAccounts, policies, settings, sources, datasets, schedules and the index of the resultsMain server · PostgreSQL; Main server · Quality Data · API
in every installationThe audit log, append-only, each entry chained to the one beforeMain server · PostgreSQL; Main server · Quality Data · API
in every installationA database and a user of its own for each module that needs one, such as Superset'sMain server · PostgreSQL; Main server · Superset
in every installationBacked up, and the backup checked, before every updateMain server · PostgreSQL; Main server · qd agent
Dolt
A SQL database that versions its data like Git: branches, commits, differences and merges of rows.
Why here Rules are written like code: drafts are branches, approvals are merges, and every cut can be traced to the exact rules it ran.
To run it
Disk small: the rules and mappings with their history
In this platform · a SQL database with version control built in: branches, commits and merges on tables
in every installationEvery rule and every dataset's mapping, with their whole historyMain server · Dolt · rules catalog
in every installationA draft is a branch; approving it merges it into mainMain server · Dolt · rules catalog; Main server · Quality Data · API; people's browser
in every installationEach cut records the catalog commit its SQL was compiled fromMain server · Dolt · rules catalog; Main server · Quality Data · API
The orchestrator
The platform's operator of jobs, and the job runners it hands them to.
Why here Running a cut is split in three roles, each doing one thing: the core writes and signs, the operator schedules and tracks, the job runners send and report. It runs Trino's coordinator, so it knows when Trino may restart.
To run it
Needs the core and Trino
In this platform · the operator fires schedules and tracks every job; it also runs and manages the Trino coordinator
in every installationThe operator fires the schedules, keeps each job's state and retries with backoffMain server · Operator
in every installationTwo job runners take jobs in parallel: each checks the signature of the core's SQL and sends it to TrinoMain server · Job runner 1; Main server · Job runner 2; Main server · Quality Data · API; Main server · Trino coordinator
in every installationRuns and manages the Trino coordinator, on the main server beside itMain server · Operator; Main server · Trino coordinator
in every installationBefore Trino restarts, it lets the running jobs finish and holds new onesMain server · Operator; Main server · Trino coordinator
in every installationJob runners are light and process no data: they send the signed SQL and report; more can be addedMain server · Job runner 1; Main server · Job runner 2
in every installationThey report only names, counts, snapshot ids and any failed stage back to the coreMain server · Job runner 1; Main server · Job runner 2; Main server · Quality Data · API
Trino
A distributed SQL query engine: a coordinator splits each query into tasks, and workers run them in parallel; connectors let it read many databases and table formats with one SQL.
Why here One engine for every job and every dashboard: it reads the organisation's databases and the lake, and it grows by adding workers.
To run it
Memory about 13 GB for Trino on a worker machine, to start*
Disk a spill disk of its own
In this platform · its coordinator runs on the main server, managed by the orchestrator; its workers run on machines of their own
in every installationThe coordinator plans each query and splits it into tasksMain server · Trino coordinator
in every installationThe worker runs the tasks: it reads the sources, writes bronze and silver, evaluates the rules into goldTrino worker · Trino worker; cable Trino coordinator ↔ Trino worker
in every installationReads the organisation's databases, read only, with each engine's own protocolTrino worker · Trino worker; Source databases · source tables; Source databases · read-only login; cable Trino worker → source databases, read only
in every installationReads a provider's batch where it was delivered, read only, into quarantineTrino worker · Trino worker; the provider's desk; cable Trino worker → the provider's delivered batch, read only
in every installationReads and writes the lake through its gate: S3 for files, Iceberg REST for tablesTrino worker · Trino worker; Lake server · Lake gate · Traefik; Lake server · Iceberg REST catalog; cable Trino worker → lake gate · S3 and Iceberg REST
in every installationA query too big for memory spills to the worker's own diskTrino worker · spill disk
in every installationAnswers Superset's dashboards, reading gold as the person who is lookingMain server · Superset; Main server · Trino coordinator; Trino worker · Trino worker
Scaling out
Adding machines that share the work, rather than a bigger machine.
Why here Trino's workers keep nothing between queries, so a worker machine is added or removed without moving any data; the coordinator spreads each query over all of them.
To run it
Each worker the same as the first: about 13 GB for Trino and a spill disk*
In this platform · when the data outgrows one worker, the installation adds Trino workers; nothing else changes
in every installationOne worker machine is enough to startTrino worker · Trino worker; Trino worker's stack
optionalAdd a worker machine: the coordinator splits each query over every worker, each on its own part of the dataTrino worker's stack; Trino worker · Trino worker; Main server · Trino coordinator; cable Trino coordinator ↔ an added Trino worker (optional)
optionalEach added worker reads and writes the lake through the same gateTrino worker · Trino worker; Lake server · Lake gate · Traefik; cable an added Trino worker → lake gate (optional)
optionalEach has its own spill disk, agent and AlloyTrino worker · spill disk; Trino worker · qd agent; Trino worker · Alloy
in every installationThe main server and the lake server stay as they areMain server · Trino coordinator; Lake server · Lake gate · Traefik
RustFS
Open-source object storage, written in Rust, that speaks the S3 protocol, and serves an Iceberg REST catalog.
Why here The S3 protocol is what Trino, Loki and Mimir already speak, and its replication with object lock gives a copy nobody can erase early.
To run it
Disk the lake server's drives: they grow with the data
In this platform · object storage that speaks S3, on the lake server, behind its gate
in every installationThe lake's tables, bronze, silver and gold, as filesLake server · RustFS · S3; Lake server · Iceberg REST catalog
in every installationLoki's logs and Mimir's metrics, each in a bucket of its ownLake server · RustFS · S3; Main server · Loki; Main server · Mimir; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationThe audit log's archive and the rules catalog's backupsLake server · RustFS · S3; Main server · PostgreSQL; Main server · Dolt · rules catalog
in every installationOnly connections with a certificate of the installation pass its gateLake server · Lake gate · Traefik; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalA replica at another site keeps every object for 30 days, and nobody can delete it soonerLake replica's stack; Lake replica · RustFS · object lock; cable lake server → lake replica at another site (optional)
Apache Iceberg
An open format for analytic tables: Parquet files plus metadata that records each version of a table as a snapshot.
Why here Each cut stays the same when read later, a bad load can be undone, and the tables are open: no engine owns them.
To run it
Needs RustFS, which serves its catalog
In this platform · the lake's open table format, with its REST catalog served by RustFS
in every installationBronze: each cut as copied from its sourceLake server · Iceberg REST catalog; Trino worker · Trino worker; cable Trino worker → lake gate · S3 and Iceberg REST
in every installationSilver: the same data with the dataset's mapping appliedLake server · Iceberg REST catalog; Trino worker · Trino worker
in every installationGold: the quality results, the system of recordLake server · Iceberg REST catalog; Trino worker · Trino worker; Main server · Superset
in every installationEvery write is a snapshot, committed at once: a cut always gives the same resultsLake server · Iceberg REST catalog
Apache Superset
An open-source application for dashboards and data exploration.
Why here Dashboards embedded in the application's pages, read through Trino as the person looking, so each one sees only what their policy allows.
To run it
Needs Trino, Valkey, and a database in PostgreSQL
In this platform · the dashboards of the quality indicators, read from gold through Trino
in every installationEach dataset's dashboard, embedded in the application's own pageMain server · Superset; people's browser; cable browser → Traefik :443 on the main server
in every installationReads gold through Trino as the person who is looking, never the lake's filesMain server · Superset; Main server · Trino coordinator; Trino worker · Trino worker; cable Trino coordinator ↔ Trino worker
in every installationSigns people in at the core, with their roles from the platform's policiesMain server · Superset; Main server · Sign-in · OIDC
in every installationIts own metadata in a database of its own in PostgreSQLMain server · Superset; Main server · PostgreSQL
Valkey
An open-source, in-memory key-value store that speaks the same protocol as Redis.
Why here A dashboard many people open at once asks Trino once; what it holds can be lost without harm.
To run it
Memory small: results kept a few minutes
In this platform · an in-memory store, Superset's alone
in every installationKeeps dashboard results for a few minutes, so many readers ask Trino onceMain server · Valkey · cache; Main server · Superset
in every installationPublishes no port: only Superset reaches it, on the module's own networkMain server · Valkey · cache
Grafana
An open-source application for dashboards and alerts over logs, metrics and SQL databases.
Why here Operations in one place, apart from the quality indicators, which Superset draws.
To run it
Needs Loki, Mimir and PostgreSQL
In this platform · dashboards and alerts for whoever runs the installation (being built)
in every installationTechnical logs of every service, read from LokiMain server · Grafana; Main server · Loki
in every installationMetrics of every server and service, read from MimirMain server · Grafana; Main server · Mimir
in every installationNever reads the core's database: the quality charts are Superset'sMain server · Grafana
in every installationOpened from the apps menu as Monitoring; signs in at the coreMain server · Grafana; Main server · Sign-in · OIDC; people's browser; cable browser → Traefik :443 on the main server
Grafana Loki
An open-source log store that indexes a few labels and keeps the lines compressed in object storage.
Why here Its data lives in the lake, so the logs are kept and copied with it.
To run it
Disk in the lake, 90 days
In this platform · the store of every service's technical logs, which carry no personal data
in every installationReceives the logs Alloy collects on every serverMain server · Loki; Main server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationKeeps them in the lake, in a bucket of its ownMain server · Loki; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
Grafana Mimir
An open-source store for metrics, compatible with Prometheus, that keeps its blocks in object storage.
Why here The same storage model as Loki: its data in the lake, a client certificate required.
To run it
Disk in the lake
In this platform · the store of every server's and service's metrics, compatible with Prometheus
in every installationReceives the metrics Alloy collects on every serverMain server · Mimir; Main server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationKeeps them in the lake, in a bucket of its ownMain server · Mimir; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
Grafana Alloy
An open-source collector: on each machine it reads logs and metrics and sends them on.
Why here One collector for both logs and metrics, so nothing reaches into a machine from outside.
To run it
Needs the machine's certificate
In this platform · on every machine, it reads the services' logs and the server's metrics and sends them on
in every installationOne on each machine, set up when the machine joinsMain server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationPushes over HTTPS with the machine's certificateMain server · Alloy; Trino worker · Alloy; Lake server · Alloy; Main server · Loki; Main server · Mimir; cable Trino coordinator ↔ Trino worker; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalOn an added worker tooTrino worker · Alloy
qd and AWS
The installation's agent, a system service on each machine; on the main server it installs and updates every module. Versions are published in AWS: S3, ECR, KMS and IAM Roles Anywhere.
Why here Installations pull: a version is trusted by the signature on its index, never by where it came from, and an installation opens no port for it.
To run it
Network outbound HTTPS to AWS from the main server; no inbound rule
In this platform · installs and updates every module from signed versions, pulled from AWS; nothing comes in
in every installationReads the signed version index in S3 and checks it against the key it carriesMain server · qd agent; AWS · S3 · signed index; AWS · KMS · signing key; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationProves who the installation is with its certificate, for one-hour credentialsMain server · qd agent; AWS · IAM Roles Anywhere; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationPulls the images by digest from ECRMain server · qd agent; AWS · ECR · images; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationBacks up and checks the backup, applies in steps, and goes back by itself if it failsMain server · qd agent; Main server · PostgreSQL; Main server · Dolt · rules catalog
in every installationOn every machine, an agent keeps its certificate renewedMain server · qd agent; Trino worker · qd agent; Lake server · qd agent
Docker Compose
A tool that starts a set of containers from one file: their images, networks, volumes and secrets.
Why here Each module is one Compose file inside its package: added, updated and removed as a whole, its images pinned by digest.
To run it
Needs Docker on every machine
In this platform · every part runs as a container; each module ships one Compose file, run by the agent
in every installationEvery module's containers on the main serverMain server's stack
in every installationTrino's worker, and the lake server's servicesTrino worker's stack; Lake server's stack
in every installationImages by digest, as the signed index lists themMain server · qd agent; AWS · ECR · images
optionalAn added worker or the replica runs the same wayTrino worker's stack; Lake replica's stack
In the room
a unit where the technology runs, in every installation
a unit where it runs only if the installation adds it: outlined and marked optional
a unit where it takes no part
red, bold, with a dot: the resource this machine uses most, the one that limits it first
on each machine's top: Disk, CPU and RAM, each a proposed starting point, marked *; the table below says what each comes from
a cable it speaks on, and its plugs, in the strong ink; an optional one outlined in amber. A cable stands for every connection between its two machines
a connection opened, from the side that opens it to the one that listens
Lines by group
People · every line at people's desk or the provider's
Updates · the agent's line to AWS, opened from the installation only
Lake · every other line at a lake machine: Trino's workers and the main server to the lake's gate, the lake to its replica
Trino · the rest: the coordinator on the main server and Trino's workers
Machines · what each needs to run · * proposed starting points, not measurements
Role
Machines
Disk
CPU
RAM
Limits first
Size driven by
Ports
Main server
1
500 GB SSD*PostgreSQL with its audit log, Dolt, the modules' volumes, the container images and the backups taken before each update; the lake's data is on the lake server
8 vCPU*every service of the core, the orchestrator, Superset and the observability stores; the heavy query work runs on Trino's workers, not here
32 GB*the same services held in memory at once, among them PostgreSQL, Superset and the Trino coordinator, which plans queries but runs none of their work
RAMit holds the most services in memory at once; none of them computes a query's work
how many people and modules use it at once
:443 from people's network; outbound HTTPS to AWS
Trino worker
1 to start; add more for big data
100 GB SSD*Trino's spill disk, for a query too big for memory, and the container images; it holds nothing once a query ends
8 vCPU*a worker reads and evaluates in parallel: more cores, more of a query at once
16 GB*about 13 GB for Trino, the size of the single-node starting tier, split between quality jobs and dashboard queries, plus the system
RAMa query runs in a worker's memory and spills to its disk past it: Trino's memory is what limits a job's size
the size of the largest jobs and how many run at once
none from people; out to the source databases' own ports
Lake server
1
4 × 4 TB*bronze, silver and gold, the logs and metrics Loki and Mimir keep there, and the old versions of objects; it grows with the data copied from the sources, so size it from them
4 vCPU*RustFS, its catalog and its gate: the queries' work runs on Trino's workers
16 GB*RustFS, its catalog and its gate, Alloy and the agent
Diskwhat grows is the lake: every cut copied into bronze and silver, and its results in gold
how much data is copied from the sources, and for how long it is kept
none from people
Lake replica · optional
1, at another site
as the lake*at least the lake's data, plus the versions it keeps locked for 30 days; large, slow disks are enough
2 vCPU*one RustFS and its gate
8 GB*one RustFS and its gate
Diskit holds every object of the lake and its locked versions
the lake's size, plus 30 days of locked versions
from the lake server only
What an administrator provides
A private network between the machines
only Traefik's :443 on the main server is reached by people
Outbound HTTPS from the main server
to AWS's public endpoints for S3, ECR and IAM Roles Anywhere
A time source
synchronised clocks on every machine: certificates last about a day
Read-only logins to the source databases
one per source, kept as the core's secrets
Cables · the technologies that speak on each
People
browser → Traefik :443 on the main server
Traefik, Quality Data, OIDC, Superset, Grafana
Trino worker → the provider's delivered batch, read only
Trino
Updates
qd agent → AWS · outbound HTTPS only, nothing comes in
qd · AWS
Lake
Trino worker → lake gate · S3 and Iceberg REST
Traefik, CA · mTLS, Trino, RustFS, Iceberg
an added Trino worker → lake gate (optional)
optional: Big data
main server → lake gate · the core's lake adapter, Loki and Mimir
Traefik, Quality Data, CA · mTLS, RustFS, Loki, Mimir, Alloy
lake server → lake replica at another site (optional)
optional: Traefik, RustFS
Trino
Trino coordinator ↔ Trino worker
Traefik, OIDC, CA · mTLS, Trino, Superset, Alloy
Trino worker → source databases, read only
Trino
Trino coordinator ↔ an added Trino worker (optional)
optional: CA · mTLS, Big data
Superset → Trino coordinator
both on the main server; the coordinator hands the work to the worker · not drawn as a cable
orchestrator's job runners → the core, and → the Trino coordinator
all on the main server, through Traefik's internal entry point · not drawn as a cable
Alloy and the agent on each machine → the main server
over the machine's own cable to it · not drawn as a cable
Three machines run an installation: the main server, with the core, the orchestrator and the Trino coordinator it manages, Superset with Valkey and the operations stack; a Trino worker, which holds the memory; and the lake server, which holds the data. Every machine runs Alloy and the qd agent. For big data, the installation adds Trino workers: the second one is drawn faint and marked optional, and so is the lake replica at another site. Every size on a machine's top is a proposed starting point, marked *, not a measurement: size a real installation from its data. A technology lights every unit where it runs and every cable it speaks on; where it runs only on an optional machine the unit is outlined in amber and marked optional. The room's sizes are not to scale.
A quality cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. goes this way: the operator fires it on
its scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…; the core compiles the cut’s statements from the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on the
catalog’s main line and signs them; a job runner of the orchestrator fetches them, checks
the signature and sends each one to Trino with a token that is valid for that
job only; Trino reads the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., writes the copy to bronze, derives
silver, evaluates the rules and writes the results to gold. The job
runner reports only names and counts back to the core.
The simulation shows the same figure on a page of its
own, wider, with room to read each technology’s part.
Data:PostgreSQL, the platform’s database;
Dolt, the versioned rules catalogRules catalogWhere Quality Data keeps every dataset's mapping and rules, with their history and the approved version, main.; RustFS, the
lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s storage; Apache Iceberg, the lake’s table
format.
Processing:Trino, the one SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. engine; the
orchestrator and its job runners.
The current release runs part of this architecture. These parts are still
being rolled out:
Trino as the one engine. Trino is replacing the engine that runs
extraction and rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. in the current release. For a while both run side
by side on the same cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and their results are compared; Trino takes
over once they agree.
Job runners apart from the operator. The orchestrator becomes the
operator that schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly… and tracks jobs, and its job runners take each
job, send its signed SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. to Trino and report. They are light and process
no data: two run jobs in parallel on the main server, and more can be
added.
Gold as the record of results. The quality results move to the
lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s gold tables. Until then the platform’s database keeps them.
Apache Superset and Valkey. Superset ships as a module, with its
connection to Trino made from the query module’s endpoint; the indicator
dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. it will carry are designed and not yet shipped. Until they
are, the application draws its own charts.
Monitoring. The observability module, Grafana with Loki, Mimir and
Alloy on every machine, is being built.
Technology stack
Simulation
The installation's machines in an isometric room, and a tour of its technologies that lights where each one takes part, what it is, why it was chosen and what it needs.
For whom: administrators and technical reviewers who want to see the
architecture at work.
An installation’s machines, drawn as a room: the main server, a Trino
workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. and the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. server, with people’s desk, the organisation’s sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.
databases, a third-party provider, and AWS, which the agent pulls updates
from. The tour goes through the stack one technology at a time, and lights
every unit and cable where it takes part.
Fig 1The stack · where each technology takes partTouring · click, → or Space to stop1/19 · Traefik · 6 roles in 11 places · 1 optional
The stack · the current technology is lit · click one
1Traefik6 roles · 11 places
2Quality Data6 roles · 10 places
3OIDC4 roles · 11 places
4CA · mTLS4 roles · 9 places
5PostgreSQL4 roles · 4 places
6Dolt3 roles · 3 places
7Orchestrator6 roles · 5 places
8Trino7 roles · 13 places
9Big data5 roles · 11 places
10RustFS5 roles · 12 places
11Iceberg4 roles · 4 places
12Superset4 roles · 8 places
13Valkey2 roles · 2 places
14Grafana4 roles · 6 places
15Loki2 roles · 6 places
16Mimir2 roles · 6 places
17Alloy3 roles · 8 places
18qd · AWS5 roles · 10 places
19Compose4 roles · 7 places
What it is, and where it takes part · point at a row to light only its places
Traefik
A reverse proxy: it receives connections, terminates TLS and routes each request to the service behind it by its path. It can require and check client certificates.
Why here One door for people and machines alike: routes come from each module's manifest, so a module added or removed changes its route and nothing else; it authenticates, and leaves what a person may do to the module.
To run it
Ports :443 for people; the internal entry point for machines
In this platform · the installation's only entry point, for people and for machines, and the gate in front of the lake
in every installationThe web entry point, HTTPS on :443: the application, the guide and every module's screens, each under its own pathMain server · Traefik · edge; cable browser → Traefik :443 on the main server; people's browser
in every installationThe internal entry point: the installation's machines and modules, each with a certificate of its CAMain server · Traefik · edge; cable Trino coordinator ↔ Trino worker; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationForward authentication: for a module with no sign-in of its own, it asks the core for a valid session firstMain server · Traefik · edge; Main server · Quality Data · API
in every installationRoutes come from the modules' manifests, written by the agent when a module is addedMain server · Traefik · edge; Main server · qd agent
in every installationThe lake's gate: lets in only connections with a certificate of the installationLake server · Lake gate · Traefik; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalThe replica's gate, at the other siteLake replica · gate · Traefik; cable lake server → lake replica at another site (optional)
Quality Data
The platform's core and its package: the data quality application, plus sign-in, permissions, audit, settings and the installation's machines.
Why here Every module asks one place who a person is and what they may do, and one place writes every SQL statement a job runs.
Rust and SolidJS
Rust is a compiled language with memory safety checked by the compiler; SolidJS is a library for the browser that updates only what changed.
Why here Single fast binaries for the server and the agents, and a light web app served as static files.
To run it
Needs PostgreSQL, Dolt and the lake
In this platform · the core every module needs: its server in Rust and its web app in SolidJS
in every installationThe web app, a single-page application in SolidJS, served as static filesMain server · Quality Data · web; people's browser; cable browser → Traefik :443 on the main server
in every installationThe server, in Rust: the application's API and the internal API that modules and machines callMain server · Quality Data · API
in every installationCompiles every quality job's SQL from the rules on the catalog's main line, and signs itMain server · Quality Data · API; Main server · Dolt · rules catalog
in every installationKeeps accounts, policies, settings, the audit log and the jobs' indexMain server · Quality Data · API; Main server · PostgreSQL
in every installationReaches the lake through its adapter, the lake module's admin service: health, warehouses, replicationMain server · Quality Data · API; Lake server · Lake gate · Traefik; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationNever runs a job: the orchestrator's job runners send its signed SQL to TrinoMain server · Quality Data · API; Main server · Operator
OpenID Connect
The standard sign-in protocol built on OAuth 2.0: an application sends the person to the provider and gets back who they are.
Why here People sign in once and enter every module with that session; machines and jobs get short-lived tokens instead of long-lived passwords.
To run it
Needs the core; optionally the organisation's directory or an external provider
In this platform · the core is the installation's identity provider, for people and for every module
in every installationPeople sign in once, at the core: a local account, the organisation's directory or an external providerMain server · Sign-in · OIDC; people's browser; cable browser → Traefik :443 on the main server
in every installationSuperset and Grafana are its clients: the person's roles come in the tokensMain server · Sign-in · OIDC; Main server · Superset; Main server · Grafana
in every installationRustFS's console, opened from the application's menu, signs in at the core tooMain server · Sign-in · OIDC; Lake server · RustFS · S3
in every installationA token per job, valid for that job alone, which Trino checksMain server · Sign-in · OIDC; Main server · Job runner 1; Main server · Job runner 2; Main server · Trino coordinator; Trino worker · Trino worker; cable Trino coordinator ↔ Trino worker
Mutual TLS
In mutual TLS both ends of a connection show a certificate and check the other's. A certificate authority signs them.
Why here Services trust a certificate, not where a connection comes from; the installation's own CA is shared with no one, and agents renew its certificates without hands.
To run it
Needs a time source on every machine: certificates last about a day
In this platform · every server and service proves who it is with a short-lived certificate of the installation's own authority
in every installationThe CA, made when the installation is installed, kept as files beside the coreMain server · CA · certificates
in every installationA certificate for every machine, about a day long, renewed several times a day by its agentMain server · qd agent; Trino worker · qd agent; Lake server · qd agent; Main server · CA · certificates
in every installationBoth ends of every connection between machines check each other's certificatecable Trino coordinator ↔ Trino worker; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalA machine added for big data joins with a one-time commandTrino worker · qd agent; cable Trino coordinator ↔ an added Trino worker (optional)
PostgreSQL
An open-source relational database.
Why here A well-known database for the platform's own data and the audit log, and a database of its own for each module that needs one.
To run it
Disk on the main server, with room for the backups taken before updates
In this platform · the platform's relational database, on the main server
in every installationAccounts, policies, settings, sources, datasets, schedules and the index of the resultsMain server · PostgreSQL; Main server · Quality Data · API
in every installationThe audit log, append-only, each entry chained to the one beforeMain server · PostgreSQL; Main server · Quality Data · API
in every installationA database and a user of its own for each module that needs one, such as Superset'sMain server · PostgreSQL; Main server · Superset
in every installationBacked up, and the backup checked, before every updateMain server · PostgreSQL; Main server · qd agent
Dolt
A SQL database that versions its data like Git: branches, commits, differences and merges of rows.
Why here Rules are written like code: drafts are branches, approvals are merges, and every cut can be traced to the exact rules it ran.
To run it
Disk small: the rules and mappings with their history
In this platform · a SQL database with version control built in: branches, commits and merges on tables
in every installationEvery rule and every dataset's mapping, with their whole historyMain server · Dolt · rules catalog
in every installationA draft is a branch; approving it merges it into mainMain server · Dolt · rules catalog; Main server · Quality Data · API; people's browser
in every installationEach cut records the catalog commit its SQL was compiled fromMain server · Dolt · rules catalog; Main server · Quality Data · API
The orchestrator
The platform's operator of jobs, and the job runners it hands them to.
Why here Running a cut is split in three roles, each doing one thing: the core writes and signs, the operator schedules and tracks, the job runners send and report. It runs Trino's coordinator, so it knows when Trino may restart.
To run it
Needs the core and Trino
In this platform · the operator fires schedules and tracks every job; it also runs and manages the Trino coordinator
in every installationThe operator fires the schedules, keeps each job's state and retries with backoffMain server · Operator
in every installationTwo job runners take jobs in parallel: each checks the signature of the core's SQL and sends it to TrinoMain server · Job runner 1; Main server · Job runner 2; Main server · Quality Data · API; Main server · Trino coordinator
in every installationRuns and manages the Trino coordinator, on the main server beside itMain server · Operator; Main server · Trino coordinator
in every installationBefore Trino restarts, it lets the running jobs finish and holds new onesMain server · Operator; Main server · Trino coordinator
in every installationJob runners are light and process no data: they send the signed SQL and report; more can be addedMain server · Job runner 1; Main server · Job runner 2
in every installationThey report only names, counts, snapshot ids and any failed stage back to the coreMain server · Job runner 1; Main server · Job runner 2; Main server · Quality Data · API
Trino
A distributed SQL query engine: a coordinator splits each query into tasks, and workers run them in parallel; connectors let it read many databases and table formats with one SQL.
Why here One engine for every job and every dashboard: it reads the organisation's databases and the lake, and it grows by adding workers.
To run it
Memory about 13 GB for Trino on a worker machine, to start*
Disk a spill disk of its own
In this platform · its coordinator runs on the main server, managed by the orchestrator; its workers run on machines of their own
in every installationThe coordinator plans each query and splits it into tasksMain server · Trino coordinator
in every installationThe worker runs the tasks: it reads the sources, writes bronze and silver, evaluates the rules into goldTrino worker · Trino worker; cable Trino coordinator ↔ Trino worker
in every installationReads the organisation's databases, read only, with each engine's own protocolTrino worker · Trino worker; Source databases · source tables; Source databases · read-only login; cable Trino worker → source databases, read only
in every installationReads a provider's batch where it was delivered, read only, into quarantineTrino worker · Trino worker; the provider's desk; cable Trino worker → the provider's delivered batch, read only
in every installationReads and writes the lake through its gate: S3 for files, Iceberg REST for tablesTrino worker · Trino worker; Lake server · Lake gate · Traefik; Lake server · Iceberg REST catalog; cable Trino worker → lake gate · S3 and Iceberg REST
in every installationA query too big for memory spills to the worker's own diskTrino worker · spill disk
in every installationAnswers Superset's dashboards, reading gold as the person who is lookingMain server · Superset; Main server · Trino coordinator; Trino worker · Trino worker
Scaling out
Adding machines that share the work, rather than a bigger machine.
Why here Trino's workers keep nothing between queries, so a worker machine is added or removed without moving any data; the coordinator spreads each query over all of them.
To run it
Each worker the same as the first: about 13 GB for Trino and a spill disk*
In this platform · when the data outgrows one worker, the installation adds Trino workers; nothing else changes
in every installationOne worker machine is enough to startTrino worker · Trino worker; Trino worker's stack
optionalAdd a worker machine: the coordinator splits each query over every worker, each on its own part of the dataTrino worker's stack; Trino worker · Trino worker; Main server · Trino coordinator; cable Trino coordinator ↔ an added Trino worker (optional)
optionalEach added worker reads and writes the lake through the same gateTrino worker · Trino worker; Lake server · Lake gate · Traefik; cable an added Trino worker → lake gate (optional)
optionalEach has its own spill disk, agent and AlloyTrino worker · spill disk; Trino worker · qd agent; Trino worker · Alloy
in every installationThe main server and the lake server stay as they areMain server · Trino coordinator; Lake server · Lake gate · Traefik
RustFS
Open-source object storage, written in Rust, that speaks the S3 protocol, and serves an Iceberg REST catalog.
Why here The S3 protocol is what Trino, Loki and Mimir already speak, and its replication with object lock gives a copy nobody can erase early.
To run it
Disk the lake server's drives: they grow with the data
In this platform · object storage that speaks S3, on the lake server, behind its gate
in every installationThe lake's tables, bronze, silver and gold, as filesLake server · RustFS · S3; Lake server · Iceberg REST catalog
in every installationLoki's logs and Mimir's metrics, each in a bucket of its ownLake server · RustFS · S3; Main server · Loki; Main server · Mimir; cable main server → lake gate · the core's lake adapter, Loki and Mimir
in every installationThe audit log's archive and the rules catalog's backupsLake server · RustFS · S3; Main server · PostgreSQL; Main server · Dolt · rules catalog
in every installationOnly connections with a certificate of the installation pass its gateLake server · Lake gate · Traefik; cable Trino worker → lake gate · S3 and Iceberg REST; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalA replica at another site keeps every object for 30 days, and nobody can delete it soonerLake replica's stack; Lake replica · RustFS · object lock; cable lake server → lake replica at another site (optional)
Apache Iceberg
An open format for analytic tables: Parquet files plus metadata that records each version of a table as a snapshot.
Why here Each cut stays the same when read later, a bad load can be undone, and the tables are open: no engine owns them.
To run it
Needs RustFS, which serves its catalog
In this platform · the lake's open table format, with its REST catalog served by RustFS
in every installationBronze: each cut as copied from its sourceLake server · Iceberg REST catalog; Trino worker · Trino worker; cable Trino worker → lake gate · S3 and Iceberg REST
in every installationSilver: the same data with the dataset's mapping appliedLake server · Iceberg REST catalog; Trino worker · Trino worker
in every installationGold: the quality results, the system of recordLake server · Iceberg REST catalog; Trino worker · Trino worker; Main server · Superset
in every installationEvery write is a snapshot, committed at once: a cut always gives the same resultsLake server · Iceberg REST catalog
Apache Superset
An open-source application for dashboards and data exploration.
Why here Dashboards embedded in the application's pages, read through Trino as the person looking, so each one sees only what their policy allows.
To run it
Needs Trino, Valkey, and a database in PostgreSQL
In this platform · the dashboards of the quality indicators, read from gold through Trino
in every installationEach dataset's dashboard, embedded in the application's own pageMain server · Superset; people's browser; cable browser → Traefik :443 on the main server
in every installationReads gold through Trino as the person who is looking, never the lake's filesMain server · Superset; Main server · Trino coordinator; Trino worker · Trino worker; cable Trino coordinator ↔ Trino worker
in every installationSigns people in at the core, with their roles from the platform's policiesMain server · Superset; Main server · Sign-in · OIDC
in every installationIts own metadata in a database of its own in PostgreSQLMain server · Superset; Main server · PostgreSQL
Valkey
An open-source, in-memory key-value store that speaks the same protocol as Redis.
Why here A dashboard many people open at once asks Trino once; what it holds can be lost without harm.
To run it
Memory small: results kept a few minutes
In this platform · an in-memory store, Superset's alone
in every installationKeeps dashboard results for a few minutes, so many readers ask Trino onceMain server · Valkey · cache; Main server · Superset
in every installationPublishes no port: only Superset reaches it, on the module's own networkMain server · Valkey · cache
Grafana
An open-source application for dashboards and alerts over logs, metrics and SQL databases.
Why here Operations in one place, apart from the quality indicators, which Superset draws.
To run it
Needs Loki, Mimir and PostgreSQL
In this platform · dashboards and alerts for whoever runs the installation (being built)
in every installationTechnical logs of every service, read from LokiMain server · Grafana; Main server · Loki
in every installationMetrics of every server and service, read from MimirMain server · Grafana; Main server · Mimir
in every installationNever reads the core's database: the quality charts are Superset'sMain server · Grafana
in every installationOpened from the apps menu as Monitoring; signs in at the coreMain server · Grafana; Main server · Sign-in · OIDC; people's browser; cable browser → Traefik :443 on the main server
Grafana Loki
An open-source log store that indexes a few labels and keeps the lines compressed in object storage.
Why here Its data lives in the lake, so the logs are kept and copied with it.
To run it
Disk in the lake, 90 days
In this platform · the store of every service's technical logs, which carry no personal data
in every installationReceives the logs Alloy collects on every serverMain server · Loki; Main server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationKeeps them in the lake, in a bucket of its ownMain server · Loki; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
Grafana Mimir
An open-source store for metrics, compatible with Prometheus, that keeps its blocks in object storage.
Why here The same storage model as Loki: its data in the lake, a client certificate required.
To run it
Disk in the lake
In this platform · the store of every server's and service's metrics, compatible with Prometheus
in every installationReceives the metrics Alloy collects on every serverMain server · Mimir; Main server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationKeeps them in the lake, in a bucket of its ownMain server · Mimir; Lake server · RustFS · S3; cable main server → lake gate · the core's lake adapter, Loki and Mimir
Grafana Alloy
An open-source collector: on each machine it reads logs and metrics and sends them on.
Why here One collector for both logs and metrics, so nothing reaches into a machine from outside.
To run it
Needs the machine's certificate
In this platform · on every machine, it reads the services' logs and the server's metrics and sends them on
in every installationOne on each machine, set up when the machine joinsMain server · Alloy; Trino worker · Alloy; Lake server · Alloy
in every installationPushes over HTTPS with the machine's certificateMain server · Alloy; Trino worker · Alloy; Lake server · Alloy; Main server · Loki; Main server · Mimir; cable Trino coordinator ↔ Trino worker; cable main server → lake gate · the core's lake adapter, Loki and Mimir
optionalOn an added worker tooTrino worker · Alloy
qd and AWS
The installation's agent, a system service on each machine; on the main server it installs and updates every module. Versions are published in AWS: S3, ECR, KMS and IAM Roles Anywhere.
Why here Installations pull: a version is trusted by the signature on its index, never by where it came from, and an installation opens no port for it.
To run it
Network outbound HTTPS to AWS from the main server; no inbound rule
In this platform · installs and updates every module from signed versions, pulled from AWS; nothing comes in
in every installationReads the signed version index in S3 and checks it against the key it carriesMain server · qd agent; AWS · S3 · signed index; AWS · KMS · signing key; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationProves who the installation is with its certificate, for one-hour credentialsMain server · qd agent; AWS · IAM Roles Anywhere; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationPulls the images by digest from ECRMain server · qd agent; AWS · ECR · images; cable qd agent → AWS · outbound HTTPS only, nothing comes in
in every installationBacks up and checks the backup, applies in steps, and goes back by itself if it failsMain server · qd agent; Main server · PostgreSQL; Main server · Dolt · rules catalog
in every installationOn every machine, an agent keeps its certificate renewedMain server · qd agent; Trino worker · qd agent; Lake server · qd agent
Docker Compose
A tool that starts a set of containers from one file: their images, networks, volumes and secrets.
Why here Each module is one Compose file inside its package: added, updated and removed as a whole, its images pinned by digest.
To run it
Needs Docker on every machine
In this platform · every part runs as a container; each module ships one Compose file, run by the agent
in every installationEvery module's containers on the main serverMain server's stack
in every installationTrino's worker, and the lake server's servicesTrino worker's stack; Lake server's stack
in every installationImages by digest, as the signed index lists themMain server · qd agent; AWS · ECR · images
optionalAn added worker or the replica runs the same wayTrino worker's stack; Lake replica's stack
In the room
a unit where the technology runs, in every installation
a unit where it runs only if the installation adds it: outlined and marked optional
a unit where it takes no part
red, bold, with a dot: the resource this machine uses most, the one that limits it first
on each machine's top: Disk, CPU and RAM, each a proposed starting point, marked *; the table below says what each comes from
a cable it speaks on, and its plugs, in the strong ink; an optional one outlined in amber. A cable stands for every connection between its two machines
a connection opened, from the side that opens it to the one that listens
Lines by group
People · every line at people's desk or the provider's
Updates · the agent's line to AWS, opened from the installation only
Lake · every other line at a lake machine: Trino's workers and the main server to the lake's gate, the lake to its replica
Trino · the rest: the coordinator on the main server and Trino's workers
Machines · what each needs to run · * proposed starting points, not measurements
Role
Machines
Disk
CPU
RAM
Limits first
Size driven by
Ports
Main server
1
500 GB SSD*PostgreSQL with its audit log, Dolt, the modules' volumes, the container images and the backups taken before each update; the lake's data is on the lake server
8 vCPU*every service of the core, the orchestrator, Superset and the observability stores; the heavy query work runs on Trino's workers, not here
32 GB*the same services held in memory at once, among them PostgreSQL, Superset and the Trino coordinator, which plans queries but runs none of their work
RAMit holds the most services in memory at once; none of them computes a query's work
how many people and modules use it at once
:443 from people's network; outbound HTTPS to AWS
Trino worker
1 to start; add more for big data
100 GB SSD*Trino's spill disk, for a query too big for memory, and the container images; it holds nothing once a query ends
8 vCPU*a worker reads and evaluates in parallel: more cores, more of a query at once
16 GB*about 13 GB for Trino, the size of the single-node starting tier, split between quality jobs and dashboard queries, plus the system
RAMa query runs in a worker's memory and spills to its disk past it: Trino's memory is what limits a job's size
the size of the largest jobs and how many run at once
none from people; out to the source databases' own ports
Lake server
1
4 × 4 TB*bronze, silver and gold, the logs and metrics Loki and Mimir keep there, and the old versions of objects; it grows with the data copied from the sources, so size it from them
4 vCPU*RustFS, its catalog and its gate: the queries' work runs on Trino's workers
16 GB*RustFS, its catalog and its gate, Alloy and the agent
Diskwhat grows is the lake: every cut copied into bronze and silver, and its results in gold
how much data is copied from the sources, and for how long it is kept
none from people
Lake replica · optional
1, at another site
as the lake*at least the lake's data, plus the versions it keeps locked for 30 days; large, slow disks are enough
2 vCPU*one RustFS and its gate
8 GB*one RustFS and its gate
Diskit holds every object of the lake and its locked versions
the lake's size, plus 30 days of locked versions
from the lake server only
What an administrator provides
A private network between the machines
only Traefik's :443 on the main server is reached by people
Outbound HTTPS from the main server
to AWS's public endpoints for S3, ECR and IAM Roles Anywhere
A time source
synchronised clocks on every machine: certificates last about a day
Read-only logins to the source databases
one per source, kept as the core's secrets
Cables · the technologies that speak on each
People
browser → Traefik :443 on the main server
Traefik, Quality Data, OIDC, Superset, Grafana
Trino worker → the provider's delivered batch, read only
Trino
Updates
qd agent → AWS · outbound HTTPS only, nothing comes in
qd · AWS
Lake
Trino worker → lake gate · S3 and Iceberg REST
Traefik, CA · mTLS, Trino, RustFS, Iceberg
an added Trino worker → lake gate (optional)
optional: Big data
main server → lake gate · the core's lake adapter, Loki and Mimir
Traefik, Quality Data, CA · mTLS, RustFS, Loki, Mimir, Alloy
lake server → lake replica at another site (optional)
optional: Traefik, RustFS
Trino
Trino coordinator ↔ Trino worker
Traefik, OIDC, CA · mTLS, Trino, Superset, Alloy
Trino worker → source databases, read only
Trino
Trino coordinator ↔ an added Trino worker (optional)
optional: CA · mTLS, Big data
Superset → Trino coordinator
both on the main server; the coordinator hands the work to the worker · not drawn as a cable
orchestrator's job runners → the core, and → the Trino coordinator
all on the main server, through Traefik's internal entry point · not drawn as a cable
Alloy and the agent on each machine → the main server
over the machine's own cable to it · not drawn as a cable
Three machines run an installation: the main server, with the core, the orchestrator and the Trino coordinator it manages, Superset with Valkey and the operations stack; a Trino worker, which holds the memory; and the lake server, which holds the data. Every machine runs Alloy and the qd agent. For big data, the installation adds Trino workers: the second one is drawn faint and marked optional, and so is the lake replica at another site. Every size on a machine's top is a proposed starting point, marked *, not a measurement: size a real installation from its data. A technology lights every unit where it runs and every cable it speaks on; where it runs only on an optional machine the unit is outlined in amber and marked optional. The room's sizes are not to scale.
The tour moves on by itself. Any click, key or pointer over the text
pauses it on its stop; ▶ or Space resumes it. The arrow keys, or a
click on the figure, go to the next or the previous technology, and the
list under the figure goes to any of them.
A lit unit is a place where the technology runs. A unit outlined in
amber and marked optional runs only on a machine an installation adds:
a second Trino workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., or the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. replica at another site.
A cable stands for every connection between its two machines; its
arrow points from the side that opens the connection. Nothing connects
into the installation from outside: the agent opens the line to AWS.
Point at a row under the figure to light only that row’s places.
The cards on the machines’ tops give disk, CPUCentral processing unitA server's processor; the installer asks for at least 2. and memory. The one in
red is the resource that machine needs most.
Technology stack · Platform
The platform core (Quality Data)
The core of Government Data, whose package is Quality Data, written in Rust with a SolidJS web app, that owns the quality objects, compiles every job and holds sign-in, permissions and audit.
Module:quality-data. Every installation has it; every other module
needs it.
The core is the base of the Government Data platform. Its package is
called Quality Data, after the data quality application it carries, which
owns the business objects of data quality: sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. and their mappingsMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and their
history, schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and the remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.. Around them it holds
what the whole platform shares:
permissions: one set of policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. for the whole platform, which every
module asks before it acts;
audit: who did what, when and on what, including every view of
personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.;
settings shared by every module, such as the domain, mail and the
time zone;
machines: which servers belong to the installation, and their
certificates (see Mutual TLS).
The core writes every SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. statement a quality job runs. When a cut is
due, it compiles the rules on the catalog’s main line into statements for
Trino, signs the bundle and records it. It never runs a job
itself: the orchestrator schedules jobs, and its
job runners send the signed statements to Trino.
The server is written in Rust. It serves the application’s HTTP APIApplication programming interfaceThe entry point other programs use to talk to the platform; its own screens use it too.
and the internal APIApplication programming interfaceThe entry point other programs use to talk to the platform; its own screens use it too. that other modules and machines call.
The web app is a single-page application written in SolidJS and
built with Vite, served as static files by nginx.
A node agent, from the same image, keeps the server’s machine
certificate renewed.
HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. through Traefik, with a session after signing in
Other modules, machines
HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. on Traefik’s internal entry point, each side with a certificate of the installation
SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. over TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate., the server’s certificate checked
Dolt’s MySQL-compatible protocol over TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate., with a client certificate
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.
Through the lake module’s admin service, to create the installation’s warehouse
PostgreSQL: accounts, policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., settings, the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., the job
index and every business object but the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version..
Dolt: the rules and the mappingsMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields., with their history.
Files beside the module: the installation’s certificate authority
and the secrets the containers read, never in the database or in an
environment variable.
All three are backed up, and the backup checked, before every update.
Technology stack · Platform
Docker Compose
How every module of an installation runs, as containers described by one Compose file per module, started and updated by the installation's agent.
Module: all of them. Each module is a Compose project of its own.
Every part of Government Data runs as a container. Each module ships one
Compose file that says which containers it runs, from which images, on
which networks and with which volumes. The installation’s agent,
qd, runs Docker Compose with that file to start, update or
stop the module. Nobody edits these files by hand: they come inside the
module’s package, which the signed version index pins.
Images by digest. A module’s Compose file names no image itself: the
agent passes each image by its digest, as the signed index lists it, so
the containers run exactly the bytes that were published.
One network per module. Each module’s containers share a network of
their own. Only Traefik joins every module’s network, so a
module reaches another only through Traefik, never directly.
Containers locked down. Where the software allows it, containers run
as an unprivileged user, with a read-only filesystem, no Linux
capabilities and no way to gain privileges.
Secrets as files. Passwords and keys are mounted as files that only
the container’s user can read; they are never in an image, in the Compose
file or in its environment file.
Health. Each module declares which of its containers must be running
and healthy, and the commands that prove it. An update waits for them;
if they do not come up, it goes back to the previous version.
In Docker volumes on each server, one per piece of data, each named in the
module’s manifest. A volume marked critical is backed up, and the backup
checked, before every update. Removing a module stops its containers and
keeps its volumes; only an explicit purge deletes them, after a backup.
Each server needs Docker Engine with the Compose plugin. Everything else
comes with the modules: do not install the platform’s components on the
host yourself.
Technology stack · Edge and identity
Traefik
The one entry point of an installation, for people and for machines, which routes each request to its module and checks the session or the certificate first.
Traefik is the installation’s only door. Every request, from a person’s
browser or from another server of the installation, goes through it, and
it sends each one to the module that serves it. No other container is
reachable from outside its own server.
It has two entry points:
The web entry point, over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes., for people. It serves the
application, the guide and every module’s screens, each under its own
path.
The internal entry point, for the installation’s own servers and
modules. It accepts only connections that present a certificate signed
by the installation’s certificate authority (see Mutual TLS).
Each module’s manifest declares its route: its path, the service and how
people sign in to it. When a module is added, the agent writes that route
for Traefik; when it is removed, the route goes. During an update, a
module’s route shows a maintenance page.
Traefik authenticates; it never authorises. For a module that has no
sign-in of its own, such as this guide, Traefik first asks the core whether
the request comes with a valid session (forward authentication) and sends
the person to sign in if not. What a person may do inside a module is that
module’s decision, by the platform’s policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer..
HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. on the web entry point; plain HTTP only redirects to HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes.
Each module
Over that module’s own network; Traefik is the only container on all of them
The core
It asks the core to check sessions, and passes machines’ certificates to it
Servers of the installation
Mutual TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. on the internal entry point
The web entry point’s certificate is either your organisation’s own,
installed as a file, or one that Traefik obtains and renews by itself from
Let’s Encrypt. The internal entry point uses a certificate of the
installation’s own authority, renewed automatically.
Its configuration comes with the core’s package and from the routes the
agent writes. A certificate obtained from Let’s Encrypt is kept in a volume
that is not critical: it is obtained again if lost.
People need to reach port 443 (HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes.) of the server where the core
runs. Port 80 is needed only to redirect to HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. and, if you use
Let’s Encrypt, for its check.
The internal entry point must be reachable only from the
installation’s own servers, never from the internet or the rest of the
network. Whoever supports your installation tells you its port when a
second server is added.
Technology stack · Edge and identity
Identity and sign-in (OpenID Connect)
The core is the installation's identity provider, over OpenID Connect, for people and for every module; it can delegate to the company directory or an external provider.
People sign in once, at the core, and enter every module with that
session. The core is an identity provider that speaks OpenID Connect
(OIDCOpenID ConnectA standard for signing in through an external identity provider, such as the organisation's corporate account.), the standard sign-in protocol built on OAuth 2.0. Every module
with screens of its own, such as Grafana or Superset, is a client of it:
it sends the person to the core to sign in and gets back who they are and
what roles they have there.
The accounts are the core’s. A person can sign in with:
a local account and its password;
the organisation’s directory, over LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work., such as Active Directory;
an external provider that speaks OIDCOpenID ConnectA standard for signing in through an external identity provider, such as the organisation's corporate account., such as Microsoft Entra ID or
Google, linked to an existing account.
A module with its own sign-in gets the person’s roles in its tokens,
computed from the platform’s policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., for example whether a person is
a viewer or an administrator in Grafana.
When one module calls another on behalf of a person, the call
carries that person: it is allowed only if both the person and the
calling module may do it.
Machines and services that call the core on their own get short-lived
tokens of their own, limited to what their module declares it uses.
A quality job gets a token that is valid for that job only, which
Trino checks before it runs the job’s statements.
The sign-in pages, through Traefik, over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes.
Modules
OpenID Connect and OAuth 2.0: sign-in, tokens, and token exchange on behalf of a person
Directory
LDAPLightweight Directory Access ProtocolThe standard way to look up people in an organisation's user directory, so they can sign in with the account they already use at work., with a service accountService accountA token for a script or another system to use Quality Data in its owner's name; it can do at most what its owner can. that may read it
External provider
OpenID Connect, with the client registered at the provider
Accounts, groups, policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., linked providers and module clients are in the
core’s database, PostgreSQL. Passwords are kept only as
salted hashes. Every sign-in and sign-out, and every change to access, is
written to the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy..
Technology stack · Edge and identity
Mutual TLS and the installation's certificate authority
Every server and service of an installation proves who it is with a short-lived certificate from the installation's own authority, renewed without hands.
Module:quality-data (the core), and every server that joins the
installation.
Inside an installation, services do not trust each other because of where
a connection comes from. They trust a certificate. Each installation
has its own certificate authority (CA), created when it is installed,
and every server and service that talks to another presents a certificate
signed by it. Both ends check each other’s certificate: this is mutual
TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. (mTLS).
The CA belongs to the installation alone. It is not shared with any
other installation, and nothing outside the installation needs to trust
it.
Machine certificates are short-lived: each lasts about a day. A
small node agent on every server renews its certificate several times a
day, and the services take the new one without restarting.
A certificate names the server and its role (the core’s server, a
workerWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., a lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. node, the replica…). A service accepts only the roles that
should reach it.
An administrator asks for a command for the new server’s role, in
Settings, Execution, Add a machine (see Mail, sign-in and
updates). The
command carries a join token that works once, within an hour.
Whoever supports the installation runs it on the new server. The server
makes its own private key, which never leaves it, and asks for a
certificate with the token.
The server shows as Pending approval and gets no work until an
administrator approves it. From then on its node agent renews its
certificate by itself.
Retire takes a server out for good. From that moment the core refuses
its certificate, even before the certificate runs out: the server can no
longer renew it, get a token for its work, or pass the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s gate, and
its sessions on the job queue are ended. Its node agent stops.
Anyone to the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. (RustFS)
The caller’s certificate, at the lake’s gate
Trino’s coordinator to the lake and its rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
Its certificate, from a local proxy that renews without restarting Trino
The CA’s key and certificate are files beside the core’s module, on the
core’s server, readable only by the services that sign and check
certificates. They are critical: backed up, and the backup checked, before
every update. Each server keeps its own key and certificate in its node
agent’s directory.
This certificate authority is the installation’s own. The certificate an
installation uses to fetch its updates is another one, described in
Updates from AWS.
Technology stack · Data
PostgreSQL
The platform's relational database, where the core keeps accounts, policies, settings, the audit log and its business objects, and where modules get their own databases.
Module:quality-data (the core). Other modules get a database of
their own in it.
PostgreSQL is the platform’s database. The core keeps in it:
accounts, groups, policiesPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. and the identity providers;
settings, and the secrets of settings, encrypted with a key kept apart;
sourcesSourceA database the organisation already runs. Quality Data reads it and never writes to it., datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them., schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, cutsCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. and remediation queuesRemediation queueThe findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up.;
an index of the quality results: the cuts, their state and their
totals, which the application’s screens and queues read. The record
of results itself is in the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s gold tables; if the two ever differ,
gold wins and the index is rebuilt from it;
the audit log.
Modules that need a relational database, such as Superset or the orchestrator, get a database and a user of their own when they are
added. One module cannot read another’s database.
The audit log records who did what, when and on what: sign-ins, access
and settings changes, ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. approvals, every view of personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. with its
reason, exports and runs started by hand. It is append-only: the
application cannot change or delete an entry, and each entry carries a
hash of the one before it, so a gap or an edit shows. It stays queryable
for five years; older months are archived to the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.. No other module
reads it: Grafana does not read the core’s database.
SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. over TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate.; the core checks the server’s certificate and name
Other modules
Each with its own user, on its own database
PostgreSQL is not reachable from outside the core’s server: it publishes
no port, and only the services that use it share its network.
In a volume on the core’s server. Its databases are critical: before every
update they are dumped and the dump checked, and if that cannot be done,
the update does not go ahead. Removing a module keeps its database; only a
purge deletes it, after a backup.
Technology stack · Data
Dolt
The versioned database that holds the rules catalog, with drafts, approvals to main and the full history of every rule and mapping.
Dolt is a SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. database with version control built in: branches, commits,
merges and differences, as in Git, but on tables. Quality Data keeps its
rules catalog in it: every ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and every datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields..
What people see in the application is Dolt’s versioning:
a draft is a branch of its own, where a rule is written and tested
without counting;
main is the approved line: only the rules on main are evaluated;
approving a draft merges it into main, as one more commit;
the history of a rule is the list of commits that touched it, with
who made each one and when; going back or undoing is a new commit on
top, so nothing on main is ever erased.
Every quality run records the catalog commit it was compiled from, so a
cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. can always be traced to the exact rules that produced it. See Take a
change to main and See a rule’s history and undo a
change.
Only the core’s server talks to Dolt, over Dolt’s MySQL-compatible
protocol, on a network the two share with no one else. The connection uses
TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. with a client certificate of the installation (see Mutual
TLS) and a password. Dolt publishes no port.
Other parts of the platform never read the catalog: the core compiles the
rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. into SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. and hands that out.
In a volume on the core’s server, with its databases, users and grants.
It is critical: backed up, and the backup checked, before every update.
Besides, Dolt’s own backups are copied to the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. on a scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…. Its two
passwords are generated at installation and kept as files, never in the
repository or the environment.
Dolt has a PostgreSQL-compatible version, Doltgres. It may be considered
in the future; nothing in the catalog depends on that choice.
Technology stack · Data
RustFS
The object storage of the data lake, compatible with S3, behind a gate that requires the installation's certificate, with a replica that keeps every object for 30 days.
Module:lake-rustfs. It provides the capability “lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.” to the
modules that need it: the core, Trino and observability.
Where it runs: on the lake’s server, a machine joined with the role
lake, which starts its services once approved.
RustFS is open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. object storage, written in Rust, that speaks the
S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. protocol. It is the storage of the installation’s data lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.:
the lake’s tables, in Apache Iceberg format: the data
copied from the sources (bronze), the data as mapped (silver) and the
quality results (gold), with the Iceberg REST catalog that lists
them;
the technical logs and metrics that Loki and
Mimir keep;
the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.’s archive and the rules catalogRules catalogWhere Quality Data keeps every dataset's mapping and rules, with their history and the approved version, main.’s backups.
The main lake is one server, or a pool of at least four servers
whose drives share the data, so it keeps working when a drive or a
server fails.
The replica is a separate server. The main lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. copies the
installation’s warehouse into it, where each object is kept for 30 days
and nobody, not even an administrator, can delete it or shorten that.
The main lake keeps old versions of objects for 7 days.
The gate is a small proxy in front of RustFS that lets in only
connections with a certificate of the installation (see Mutual
TLS).
The lake admin service of the module answers the core alone: the
lake’s health, its warehouses and their replication. From the lake’s
root keys it makes and keeps an admin user of its own for that work. The
core holds no code of RustFS’s own; another lake module could serve the
same protocol.
A module’s stores. A module that needs storage of its own gets a
bucket in the lake, kept with versions, and a user that reaches that
bucket alone, made when the module is added.
The console. RustFS’s own web console is reached through the lake’s
gate, at /rustfs/console/, and opened from the apps menu as Lake
console. People sign in through the core: lake-rustfs:UseConsole
reads the lake, and lake-rustfs:Administer administers its storage
(Permissions).
S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. for the files and Iceberg REST for the tables, through the gate
Loki and Mimir
S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer., each in its own bucket
The core
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. admin protocol, with mutual TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. both ways
Short-lived credentials
The S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. security token service: credentials that last minutes, narrowed to what one task needs
People
RustFS’s console, opened from the apps menu as Lake console, signed in at the core
On the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. servers’ drives. The data is critical, and its backup is the
replica: an update of the lake goes ahead only when the replica is in sync
and every server is healthy. Removing the module keeps its data; only a
purge deletes it, after a backup.
Technology stack · Data
Apache Iceberg
The open table format of the data lake, with its REST catalog, and the three layers bronze, silver and gold, where gold holds the record of the quality results.
Module:lake-rustfs serves the catalog and stores the files;
Trino reads and writes the tables.
Apache Iceberg is an open format for large analytic tables kept as files
in object storage. A table is a set of ParquetParquetA compressed, fast-to-read file format for large tables. data files plus metadata
that says which files make up each version of the table. Every write
creates a new snapshot, committed all at once: a reader sees the table
before the write or after it, never half of it, and can read an earlier
snapshot on purpose.
The Iceberg REST catalog is the service that lists the tables and
points at their current metadata. In Government Data it is served by
RustFS itself, over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. behind the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s gate.
Each installation has one warehouse in the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources., with three layers:
Layer
Holds
Written by
Bronze
The data of each cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. as copied from the sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it.
Extraction jobs
Silver
The same data with the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields. applied
Derivation jobs, from bronze
Gold
The quality results: per ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., per field, per group, the findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. and the data each chart draws
Rule jobs, from silver
Bronze and silver only grow. A load adds rows under its own
identifier; only once every statement succeeded and the counts match does
the core record it as the cut’s accepted load. Readers then read exactly
that load, at that snapshot, so a cut always gives the same results.
Gold is the system of record of the quality results. Every table
carries the dataset, the cut and the run. A new run of a cut writes its
rows, then switches to them in one commit, then deletes the previous
run’s rows; dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. read views that always show one whole run.
No record values in gold, except the values of the grouping fieldsGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by.
the indicators are broken down by, such as an office or a region.
Findings carry keyed hashes of the record keysRecord keyThe field or fields of a dataset's mapping that tell one record from another., not the keys.
Bronze and silver hold copies of the source data, which may include
personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail.. Nobody reads them directly: only jobs, through Trino, with
the access their token grants.
The Iceberg REST protocol for the catalog; S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. for the files
Superset
Never directly: it reads gold’s views through Trino
In the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources., on RustFS: the data files, the metadata and the catalog.
Maintenance jobs compact small files and remove superseded loads; old
snapshots are kept, so a past cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. can always be read as it was. The lake’s
replica keeps a copy of everything.
Technology stack · Processing
Trino
The one SQL engine of the platform. It reads the organisation's databases, writes the lake's bronze, silver and gold, runs the quality rules, and serves the dashboards' queries.
Module:query-trino. It provides the capability “SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query” and
needs the capability “lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.”.
Trino is a distributed SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query engine. In Government Data it is the one
engine that touches data:
it reads the sources, the organisation’s databases, read only, and
writes each cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s bronze layer;
it derives silver by applying the datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMappingHow a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields.;
it evaluates the quality rules on silver and writes the results to
gold;
it answers the dashboards: Superset reads gold through
it, as the person who is looking.
Being distributed is what fits Trino to large volumes. A coordinator plans
each query and splits it into tasks, and its workersWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one. run them in parallel,
each on its own part of the data, so a large sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. or lake table is read
by several machines at once rather than by one. An installation that needs
more capacity adds workers. The simulation shows where
each part runs.
Trino never decides what to run. The core writes every
statement, compiled from the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., and signs it; the
orchestrator’s job runners send those statements to
Trino. While a rule is
being written, its examples are checked on the spot by the rule editor,
before it ever reaches Trino.
A token per job. Each job reaches Trino with a token that the core
issues for that job alone, which says which datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. and which kind of
work it is. Trino’s access rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., served by the core, allow that job
only what it needs: its own dataset’s tables, its own sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it..
Source passwords travel with the job that needs them and are never
stored by Trino.
Only counts come out. A quality job reports names, counts and
durations, never a record’s values. Samples shown while testing a rule
go through the application, which checks the person’s permission and
writes the view to the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy..
People read only gold. For dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., Trino offers gold read-only,
with each person’s row filters applied; bronze and silver are for jobs.
No memory dump is ever written to disk, as it could hold records.
Trino’s client protocol over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes., with a token per job or per person
The organisation’s databases
Each engine’s own protocol (such as SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. Server, Oracle, PostgreSQL or MySQL), read only
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.
S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer. and Iceberg REST, through the lake’s gate, with mutual TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate.
The core
It reads its access rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. from the core
The coordinator runs on the main server, inside the
orchestrator, which runs and manages it. The
workers run on machines of their own: an installation starts with one
and adds more for big data, without moving any data, since workers keep
nothing between queries. A worker needs the most memory; as a starting
point, about 13 GB for Trino on each worker, to be sized from the
installation’s own data. Memory is
divided between quality jobs and dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. queries, so one cannot starve
the other, and a query too big for the memory spills to a disk of its own.
Before Trino restarts for an update, the orchestrator lets the running
jobs finish and holds new ones.
Nowhere of its own: Trino keeps no data between queries. What it writes
goes to the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.; its spill disk holds temporary files only while a query
runs.
Technology stack · Processing
The orchestrator and its job runners
The operator that fires schedules and tracks every job, and its light job runners, which send the core's signed SQL to Trino and report counts back.
Module:orchestrator. It needs the capability “SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query”, which
Trino provides.
Running a quality cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. is split in three roles, each doing one thing:
Part
Does
Never does
The core
Owns the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and schedulesScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, compiles and signs every statement, hands out each job’s secrets, records the results
Run a job or talk to Trino
The operator
Fires the schedules, keeps each job’s state, retries with backoff, makes sure only one job writes a table at a time
Read or change a statement, see a secret
The job runners
Take a job, fetch its signed statements, check the signature, send each statement to Trino, report counts
Write SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it., keep state, read values
The operator is the orchestrator’s service. The job runners are
light processes of the orchestrator, on the main server beside it. They
process no data: they send the signed SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. to Trino and report. Two of them
run jobs in parallel, and since they keep no state, more can be added
without touching the rest.
The orchestrator also runs and manages Trino’s
coordinator, on the main server beside the operator, so it knows when
Trino may restart. Trino’s workersWorkerA program that runs on its own beside the application and does the heavy work: listing a source's tables, mapping a table, copying a cut and evaluating it. Mapping and cuts need at least one., which do the heavy query work, run on
machines of their own.
The orchestrator has a web of its own, at /orchestrator/, opened from
the apps menu as Orchestrator by whoever holds
orchestrator:ViewFlows. People sign in through the core, with the same
account, and the web follows the language chosen there. It has three
screens:
Flows: what the orchestrator runs, by folder, with Run now and
See its runs.
Runs: every run, newest first, by flow, state and date; a run shows
its progress, its counts and its Log, and can be cancelled.
Import: loads the flows already on a cluster: it shows what a job
runner found, can ask it for a new scan, and imports the flows picked,
once what the engine flagged is confirmed.
What each person may do there comes from their permissions
(Permissions).
The servers’ resources, memory, disk and processor, are not shown here:
they belong in Monitoring, the installation’s Grafana.
The operator fires the cut on its scheduleScheduleWhat starts a dataset's cuts on its own: daily, weekly, monthly…, or when someone starts it.
The core compiles the statements from the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. on the catalog’s main
line, signs them, and records the bundle.
A job runner takes the job and fetches the bundle and the job’s secrets from
the core. A statement that is not in a verified bundle is never
run.
The job runner sends each statement to Trino with the job’s token,
checks that each answer has the expected shape (counts only), and records its progress, so a
retry resumes where it stopped.
The job runner reports names, counts, durations, the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s snapshot
identifiers and any stage that failed to the core. The cut runs as three jobs in a chain:
extraction to bronze, derivation to silver, evaluationEvaluationIt runs every rule on main on every record of a cut. A rule fails, passes or does not apply to each record; one it does not apply to is left out of its figures. into gold.
If a job runner stops, its job’s lease runs out and another job runner
takes it;
the old attempt’s query is cancelled first, so two attempts never write
the same cut.
HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. on Traefik’s internal entry point, with mutual TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate.
People
Its web and APIApplication programming interfaceThe entry point other programs use to talk to the platform; its own screens use it too. at /orchestrator/ through Traefik; sign-in at the core over OpenID Connect
Trino
Trino’s client protocol, with a token valid for one job
Before an update, the core asks the orchestrator how much work is running
and due soon, and the update waits for it. While Trino restarts, the
operator holds the jobs that need it and lets the running ones finish.
The operator keeps the jobs’ state, leases and attempts. The job runners
keep nothing.
Technology stack · Indicators
Apache Superset
The analytics application of the platform, which draws the quality indicators from the lake's gold tables through Trino, as the person who is looking.
Module:bi-superset. It needs the capability “SQLStructured Query LanguageThe standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query”, which
Trino provides.
Apache Superset is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. application for dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and data
exploration. In Government Data it draws the quality indicators: each
datasetDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s dashboard, its charts and their evolution from cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to cut.
The dataset’s dashboard appears inside the application’s own page,
embedded, so people do not leave Quality Data to read it.
People with bi-superset:Author can also open Superset itself, from
the apps menu as Analytics, to explore gold’s tables read-only and
build charts and dashboards of their own.
Superset reaches Trino through one connection, Quality results,
which the module makes at install and sets again at every update from
the endpoint the query module declares, so no address is typed by
hand.
The dashboards the platform ships are replaced at each update; a
dashboard that someone builds is theirs and stays.
Superset never reads the lake’s files, its catalog or PostgreSQL. It
reads gold’s views through Trino, as the person who is looking: Trino
applies that person’s row filters, so each one sees only the datasetsDatasetOne table of a source as Quality Data reads it: a name, its fields and the rules that check them. and
groups their policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. allows. In the embedded dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., the core issues a
short-lived guest token for that person and that dashboard.
Gold holds no record values, only counts, indicators and the values of the
grouping fieldsGrouping fieldA field (an office, a region, a channel) that the dashboard and the remediation queues split results by. (see Apache Iceberg).
Its screens through Traefik; sign-in at the core over OpenID Connect
The application’s pages
Embedded, with a guest token the core issues
Trino
Trino’s client protocol over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes., on behalf of the person
Superset’s roles come from the person’s permissions in the core, computed
at each sign-in, so a change of policyPolicyA set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. reaches Superset at the next one.
Superset keeps its own metadata in a database of its own in
PostgreSQL: its users, roles, charts, dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., saved
queries and its action log. No indicator is stored there: the numbers
stay in gold. Query results are cached in Valkey for a few minutes.
Removing the module keeps its database; only a purge deletes it, after a
backup.
Technology stack · Indicators
Valkey
The in-memory store that caches Superset's query results for a few minutes; it is Superset's alone and never carries the platform's events.
Valkey is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it., in-memory key-value store, under the BSD licence,
that speaks the same protocol as Redis. In Government Data it is
Superset’s cache:
it keeps the results of dashboardDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. queries for a few minutes, so a
dashboard that many people open at once asks Trino once;
it holds Superset’s rate limits.
Valkey is not a message broker for the platform. The platform’s modules
tell each other what happened through the core, never through Valkey.
Only Superset talks to Valkey, on the module’s own network, with a password
that is generated at installation and kept as a file. Valkey publishes no
port and nothing else can reach it.
In memory, and in a volume of the module. What it holds can be lost
without harm: it is a cache, filled again from Trino. Removing the module
keeps the volume; only a purge deletes it.
Technology stack · Operations
Grafana
The monitoring application of the platform, being built, with the technical logs, the metrics of every machine and alerts.
Module:observability, with Loki, Mimir and
Alloy. It needs the capability “lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.”.
Being built: the observability module is not in an installation yet.
This page describes it as designed.
Grafana is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. application for dashboardsDashboardEach dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and alerts. In
Government Data it is for operations, not for the quality indicators,
which Superset draws:
technical logs of every service, read from Loki, including every
line of one run across all servers;
metrics of every server and service, read from Mimir: CPUCentral processing unitA server's processor; the installer asks for at least 2., memory,
disks, network, the clock, the queue and the job runners;
alerts when a server or a service needs attention, sent by mail.
Grafana does not read the core’s database: it never sees the rulesRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.,
the results or the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.. The quality charts are Superset’s.
The dashboards come with the installation and are updated with it.
Grafana is a client of the core’s sign-in: people open it from the apps
menu, as Monitoring, and enter with their own account. The entry shows
to whoever holds observability:View (see
Permissions).
Anyone else is refused.
Its screens through Traefik; sign-in at the core over OpenID Connect
Loki, Mimir
Their query APIsApplication programming interfaceThe entry point other programs use to talk to the platform; its own screens use it too., inside the observability module
Grafana keeps its own settings, users and alert state. The logs and
metrics it shows are Loki’s and Mimir’s, in the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources..
Technology stack · Operations
Loki
The store of the technical logs of every service of the installation, kept in the lake for 90 days, with no personal data.
Grafana Loki is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. store for logs. In Government Data it keeps
the technical logs of every service on every server of the
installation, which Alloy collects and
Grafana shows.
Technical logs say what happened inside a process, for whoever runs the
installation. Every service writes them as JSONJavaScript Object NotationA common plain-text format in which programs exchange structured data. with the same fields:
time, level, service, server, request, run and job. So one search shows
every line of one run, across all servers.
Technical logs carry no personal data. Values read from sources, ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.
tests or findingsFindingA record that fails a rule at a cut. It is resolved when a later cut no longer fails it. are never logged: errors name ids and field names, not
values, and a second layer drops known sensitive fields. Who saw which
personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. is not a technical log: it is the audit logAudit trailThe record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy., in
PostgreSQL.
Grafana queries Loki, inside the observability module
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.
Loki keeps its data in a bucket of its own, over S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer.
In the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. (RustFS), in a bucket of its own, for 90
days. Like everything in the lake, the replica keeps a copy. An
organisation that runs its own log system can also have Alloy forward the
logs there.
Technology stack · Operations
Mimir
The store of the metrics of every server and service of the installation, kept in the lake and read by Grafana.
Grafana Mimir is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. store for metrics, compatible with
Prometheus. In Government Data it keeps the metrics that
Alloy collects on every server, which Grafana
draws and alerts on:
each server’s CPUCentral processing unitA server's processor; the installer asks for at least 2., memory, load, disks, network and clock;
each service’s own metrics, such as Traefik’s requests, the queue of
jobs and the live job runners.
Metrics are numbers with a few labels, such as the server, its role and
the service. They carry no data from the sources and no personal dataPersonal dataValues from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail..
Every server’s Alloy pushes its metrics, presenting the server’s certificate (see Mutual TLS)
Grafana
Grafana reads them; only the core’s server may read
The lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.
Mimir keeps its data in a bucket of its own, over S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer.
In the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources. (RustFS), in a bucket of its own; the lake’s
replica keeps a copy.
Technology stack · Operations
Alloy
The collector on every server of the installation, which sends the services' logs to Loki and the server's and services' metrics to Mimir, with the least access that works.
Module:observability. One runs on every server of the installation.
Grafana Alloy is an open-sourceSourceA database the organisation already runs. Quality Data reads it and never writes to it. collector of logs and metrics. In
Government Data, each server runs its own Alloy, which:
reads the logs of every service on that server and sends them to
Loki;
reads the server’s own metrics, CPUCentral processing unitA server's processor; the installer asks for at least 2., memory, load, disks, network,
clock and boot time, and sends them to Mimir;
collects the metrics that services publish, such as Traefik’s, and sends
them to Mimir too.
The command that adds a server to the installation also sets up its Alloy,
so a new server shows in Grafana once it joins.
Alloy runs in a container with no more access than it needs: it reads
only the disks it watches (Docker’s, the database’s, the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources.’s drives…),
read-only, and the server’s network counters, not the rest of the server.
It keeps a short list of metrics and drops the rest, and no label carries
a path or a name that a person chose.
It pushes over HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. with the server’s certificate (see Mutual TLS)
The services’ metrics
It reads them with the server’s certificate
The organisation’s own log system
Optionally, it can also forward the logs, by syslog or OpenTelemetry
Nowhere of its own beyond a small buffer: what it collects goes to Loki
and Mimir, in the lakeLakeQuality Data's own store, where it keeps the cuts it copies from the sources..
Technology stack · Updates
The installation's agent (qd)
The program on the installation's server that installs and updates every module from signed versions, backing up first and going back by itself if an update fails.
Where it runs: on the core’s server, as a system service, outside the
containers it manages.
qd is the installation’s agent. It installs, configures and updates the
platform and its modules, and nothing else may change them:
enrol: when the installation is set up, it makes the installation’s
own private key, which never leaves the server, and a certificate
request. Once that request is signed, the certificate is the
installation’s identity towards the versions published in AWS (see
Updates from AWS).
install the platform for the first time.
check and update: it reads the signed version index, and when a
new version is due for this installation, it applies it.
The core first. When it starts the modules, the core’s module starts
before the others, which depend on it.
Each module its own copies. Each module gets its own copy of the
server’s machine certificate and of its secrets, owned by the user its
containers run as. qd credentials sync copies them again; the agent
also does it by itself after the certificate is renewed.
Providers and consumers. A module that needs a capability gets its
provider’s endpoint in its settings: Superset, for
example, reaches Trino with no address typed by hand. Modules and
machine roles also get the host of the core’s sign-in.
Routes to other machines. A module whose screens run on a joined
machine, such as the lake’s console, gets its route on
the main server sent to that machine’s gate.
Joined machines. Each joined machine has a small node agent: once
the machine is approved, it gets its role’s files, keeping scripts
executable, and starts the role’s services within about a minute.
The agent reads the signed index and checks its signature with the
public key it carries. An index that fails the check is ignored.
It downloads each module’s package and checks its fingerprint against
the index, and pulls the images by their digest.
It asks the core how much work is running or due, and waits for it,
within the limit set under Settings, Updates.
It backs up every critical piece of data, databases, volumes and
keys, and checks the backup. If a critical piece cannot be backed
up, there is no update.
It applies the new version in steps. Before each step it writes
down where it is, so after a power cutCutThe dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. it resumes, and every step can
run twice.
It checks each module’s health. If the new version does not come up, it
goes back to the previous one by itself.
It writes a short report: versions, steps, durations and errors,
never any data of the organisation.
When updates install, with approval, automatically within a window, or by
hand on the server, is chosen in the application, as described in Mail,
sign-in and updates.
Outbound HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. only, with short-lived credentials from its certificate; nothing comes in
The core
Traefik’s internal entry point, with mutual TLSTransport Layer SecurityThe encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate.
qsdk is a separate command line, for whoever publishes versions and
manages enrolments: it signs an installation’s enrolment request, revokes
an installation, and publishes a module. It never runs on an
installation’s server.
In its own directory on the server: the installation’s key and
certificate, the state of the update in progress, the packages and the
backups taken before each update.
Technology stack · Updates
Updates from AWS
How versions are published and trusted, with a signed index in S3, images in ECR, a signing key in KMS, and installations proving who they are with IAM Roles Anywhere.
Where it runs: in Amazon Web Services, outside every installation. An
installation only reads from it.
Each version of Government Data and of its modules is published in AWS.
Installations pull what they need from there; AWS never connects to an
installation, and an installation opens no port for it. Four services are
used:
Service
What it holds or does
Amazon S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer.
The signed version index, each module’s package, and the reports installations write after an update
Amazon ECR
The container images of every module, by digest, including copies of the third-party images a module runs
AWS KMS
The key that signs the index; the key itself never leaves KMS
IAM Roles Anywhere
Exchanges an installation’s certificate for credentials that last one hour
The index is signed. It lists every version and, for each module, the
fingerprint of its package and the digest of each image. The agent
trusts it only if its signature matches the public key the agent
carries, never because of where the file came from.
Everything else is pinned by the index. A package whose fingerprint
or an image whose digest does not match is refused.
Publishing is split. Each module’s repository may publish only its
own images and package; only the platform’s release may sign the index.
Taking over one module’s publishing cannot reach an installation.
Third-party images are copied. An image a module runs but does not
build, such as PostgreSQL or Trino, is copied into ECR and pinned by
digest: installations never pull from a third party’s registry.
When an installation is set up, its agent makes a private key that never
leaves the server, and the request is signed into an enrolment
certificate. With it, the agent gets AWS credentials that last one hour
and allow only reading versions, pulling images and writing its own
report. There is no long-lived password or access key.
Revoking an installation’s certificate stops its updates. The
installation itself keeps working.
The core’s server needs outbound HTTPSHypertext Transfer Protocol SecureThe secure web protocol: the product is reached over it, with the certificate the installer makes. to AWS’s public service
endpoints for S3Simple Storage ServiceAmazon's interface for storing files, which many storage systems (RustFS among them) also offer., ECR and IAM Roles Anywhere. Whoever supports your
installation gives you the list for your firewall. No inbound ruleRuleIt applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. is
needed.
Reports carry versions, steps, durations and errors, never the
organisation’s data.