Various features for example pipeline #31

Merged
HEL merged 26 commits from feat/complete-example into main 2026-07-07 15:30:22 +00:00
Owner

This rather large PR regroups many small additions and fixes that were useful to demonstrate some strengths of the system and are generally interesting / useful

This includes, but is not limited to:

  • import statements now introduce variables in the environment, with unknown types
  • Column can now be used in type expression, e.g. Column[int]
  • copy, info and sort_values methods on frames
  • not operator and proper handling of unary operations in Midas and Python
  • properly check parameter default values (ensure type matches annotation)
  • correctly parse int literals as integers in Midas (previously, all numbers were parsed as floats)
  • handle UnknownType more gracefully in some places
  • handle scalar operations on frames and columns (e.g. df * 2.5 - 3.2)
  • use formulae to compute the return type of some aggregation methods (e.g. mean = (Type + Type) / int)
This rather large PR regroups many small additions and fixes that were useful to demonstrate some strengths of the system and are generally interesting / useful This includes, but is not limited to: - import statements now introduce variables in the environment, with unknown types - `Column` can now be used in type expression, e.g. `Column[int]` - `copy`, `info` and `sort_values` methods on frames - `not` operator and proper handling of unary operations in Midas and Python - properly check parameter default values (ensure type matches annotation) - correctly parse int literals as integers in Midas (previously, all numbers were parsed as floats) - handle `UnknownType` more gracefully in some places - handle scalar operations on frames and columns (e.g. `df * 2.5 - 3.2`) - use formulae to compute the return type of some aggregation methods (e.g. `mean = (Type + Type) / int`)
HEL self-assigned this 2026-07-07 15:30:12 +00:00
HEL added 26 commits 2026-07-07 15:30:12 +00:00
import statements now introduce variables with unknown types to avoid "Unknown variable" warnings
avoid casting to float when the literal is an integer
HEL merged commit e855a09a6b into main 2026-07-07 15:30:22 +00:00
HEL deleted branch feat/complete-example 2026-07-07 15:30:22 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#31