43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
namespace StellaOps.Evidence.Bundle;
|
|
|
|
/// <summary>
|
|
/// Semantic diff summary.
|
|
/// </summary>
|
|
public sealed class BinarySemanticDiff
|
|
{
|
|
/// <summary>
|
|
/// Previous semantic fingerprint hash.
|
|
/// </summary>
|
|
public string? PreviousFingerprint { get; init; }
|
|
|
|
/// <summary>
|
|
/// Current semantic fingerprint hash.
|
|
/// </summary>
|
|
public string? CurrentFingerprint { get; init; }
|
|
|
|
/// <summary>
|
|
/// Overall semantic similarity (0.0-1.0).
|
|
/// </summary>
|
|
public double Similarity { get; init; }
|
|
|
|
/// <summary>
|
|
/// Number of semantically identical functions.
|
|
/// </summary>
|
|
public int IdenticalFunctions { get; init; }
|
|
|
|
/// <summary>
|
|
/// Number of semantically similar functions.
|
|
/// </summary>
|
|
public int SimilarFunctions { get; init; }
|
|
|
|
/// <summary>
|
|
/// Number of semantically different functions.
|
|
/// </summary>
|
|
public int DifferentFunctions { get; init; }
|
|
|
|
/// <summary>
|
|
/// IR normalization recipe version used.
|
|
/// </summary>
|
|
public string? NormalizationRecipe { get; init; }
|
|
}
|