afbeee84a6b1f06e32f804c58958d70fd557983a,garage/envs/mujoco/randomization/variation.py,Variations,get_randomized_xml_model,#Variations#,151

Before Change


            else:
                raise ValueError("Unknown method")

        return etree.tostring(self._parsed_model.getroot()).decode("ascii")

    def get_list(self):
        
        Returns a list with all the variations

After Change


                    c * self._default_cache[v]).strip("[]").replace(",", "")
            elif v.method == Method.ABSOLUTE:
                // store attrib. convert numpy print to xml-friendly print
                e.attrib[v.attrib] = str(c).strip("[]").replace(",", "")
            else:
                raise ValueError("Unknown method")

        return etree.tostring(self._parsed_model.getroot(), encoding="unicode")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: rlworkgroup/garage
Commit Name: afbeee84a6b1f06e32f804c58958d70fd557983a
Time: 2019-01-15
Author: gautams3@users.noreply.github.com
File Name: garage/envs/mujoco/randomization/variation.py
Class Name: Variations
Method Name: get_randomized_xml_model


Project Name: gyoisamurai/GyoiThon
Commit Name: 5765f471197edbf64a57dd2628dcd3051c7ea46c
Time: 2018-06-04
Author: gyoiler3@gmail.com
File Name: gyoithon.py
Class Name:
Method Name:


Project Name: gyoisamurai/GyoiThon
Commit Name: 4f53bca9b044b20bc4aa8b7719bbbb2984623b3a
Time: 2018-06-04
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name:
Method Name: