Skip to content

Improve required_variables derivation for required fields and stateful transforms. - #268

Merged
matthewwardrop merged 1 commit into
mainfrom
fix_required_variables_and_quoted_fields
Jun 2, 2026
Merged

matthewwardrop merged 1 commit into
mainfrom
fix_required_variables_and_quoted_fields

Conversation

@matthewwardrop

Copy link
Copy Markdown
Owner

Previously, formulae like "C(x!) + Q('y')" would work for model matrix generation, but fail for .required_variables introspection. This patch resolves these issues, and also the issues reported in #266.

closes: #266

@matthewwardrop
matthewwardrop force-pushed the fix_required_variables_and_quoted_fields branch from 740df93 to 228fa78 Compare June 2, 2026 18:14
@matthewwardrop
matthewwardrop force-pushed the fix_required_variables_and_quoted_fields branch from 228fa78 to bb70934 Compare June 2, 2026 18:18
@matthewwardrop
matthewwardrop merged commit 8579df0 into main Jun 2, 2026
6 checks passed
@matthewwardrop
matthewwardrop deleted the fix_required_variables_and_quoted_fields branch June 2, 2026 18:22
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.

ModelSpec.variables_by_source['data'] fails to capture variables wrapped in the quote operator Q()

1 participant