Support the use case where the user wants to include assert
s in the slice.
#449
Labels
enhancement
New feature or request
large
takes longer than 1HD
question
Further information is requested
What:
We need to include support
assert
statements in slices. This is a "cheap" way to add sanity checks to the "productionalized" pipelinesWhy:
Just seen this cell in one of my PR reviews:
The output is "True" on the test sample, but this does not help, as a) it will be omitted in the extracted DAG and b) without
assert
it does not stop execution or raise alerts on the upcoming data ...Possible Approaches:
Ideal scenario: Linea catches cells or print statements that produce boolean output and converts them to try/catch blocks (better code practice than asserts)
Middle scenario: Linea adds "assert" in such cases
MVP: Users write assert themself, but linea includes them in output
The text was updated successfully, but these errors were encountered: