getUncoveredDictionaryTypes function exported ✓ 100.0%

Last updated: 2026-02-24T21:07:57.551Z

Metrics

LOC: 4 Complexity: 1 Params: 0 Coverage: 100.0% (2/2 lines, 3x executed)

Signature

getUncoveredDictionaryTypes(): : FieldDictionaryEntry[]

Summary

Get a summary of dictionary entries that don't yet have matching training samples. Useful for identifying gaps in dataset coverage.

Source Code

export function getUncoveredDictionaryTypes(): FieldDictionaryEntry[] {
  const dist = getTrainingDistribution();
  return FIELD_DICTIONARY.filter((e) => !(e.type in dist));
}

Dependencies (Outgoing)

graph LR getUncoveredDictionaryTypes["getUncoveredDictionaryTypes"] getTrainingDistribution["getTrainingDistribution"] getUncoveredDictionaryTypes -->|calls| getTrainingDistribution style getUncoveredDictionaryTypes fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getUncoveredDictionaryTypes "ac720f861f543315.html" click getTrainingDistribution "bcb2653a7652dea2.html"
TargetType
getTrainingDistribution calls

Impact (Incoming)

graph LR getUncoveredDictionaryTypes["getUncoveredDictionaryTypes"] EvalMisclassified["EvalMisclassified"] FIELD_DICTIONARY["FIELD_DICTIONARY"] EvalMisclassified -->|uses| getUncoveredDictionaryTypes FIELD_DICTIONARY -->|uses| getUncoveredDictionaryTypes style getUncoveredDictionaryTypes fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getUncoveredDictionaryTypes "ac720f861f543315.html" click EvalMisclassified "4e0d00ef54656ad2.html" click FIELD_DICTIONARY "9c3a352ea31b8001.html"
SourceType
EvalMisclassified uses
FIELD_DICTIONARY uses