2728afcd57721b34f95ba575507a3db6c86c1f4c,tests/test_model_remote.py,,,#,151
Before Change
if __name__ == "__main__":
try:
file_path = os.path.dirname(os.path.realpath(__file__))
cpp_model = subprocess.Popen([os.path.join(file_path, "cpproblight/test_gum_marsaglia"), "tcp://*:5555"], preexec_fn=os.setsid)
cpp_model_with_replacement = subprocess.Popen([os.path.join(file_path, "cpproblight/test_gum_marsaglia_replacement"), "tcp://*:5556"], preexec_fn=os.setsid)
unittest.main(verbosity=2)
except KeyboardInterrupt:
After Change
docker_client.images.pull("probprog/cpproblight")
print("Docker image pulled.")
docker_client.containers.run("probprog/cpproblight", "/code/cpproblight/build/cpproblight/test_gum_marsaglia tcp://*:5555", network="host", detach=True)
GaussianWithUnknownMeanMarsagliaCPP = ModelRemote("tcp://127.0.0.1:5555")
docker_client.containers.run("probprog/cpproblight", "/code/cpproblight/build/cpproblight/test_gum_marsaglia_replacement tcp://*:5556", network="host", detach=True)
GaussianWithUnknownMeanMarsagliaWithReplacementCPP = ModelRemote("tcp://127.0.0.1:5556")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pyprob/pyprob
Commit Name: 2728afcd57721b34f95ba575507a3db6c86c1f4c
Time: 2018-02-21
Author: atilimgunes.baydin@gmail.com
File Name: tests/test_model_remote.py
Class Name:
Method Name:
Project Name: pyprob/pyprob
Commit Name: 2728afcd57721b34f95ba575507a3db6c86c1f4c
Time: 2018-02-21
Author: atilimgunes.baydin@gmail.com
File Name: tests/test_model_remote.py
Class Name:
Method Name:
Project Name: scipy/scipy
Commit Name: 566bb6fa0b6152916c04667b9cff67648555896e
Time: 2006-07-07
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_classification.py
Class Name:
Method Name:
Project Name: scipy/scipy
Commit Name: 566bb6fa0b6152916c04667b9cff67648555896e
Time: 2006-07-07
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_libsvm.py
Class Name:
Method Name: