d2b868b129d7fe9fee0362052a7a92159339d5d6,tests/fixtures/q_functions/simple_q_function.py,SimpleQFunction,__getstate__,#SimpleQFunction#,57

Before Change


            dict: the state to be pickled for the instance.

        
        new_dict = self.__dict__.copy()
        del new_dict["_q_val"]
        return new_dict

After Change


            dict: the state to be pickled for the instance.

        
        new_dict = super().__getstate__()
        del new_dict["_q_val"]
        return new_dict
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 6

Instances


Project Name: rlworkgroup/garage
Commit Name: d2b868b129d7fe9fee0362052a7a92159339d5d6
Time: 2020-07-18
Author: 31981600+yeukfu@users.noreply.github.com
File Name: tests/fixtures/q_functions/simple_q_function.py
Class Name: SimpleQFunction
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: d2b868b129d7fe9fee0362052a7a92159339d5d6
Time: 2020-07-18
Author: 31981600+yeukfu@users.noreply.github.com
File Name: src/garage/tf/q_functions/discrete_cnn_q_function.py
Class Name: DiscreteCNNQFunction
Method Name: __getstate__


Project Name: rail-berkeley/softlearning
Commit Name: 6d6f8612a0b12636269e3837c6bb27d2ff94e9d3
Time: 2019-01-10
Author: henryee333@gmail.com
File Name: softlearning/samplers/remote_sampler.py
Class Name: RemoteSampler
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: cca8e9ba589a9d825d307462f1cafcd5f6523c0a
Time: 2019-05-10
Author: ahtsans@gmail.com
File Name: garage/tf/policies/categorical_mlp_policy_with_model.py
Class Name: CategoricalMLPPolicyWithModel
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: d2b868b129d7fe9fee0362052a7a92159339d5d6
Time: 2020-07-18
Author: 31981600+yeukfu@users.noreply.github.com
File Name: src/garage/tf/q_functions/discrete_mlp_q_function.py
Class Name: DiscreteMLPQFunction
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: cca8e9ba589a9d825d307462f1cafcd5f6523c0a
Time: 2019-05-10
Author: ahtsans@gmail.com
File Name: garage/tf/policies/deterministic_mlp_policy_with_model.py
Class Name: DeterministicMLPPolicyWithModel
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: 2ca9af3e7717279defb5f62404eeb2c4befac3e4
Time: 2020-06-29
Author: ahtsans@gmail.com
File Name: src/garage/tf/models/model.py
Class Name: Model
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: cca8e9ba589a9d825d307462f1cafcd5f6523c0a
Time: 2019-05-10
Author: ahtsans@gmail.com
File Name: garage/tf/policies/categorical_conv_policy_with_model.py
Class Name: CategoricalConvPolicyWithModel
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: cca8e9ba589a9d825d307462f1cafcd5f6523c0a
Time: 2019-05-10
Author: ahtsans@gmail.com
File Name: garage/tf/policies/gaussian_mlp_policy_with_model.py
Class Name: GaussianMLPPolicyWithModel
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: d2b868b129d7fe9fee0362052a7a92159339d5d6
Time: 2020-07-18
Author: 31981600+yeukfu@users.noreply.github.com
File Name: src/garage/tf/q_functions/continuous_cnn_q_function.py
Class Name: ContinuousCNNQFunction
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: d2b868b129d7fe9fee0362052a7a92159339d5d6
Time: 2020-07-18
Author: 31981600+yeukfu@users.noreply.github.com
File Name: src/garage/tf/q_functions/continuous_mlp_q_function.py
Class Name: ContinuousMLPQFunction
Method Name: __getstate__


Project Name: rlworkgroup/garage
Commit Name: 2ca9af3e7717279defb5f62404eeb2c4befac3e4
Time: 2020-06-29
Author: ahtsans@gmail.com
File Name: src/garage/tf/policies/discrete_qf_derived_policy.py
Class Name: DiscreteQfDerivedPolicy
Method Name: __getstate__