Commit eefce79
reconcile: identical column names are one column set when the row counts differ
Spec: ACE-128
Sandeep: "Identical column names read as a column difference. Both sides return exactly ['department',
'pending_items'], yet columns grades defect. Because the row counts differ (13 vs 759), value-based
pairing fails, and the new 'compare by values, never by name' rule then reports identical names as
different columns." Two vectors of different length are never equal, so with differing counts every
column read unpaired: a fact about the counts, not the columns. The comparator now reports no pairs
and no extras when the counts differ, and the items verb compares columns by data only when a values
comparison ran (same counts, and a pairing or an unmatched golden column); otherwise it falls back to
names, so identical names are one column set and the rows check alone carries the difference.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 60c0596 commit eefce79
4 files changed
Lines changed: 35 additions & 3 deletions
File tree
- packages/agami-core/src/semantic_model
- plugins/agami/scripts
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
645 | 650 | | |
646 | 651 | | |
647 | 652 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | | - | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1717 | 1719 | | |
1718 | 1720 | | |
1719 | | - | |
| 1721 | + | |
1720 | 1722 | | |
1721 | 1723 | | |
1722 | | - | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1723 | 1727 | | |
1724 | 1728 | | |
1725 | 1729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
0 commit comments