Skip to content

Added test cases and a fix for Issue #409. #505

Merged
JarnoRFB merged 3 commits intoIDSIA:masterfrom
wecacuee:issue-409
Jul 10, 2019
Merged

Added test cases and a fix for Issue #409. #505
JarnoRFB merged 3 commits intoIDSIA:masterfrom
wecacuee:issue-409

Conversation

@wecacuee
Copy link
Contributor

@wecacuee wecacuee commented Jul 7, 2019

Issue #409 : Recursively fill in the result with preset after setting in the conf in ConfigDict.call

@coveralls
Copy link

coveralls commented Jul 7, 2019

Coverage Status

Coverage decreased (-0.03%) to 85.08% when pulling 59f0c5f on wecacuee:issue-409 into 5639ad6 on IDSIA:master.

@JarnoRFB JarnoRFB requested a review from Qwlouse July 9, 2019 11:25
@JarnoRFB
Copy link
Collaborator

JarnoRFB commented Jul 9, 2019

@wecacuee Great, thanks for your first sacred contribution! Could you add a test case with a real experiment object as described in #409. Your added test cases probably already cover that behavior, but I think it would be good to also document the correct behavior on the user facing API.



def test_add_config_dict_chain(ex):
# https://github.com/IDSIA/sacred/issues/409
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# https://github.com/IDSIA/sacred/issues/409

I think we do not have to refer to solved issues in the code as the test now clearly documents the intended behavior.

@JarnoRFB
Copy link
Collaborator

@wecacuee looks great. Please just delete the one comment and then we can merge.

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.

3 participants