Milky2018/svgdiff/engine/model does not have a README file
pub(all) struct AlignmentEvidence {
score_kind : String
selected_score : Double?
candidate_count : Int
equal_score_candidate_count : Int
ambiguity : String
confidence : Double?
confidence_status : String
}impl ToJson for AlignmentEvidencepub(all) struct AtomicDifference {
id : String
subject_role : String
subject_alignment_id : String?
domain : String
source_before : String
source_after : String
source_fact_before : DeclaredVisualFact?
source_fact_after : DeclaredVisualFact?
changed_fact_ids : Array[String]
evidence_layers : Array[String]
computed_relation : ComputedRelation
parameter_delta_css_px : Double?
presence_magnitude : PresenceMagnitude?
magnitude : DifferenceMagnitude
domain_ordering : DomainOrdering
}impl ToJson for AtomicDifferencepub(all) struct CanvasOutcome {
status : String
reason_code : String?
magnitude : RenderedMagnitude?
perceptual_flip : CanvasPerceptualFlipEvidence
} derive(ToJson)pub(all) struct CanvasPerceptualFlipEvidence {
status : String
reason_code : String?
method_id : String?
canvas_mean : Double?
} derive(ToJson)pub(all) struct ChangedFact {
id : String
subject_id : String
property : String
before : DeclaredVisualFact?
after : DeclaredVisualFact?
affected_subject_ids : Array[String]
}impl ToJson for ChangedFactpub(all) struct ComparisonProfile {
viewport_width : Int
viewport_height : Int
comparison_dpr : Double
color_interpretation : String
raster_representation : String
renderer_id : String
renderer_conformance_profile_id : String
perceptual_background : PerceptualBackground?
flip_viewing_conditions : FlipViewingConditions?
flip_error_threshold : FlipErrorThreshold?
}impl ToJson for ComparisonProfilepub(all) struct DeclaredVisualFact {
property : String
authored_value : String
declared_value : String
origin : String
source_span : ReportSourceSpan
} derive(ToJson)pub(all) struct Diagnostic {
id : String
code : String
subject_id : String
affected_evidence_layers : Array[String]
source_locations : Array[DiagnosticSourceLocation]
} derive(ToJson)pub(all) struct DiagnosticSourceLocation {
source_role : String
source_span : ReportSourceSpan
} derive(ToJson)pub(all) struct DifferenceMagnitude {
parameter_abs_user_units : Double?
parameter_signed_user_units : Double?
symmetric_relative : Double?
parameter_abs_css_px : Double?
parameter_viewport_fraction : Double?
parameter_entity_fraction : Double?
geometry_displacement_css_px : Double?
painted_boundary_displacement : PaintedBoundaryDisplacementMagnitude?
painted_coverage_difference : PaintedCoverageDifferenceMagnitude?
geometry_viewport_fraction : Double?
presence_painted_viewport_fraction : Double?
raster_changed_pixel_fraction : Double?
raster_rgba8_rmse : Double?
raster_linear_premultiplied_rgba_rmse : Double?
intrinsic_raster : IntrinsicRasterMagnitude?
transform_effect : TransformEffectMagnitude?
}impl ToJson for DifferenceMagnitudepub(all) struct DifferenceRegion {
id : String
source : String
pixel_x : Int
pixel_y : Int
pixel_width : Int
pixel_height : Int
css_x : Double
css_y : Double
css_width : Double
css_height : Double
changed_pixels : Int
viewport_fraction : Double
cause_envelope : CauseEnvelope
} derive(ToJson)fn FlipViewingConditions::from_pixels_per_degree(pixels_per_degree : Double) -> FlipViewingConditions?pub(all) struct ImpactAssessment {
policy_id : String
status : String
calibration_status : String
input_fields : Array[String]
candidate_event_count : Int
frontier_relation : String
frontier_groups : Array[ImpactFrontierGroup]
domination_witnesses : Array[ImpactDominationWitness]
} derive(Eq, ToJson)pub(all) struct ImpactFrontierGroup {
event_ids : Array[String]
atomic_difference_ids : Array[String]
measurements : ImpactMeasurement?
} derive(Eq)impl ToJson for ImpactFrontierGrouppub(all) struct IntrinsicRasterMagnitude {
before_width : Int
before_height : Int
after_width : Int
after_height : Int
compared_pixels : Int?
changed_pixels : Int?
changed_pixel_fraction : Double?
rgba8_rmse : Double?
linear_premultiplied_rgba_rmse : Double?
} derive(ToJson)pub(all) struct PerceptualColorEvidence {
status : String
reason_code : String?
magnitude : PerceptualColorMagnitude?
} derive(Eq, ToJson)pub(all) struct PerceptualFlipEvidence {
status : String
reason_code : String?
map : PerceptualFlipMap?
statistics : PerceptualFlipStatistics?
} derive(Eq, ToJson)pub(all) struct PerceptualFlipStatistics {
method_id : String
canvas_pixel_count : Int
event_region_sample_count : Int
response_sample_count : Int
canvas_mean : Double
event_region_mean : Double
response_p95 : Double
response_maximum : Double
area_above_threshold : PerceptualFlipAreaAboveThreshold?
} derive(Eq)impl ToJson for PerceptualFlipStatisticspub(all) struct PresenceMagnitude {
affected_entity_count : Int
bounds_area_css_px2 : Double
bounds_viewport_fraction : Double
painted_area_css_px2 : Double
painted_viewport_fraction : Double
} derive(ToJson)pub(all) struct RenderedEvidence {
status : String
reason_code : String?
magnitude : RenderedMagnitude?
perceptual_color : PerceptualColorEvidence
perceptual_flip : PerceptualFlipEvidence
} derive(ToJson)pub(all) struct RenderedMagnitude {
changed_pixels : Int
changed_pixel_fraction : Double
rgba8_rmse : Double
linear_premultiplied_rgba_rmse : Double
} derive(ToJson)pub(all) struct ResolvedVisualFact {
subject_id : String
property : String
resolved_value : String
resolution : String
declaration_owner_id : String?
declaration : DeclaredVisualFact?
inheritance_depth : Int
} derive(ToJson)pub(all) struct SourceResolutionPair {
subject_id : String
property : String
before : ResolvedVisualFact?
after : ResolvedVisualFact?
} derive(ToJson)pub(all) struct StructuredReport {
schema_version : String
analysis_status : String
canvas_outcome : CanvasOutcome
impact_assessment : ImpactAssessment
coverage_matrix : Array[FeatureCoverage]
renderer_capability_gaps : Array[RendererCapabilityGap]
profile : ComparisonProfile
subject_alignments : Array[SubjectAlignment]
changed_facts : Array[ChangedFact]
source_resolutions : Array[SourceResolutionPair]
atomic_differences : Array[AtomicDifference]
events : Array[VisualEvent]
diagnostics : Array[Diagnostic]
}impl ToJson for StructuredReportpub(all) struct SubjectAlignment {
id : String
subject_role : String
relation : String
before : Array[SubjectReference]
after : Array[SubjectReference]
basis : String
evidence : AlignmentEvidence
} derive(ToJson)pub(all) struct SubjectReference {
source_index : Int
kind : String
authored_id : String?
instance_context : SubjectInstanceContext?
}impl ToJson for SubjectReferencepub(all) enum TransformEffectMagnitude {
TranslationEffect(TransformTranslationMagnitude)
RotationEffect(TransformRotationMagnitude)
ScaleEffect(TransformScaleMagnitude)
SkewEffect(TransformSkewMagnitude)
ResidualMatrixEffect(TransformResidualMagnitude)
}impl ToJson for TransformEffectMagnitudepub(all) struct TransformRotationMagnitude {
before_degrees : Double
after_degrees : Double
signed_delta_degrees : Double
abs_delta_degrees : Double
} derive(ToJson)pub(all) struct TransformScaleMagnitude {
before_x : Double
before_y : Double
after_x : Double
after_y : Double
max_abs_delta : Double
} derive(ToJson)pub(all) struct TransformSkewMagnitude {
before_degrees : Double
after_degrees : Double
signed_delta_degrees : Double
abs_delta_degrees : Double
} derive(ToJson)pub(all) struct TransformTranslationMagnitude {
before_x_css_px : Double
before_y_css_px : Double
after_x_css_px : Double
after_y_css_px : Double
delta_x_css_px : Double
delta_y_css_px : Double
norm_css_px : Double
} derive(ToJson)pub(all) struct VisualEvent {
id : String
primary_subject_id : String
atomic_difference_ids : Array[String]
rendered_outcome : RenderedEvidence
difference_regions : Array[DifferenceRegion]
} derive(ToJson)Deterministic visual-semantic SVG comparison with typed reports for programs and text-only agents.
Dependencies