Open DebuggerIssuesReport opened 4 years ago
Configuration is : ('MethodsParsed', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\learning') ('full_configure_file', 'workingDir=C:\amirelm\projects\STANBOL_10_100_20_all_4_5\ngit=C:\Temp\apache_repos\stanbol\nissue_tracker_product_name=STANBOL\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(stanbol-parent-1-incubating, before-STANBOL-733, stanbol-parent-2, apache-stanbol-commons-0.11.0, apache-stanbol-contenthub-0.10.0, apache-stanbol-enhancement-engines-0.10.0, apache-stanbol-0.12, org.apache.stanbol.commons.security.reactor-20140602)\n') ('docletPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\distribution_per_version_report.csv') ('experiments', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\experiments') ('sourceMonitorEXE', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\Temp\apache_repos\stanbol') ('prediction_files', {'Most': {'Method': 'prediction_Method_Most.csv', 'File': 'prediction_File_Most.csv'}, 'All': {'Method': 'prediction_Method_All.csv', 'File': 'prediction_File_All.csv'}}) ('current_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\learner') ('debugger_base_path', 'C:\Users\amirelm\Documents\GitHub\Debugger') ('paths', ['stanbol-parent-1-incubating\repo', 'before-STANBOL-733\repo', 'stanbol-parent-2\repo', 'apache-stanbol-commons-0.11.0\repo', 'apache-stanbol-contenthub-0.10.0\repo', 'apache-stanbol-enhancement-engines-0.10.0\repo', 'apache-stanbol-0.12\repo', 'org.apache.stanbol.commons.security.reactor-20140602\repo']) ('versPath', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers') ('buggy_repo', <git.Repo "C:\Temp\apache_repos\stanbol.git">) ('buggedType', 'Most') ('traces_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\traces') ('markers_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\markers') ('workingDir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5') ('RemoveBat', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\distribution_per_minors_report.csv') ('caching_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\learning\AllbutOne') ('confFile', 'C:\Users\amirelm\Documents\GitHub\repository_mining\repository_data\configurations\STANBOL_10_100_20_all_4') ('issue_tracker_product', 'STANBOL') ('db_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\dbAdd') ('LocalGitPath', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\repo') ('changeFile', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\commitsFiles\Ins_dels.txt') ('vers', ['stanbol-parent-1-incubating', 'before-STANBOL-733', 'stanbol-parent-2', 'apache-stanbol-commons-0.11.0', 'apache-stanbol-contenthub-0.10.0', 'apache-stanbol-enhancement-engines-0.10.0', 'apache-stanbol-0.12', 'org.apache.stanbol.commons.security.reactor-20140602']) ('utilsPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils') ('checkStyle68', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [211668009, 81799443, 138354608, 205500327, 12303159, 189011889, 86576480, 131703540]) ('methodsNamesXML', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['stanbol_parent_1_incubating', 'before_STANBOL_733', 'stanbol_parent_2', 'apache_stanbol_commons_0_11_0', 'apache_stanbol_contenthub_0_10_0', 'apache_stanbol_enhancement_engines_0_10_0', 'apache_stanbol_0_12', 'org_apache_stanbol_commons_security_reactor_20140602']) ('configuration_path', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\configuration') ('amir_tracer', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\distribution_report.csv') ('weka_path', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\weka') ('granularity', 'File') ('vers_paths', [u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\stanbol_parent_1_incubating', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\before_STANBOL_733', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\stanbol_parent_2', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\apache_stanbol_commons_0_11_0', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\apache_stanbol_contenthub_0_10_0', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\apache_stanbol_enhancement_engines_0_10_0', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\apache_stanbol_0_12', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\vers\org_apache_stanbol_commons_security_reactor_20140602']) ('configuration', <utilsConf.Configuration object at 0x1CDF9B10>) ('bugsPath', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/stanbol.git']) ('repo', <git.Repo "C:\Users\amirelm\Documents\GitHub\Debugger.git">) ('dates', ['2014-02-24 13:34:04', '2013-01-14 11:41:38', '2013-01-22 21:00:28', '2013-02-14 14:54:10', '2012-12-05 16:22:39', '2014-06-02 14:07:31', '2012-09-20 14:10:59', '2013-01-08 16:22:08']) ('renamed_mapping', {}) ('versions', ['stanbol-parent-1-incubating', 'before-STANBOL-733', 'stanbol-parent-2', 'apache-stanbol-commons-0.11.0', 'apache-stanbol-contenthub-0.10.0', 'apache-stanbol-enhancement-engines-0.10.0', 'apache-stanbol-0.12', 'org.apache.stanbol.commons.security.reactor-20140602']) ('wekaJar', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\learning\One') ('debugger_commit', 'f1b4191fce8b9976aa675a330dad445c5cd0f6b7') ('web_prediction_results', u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\web_prediction_results') ('allchecks', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\allChecks.xml')
DEBUG:git.util:Failed checking if running in CYGWIN due to: WindowsError(2, 'The system cannot find the file specified')
DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\Temp\apache_repos\stanbol, universal_newlines=False, shell=None, istream=
INFO:root:writing to \?\C:\amirelm\projects\STANBOL_10_100_20_all_4_5\markers\ml: start time: 2019-11-06 16:34:15.738000
ERROR:root:error msg : estimator should be an estimator implementing 'fit' method, u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\weka\Most_training_Method.csv' was passed
Traceback (most recent call last):
File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 402, in f
ans = func(*args, kwargs)
File "C:/Users/amirelm/Documents/GitHub/Debugger/learner/wrapper.py", line 212, in createBuildMLModels
generator.build_ml_model(utilsConf.get_configuration().weka_path)
File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\articles.py", line 429, in build_ml_model
learning = LearningClassify.get_all_classifers(self.get_csv_files(out_dir))
File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 90, in get_all_classifers
return [LearningClassify(trainingFile, testingFile, training_describe, testing_describe, cs_scores, RandomForestClassifier(n_estimators=10, random_state=42)),
File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 28, in init
self.cross_validation()
File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 182, in cross_validation
scores = cross_validate(self.get_classifier(), self.get_training_featues(), self.get_training_labels(), cv=3, scoring=scoring, return_train_score=True)
File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\model_selection_validation.py", line 195, in crossvalidate
scorers, = _check_multimetric_scoring(estimator, scoring=scoring)
File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\metrics\scorer.py", line 394, in _check_multimetric_scoring
for key, scorer in scoring.items()}
File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\metrics\scorer.py", line 394, in
An Exception occurred while running Debugger:
command line is C:/Users/amirelm/Documents/GitHub/Debugger/learner/wrapper.py C:\Users\amirelm\Documents\GitHub\repository_mining\repository_data\configurations\STANBOL_10_100_20_all_4 learn
Traceback (most recent call last): File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 402, in f ans = func(*args, *kwargs) File "C:/Users/amirelm/Documents/GitHub/Debugger/learner/wrapper.py", line 212, in createBuildMLModels generator.build_ml_model(utilsConf.get_configuration().weka_path) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\articles.py", line 429, in build_ml_model learning = LearningClassify.get_all_classifers(self.get_csv_files(out_dir)) File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 90, in get_all_classifers return [LearningClassify(trainingFile, testingFile, training_describe, testing_describe, cs_scores, RandomForestClassifier(n_estimators=10, random_state=42)), File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 28, in init self.cross_validation() File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\wekaMethods\classification.py", line 182, in cross_validation scores = cross_validate(self.get_classifier(), self.get_training_featues(), self.get_training_labels(), cv=3, scoring=scoring, return_train_score=True) File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\model_selection_validation.py", line 195, in crossvalidate scorers, = _check_multimetric_scoring(estimator, scoring=scoring) File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\metrics\scorer.py", line 394, in _check_multimetric_scoring for key, scorer in scoring.items()} File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\metrics\scorer.py", line 394, in
for key, scorer in scoring.items()}
File "C:\Users\amirelm\AppData\Local\Continuum\anaconda2\lib\site-packages\sklearn\metrics\scorer.py", line 274, in check_scoring
"'fit' method, %r was passed" % estimator)
TypeError: estimator should be an estimator implementing 'fit' method, u'C:\amirelm\projects\STANBOL_10_100_20_all_4_5\weka\Most_training_Method.csv' was passed