d81ee18bd7d43479784116c40c9b08eb6bb36cc9,user_interface_handler.py,user_interface,check_all_fields_valid,#user_interface#,753

Before Change


			error = "Invalid epochs entry"
		else:
			valid_values["epochs"] = int(epochs)
		if(data_to_test_count.isdigit() == False):
			error = "Invalid data to test entry"
		else:
			valid_values["data_to_test"] = int(data_to_test_count)

After Change


      error = "Invalid epochs entry"
    else:
      valid_values["epochs"] = int(epochs)
    if not data_to_test_count.isdigit():
      error = "Invalid data to test entry"
    else:
      valid_values["data_to_test"] = int(data_to_test_count)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: check_all_fields_valid


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: check_str_list_valid


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: data_handler.py
Class Name: data_processor
Method Name: validate_prepro


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: data_handler.py
Class Name: data_processor
Method Name: find_alpha_classes