f0b41b2634f91e5090f46102a22b505a7bbcab83,sacred/config/config_scope.py,ConfigScope,__call__,#ConfigScope#Any#Any#Any#,30
Before Change
if arg not in available_entries:
raise KeyError(""%s" not in preset for ConfigScope. "
"Available options are: %s" %
(arg, available_entries) )
if arg in preset:
cfg_locals[arg] = preset[arg]
else: // arg in fallback
After Change
for arg in self.arg_spec.args:
if arg not in available_entries:
raise KeyError(""{}" not in preset for ConfigScope. "
"Available options are: {}"
.format(arg, available_entries))
if arg in preset:
cfg_locals[arg] = preset[arg]
else: // arg in fallback
fallback_view[arg] = fallback[arg]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: IDSIA/sacred
Commit Name: f0b41b2634f91e5090f46102a22b505a7bbcab83
Time: 2015-09-24
Author: qwlouse@gmail.com
File Name: sacred/config/config_scope.py
Class Name: ConfigScope
Method Name: __call__
Project Name: facebookresearch/ParlAI
Commit Name: 7415a04e39e0ba687f4cd468dede3e24315e5984
Time: 2020-11-08
Author: roller@fb.com
File Name: parlai/core/teachers.py
Class Name: StreamDialogData
Method Name: __init__
Project Name: dnouri/skorch
Commit Name: 8f50f1ec380766a9c197b0238c5ddb4ad2362ca4
Time: 2020-12-20
Author: b.bossan@gmail.com
File Name: skorch/history.py
Class Name: History
Method Name: __getitem__