baa053496a78bbb89279847277e49242f721af0e,rllib/tests/run_regression_tests.py,,,#,27

Before Change


            map(lambda path: str(path.absolute()), yaml_files), reverse=True)
    // Normal mode: Get yaml files to run from command line.
    else:
        yaml_files = sys.argv[1:]

    print("Will run the following regression files:")
    for yaml_file in yaml_files:
        print("->", yaml_file)

After Change


    rllib_dir = Path(__file__).parent.parent
    print("rllib dir={}".format(rllib_dir))

    if not os.path.isdir(os.path.join(rllib_dir, args.yaml_dir)):
        raise ValueError("yaml-dir ({}) not found!".format(args.yaml_dir))

    yaml_files = rllib_dir.rglob(args.yaml_dir + "/*.yaml")
    yaml_files = sorted(
        map(lambda path: str(path.absolute()), yaml_files), reverse=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: ray-project/ray
Commit Name: baa053496a78bbb89279847277e49242f721af0e
Time: 2020-05-26
Author: sven@anyscale.io
File Name: rllib/tests/run_regression_tests.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: baa053496a78bbb89279847277e49242f721af0e
Time: 2020-05-26
Author: sven@anyscale.io
File Name: rllib/tests/run_regression_tests.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: e831e35850a47f96b93e3f131d100a6bf90d19a4
Time: 2015-05-03
Author: leycec@gmail.com
File Name: PyInstaller/loader/rthooks/pyi_rth_Tkinter.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 3ec8fed41a0d08b195456f6978fdb0dcdcfc55a8
Time: 2015-05-02
Author: leycec@gmail.com
File Name: PyInstaller/loader/rthooks/pyi_rth__tkinter.py
Class Name:
Method Name: