baa053496a78bbb89279847277e49242f721af0e,rllib/tests/run_regression_tests.py,,,#,27
Before Change
if __name__ == "__main__":
// Bazel regression test mode: Get path to look for yaml files from argv[2].
if sys.argv[1] == "BAZEL":
// Get the path to use.
rllib_dir = Path(__file__).parent.parent
print("rllib dir={}".format(rllib_dir))
After Change
from ray.tune import run_experiments
from ray.rllib import _register_all
parser = argparse.ArgumentParser()
parser.add_argument(
"--torch",
action="store_true",
help="Runs all tests with PyTorch enabled.")
parser.add_argument(
"--yaml-dir",
type=str,
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
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: tzutalin/labelImg
Commit Name: b21b48e6400b113ec9b7255e9091f68ff281f212
Time: 2020-08-01
Author: laszlo.treszkai@abacus.ac
File Name: labelImg.py
Class Name:
Method Name: get_main_app
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: