075ec69e5ab68ac3a547135adfb35407e575533c,recorder/Recorder.py,Recorder,create_artifacts_inventory,#Any#Any#Any#Any#Any#,161

Before Change


        filename = os.path.join(c.RESULTS_DIR, "artifact-inventory.json")
        anon = anonymize_user_home
        with open(filename, "w") as out_file:
            hdf5_observations: list = glob.glob(hdf5_dir + "/*.hdf5")
            data = {"artifacts": {
                "mp4": anon(mp4_file),
                "gist": anon(gist_url),
                "performance_summary": anon(summary_file),

After Change


        latest_artifacts_filename = p.join(c.RESULTS_BASE_DIR,
                                           "latest-artifacts.json")
        shutil.copy2(filename, latest_artifacts_filename)
        print("\n****\nARTIFACTS INVENTORY COPIED TO: "%s"" +
              anon(latest_artifacts_filename))

        // TODO: Upload to YouTube on pull request
        // TODO: Save a description file with the episode score summary,
        //  gist link, and s3 link
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepdrive/deepdrive
Commit Name: 075ec69e5ab68ac3a547135adfb35407e575533c
Time: 2019-04-23
Author: cquiter@gmail.com
File Name: recorder/Recorder.py
Class Name: Recorder
Method Name: create_artifacts_inventory


Project Name: analysiscenter/batchflow
Commit Name: 05cddc81531e62b41f328a69d292b723aa8df6df
Time: 2019-08-05
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/tests/notebooks_test.py
Class Name:
Method Name:


Project Name: ellisdg/3DUnetCNN
Commit Name: c96d9aeb4fc63187528325c297633d3d37c9c244
Time: 2017-02-14
Author: david.ellis@unmc.edu
File Name: UnetTraining.py
Class Name:
Method Name: train_model