Skip to content

Accuracies

Accuracies is a nested enumeration of clsTranslationResult that grades how confident a translation result is, from an ExactMatch (100) down to complete Failure (0), with Default (10) representing a low-confidence fallback value and MostLikely (75) representing a probable but unconfirmed match.

Purpose

  • Provide a graded (rather than boolean) confidence scale for translation outcomes, per BR-POL-018.
  • Establish Failure (0) as the default value on a new clsTranslationResult, so an unset result reads as failed rather than successful.

Context

  • Namespace: SAIF.Business.Policy
  • Assembly/package: SAIF.Business.Policy

Public members

Member Signature Purpose
ExactMatch ExactMatch = 100 The translation matched the input exactly.
MostLikely MostLikely = 75 The translation is a probable, though not confirmed, match.
Default [Default] = 10 A low-confidence fallback/default value used when no better match is available.
Failure Failure = 0 The translation failed; this is the default value on a newly constructed clsTranslationResult.

Behavioral notes

  • Source declaration: Business\SAIF.Business.Policy\clsTranslationResult.vb.
  • Related operations, rules, and SQL are cross-referenced from the library-level documentation.

Constraints and usage notes

  • Consumers should rely on the declared public surface rather than internal implementation details.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy\clsTranslationResult.vb