tools/battery: -A where XDS kept Friedel mates apart

On the XDS-referenced arms rugnux merges Friedel mates separately whenever
XDS ran with FRIEDEL'S_LAW=FALSE, in forced and unforced mode alike, so the
merging statistics compare like with like.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
leonarski_fandClaude Opus 5 committed 2026-09-20 18:45:03 +02:00
1 parent adecb8557c
commit 162aaafef7
2 files changed
+6

No files matched your search

+2
View File
@@ -245,6 +245,8 @@ reproduces A was really changed by B.
processing better than XDS's, reflection for reflection". `--unforced` leaves rugnux its own
cut, which answers "what does a user get". A change can win one and lose the other, so at
important moments run both. Never quote the forced run as what rugnux delivers.
Where XDS merged with `FRIEDEL'S_LAW=FALSE` (`"anomalous": true` in the manifest), rugnux gets
`-A` in both modes, so Friedel mates are merged separately on both sides.
### The XDS reference d_min
+4
View File
@@ -167,6 +167,10 @@ def command(binary, e, opts):
cmd += ["--scaling-high-resolution", f"{ref['dmin']:.3f}"]
if ref.get("dmax"):
cmd += ["--scaling-low-resolution", f"{ref['dmax']:.3f}"]
# XDS merged with FRIEDEL'S_LAW=FALSE: merge Friedel mates separately too, or the merging
# statistics are not comparable
if e.get("reference") == "xds" and ref.get("anomalous"):
cmd.append("-A")
cmd += opts["extra_args"]
cmd.append(e["input_path"])
if opts["gpulock"]: