-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Added temperature-aware operational domain simulation. #646
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: GitHub Actions <actions@github.com>
Signed-off-by: GitHub Actions <actions@github.com>
…erational domain.
Signed-off-by: GitHub Actions <actions@github.com>
Signed-off-by: GitHub Actions <actions@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
bindings/mnt/pyfiction/include/pyfiction/inout/write_operational_domain.hpp
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/inout/write_operational_domain.hpp
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/inout/write_operational_domain.hpp
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/inout/write_operational_domain.hpp
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/inout/write_operational_domain.hpp
Show resolved
Hide resolved
@@ -173,3 +200,148 @@ | |||
} | |||
} | |||
} | |||
|
|||
TEST_CASE("Write operational domain with floating-point parameter and temperature values", "[write-operational-domain]") |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning test
Signed-off-by: GitHub Actions <actions@github.com>
Signed-off-by: GitHub Actions <actions@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
# Conflicts: # experiments/equivalence_checking_exact_simulation/equivalence_checking_exact_simulation.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the restructuring. I think it's already so much cleaner. I spotted some locations where I'd like to offer feedback to hopefully improve upon it even further. Hopefully, this is helpful to you.
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/sidb_simulation_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: GitHub Actions <actions@github.com>
…nto add_fom_to_operational_domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for addressing my comments so swiftly. The code is a lot cleaner already. Well done! I think, after another iteration, we should be ready to merge 🙂
include/fiction/algorithms/simulation/sidb/sidb_simulation_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/sidb_simulation_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/sidb_simulation_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/operational_domain.hpp
Show resolved
Hide resolved
bindings/mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
@@ -37,21 +37,20 @@ inline void physically_valid_parameters(pybind11::module& m) | |||
{ | |||
namespace py = pybind11; | |||
|
|||
py::class_<fiction::operational_domain<fiction::parameter_point, uint64_t>>(m, "physically_valid_parameters_domain") | |||
py::class_<fiction::sidb_simulation_domain<fiction::parameter_point, uint64_t>>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing docstrings for the class and member functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that the docstring is not generated. Do you have an idea why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not. I have observed this behavior a few times myself as well. It's really mysterious to me 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, can we merge it anyway?
Thank you so much for your quick and extensive support! |
Signed-off-by: GitHub Actions <actions@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
Description
This PR expands the operational domain simulation to include temperature. It is now possible to simulate temperature at each parameter point, creating a temperature-aware operational domain.
Checklist: