diff --git a/.eslintcache b/.eslintcache index 6164dcb..7825196 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.js":"1","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.test.js":"2","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\index.js":"3","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\AudioX.js":"4","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\Cache.js":"5","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DICTIONARY.js":"6","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DictUtils.js":"7","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\I18N.js":"8","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\IDX.js":"9","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\index.js":"10","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\MathX.js":"11","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\TimeX.js":"12","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\URLContext.js":"13","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\WWW.js":"14","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Candidate.js":"15","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Criterion.js":"16","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruth.js":"17","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruthRawData.js":"18","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\index.js":"19","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Party.js":"20","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Version.js":"21","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Weight.js":"22","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\reportWebVitals.js":"23","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\setupTests.js":"24","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignCenter.js":"25","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignRight.js":"26","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\index.js":"27","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\TimeView.js":"28","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoard.js":"29","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoardShort.js":"30","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidateView.js":"31","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriteriaView.js":"32","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriterionView.js":"33","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CustomAppBar.js":"34","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HelpMenu.js":"35","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HomePageBottomNavigation.js":"36","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\IconLabel.js":"37","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\index.js":"38","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledText.js":"39","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledTextInput.js":"40","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PageLink.js":"41","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PartyView.js":"42","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\ScreenshotView.js":"43","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionMenu.js":"44","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionView.js":"45","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\WeightView.js":"46","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\AbstractInnerPage.js":"47","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CandidatePage.js":"48","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CriteriaPage.js":"49","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\HomePage.js":"50","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\index.js":"51","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\PAGE_CONFIG_LIST.js":"52","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\AppColors.js":"53","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\SriLankaColors.js":"54","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\index.js":"55","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\VERSION.js":"56"},{"size":914,"mtime":1722330883020,"results":"57","hashOfConfig":"58"},{"size":247,"mtime":1722330883020,"results":"59","hashOfConfig":"58"},{"size":513,"mtime":1722330883021,"results":"60","hashOfConfig":"58"},{"size":596,"mtime":1722330910789,"results":"61","hashOfConfig":"58"},{"size":937,"mtime":1722330883023,"results":"62","hashOfConfig":"58"},{"size":26675,"mtime":1722330883025,"results":"63","hashOfConfig":"58"},{"size":252,"mtime":1722330883026,"results":"64","hashOfConfig":"58"},{"size":1762,"mtime":1722331516066,"results":"65","hashOfConfig":"58"},{"size":414,"mtime":1722330883028,"results":"66","hashOfConfig":"58"},{"size":459,"mtime":1722342898942,"results":"67","hashOfConfig":"58"},{"size":388,"mtime":1722330883028,"results":"68","hashOfConfig":"58"},{"size":1743,"mtime":1722330883028,"results":"69","hashOfConfig":"58"},{"size":1020,"mtime":1722330883029,"results":"70","hashOfConfig":"58"},{"size":703,"mtime":1722330883029,"results":"71","hashOfConfig":"58"},{"size":2477,"mtime":1722342722193,"results":"72","hashOfConfig":"58"},{"size":104,"mtime":1722330883030,"results":"73","hashOfConfig":"58"},{"size":2639,"mtime":1722334695038,"results":"74","hashOfConfig":"58"},{"size":1652,"mtime":1722342609158,"results":"75","hashOfConfig":"58"},{"size":405,"mtime":1722342899032,"results":"76","hashOfConfig":"58"},{"size":909,"mtime":1722342658118,"results":"77","hashOfConfig":"58"},{"size":105,"mtime":1722330883031,"results":"78","hashOfConfig":"58"},{"size":1369,"mtime":1722336149871,"results":"79","hashOfConfig":"58"},{"size":364,"mtime":1722330883033,"results":"80","hashOfConfig":"58"},{"size":241,"mtime":1722330883033,"results":"81","hashOfConfig":"58"},{"size":200,"mtime":1722330883035,"results":"82","hashOfConfig":"58"},{"size":187,"mtime":1722330883035,"results":"83","hashOfConfig":"58"},{"size":198,"mtime":1722342899089,"results":"84","hashOfConfig":"58"},{"size":460,"mtime":1722330883035,"results":"85","hashOfConfig":"58"},{"size":576,"mtime":1722330883037,"results":"86","hashOfConfig":"58"},{"size":934,"mtime":1722330883038,"results":"87","hashOfConfig":"58"},{"size":1326,"mtime":1722330883037,"results":"88","hashOfConfig":"58"},{"size":1024,"mtime":1722330883038,"results":"89","hashOfConfig":"58"},{"size":2285,"mtime":1722335861172,"results":"90","hashOfConfig":"58"},{"size":1672,"mtime":1722330883039,"results":"91","hashOfConfig":"58"},{"size":3814,"mtime":1722332163393,"results":"92","hashOfConfig":"58"},{"size":1799,"mtime":1722330883040,"results":"93","hashOfConfig":"58"},{"size":802,"mtime":1722330883040,"results":"94","hashOfConfig":"58"},{"size":1130,"mtime":1722342899175,"results":"95","hashOfConfig":"58"},{"size":1595,"mtime":1722330883041,"results":"96","hashOfConfig":"58"},{"size":784,"mtime":1722330883041,"results":"97","hashOfConfig":"58"},{"size":481,"mtime":1722330883042,"results":"98","hashOfConfig":"58"},{"size":821,"mtime":1722342692723,"results":"99","hashOfConfig":"58"},{"size":860,"mtime":1722330883042,"results":"100","hashOfConfig":"58"},{"size":2441,"mtime":1722336214319,"results":"101","hashOfConfig":"58"},{"size":759,"mtime":1722330883043,"results":"102","hashOfConfig":"58"},{"size":750,"mtime":1722336214710,"results":"103","hashOfConfig":"58"},{"size":203,"mtime":1722330883045,"results":"104","hashOfConfig":"58"},{"size":961,"mtime":1722330883046,"results":"105","hashOfConfig":"58"},{"size":885,"mtime":1722330883046,"results":"106","hashOfConfig":"58"},{"size":4259,"mtime":1722330883047,"results":"107","hashOfConfig":"58"},{"size":362,"mtime":1722342899257,"results":"108","hashOfConfig":"58"},{"size":652,"mtime":1722330883047,"results":"109","hashOfConfig":"58"},{"size":210,"mtime":1722330883034,"results":"110","hashOfConfig":"58"},{"size":146,"mtime":1722330883034,"results":"111","hashOfConfig":"58"},{"size":90,"mtime":1722342898982,"results":"112","hashOfConfig":"58"},{"size":227,"mtime":1722342898987,"results":"113","hashOfConfig":"58"},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"175reg5",{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","suppressedMessages":"194","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"195","messages":"196","suppressedMessages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","suppressedMessages":"200","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"201","messages":"202","suppressedMessages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","suppressedMessages":"206","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"207","messages":"208","suppressedMessages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","suppressedMessages":"212","errorCount":1,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"213","messages":"214","suppressedMessages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","suppressedMessages":"218","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"219","messages":"220","suppressedMessages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","suppressedMessages":"224","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"225","messages":"226","suppressedMessages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","suppressedMessages":"230","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"231","messages":"232","suppressedMessages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","suppressedMessages":"236","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"237","messages":"238","suppressedMessages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","suppressedMessages":"242","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"243","messages":"244","suppressedMessages":"245","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"246","messages":"247","suppressedMessages":"248","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"249","messages":"250","suppressedMessages":"251","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","suppressedMessages":"254","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"255","messages":"256","suppressedMessages":"257","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"258","messages":"259","suppressedMessages":"260","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"261","messages":"262","suppressedMessages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","suppressedMessages":"266","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"267","messages":"268","suppressedMessages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","suppressedMessages":"272","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"273","messages":"274","suppressedMessages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","suppressedMessages":"278","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"279","messages":"280","suppressedMessages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.test.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\AudioX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\Cache.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DICTIONARY.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DictUtils.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\I18N.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\IDX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\MathX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\TimeX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\URLContext.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\WWW.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Candidate.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Criterion.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruth.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruthRawData.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Party.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Version.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Weight.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\reportWebVitals.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\setupTests.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignCenter.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignRight.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\TimeView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoard.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoardShort.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidateView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriteriaView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriterionView.js",["282"],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CustomAppBar.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HelpMenu.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HomePageBottomNavigation.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\IconLabel.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledText.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledTextInput.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PageLink.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PartyView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\ScreenshotView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionMenu.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\WeightView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\AbstractInnerPage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CandidatePage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CriteriaPage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\HomePage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\PAGE_CONFIG_LIST.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\AppColors.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\SriLankaColors.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\VERSION.js",[],[],{"ruleId":"283","severity":2,"message":"284","line":14,"column":1,"nodeType":"285","messageId":"286","endLine":67,"endColumn":2},"max-lines-per-function","Function 'CustomSlider' has too many lines (54). Maximum allowed is 40.","FunctionDeclaration","exceed"] \ No newline at end of file +[{"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.js":"1","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.test.js":"2","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\index.js":"3","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\AudioX.js":"4","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\Cache.js":"5","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DICTIONARY.js":"6","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DictUtils.js":"7","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\I18N.js":"8","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\IDX.js":"9","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\index.js":"10","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\MathX.js":"11","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\TimeX.js":"12","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\URLContext.js":"13","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\WWW.js":"14","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Candidate.js":"15","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Criterion.js":"16","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruth.js":"17","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\index.js":"18","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Party.js":"19","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Version.js":"20","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Weight.js":"21","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\reportWebVitals.js":"22","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\setupTests.js":"23","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignCenter.js":"24","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignRight.js":"25","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\index.js":"26","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\TimeView.js":"27","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoard.js":"28","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoardShort.js":"29","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidateView.js":"30","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriteriaView.js":"31","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriterionView.js":"32","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CustomAppBar.js":"33","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HelpMenu.js":"34","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HomePageBottomNavigation.js":"35","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\IconLabel.js":"36","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\index.js":"37","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledText.js":"38","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledTextInput.js":"39","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PageLink.js":"40","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PartyView.js":"41","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\ScreenshotView.js":"42","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionMenu.js":"43","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionView.js":"44","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\WeightView.js":"45","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\AbstractInnerPage.js":"46","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CandidatePage.js":"47","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CriteriaPage.js":"48","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\HomePage.js":"49","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\index.js":"50","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\PAGE_CONFIG_LIST.js":"51","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\AppColors.js":"52","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\SriLankaColors.js":"53","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\index.js":"54","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\VERSION.js":"55","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CANDIDATE_D_LIST.js":"56","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CRITERION_LIST.js":"57","C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CRITERION_TO_CANDIDATE_TO_SCORE.js":"58"},{"size":914,"mtime":1722330883020,"results":"59","hashOfConfig":"60"},{"size":247,"mtime":1722330883020,"results":"61","hashOfConfig":"60"},{"size":513,"mtime":1722330883021,"results":"62","hashOfConfig":"60"},{"size":596,"mtime":1722330910789,"results":"63","hashOfConfig":"60"},{"size":937,"mtime":1722330883023,"results":"64","hashOfConfig":"60"},{"size":26675,"mtime":1722330883025,"results":"65","hashOfConfig":"60"},{"size":252,"mtime":1722330883026,"results":"66","hashOfConfig":"60"},{"size":1762,"mtime":1722331516066,"results":"67","hashOfConfig":"60"},{"size":414,"mtime":1722330883028,"results":"68","hashOfConfig":"60"},{"size":459,"mtime":1722349028401,"results":"69","hashOfConfig":"60"},{"size":388,"mtime":1722330883028,"results":"70","hashOfConfig":"60"},{"size":1743,"mtime":1722330883028,"results":"71","hashOfConfig":"60"},{"size":1020,"mtime":1722330883029,"results":"72","hashOfConfig":"60"},{"size":703,"mtime":1722330883029,"results":"73","hashOfConfig":"60"},{"size":1026,"mtime":1722348482902,"results":"74","hashOfConfig":"60"},{"size":104,"mtime":1722330883030,"results":"75","hashOfConfig":"60"},{"size":2682,"mtime":1722348514368,"results":"76","hashOfConfig":"60"},{"size":315,"mtime":1722349028480,"results":"77","hashOfConfig":"60"},{"size":909,"mtime":1722342658118,"results":"78","hashOfConfig":"60"},{"size":105,"mtime":1722330883031,"results":"79","hashOfConfig":"60"},{"size":1369,"mtime":1722336149871,"results":"80","hashOfConfig":"60"},{"size":364,"mtime":1722330883033,"results":"81","hashOfConfig":"60"},{"size":241,"mtime":1722330883033,"results":"82","hashOfConfig":"60"},{"size":200,"mtime":1722330883035,"results":"83","hashOfConfig":"60"},{"size":187,"mtime":1722330883035,"results":"84","hashOfConfig":"60"},{"size":198,"mtime":1722349028563,"results":"85","hashOfConfig":"60"},{"size":460,"mtime":1722330883035,"results":"86","hashOfConfig":"60"},{"size":576,"mtime":1722330883037,"results":"87","hashOfConfig":"60"},{"size":934,"mtime":1722330883038,"results":"88","hashOfConfig":"60"},{"size":1326,"mtime":1722330883037,"results":"89","hashOfConfig":"60"},{"size":1024,"mtime":1722330883038,"results":"90","hashOfConfig":"60"},{"size":2257,"mtime":1722349016391,"results":"91","hashOfConfig":"60"},{"size":1672,"mtime":1722330883039,"results":"92","hashOfConfig":"60"},{"size":3814,"mtime":1722332163393,"results":"93","hashOfConfig":"60"},{"size":1799,"mtime":1722330883040,"results":"94","hashOfConfig":"60"},{"size":802,"mtime":1722330883040,"results":"95","hashOfConfig":"60"},{"size":1130,"mtime":1722349028641,"results":"96","hashOfConfig":"60"},{"size":1595,"mtime":1722330883041,"results":"97","hashOfConfig":"60"},{"size":784,"mtime":1722330883041,"results":"98","hashOfConfig":"60"},{"size":481,"mtime":1722330883042,"results":"99","hashOfConfig":"60"},{"size":729,"mtime":1722348939551,"results":"100","hashOfConfig":"60"},{"size":860,"mtime":1722330883042,"results":"101","hashOfConfig":"60"},{"size":2441,"mtime":1722336214319,"results":"102","hashOfConfig":"60"},{"size":759,"mtime":1722330883043,"results":"103","hashOfConfig":"60"},{"size":750,"mtime":1722336214710,"results":"104","hashOfConfig":"60"},{"size":203,"mtime":1722330883045,"results":"105","hashOfConfig":"60"},{"size":961,"mtime":1722330883046,"results":"106","hashOfConfig":"60"},{"size":885,"mtime":1722330883046,"results":"107","hashOfConfig":"60"},{"size":4259,"mtime":1722330883047,"results":"108","hashOfConfig":"60"},{"size":362,"mtime":1722349028725,"results":"109","hashOfConfig":"60"},{"size":652,"mtime":1722330883047,"results":"110","hashOfConfig":"60"},{"size":210,"mtime":1722330883034,"results":"111","hashOfConfig":"60"},{"size":146,"mtime":1722330883034,"results":"112","hashOfConfig":"60"},{"size":90,"mtime":1722349028446,"results":"113","hashOfConfig":"60"},{"size":227,"mtime":1722349028451,"results":"114","hashOfConfig":"60"},{"size":1862,"mtime":1722348908875,"results":"115","hashOfConfig":"60"},{"size":660,"mtime":1722348908882,"results":"116","hashOfConfig":"60"},{"size":2735,"mtime":1722348908900,"results":"117","hashOfConfig":"60"},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"175reg5",{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","suppressedMessages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"217","messages":"218","suppressedMessages":"219","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","suppressedMessages":"222","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"223","messages":"224","suppressedMessages":"225","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","suppressedMessages":"228","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"229","messages":"230","suppressedMessages":"231","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"232","messages":"233","suppressedMessages":"234","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"235","messages":"236","suppressedMessages":"237","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"238","messages":"239","suppressedMessages":"240","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"241","messages":"242","suppressedMessages":"243","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"244","messages":"245","suppressedMessages":"246","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"247","messages":"248","suppressedMessages":"249","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"250","messages":"251","suppressedMessages":"252","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"253","messages":"254","suppressedMessages":"255","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"256","messages":"257","suppressedMessages":"258","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"259","messages":"260","suppressedMessages":"261","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"262","messages":"263","suppressedMessages":"264","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"265","messages":"266","suppressedMessages":"267","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"268","messages":"269","suppressedMessages":"270","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"271","messages":"272","suppressedMessages":"273","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"274","messages":"275","suppressedMessages":"276","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"277","messages":"278","suppressedMessages":"279","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"280","messages":"281","suppressedMessages":"282","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"283","messages":"284","suppressedMessages":"285","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"286","messages":"287","suppressedMessages":"288","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"289","messages":"290","suppressedMessages":"291","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\App.test.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\AudioX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\Cache.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DICTIONARY.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\DictUtils.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\I18N.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\IDX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\MathX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\TimeX.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\URLContext.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\base\\WWW.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Candidate.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Criterion.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\GroundTruth.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Party.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Version.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\core\\Weight.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\reportWebVitals.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\setupTests.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignCenter.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\AlignRight.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\atoms\\TimeView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoard.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidatesLeaderBoardShort.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CandidateView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriteriaView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CriterionView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\CustomAppBar.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HelpMenu.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\HomePageBottomNavigation.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\IconLabel.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledText.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\LabelledTextInput.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PageLink.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\PartyView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\ScreenshotView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionMenu.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\VersionView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\molecules\\WeightView.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\AbstractInnerPage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CandidatePage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\CriteriaPage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\HomePage.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\pages\\PAGE_CONFIG_LIST.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\AppColors.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\view\\_constants\\SriLankaColors.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\index.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\constants\\VERSION.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CANDIDATE_D_LIST.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CRITERION_LIST.js",[],[],"C:\\Users\\ASUS\\Not.Dropbox\\CODING\\js_react\\candidates\\src\\nonview\\data\\CRITERION_TO_CANDIDATE_TO_SCORE.js",[],[]] \ No newline at end of file diff --git a/public/images/parties/logo_Ind.png b/public/images/parties/logo_Ind.png deleted file mode 100644 index aed3493..0000000 Binary files a/public/images/parties/logo_Ind.png and /dev/null differ diff --git a/src/nonview/constants/VERSION.js b/src/nonview/constants/VERSION.js index 1d8d02e..bcb3e65 100644 --- a/src/nonview/constants/VERSION.js +++ b/src/nonview/constants/VERSION.js @@ -1,5 +1,5 @@ // Auto-generated by javascript_version.py -export const DATETIME_STR = "2024-07-30 18:04:50"; +export const DATETIME_STR = "2024-07-30 19:47:00"; export const VERSION_DATETIME = new Date(DATETIME_STR); const VERSION = { DATETIME_STR, VERSION_DATETIME }; diff --git a/src/nonview/core/Candidate.js b/src/nonview/core/Candidate.js index 46ac526..76f89d2 100644 --- a/src/nonview/core/Candidate.js +++ b/src/nonview/core/Candidate.js @@ -1,4 +1,5 @@ import IDX from "../../nonview/base/IDX"; +import { CANDIDATE_D_LIST } from "../../nonview/data/CANDIDATE_D_LIST"; export default class Candidate { constructor(id, firstName, lastName, twtrHandle, imgFile, party) { @@ -30,100 +31,6 @@ export default class Candidate { } } -const CANDIDATE_D_LIST = [ - { - id: "RW", - firstName: "Ranil", - lastName: "Wickramasinghe", - twtrHandle: "RW_UNP", - imgFile: "1244.jpg", - party: "UNP", - }, - { - id: "SP", - firstName: "Sajith", - lastName: "Premadasa", - twtrHandle: "SajithPremadasa", - imgFile: "140.jpg", - party: "SJB", - }, - { - id: "SF", - firstName: "Sarath", - lastName: "Fonseka", - twtrHandle: "GeneralFonseka", - imgFile: "3135.jpg", - party: "Ind", - }, - { - id: "MAS", - firstName: "Mathiaparanan Abraham", - lastName: "Sumanthiran", - twtrHandle: "MASumanthiran", - imgFile: "3194.jpg", - party: "ITAK", - }, - - { - id: "AKD", - firstName: "Anura Kumara", - lastName: "Disanayake", - twtrHandle: "AnuraDisanayake", - imgFile: "112.jpg", - party: "NPP", - }, - - // Added 2024 - { - id: "WR", - firstName: "Wijeyadasa", - lastName: "Rajapakshe", - twtrHandle: "WijeRajapakshe", - imgFile: "1521.jpg", - party: "SLFP", - }, - { - id: "JR", - firstName: "Janaka", - lastName: "Ratnayake", - twtrHandle: "", - imgFile: "JR.jpg", - party: "Ind", - }, - { - id: "SK", - firstName: "Sarath", - lastName: "Keerthirathna", - twtrHandle: "SK.jpg", - imgFile: "", - party: "Ind", - }, - { - id: "OH", - firstName: "Oshala", - lastName: "Herath", - twtrHandle: "@OshalaHerath", - imgFile: "", - party: "NIF", - }, - { - id: "ASPL", - firstName: "ASP", - lastName: "Liyanage", - twtrHandle: "", - imgFile: "ASPL.png", - party: "SLLP", - }, - { - id: "NB", - firstName: "Nuwan", - lastName: "Bopage", - twtrHandle: "", - imgFile: "NB.png", - party: "PSA", - }, -]; - export const CANDIDATE_LIST = CANDIDATE_D_LIST.map((d) => Candidate.fromDict(d) ); diff --git a/src/nonview/core/GroundTruth.js b/src/nonview/core/GroundTruth.js index 8669c00..d29cf77 100644 --- a/src/nonview/core/GroundTruth.js +++ b/src/nonview/core/GroundTruth.js @@ -1,8 +1,8 @@ -import { ATTR_IDX_NUUUWAN } from "../../nonview/core/GroundTruthRawData"; +import { CRITERION_TO_CANDIDATE_TO_SCORE } from "../../nonview/data/CRITERION_TO_CANDIDATE_TO_SCORE"; import MathX from "../../nonview/base/MathX"; const ATTR_IDX_IDX = Object({ - "@nuuuwan": ATTR_IDX_NUUUWAN, + "@nuuuwan": CRITERION_TO_CANDIDATE_TO_SCORE, }); export default class GroundTruth { diff --git a/src/nonview/core/GroundTruthRawData.js b/src/nonview/core/GroundTruthRawData.js deleted file mode 100644 index 9f0769f..0000000 --- a/src/nonview/core/GroundTruthRawData.js +++ /dev/null @@ -1,126 +0,0 @@ -export const ATTR_IDX_NUUUWAN = { - "Voted for the 20th Amendment": { - AKD: -100, - - MAS: -100, - - RW: 0, - SF: -100, - SP: -100, - }, - "Member of a Rajapaksa Cabinet": { - AKD: -100, - - MAS: -100, - - RW: 100, - SF: -100, - SP: -100, - }, - "Has Para-Military Affiliations": { - AKD: 100, - - MAS: 100, - - RW: -100, - SF: -100, - SP: -100, - }, - "Has Military Affiliations": { - AKD: -100, - - MAS: -100, - - RW: -100, - SF: 100, - SP: -100, - }, - "Member or Former-Member of the SLPP": { - AKD: -100, - - MAS: -100, - - RW: -100, - SF: -100, - SP: -100, - }, - - "Will support abolishing the Executive Presidency while in seat": { - AKD: 100, - - MAS: 100, - - RW: -100, - SF: -100, - SP: -100, - }, - - "Economic Experience at the National Level": { - AKD: -100, - - MAS: -100, - - RW: 100, - SF: -100, - SP: -100, - }, - "Is a Party Leader": { - AKD: 100, - - MAS: 100, - - RW: 100, - SF: -100, - SP: 100, - }, - - "Under 65 years old (Born after 1959)": { - AKD: 100, - - MAS: 100, - - RW: -100, - SF: -100, - SP: 100, - }, - "Won a Electoral District Seat in the 2020 General Election": { - AKD: 100, - - MAS: 100, - - RW: -100, - SF: 100, - SP: 100, - }, - "History of working with a ideologically wide group of MPs": { - AKD: -100, - - MAS: -100, - - RW: 100, - SF: -100, - SP: 100, - }, - "Previous Affiliations with Rajapaksa Governments": { - AKD: -100, - - MAS: -100, - - RW: 100, - SF: -100, - SP: -100, - }, - "Over 70% Attendance in the latest Parliament": { - AKD: 100, - - MAS: 100, - - RW: 100, - SF: 100, - SP: 100, - }, -}; - -for (const id of Object.keys(ATTR_IDX_NUUUWAN)) { - console.log(id); -} diff --git a/src/nonview/core/index.js b/src/nonview/core/index.js index 7fe6434..defb71f 100644 --- a/src/nonview/core/index.js +++ b/src/nonview/core/index.js @@ -2,17 +2,8 @@ import Candidate from "./Candidate"; import Criterion from "./Criterion"; import GroundTruth from "./GroundTruth"; -import GroundTruthRawData from "./GroundTruthRawData"; import Party from "./Party"; import Version from "./Version"; import Weight from "./Weight"; -export { - Candidate, - Criterion, - GroundTruth, - GroundTruthRawData, - Party, - Version, - Weight, -}; +export { Candidate, Criterion, GroundTruth, Party, Version, Weight }; diff --git a/src/nonview/data/CANDIDATE_D_LIST.js b/src/nonview/data/CANDIDATE_D_LIST.js index c8f208b..ea9252c 100644 --- a/src/nonview/data/CANDIDATE_D_LIST.js +++ b/src/nonview/data/CANDIDATE_D_LIST.js @@ -1,102 +1,102 @@ -// Auto Generated by gen_candidates.py -export const CANDIDATE_D_LIST = [ -{ - "num": 1, - "id": "AD", - "firstName": "Anura Kumara", - "lastName": "Disanayake", - "twtrHandle": "AnuraDisanayake", - "imgFile": "112.jpg", - "party": "NPP" -}, -{ - "num": 2, - "id": "AL", - "firstName": "ASP", - "lastName": "Liyanage", - "twtrHandle": "Unknown", - "imgFile": "ASPL.png", - "party": "SLLP" -}, -{ - "num": 3, - "id": "JR", - "firstName": "Janaka", - "lastName": "Ratnayake", - "twtrHandle": "Unknown", - "imgFile": "JR.jpg", - "party": "Ind" -}, -{ - "num": 4, - "id": "MS", - "firstName": "Mathiaparanan Abraham", - "lastName": "Sumanthiran", - "twtrHandle": "MASumanthiran", - "imgFile": "3194.jpg", - "party": "ITAK" -}, -{ - "num": 5, - "id": "NB", - "firstName": "Nuwan", - "lastName": "Bopage", - "twtrHandle": "Unknown", - "imgFile": "NB.png", - "party": "PSA" -}, -{ - "num": 6, - "id": "OH", - "firstName": "Oshala", - "lastName": "Herath", - "twtrHandle": "OshalaHerath", - "imgFile": "OH.png", - "party": "NIF" -}, -{ - "num": 7, - "id": "RW", - "firstName": "Ranil", - "lastName": "Wickramasinghe", - "twtrHandle": "RW_UNP", - "imgFile": "1244.jpg", - "party": "UNP" -}, -{ - "num": 8, - "id": "SF", - "firstName": "Sarath", - "lastName": "Fonseka", - "twtrHandle": "GeneralFonseka", - "imgFile": "3135.jpg", - "party": "Ind" -}, -{ - "num": 9, - "id": "SK", - "firstName": "Sarath", - "lastName": "Keerthirathna", - "twtrHandle": "Unknown", - "imgFile": "SK.jpg", - "party": "Ind" -}, -{ - "num": 10, - "id": "SP", - "firstName": "Sajith", - "lastName": "Premadasa", - "twtrHandle": "SajithPremadasa", - "imgFile": "140.jpg", - "party": "SJB" -}, -{ - "num": 11, - "id": "WR", - "firstName": "Wijeyadasa", - "lastName": "Rajapakshe", - "twtrHandle": "WijeRajapakshe", - "imgFile": "1521.jpg", - "party": "SLFP" -}, -]; +// Auto Generated by gen_candidates.py +export const CANDIDATE_D_LIST = [ + { + num: 1, + id: "AD", + firstName: "Anura Kumara", + lastName: "Disanayake", + twtrHandle: "AnuraDisanayake", + imgFile: "112.jpg", + party: "NPP", + }, + { + num: 2, + id: "AL", + firstName: "ASP", + lastName: "Liyanage", + twtrHandle: "Unknown", + imgFile: "ASPL.png", + party: "SLLP", + }, + { + num: 3, + id: "JR", + firstName: "Janaka", + lastName: "Ratnayake", + twtrHandle: "Unknown", + imgFile: "JR.jpg", + party: "Ind", + }, + { + num: 4, + id: "MS", + firstName: "Mathiaparanan Abraham", + lastName: "Sumanthiran", + twtrHandle: "MASumanthiran", + imgFile: "3194.jpg", + party: "ITAK", + }, + { + num: 5, + id: "NB", + firstName: "Nuwan", + lastName: "Bopage", + twtrHandle: "Unknown", + imgFile: "NB.png", + party: "PSA", + }, + { + num: 6, + id: "OH", + firstName: "Oshala", + lastName: "Herath", + twtrHandle: "OshalaHerath", + imgFile: "OH.png", + party: "NIF", + }, + { + num: 7, + id: "RW", + firstName: "Ranil", + lastName: "Wickramasinghe", + twtrHandle: "RW_UNP", + imgFile: "1244.jpg", + party: "UNP", + }, + { + num: 8, + id: "SF", + firstName: "Sarath", + lastName: "Fonseka", + twtrHandle: "GeneralFonseka", + imgFile: "3135.jpg", + party: "Ind", + }, + { + num: 9, + id: "SK", + firstName: "Sarath", + lastName: "Keerthirathna", + twtrHandle: "Unknown", + imgFile: "SK.jpg", + party: "Ind", + }, + { + num: 10, + id: "SP", + firstName: "Sajith", + lastName: "Premadasa", + twtrHandle: "SajithPremadasa", + imgFile: "140.jpg", + party: "SJB", + }, + { + num: 11, + id: "WR", + firstName: "Wijeyadasa", + lastName: "Rajapakshe", + twtrHandle: "WijeRajapakshe", + imgFile: "1521.jpg", + party: "SLFP", + }, +]; diff --git a/src/nonview/data/CRITERION_LIST.js b/src/nonview/data/CRITERION_LIST.js index 4a14902..1242449 100644 --- a/src/nonview/data/CRITERION_LIST.js +++ b/src/nonview/data/CRITERION_LIST.js @@ -1,16 +1,16 @@ -// Auto Generated by gen_criteria.py -export const CRITERION_LIST = [ - "Economic Experience at the National Level", - "Has Military Affiliations", - "Has Para-Military Affiliations", - "History of working with a ideologically wide group of MPs", - "Is a Party Leader", - "Member or Former-Member of the SLPP", - "Over 70% Attendance in the latest Parliament", - "Previous Affiliations with Rajapaksa Governments", - "Under 65 years old (Born after 1959)", - "Will support abolishing the Executive Presidency while in seat", - "Won a Electoral District Seat in the 2020 General Election", - "Member of a Rajapaksa Cabinet", - "Voted for the 20th Amendment", -]; +// Auto Generated by gen_criteria.py +export const CRITERION_LIST = [ + "Economic Experience at the National Level", + "Has Military Affiliations", + "Has Para-Military Affiliations", + "History of working with a ideologically wide group of MPs", + "Is a Party Leader", + "Member or Former-Member of the SLPP", + "Over 70% Attendance in the latest Parliament", + "Previous Affiliations with Rajapaksa Governments", + "Under 65 years old (Born after 1959)", + "Will support abolishing the Executive Presidency while in seat", + "Won a Electoral District Seat in the 2020 General Election", + "Member of a Rajapaksa Cabinet", + "Voted for the 20th Amendment", +]; diff --git a/src/nonview/data/CRITERION_TO_CANDIDATE_TO_SCORE.js b/src/nonview/data/CRITERION_TO_CANDIDATE_TO_SCORE.js index 2a190f2..a6b1e0f 100644 --- a/src/nonview/data/CRITERION_TO_CANDIDATE_TO_SCORE.js +++ b/src/nonview/data/CRITERION_TO_CANDIDATE_TO_SCORE.js @@ -1,172 +1,172 @@ -// Auto Generated by gen_criterion_to_candidate_to_score.py -export const CRITERION_TO_CANDIDATE_TO_SCORE = { - "Economic Experience at the National Level": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: 100, - SF: -100, - SK: -100, - SP: -100, - WR: -100, - }, - "Has Military Affiliations": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: -100, - SF: 100, - SK: -100, - SP: -100, - WR: -100, - }, - "Has Para-Military Affiliations": { - AD: 100, - AL: -100, - JR: -100, - MS: 100, - NB: -100, - OH: -100, - RW: -100, - SF: 100, - SK: -100, - SP: -100, - WR: -100, - }, - "History of working with a ideologically wide group of MPs": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: 100, - SF: -100, - SK: -100, - SP: 100, - WR: -100, - }, - "Is a Party Leader": { - AD: 100, - AL: -100, - JR: -100, - MS: 100, - NB: -100, - OH: -100, - RW: 100, - SF: -100, - SK: -100, - SP: 100, - WR: -100, - }, - "Member or Former-Member of the SLPP": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: -100, - SF: -100, - SK: -100, - SP: -100, - WR: 100, - }, - "Over 70% Attendance in the latest Parliament": { - AD: 100, - AL: 100, - JR: 0, - MS: 100, - NB: 0, - OH: 0, - RW: 100, - SF: 100, - SK: 0, - SP: 100, - WR: -100, - }, - "Previous Affiliations with Rajapaksa Governments": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: 100, - SF: -100, - SK: -100, - SP: -100, - WR: 100, - }, - "Under 65 years old (Born after 1959)": { - AD: 100, - AL: 0, - JR: 100, - MS: 100, - NB: 100, - OH: 100, - RW: -100, - SF: -100, - SK: -100, - SP: 100, - WR: -100, - }, - "Will support abolishing the Executive Presidency while in seat": { - AD: 100, - AL: 0, - JR: 0, - MS: 100, - NB: 100, - OH: -100, - RW: -100, - SF: -100, - SK: -100, - SP: -100, - WR: -100, - }, - "Won a Electoral District Seat in the 2020 General Election": { - AD: 100, - AL: -100, - JR: -100, - MS: 100, - NB: -100, - OH: -100, - RW: -100, - SF: -100, - SK: -100, - SP: 100, - WR: -100, - }, - "Member of a Rajapaksa Cabinet": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: 100, - SF: -100, - SK: 100, - SP: -100, - WR: 100, - }, - "Voted for the 20th Amendment": { - AD: -100, - AL: -100, - JR: -100, - MS: -100, - NB: -100, - OH: -100, - RW: -100, - SF: -100, - SK: 100, - SP: -100, - WR: 100, - }, -}; +// Auto Generated by gen_criterion_to_candidate_to_score.py +export const CRITERION_TO_CANDIDATE_TO_SCORE = { + "Economic Experience at the National Level": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: 100, + SF: -100, + SK: -100, + SP: -100, + WR: -100, + }, + "Has Military Affiliations": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: -100, + SF: 100, + SK: -100, + SP: -100, + WR: -100, + }, + "Has Para-Military Affiliations": { + AD: 100, + AL: -100, + JR: -100, + MS: 100, + NB: -100, + OH: -100, + RW: -100, + SF: 100, + SK: -100, + SP: -100, + WR: -100, + }, + "History of working with a ideologically wide group of MPs": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: 100, + SF: -100, + SK: -100, + SP: 100, + WR: -100, + }, + "Is a Party Leader": { + AD: 100, + AL: -100, + JR: -100, + MS: 100, + NB: -100, + OH: -100, + RW: 100, + SF: -100, + SK: -100, + SP: 100, + WR: -100, + }, + "Member or Former-Member of the SLPP": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: -100, + SF: -100, + SK: -100, + SP: -100, + WR: 100, + }, + "Over 70% Attendance in the latest Parliament": { + AD: 100, + AL: 100, + JR: 0, + MS: 100, + NB: 0, + OH: 0, + RW: 100, + SF: 100, + SK: 0, + SP: 100, + WR: -100, + }, + "Previous Affiliations with Rajapaksa Governments": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: 100, + SF: -100, + SK: -100, + SP: -100, + WR: 100, + }, + "Under 65 years old (Born after 1959)": { + AD: 100, + AL: 0, + JR: 100, + MS: 100, + NB: 100, + OH: 100, + RW: -100, + SF: -100, + SK: -100, + SP: 100, + WR: -100, + }, + "Will support abolishing the Executive Presidency while in seat": { + AD: 100, + AL: 0, + JR: 0, + MS: 100, + NB: 100, + OH: -100, + RW: -100, + SF: -100, + SK: -100, + SP: -100, + WR: -100, + }, + "Won a Electoral District Seat in the 2020 General Election": { + AD: 100, + AL: -100, + JR: -100, + MS: 100, + NB: -100, + OH: -100, + RW: -100, + SF: -100, + SK: -100, + SP: 100, + WR: -100, + }, + "Member of a Rajapaksa Cabinet": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: 100, + SF: -100, + SK: 100, + SP: -100, + WR: 100, + }, + "Voted for the 20th Amendment": { + AD: -100, + AL: -100, + JR: -100, + MS: -100, + NB: -100, + OH: -100, + RW: -100, + SF: -100, + SK: 100, + SP: -100, + WR: 100, + }, +}; diff --git a/src/view/molecules/CriterionView.js b/src/view/molecules/CriterionView.js index 6d36c78..9ef3e6d 100644 --- a/src/view/molecules/CriterionView.js +++ b/src/view/molecules/CriterionView.js @@ -11,6 +11,21 @@ import Weight from "../../nonview/core/Weight"; import WeightView from "../../view/molecules/WeightView"; +const MARKS = [ + { + value: -100, + label: Weight.EMOJI.UNSUITABLE, + }, + { + value: 0, + label: Weight.EMOJI.NEUTRAL, + }, + { + value: 100, + label: Weight.EMOJI.SUITABLE, + }, +]; + function CustomSlider({ setCriterionValue, onChangeCriterionWeight, @@ -28,21 +43,6 @@ function CustomSlider({ const color = Weight.getColor(criterionWeight); - const marks = [ - { - value: -100, - label: Weight.EMOJI.UNSUITABLE, - }, - { - value: 0, - label: Weight.EMOJI.NEUTRAL, - }, - { - value: 100, - label: Weight.EMOJI.SUITABLE, - }, - ]; - return ( {t(criterionID)} @@ -59,7 +59,7 @@ function CustomSlider({ width: Math.min(window.innerWidth * 0.5, 480), fontSize: 5, }} - marks={marks} + marks={MARKS} /> diff --git a/src/view/molecules/PartyView.js b/src/view/molecules/PartyView.js index de9842a..88dd2f7 100644 --- a/src/view/molecules/PartyView.js +++ b/src/view/molecules/PartyView.js @@ -1,4 +1,4 @@ -import Typography from "@mui/material/Typography"; +import { Avatar, Typography } from "@mui/material"; import { t } from "../../nonview/base/I18N"; import Party from "../../nonview/core/Party"; @@ -15,20 +15,19 @@ export default function PartyView({ id }) { const color = party.color; return ( - {id} - {t(id)} + + + {t(id)} + ); }