c0d619b0973596e15d4485adb2b213dbe32fe781,dit/helpers.py,,reorder_cp,#Any#Any#Any#Any#Any#Any#,259
Before Change
L = len(bad)
if L == 1:
raise InvalidOutcome(bad, single=True)
elif L:
raise InvalidOutcome(bad, single=False)
else:
outcomes = outcomes_
elif method == "analytic":
After Change
// We lost an outcome.
bad = set(outcomes) - set(outcomes_)
L = len(bad)
if L > 0:
raise InvalidOutcome(bad, single=(L==1))
else:
outcomes = outcomes_
elif method == "analytic":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: dit/dit
Commit Name: c0d619b0973596e15d4485adb2b213dbe32fe781
Time: 2013-10-20
Author: ryangregoryjames@gmail.com
File Name: dit/helpers.py
Class Name:
Method Name: reorder_cp
Project Name: dit/dit
Commit Name: c0d619b0973596e15d4485adb2b213dbe32fe781
Time: 2013-10-20
Author: ryangregoryjames@gmail.com
File Name: dit/validate.py
Class Name:
Method Name: validate_outcomes
Project Name: dit/dit
Commit Name: 3181b06a66ee5a2185f637e4072cc8e24d0801ec
Time: 2015-03-05
Author: chebee7i@gmail.com
File Name: dit/validate.py
Class Name:
Method Name: validate_outcomes