Skip to content

🐛 Fixed I/O cell handling in assign_cell_type#747

Merged
wlambooy merged 12 commits into
cda-tum:mainfrom
Drewniok:fix_assign_cell_type
Jun 10, 2025
Merged

🐛 Fixed I/O cell handling in assign_cell_type#747
wlambooy merged 12 commits into
cda-tum:mainfrom
Drewniok:fix_assign_cell_type

Conversation

@Drewniok

@Drewniok Drewniok commented May 22, 2025

Copy link
Copy Markdown
Collaborator

Description

This PR addresses a bug in the assign_cell_type function. Previously, when assigning a new cell type to an input or output cell, the corresponding updates to the inputs and outputs were not correctly applied. This issue has now been resolved, ensuring that inputs and outputs are properly updated when a cell type is reassigned.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have added a changelog entry.
  • I have created/adjusted the Python bindings for any new or updated functionality.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

@Drewniok Drewniok self-assigned this May 22, 2025
@Drewniok Drewniok added the bug Something isn't working label May 22, 2025
@Drewniok Drewniok changed the title 🐛 Fixed input/output cell handling in cell-level layout. 🐛 Fixed I/O cell handling in assign_cell_type. May 22, 2025
@Drewniok Drewniok changed the title 🐛 Fixed I/O cell handling in assign_cell_type. 🐛 Fixed I/O cell handling in assign_cell_type May 22, 2025
@Drewniok Drewniok requested review from marcelwa and wlambooy May 22, 2025 13:08
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@codecov

codecov Bot commented May 22, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.29730% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 98.20%. Comparing base (50e81f5) to head (32c18b1).
⚠️ Report is 59 commits behind head on main.

Files with missing lines Patch % Lines
...n/algorithms/physical_design/design_sidb_gates.hpp 90.90% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #747      +/-   ##
==========================================
- Coverage   98.21%   98.20%   -0.01%     
==========================================
  Files         255      255              
  Lines       42897    42918      +21     
  Branches     2014     2015       +1     
==========================================
+ Hits        42130    42149      +19     
- Misses        767      769       +2     
Files with missing lines Coverage Δ
include/fiction/layouts/cell_level_layout.hpp 100.00% <100.00%> (ø)
...tion/technology/is_sidb_gate_design_impossible.hpp 100.00% <100.00%> (ø)
...t/algorithms/physical_design/design_sidb_gates.cpp 100.00% <100.00%> (ø)
test/layouts/cell_level_layout.cpp 100.00% <100.00%> (ø)
...n/algorithms/physical_design/design_sidb_gates.hpp 97.10% <90.90%> (-0.79%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1e494d...32c18b1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Drewniok Drewniok removed request for marcelwa and wlambooy May 22, 2025 15:34
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Drewniok Drewniok requested a review from marcelwa May 23, 2025 08:16
@marcelwa

Copy link
Copy Markdown
Collaborator

@Drewniok could you make sure that the tests hit 95% of added lines? Then, I will have a look.

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Comment thread include/fiction/algorithms/physical_design/design_sidb_gates.hpp
Comment thread include/fiction/algorithms/physical_design/design_sidb_gates.hpp
Comment thread include/fiction/algorithms/physical_design/design_sidb_gates.hpp
Comment thread include/fiction/algorithms/physical_design/design_sidb_gates.hpp Outdated
Comment thread include/fiction/layouts/cell_level_layout.hpp Outdated
@wlambooy

Copy link
Copy Markdown
Collaborator

Hi Jan, thanks a lot for the continued development here! I added some quite detailed comments of concerns that arose while looking into it, I'm looking forward to hear if you agree! Let's strive for simplicity and longevity in fiction! 💪

@Drewniok

Drewniok commented May 27, 2025

Copy link
Copy Markdown
Collaborator Author

Hi Jan, thanks a lot for the continued development here! I added some quite detailed comments of concerns that arose while looking into it, I'm looking forward to hear if you agree! Let's strive for simplicity and longevity in fiction! 💪

Many thanks, @wlambooy! I will address your comments asap!

Drewniok and others added 2 commits May 28, 2025 13:45
Signed-off-by: GitHub Actions <actions@github.com>
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Drewniok added 2 commits June 7, 2025 18:10
# Conflicts:
#	include/fiction/technology/is_sidb_gate_design_impossible.hpp
@github-actions

github-actions Bot commented Jun 7, 2025

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions

github-actions Bot commented Jun 8, 2025

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Drewniok

Copy link
Copy Markdown
Collaborator Author

I would be happy to hear your feedback on this PR, @marcelwa. Many thanks! 🙏

@marcelwa marcelwa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you @Drewniok for the fix and @wlambooy for the initial review. In my opinion, you did a great job, as I don't spot anything to comment on.

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@wlambooy wlambooy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for looking into my comments, I see nothing further to comment on. Thanks a lot!

@wlambooy wlambooy merged commit dcd1f96 into cda-tum:main Jun 10, 2025
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants