82ec90e3e78b11daf3687c3a8b378475bbe39fbd,pytext/config/test/pytext_all_config_test.py,LoadAllConfigTest,test_load_all_configs,#LoadAllConfigTest#,41

Before Change


        exclude_json_dir = {*[get_absolute_path(p) for p in EXCLUDE_DIRS]}
        for filename in glob.iglob("./**/*.json", recursive=True):
            filepath = get_absolute_path(filename)
            if any(filepath.endswith(suffix) for suffix in exclude_json_path):
                continue
            if any(filepath.startswith(prefix) for prefix in exclude_json_dir):
                continue

After Change


            break the config API.
        
        for filename in glob.iglob("pytext/**/*.json", recursive=True):
            if any(f in filename for f in EXCLUDE_JSON):
                continue
            if any(d in filename for d in EXCLUDE_DIRS):
                continue
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: facebookresearch/pytext
Commit Name: 82ec90e3e78b11daf3687c3a8b378475bbe39fbd
Time: 2020-08-24
Author: stevenliu@fb.com
File Name: pytext/config/test/pytext_all_config_test.py
Class Name: LoadAllConfigTest
Method Name: test_load_all_configs


Project Name: deepfakes/faceswap
Commit Name: fe664e274814a75b56c2f8aeabcb1a51d8f5d4f0
Time: 2020-10-09
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/train.py
Class Name: Train
Method Name: _set_timelapse


Project Name: RasaHQ/rasa
Commit Name: ea9ff980bdf1e65abd274ecbe321947d7a2ba049
Time: 2020-09-30
Author: t.wochinger@rasa.com
File Name: rasa/cli/data.py
Class Name:
Method Name: _get_configuration