3940f2aab97e571e99177d5b61700094637301f5,Generator/generator.py,,,#,11

Before Change


        obj_browser.set_window_position(position_width, position_height)

        // Create a few individuals.
        util.print_message(NOTE, "Create individuals using Genetic Algorithm.")
        ga = GeneticAlgorithm()
        individual_list = ga.main(obj_browser)

After Change


        individual_list = [1]
        if len(individual_list) != 0:
            // Multiply individual.
            util.print_message(NOTE, "Multiply individual using Generative Adversarial Networks.")
            gan = GAN()

            // Evaluate indivisual each evaluating place in html.
            for eval_place in html_eval_place_list:
                util.print_message(NOTE, "Evaluating html place : {}".format(eval_place))
                gan.main(obj_browser, eval_place)
        else:
            util.print_message(WARNING, "Genetic Algorithm cannot individual.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 3940f2aab97e571e99177d5b61700094637301f5
Time: 2018-09-09
Author: takaesu235@gmail.com
File Name: Generator/generator.py
Class Name:
Method Name:


Project Name: gyoisamurai/GyoiThon
Commit Name: 544ab0de99b3d54c297c070c89817b9f17e5ce86
Time: 2018-11-20
Author: gyoiler3@gmail.com
File Name: modules/Gyoi_Censys.py
Class Name: Censys
Method Name: search_censys


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: fbf1298b6d7b5dd0eab212947831fb29792baa68
Time: 2018-07-11
Author: takaesu235@gmail.com
File Name: DeepExploit/CreateReport.py
Class Name: CreateReport
Method Name: create_report