How Sensitive Data Is Detected
Metadata analyzers and sample analyzers each produce their own ranked results for every candidate sensitive data type. SDDT combines these ranked results into a single confidence score, and then into a single detected type, for each column.
Combining Metadata Results
SDDT produces metadata results at two levels: entity-level metadata and field-level metadata. It averages the results at each level separately for each candidate sensitive data type.
SDDT then combines the two averages into one metadata confidence score: (entity-level + 2 × field-level) / 3. Field-level metadata counts twice as much as entity-level metadata. A missing result counts as 0, and the divisor does not change.
Only Social Security Number has an entity-level result. For every other type the entity-level result is 0, so the combined metadata score is below 67. That is under the Tier 3 threshold of 75, so these types reach metadata Tier 2 at most.
Term is the exception. Its column-name pattern scores above the usual maximum, so a column named Term or Terms reaches metadata Tier 3 without an entity-level result.
Combining Sample Results
SDDT averages sample analysis results into a separate sample confidence score for each candidate sensitive data type. This score is independent of the metadata confidence score.
Confidence Tiers
SDDT groups the metadata confidence score and the sample confidence score into four tiers each, using fixed thresholds:
| Score | Tier |
|---|---|
| 75 or higher | 3 |
| 50–74 | 2 |
| 25–49 | 1 |
| Below 25 | 0 |
Determining the Match Score
SDDT looks up the metadata tier and the sample tier for a candidate sensitive data type in a fixed scoring table. This lookup produces one final match score, from 0 to 100, for that candidate type.
Metadata evidence carries more weight than sample evidence in this scoring table. The strongest possible metadata-only result scores 60, and only Social Security Number and Term can reach it. The strongest possible sample-only result scores only 30.
A final match score above 70 requires the metadata score to reach Tier 3 as well. Only Social Security Number and Term can do this. When both their metadata score and their sample score reach Tier 3, the final match score is 90. Every other type scores 70 at most.
The Detected Type
The candidate sensitive data type with the highest final match score becomes the detected type for the column. If no candidate type scores above 0, SDDT reports the column's data type as Unknown. The selected algorithm for an Unknown column is Don't mask, so the column stays unmasked until you choose an algorithm manually.
SDDT shows only the detected type, in the PII Data Type column of the results grid. It does not show the other candidate types or their scores.
Match Strength Color
SDDT shows the strength of a detected type as a color, not as a percentage or a label such as High or Medium. The color ranges from light gray at the lowest match score to dark green at a match score of 90 or higher. Because only Social Security Number and Term can score 90, dark green appears only for these two types.
The color reflects the detected type's own final match score. It does not compare the detected type against the scores of other candidate types.

Suggested Algorithms and Color
The algorithm dropdown lists all available masking algorithms, not only the ones that SDDT maps to the column's detected type. Algorithms that SDDT considers suitable for the detected type are marked with green squares: the darker the green, the better the match. You can select any algorithm from the list.

An algorithm that is not installed on the machine is marked with a black square and the label (Not installed). You can select it, but SDDT does not warn you when you generate the package: the column is copied to the destination unmasked, as with Don't mask. Install the algorithm, or select another one, before you generate. SDDT can also preselect such an algorithm as the default. See Default Selection in Algorithm Suggestions.

When Metadata and Sample Evidence Disagree
SDDT does not flag it when metadata evidence and sample evidence point to different types for the same column. Both are scored independently and combined as described above, and the higher-scoring type wins without any visible indication in the UI.
Because metadata evidence carries more weight, a strong metadata signal can outscore an even stronger sample signal for a different type.
How Sensitive Data Is Detected