Looks fine to me, but it looks like you are testing the individual configs in addition to the portfolio, not instead of (at least I didn't see any removed test). This is fine with me, as I think it makes sense to also test if the portfolio execution mechanism works.
Two small things to potentially worry about:
1) Are the hard-coded replacements the settings we want to test? For example, it might make sense to test with the original cost function instead.
("H_COST_TRANSFORM", "adapt_costs(one)"),
("S_COST_TYPE", "one"),
("BOUND", "infinity"),
2) I don't know if any of our portfolios is in this situation, but if a portfolio has a configuration with a long-running precomputation as a later (fall-back) component, this might not have been run by the tests so far (because an earlier component solved the task) and now could make the new tests very slow. I guess we'll notice this in the Github actions.
|