d3d0c0256f545d8bf431b82b58f47a611aa3e8ae,run_experiment.py,,load_featureset,#Any#Any#Any#,146

Before Change


    // Check that the different feature files have the same IDs.
    // To do this, make a sorted tuple of unique IDs for each feature file,
    // and then make sure they are all the same by making sure the set is size 1.
    if len(set([tuple(sorted(set([ex["id"] for ex in examples])))
                for examples in example_lists])) != 1:
        raise ValueError("The sets of example IDs in two feature files do not \
                          match")

After Change


    // Check that the different feature files have the same IDs.
    // To do this, make a sorted tuple of unique IDs for each feature file,
    // and then make sure they are all the same by making sure the set is size 1.
    if len({tuple(sorted({ex["id"] for ex in examples}))
            for examples in example_list}) != 1:
        raise ValueError("The sets of example IDs in two feature files do not" +
                          "match")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: EducationalTestingService/skll
Commit Name: d3d0c0256f545d8bf431b82b58f47a611aa3e8ae
Time: 2013-07-02
Author: dblanchard@ets.org
File Name: run_experiment.py
Class Name:
Method Name: load_featureset


Project Name: comic/grand-challenge.org
Commit Name: 34fb7ae750095c01926f7af255da89ebf741cb61
Time: 2020-11-30
Author: HarmvZ@users.noreply.github.com
File Name: app/grandchallenge/algorithms/tasks.py
Class Name:
Method Name: send_failed_jobs_email


Project Name: soft-matter/trackpy
Commit Name: 45c774c388e79475e4537c859c6e59e6b7a39d2a
Time: 2021-02-13
Author: hugovk@users.noreply.github.com
File Name: trackpy/_version.py
Class Name:
Method Name: git_versions_from_keywords