Follow-ups from the xpd opt-review ledger#5

opened18h agobyBBjørn Aagaard

Migrated from GitHub issue bjoernaagaard/xpd#48.

Large pymoo output

For get_problem('zdt1') with NSGA2(pop_size=40) over 30 generations, xpd opt-review fronts.py --adapter adapter.py --format json printed 236 KB. Almost all of it is the constraint-binding-hints fact, which holds one lower-bound and one upper-bound margin entry for every returned candidate and every variable (23 candidates times 30 variables times 2). Reproduce it with the D4 adapter. Consider summarizing the bound margins or limiting them.

Misleading adapter error

An adapter that prints a JSON payload holding NaN or 1e999 is rejected with adapter `cat nonfinite.json` exited with 0 and printed no JSON. The adapter did print JSON, and the error never says the value is non-finite. Reproduce it with a command adapter that prints the normalized payload with one value replaced by NaN.

Help line of xpd opt-review finish

The help line of xpd opt-review finish --help comes from the shared ledger. It says that finish exits 1 while a fix is open or a new finding has no reason, and it leaves out that finish also exits 1 while a checklist item is unanswered.