Skip to content

(closes #2951) Consider dependencies in ArrayAssignment2LoopTrans#3296

Open
sergisiso wants to merge 33 commits intomasterfrom
2951_improve_arrayassignment2loop
Open

(closes #2951) Consider dependencies in ArrayAssignment2LoopTrans#3296
sergisiso wants to merge 33 commits intomasterfrom
2951_improve_arrayassignment2loop

Conversation

@sergisiso
Copy link
Collaborator

@sergisiso sergisiso commented Jan 22, 2026

No description provided.

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.95%. Comparing base (c43bf3b) to head (e72ab2e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3296   +/-   ##
=======================================
  Coverage   99.95%   99.95%           
=======================================
  Files         382      382           
  Lines       54077    54094   +17     
=======================================
+ Hits        54055    54072   +17     
  Misses         22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@sergisiso
Copy link
Collaborator Author

@arporter @LonelyCat124 This is ready for a first review. In addition to preventing ArrayAssingment2Loop to be tripped by possible dependencies, it also adds kwargs to the transformation, takes advantage of the new Reference2ArrayRange behaviour for the validation, enables some valid range nesting, and fixes and issue in get_effective_shape.

Copy link
Member

@arporter arporter left a comment

Choose a reason for hiding this comment

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

Nice Sergi, it's a good improvement. Just a little bit of tidying required and I have a question about why the SIR-related changes have happened.

@sergisiso
Copy link
Collaborator Author

@arporter this is ready for another review. I triggered the ITs.

Copy link
Member

@arporter arporter left a comment

Choose a reason for hiding this comment

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

Almost there. There are a couple of bits I still don't fully understand. There's also the pesky SIR example - it would be worth checking what happens with that on master.
If it's a real problem we could just remove the part that attempts to generate SIR for the tracer-advection benchmark code.

@sergisiso
Copy link
Collaborator Author

@arporter This is ready for another review, I reverted and ignored the SIR problem as suggested

Copy link
Member

@arporter arporter left a comment

Choose a reason for hiding this comment

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

All looks good now, thanks Sergi. Just to be on the safe side I've set the ITs going again.
Once they're done, I'll proceed to merge.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants