8b7151ff1d5f9c5de2e28a66e67681bb42149ce1,tests/test_scheduler.py,TestScheduler,setUpClass,#Any#,42

Before Change


    
    @classmethod
    def setUpClass(cls):
        p = Process(target=cls._setup)
        p.start()
        p.join()
        p.terminate()
        

After Change


        model.save(os.path.join(cls.folder, cls.model1))
        
        model = Classifier(base_model=GPT)
        model.fit(["A", "B"], ["a", "b"])
        model.save(os.path.join(cls.folder, cls.model2))
    
    @classmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: IndicoDataSolutions/finetune
Commit Name: 8b7151ff1d5f9c5de2e28a66e67681bb42149ce1
Time: 2020-04-13
Author: benlt@hotmail.co.uk
File Name: tests/test_scheduler.py
Class Name: TestScheduler
Method Name: setUpClass


Project Name: pantsbuild/pants
Commit Name: 0c54f5d34533af96bb4f2595f22656239a9f4102
Time: 2020-09-16
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/codegen/protobuf/python/rules.py
Class Name:
Method Name: generate_python_from_protobuf


Project Name: eth-cscs/reframe
Commit Name: ccaa108a2dd93f92967eb20a47e7559c9144b35f
Time: 2020-03-11
Author: manitaras@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestSerialExecutionPolicy
Method Name: test_sigterm


Project Name: vatlab/SoS
Commit Name: ac676981e6909c31167c3493275221e8ad34f48a
Time: 2017-03-02
Author: ben.bog@gmail.com
File Name: sos/sos_executor.py
Class Name: Base_Executor
Method Name: run