0659520f8c25f06e04f78369a5ba9e85f6e823f5,gym/envs/algorithmic/algorithmic_env.py,AlgorithmicEnv,render,#AlgorithmicEnv#Any#,114

Before Change


            outfile.write("                              prediction: %s)\n" % pred_str)
        else:
            outfile.write("\n" * 5)
        return outfile

    @property
    def input_width(self):
        return len(self.input_data)

After Change


            outfile.write("\n" * 5)

        if mode != "human":
            with closing(outfile):
                return outfile.getvalue()

    @property
    def input_width(self):
        return len(self.input_data)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: openai/gym
Commit Name: 0659520f8c25f06e04f78369a5ba9e85f6e823f5
Time: 2019-02-08
Author: bmwant@gmail.com
File Name: gym/envs/algorithmic/algorithmic_env.py
Class Name: AlgorithmicEnv
Method Name: render


Project Name: openai/gym
Commit Name: 0659520f8c25f06e04f78369a5ba9e85f6e823f5
Time: 2019-02-08
Author: bmwant@gmail.com
File Name: gym/envs/toy_text/frozen_lake.py
Class Name: FrozenLakeEnv
Method Name: render


Project Name: openai/gym
Commit Name: 0659520f8c25f06e04f78369a5ba9e85f6e823f5
Time: 2019-02-08
Author: bmwant@gmail.com
File Name: gym/envs/toy_text/taxi.py
Class Name: TaxiEnv
Method Name: render