Commit a0892c9
committed
fix(wasm): sort aliasTargets by confidence in pts fallback paths
The Phase 8.3 and Phase 8.3f pts alias loops iterated aliasTargets
without sorting first. The native engine's emit_pts_alias_edges calls
sort_targets_by_confidence before the alias loop (build_edges.rs:398),
ensuring the highest-confidence target wins the ptsEdgeRows dedup.
Apply the same descending-confidence sort to both TS pts fallback paths
to close this parity gap.1 parent 6cf61d8 commit a0892c9
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
1204 | | - | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
1205 | 1213 | | |
1206 | 1214 | | |
1207 | 1215 | | |
| |||
1237 | 1245 | | |
1238 | 1246 | | |
1239 | 1247 | | |
1240 | | - | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1241 | 1257 | | |
1242 | 1258 | | |
1243 | 1259 | | |
| |||
0 commit comments