fix: read attribute associations down their own column
Florian Weinert
06b14a4
The deviation matrix is asymmetric: cell (row=A, col=B) differs from
(row=B, col=A). The sparse map stored only the upper triangle and took the
cell whose row was the alphabetically later of the two names, so which of
the two values reached the graph depended on where the English label fell
in the alphabet.
On a 78-attribute client file this made 121 of 3003 pairs (4.0%) appear or
vanish by that accident, affecting 74 attributes, and mixed both readings
within a single attribute's edge list.
Store both directions keyed "source,target" and make getCorr directional;
the source attribute supplies the column. Both existing call sites already
passed the source first, so level 1 and level 2 needed no change.
Verified against the domain expert's expected top 5 for one attribute, in a
real browser with vis-network: exact match, no console errors.
docs: add github-security-posture per decode-ai-standards