Skip to content

Conversation

janosg
Copy link
Member

@janosg janosg commented Mar 8, 2022

No description provided.

@codecov
Copy link

codecov bot commented Mar 8, 2022

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@janosg janosg requested a review from tobiasraabe March 8, 2022 15:41
Copy link
Member

@tobiasraabe tobiasraabe left a comment

Choose a reason for hiding this comment

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

This is fantastic 🎉!

return concatenated


def aggregate_functions(functions, targets, aggregator=lambda a, b: a and b):
Copy link
Member

Choose a reason for hiding this comment

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

What is the use-case for this function?

Copy link
Member Author

Choose a reason for hiding this comment

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

In lcm we have multiple and possibly interdependent constraint functions. This function is used to create a dag function that checks that all constraints are fulfilled. In the current implementation it could be replaced by a decorator that is not aware of the dag but we might need a deeper integration with the dag for better performance.

@janosg janosg merged commit a701ba0 into main Mar 9, 2022
@janosg janosg deleted the initial-version branch March 9, 2022 16:49
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.

2 participants