06999395c7898abd4bc9ac3bae57d3516f7bca92,tests/test_server.py,,test_stack_training,#Any#Any#Any#Any#Any#,253
Before Change
)
response = app.post("/jobs", json=training_namespace)
assert response.status_code == 200
assert response.get_json()["info"] == "new model trained"
assert os.path.exists(response.get_json()["model"])
After Change
assert response.status_code == 200
// save model to temporary file
tempdir = tempfile.mkdtemp()
model_path = os.path.join(tempdir, "model.tar.gz")
with open(model_path, "wb") as f:
f.write(response.get_data())
// unpack model and ensure fingerprint is present
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: RasaHQ/rasa
Commit Name: 06999395c7898abd4bc9ac3bae57d3516f7bca92
Time: 2019-03-14
Author: ric.wkr@gmail.com
File Name: tests/test_server.py
Class Name:
Method Name: test_stack_training
Project Name: hyperopt/hyperopt
Commit Name: ce64bd456f4658b2e407e15030d2015ea0190b29
Time: 2020-04-17
Author: liang.zhang@databricks.com
File Name: hyperopt/tests/test_spark.py
Class Name: FMinTestCase
Method Name: test_no_retry_for_long_tasks
Project Name: EpistasisLab/tpot
Commit Name: 2e21c14efc0f1e7cd344843e99c90c673292dbcd
Time: 2018-09-20
Author: weixuanf@pennmedicine.upenn.edu
File Name: tests/tpot_tests.py
Class Name:
Method Name: test_check_periodic_pipeline_3
Project Name: EpistasisLab/tpot
Commit Name: 49b73b8792d8a25b44c6a58bc1b214dcfc2f2c76
Time: 2019-04-11
Author: weixuanf@pennmedicine.upenn.edu
File Name: tests/tpot_tests.py
Class Name:
Method Name: test_memory_4