861657d2c9b321961994c8cdd0e58b6c4fe0645f,slm_lab/env/__init__.py,EnvSpace,__init__,#EnvSpace#Any#Any#,364

Before Change


        self.envs = []
        for e, env_spec in enumerate(self.env_spec):
            env_spec = ps.merge(spec["meta"].copy(), env_spec)
            try:
                env = OpenAIEnv(env_spec, self, e)
            except gym.error.Error:
                env = UnityEnv(env_spec, self, e)
            self.envs.append(env)

    @lab_api
    def post_body_init(self):

After Change


        aeb_space.env_space = self
        self.info_space = aeb_space.info_space
        self.envs = []
        for e in range(len(self.spec["env"])):
            env = make_env(self.spec, e, env_space=self)
            self.envs.append(env)
        logger.info(util.self_desc(self))

    def get(self, e):
        return self.envs[e]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/env/__init__.py
Class Name: EnvSpace
Method Name: __init__


Project Name: has2k1/plotnine
Commit Name: f41ef99d652c20007e301998603d28de0ac01cdd
Time: 2015-04-20
Author: has2k1@gmail.com
File Name: ggplot/stats/stat_abline.py
Class Name: stat_abline
Method Name: _calculate


Project Name: mathics/Mathics
Commit Name: deed936ca0bfa5998af0225fab99c47bd2bc4b6d
Time: 2020-09-06
Author: pablo-escobar@riseup.net
File Name: mathics/builtin/linalg.py
Class Name: Eigenvalues
Method Name: apply


Project Name: fperazzi/proSR
Commit Name: 6b7b82ff60b8ca7a26b50e50210a06a46bdc848a
Time: 2018-07-09
Author: fperazzi@adobe.com
File Name: lib/prosr/models/generators.py
Class Name: ProSR
Method Name: forward


Project Name: dickreuter/Poker
Commit Name: bf81a08cb2293be7290ecd19a1a45c0da2d2fe83
Time: 2016-09-27
Author: dickreuter@yahoo.com
File Name: decisionmaker/decisionmaker3.py
Class Name: Decision
Method Name: bully