Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic compute plan #21

Merged
merged 12 commits into from Dec 5, 2019
Merged

Generic compute plan #21

merged 12 commits into from Dec 5, 2019

Conversation

jmorel
Copy link
Contributor

@jmorel jmorel commented Nov 28, 2019

Add 2 tests for generic compute plans:

  • make sure circular dependencies are handled correctly
  • duplicate the test_aggregate_composite_traintuples in a compute plan

This required to update factory.py quite a bit.

@jmorel jmorel changed the base branch from master to feature/generic-composite November 28, 2019 14:46
@jmorel jmorel marked this pull request as ready for review November 29, 2019 07:47

# TODO make sur the creation is rejected
cp = session.add_compute_plan(cp_spec)
assert False
Copy link
Member

Choose a reason for hiding this comment

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

missing EOF

@inalgnu inalgnu changed the base branch from feature/generic-composite to master December 2, 2019 13:07
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Show resolved Hide resolved
substratest/factory.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/factory.py Outdated Show resolved Hide resolved
tests/test_execution_compute_plan.py Outdated Show resolved Hide resolved
tests/test_execution_compute_plan.py Outdated Show resolved Hide resolved
substratest/assets.py Show resolved Hide resolved
Copy link
Contributor

@samlesu samlesu left a comment

Choose a reason for hiding this comment

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

LGTM

substratest/factory.py Outdated Show resolved Hide resolved
substratest/factory.py Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
substratest/assets.py Outdated Show resolved Hide resolved
@inalgnu inalgnu requested a review from samlesu December 5, 2019 09:44
@inalgnu inalgnu merged commit e5b069c into master Dec 5, 2019
@inalgnu inalgnu deleted the generic-compute-plan branch December 5, 2019 09:52
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.

None yet

4 participants