forked from ave-dcd/dcd_mapping
-
Notifications
You must be signed in to change notification settings - Fork 0
Surface alignment visualization on suspect mappings #91
Copy link
Copy link
Open
Labels
app: backendTask implementation touches the backendTask implementation touches the backendapp: databaseTask implementation requires database changesTask implementation requires database changesapp: mapperTask implementation touches the mapperTask implementation touches the mappertype: enhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
app: backendTask implementation touches the backendTask implementation touches the backendapp: databaseTask implementation requires database changesTask implementation requires database changesapp: mapperTask implementation touches the mapperTask implementation touches the mappertype: enhancementNew feature or requestNew feature or request
When a mapping carries any warning flag — mismatch, gap proximity, reference discrepancy, or ambiguity — emit the pairwise alignment in log output so users can see what the aligner saw and what it decided. At minimum this means human-readable log output (target row, reference row, match line) when a flag is present. Longer term, expose via API for flagged mappings. The alignment string should already be stored on the mapping table (#86), so this is primarily about surfacing it at the right moment.
In our KSR1 example, this looks something like
Proposed alignment
Actual alignment