Commit cef9f44
committed
fix(locate): determinism layer 9 — sort entity-BFS relations before the frontier-limit prefix cut
get_all_relations_for_entity returns adjacency-iteration order (per-process
random via hashbrown), so &rels[..frontier_limit] kept a different relation
subset each process: different BFS reachability (136 vs 142 multihop files on
c5d5fa00), score drift at 1e-4..7e-3, and adaptive-cap set flips between
three attractor states. Every other raw signal byte-identical across reps.
Sort = the artifact-branch comparator (kind priority, origin priority, id).1 parent 286b6c4 commit cef9f44
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6532 | 6532 | | |
6533 | 6533 | | |
6534 | 6534 | | |
6535 | | - | |
| 6535 | + | |
| 6536 | + | |
| 6537 | + | |
| 6538 | + | |
| 6539 | + | |
| 6540 | + | |
| 6541 | + | |
| 6542 | + | |
| 6543 | + | |
| 6544 | + | |
| 6545 | + | |
| 6546 | + | |
| 6547 | + | |
| 6548 | + | |
| 6549 | + | |
6536 | 6550 | | |
6537 | 6551 | | |
6538 | 6552 | | |
| |||
0 commit comments