Skip to content

Baseline delta report task - #215

Merged
HassanAkbar merged 2 commits into
mainfrom
lane/81-06-baseline-delta-report-task
Nov 17, 2026
Merged

HassanAkbar merged 2 commits into
mainfrom
lane/81-06-baseline-delta-report-task

Conversation

@HassanAkbar

Copy link
Copy Markdown
Member

Baseline delta report task

Part of #54: EA parity: generated SVGs must be fully identical to EA's own SVG export (fonts, connectors, geometry)

Problem

The issue's first step asks for a baseline delta report; svg:bench prints only element counts.

Fix

  • Add rake svg:parity_report[source,ref_dir] that prints per-diagram Differ deltas (texts, fonts, geometry, connector endpoints) using Suite failures
  • Write a machine-readable YAML of the per-diagram delta counts to a given path, for use as the gate baseline

Done when

  • running the task against a temp ref dir in a spec (or a spec of the report formatter) produces the YAML with per-diagram counts
  • svg:bench output unchanged

check.rb:
Warning! PATH is not properly set up, /Users/umerhassan/.rvm/gems/ruby-3.4.8/bin is not at first place.
Usually this is caused by shell initialization files. Search for PATH=... entries.
You can also re-add RVM to your profile by running: rvm get stable --auto-dotfiles
To fix it temporarily in this shell session run: rvm use ruby-3.4.8
To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.
specs: PASS 10 examples, 0 pending (1 files, 1s)
rubocop: PASS (3 files)

@HassanAkbar
HassanAkbar merged commit dae82ae into main Nov 17, 2026
21 of 22 checks passed
@HassanAkbar
HassanAkbar deleted the lane/81-06-baseline-delta-report-task branch November 17, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant