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

Before Change


        // Get the path to use.
        rllib_dir = Path(__file__).parent.parent
        print("rllib dir={}".format(rllib_dir))
        yaml_files = rllib_dir.rglob(sys.argv[2] + "/*.yaml")
        yaml_files = sorted(
            map(lambda path: str(path.absolute()), yaml_files), reverse=True)
    // Normal mode: Get yaml files to run from command line.

After Change


    help="The directory in which to find all yamls to test.")

if __name__ == "__main__":
    args = parser.parse_args()

    // Bazel regression test mode: Get path to look for yaml files from argv[2].
    // Get the path or single file to use.
    rllib_dir = Path(__file__).parent.parent
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: catalyst-team/catalyst
Commit Name: 5bc784bd12f3c0d7019f1205d8430808c36f3dc3
Time: 2020-01-13
Author: 19803638+bagxi@users.noreply.github.com
File Name: catalyst/dl/scripts/init.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: a0d0c18fcde09f06be9ca1556052cf8064df4ac6
Time: 2019-06-09
Author: 1402434478@qq.com
File Name: examples/reinforcement_learning/tutorial_A3C.py
Class Name:
Method Name: