21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc,parlai/scripts/data_stats.py,,verify,#Any#Any#Any#,73

Before Change



    try:
        // print dataset size if available
        print(
            "[ loaded {} episodes with a total of {} examples ]".format(
                world.num_episodes(), world.num_examples()
            )
        )
    except Exception:
        pass
    return report(world, counts, log_time)

After Change



    try:
        // print dataset size if available
        logging.info(
            f"loaded {world.num_episodes()} episodes with a total "
            f"of {world.num_examples()} examples"
        )
    except Exception:
        pass
    return report(world, counts, log_time)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: parlai/scripts/data_stats.py
Class Name:
Method Name: verify


Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: parlai/scripts/display_data.py
Class Name:
Method Name: display_data


Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: parlai/scripts/verify_data.py
Class Name:
Method Name: verify


Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: parlai/scripts/data_stats.py
Class Name:
Method Name: verify