solver: reorder code so it's easier to instrument for debugging

This commit is contained in:
Gregory Becker 2022-12-13 13:28:15 -08:00
parent adfc1c0896
commit 401218b4f1

View File

@ -847,8 +847,6 @@ def on_model(model):
error_handler = ErrorHandler(best_model)
error_handler.raise_if_errors()
# build specs from spec attributes in the model
spec_attrs = [(name, tuple(rest)) for name, *rest in extract_args(best_model, "attr")]
answers = builder.build_specs(spec_attrs)
# add best spec to the results