Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRoundTripScore

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Structural score comparing source HTML with generated or round-tripped HTML.

Inheritance

  • object
  • HtmlRoundTripScore

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Properties

public int SchemaVersion { get; } #

Fidelity-score schema version used for this result.

public double Score { get; } #

Overall score from 0 to 1.

public int SourceNodeCount { get; } #

Logical node count in the source document.

public int TargetNodeCount { get; } #

Logical node count in the target document.

public int MatchedFeatureCount { get; } #

Feature buckets with exact or near matches.

public int ComparedFeatureCount { get; } #

Feature buckets compared by the scorer.

public IReadOnlyDictionary<string, double> Metrics { get; } #

Named scoring metrics from 0 to 1.

public IReadOnlyDictionary<string, double> Dimensions { get; } #

Top-level v2 fidelity dimensions. Available dimensions are structure, text, styles, resources, annotations, formulas, charts, geometry, and artifact reload. Dimensions absent from both inputs are omitted rather than treated as perfect.

public bool ArtifactReloadVerified { get; } #

Whether the score includes evidence produced after reopening the native artifact.

public string? ArtifactKind { get; } #

Caller-supplied artifact kind for reload evidence, such as DOCX, XLSX, or PPTX.

Fields

public const int CurrentSchemaVersion #

Current fidelity-score schema version.

Value: 2