Skip to content

Conversation

@DE0CH
Copy link
Collaborator

@DE0CH DE0CH commented Dec 17, 2022

I accidentally pushed my own main branch to the dev branch of iracepy so the pull request #5 appears to be merged. I have deleted the dev branch now because it feels quite unnecessary. So I am reopening this PR to main.


cs = pcs.read(io.StringIO(pcss))

params = convert_from_config_space(cs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems much more complicated than calling https://mlopez-ibanez.github.io/irace/reference/read_pcs_file.html Why is necessary to do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ConfigSpace seems to have made a new format called pcs_new https://automl.github.io/ConfigSpace/main/api/serialization.html#module-ConfigSpace.read_and_write.pcs_new. This would allow it to read that too because ConfigSpace will handle the parsing. Also when parsing the conditions, ConfigSpace tries to do some complicated thing to join the conditions with and statement and check if they logically make sense.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this new format the one used by the experiments with the surrogates? Why do we need the new format?

@DE0CH
Copy link
Collaborator Author

DE0CH commented Dec 22, 2022 via email

@MLopez-Ibanez
Copy link
Contributor

Could you push this into a new branch in the iracepy repository? I would like to test an idea to simplify it.
(Also, why are the tests not running?)

@DE0CH
Copy link
Collaborator Author

DE0CH commented Jan 9, 2023

Yeah, it's in the branch interface-draft.

I cancelled the test because I know they were going to fail anyway because readParametersData is not yet merged. You can just use the workflow_dispatch to run it manually.

@MLopez-Ibanez
Copy link
Contributor

Yeah, it's in the branch interface-draft.

Thanks!

I cancelled the test because I know they were going to fail anyway because readParametersData is not yet merged. You can just use the workflow_dispatch to run it manually.

If you have a fork of irace, you could configure the branch to test against your fork. We would need to be careful to exclude those changes when merging or undo those changes just before merging.

@DE0CH
Copy link
Collaborator Author

DE0CH commented Jan 10, 2023

NP.

If you have a fork of irace, you could configure the branch to test against your fork. We would need to be careful to exclude those changes when merging or undo those changes just before merging.

Done. Before we merge, we can just add a commit to change the test back to be the same as main. Since we are squash merging, the history should be clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants