Skip to content

Conversation

@hmgaudecker
Copy link
Collaborator

It agentic day and I had Cursor take a stab at #869.

@timmens, could you please double-check, also what Marvin writes over there? I was a little surprised that in-place operations worked for him, maybe they only fail in corner cases? Anyhow, they are almost always bad practice and I wouldn't mind prohibiting them if there is an epsilon chance for failure.

With the additional checks, some tests fail. However, I believe they are misguided in the first place in that they contain reduction operations. So they would not make sense with scalar input, which is the case we have in mind for the vectorisation?

@hmgaudecker hmgaudecker requested a review from timmens July 22, 2025 14:30
@hmgaudecker hmgaudecker changed the title Cursor's attempt with minimal guidance. Raise more errors during vectorization Jul 23, 2025
@timmens timmens mentioned this pull request Jul 23, 2025
2 tasks
@hmgaudecker hmgaudecker linked an issue Jul 23, 2025 that may be closed by this pull request
2 tasks
@hmgaudecker hmgaudecker added this to the v1.0 milestone Jul 23, 2025
@hmgaudecker hmgaudecker added the ttsim Needs TTSIM-infrastructure/capabilities (exclusively or in addition to a taxes / transfers feature) label Jul 23, 2025
@hmgaudecker hmgaudecker merged commit 3437b12 into collect-components-of-namespaces Jul 23, 2025
15 checks passed
@hmgaudecker hmgaudecker deleted the raise-vectorization-errors branch July 23, 2025 09:37
@codecov
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

❌ Patch coverage is 78.48101% with 17 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
tests/ttsim/tt_dag_elements/test_vectorization.py 76.38% 17 Missing ⚠️

📢 Thoughts on this report? Let us know!

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

Labels

ttsim Needs TTSIM-infrastructure/capabilities (exclusively or in addition to a taxes / transfers feature)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: Improve vectorization errors

2 participants