f5ba14575c9555b1d957f86d54f57050f129efdd,rl_coach/tests/utils/args_utils.py,,validate_arg_result,#Any#Any#Any#Any#Any#Any#,156

Before Change


        // check heat-up value
        results = []
        if csv["In Heatup"].values[-1] == 0:
            results.append(csv["Total steps"].values[-1])
        else:
            while csv["In Heatup"].values[-1] == 1:
                csv = pd.read_csv(csv_path[0])

After Change


            csv = pd.read_csv(csv_path[0])
            time.sleep(1)

        csv.columns = [column.replace(" ", "_") for column in csv.columns]
        results = csv.query("In_Heatup == 1")
        last_val_in_heatup = results.Total_steps.values[-1]
        assert int(last_val_in_heatup) >= Def.Consts.num_hs, \
            Def.Consts.ASSERT_MSG.format("bigger than " +
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NervanaSystems/coach
Commit Name: f5ba14575c9555b1d957f86d54f57050f129efdd
Time: 2019-05-28
Author: 46447582+anabwan@users.noreply.github.com
File Name: rl_coach/tests/utils/args_utils.py
Class Name:
Method Name: validate_arg_result


Project Name: AlexEMG/DeepLabCut
Commit Name: 96da2cacf837a9b84ecdeafb50dfb4a93b402f33
Time: 2021-01-06
Author: tr.biasi@gmail.com
File Name: deeplabcut/pose_estimation_tensorflow/train.py
Class Name:
Method Name: train


Project Name: evilsocket/pwnagotchi
Commit Name: 90b0e10e81a5a0e03753715ec1034278bdd5f600
Time: 2019-10-07
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/default/api.py
Class Name:
Method Name: parse_pcap