Beispiel #1
0
 def getEvaluationModuleResult(hash, evaluations_module,
                               evaluations_result):
     db = DB()
     rows = DB_Evaluations.getEvaluationModuleResult(
         db.cursor, hash, evaluations_module, evaluations_result)
     db.DBDisconnect()
     return rows
Beispiel #2
0
 def getClassificationResultValue(hash, classifications_classification,
                                  classifications_result):
     db = DB()
     rows = DB_Evaluations.getClassificationResultValue(
         db.cursor, hash, classifications_classification,
         classifications_result)
     db.DBDisconnect()
     return rows
Beispiel #3
0
 def getResultstoUpdateClassification(classifier_id, classifier_result):
     db = DB()
     rows = DB_Evaluations.getResultstoUpdateClassification(
         db.cursor, classifier_id, classifier_result)
     db.DBDisconnect()
     return rows
Beispiel #4
0
 def getUnassigned():
     db = DB()
     rows = DB_Evaluations.getUnassigned(db.cursor)
     db.DBDisconnect()
     return rows
Beispiel #5
0
 def getResultstoClassifyCheck():
     db = DB()
     rows = DB_Evaluations.getResultstoClassifyCheck(db.cursor)
     db.DBDisconnect()
     return rows
Beispiel #6
0
 def getResultstoClassify(indicators):
     db = DB()
     rows = DB_Evaluations.getResultstoClassify(db.cursor, indicators)
     db.DBDisconnect()
     return rows
Beispiel #7
0
 def getEvaluationsDate(hash, module):
     db = DB()
     rows = DB_Evaluations.getEvaluationsDate(db.cursor, hash, module)
     db.DBDisconnect()
     return rows
Beispiel #8
0
 def getResultHashesNoUpdate(number_indicators):
     db = DB()
     rows = DB_Evaluations.getResultHashesNoUpdate(db.cursor,
                                                   number_indicators)
     db.DBDisconnect()
     return rows
Beispiel #9
0
 def getEvaluationModules():
     db = DB()
     rows = DB_Evaluations.getEvaluationModules(db.cursor)
     db.DBDisconnect()
     return rows
Beispiel #10
0
 def deleteDupClassifiedData():
     db = DB()
     rows = DB_Evaluations.deleteDupClassifiedData(db.cursor)
     db.DBDisconnect()
Beispiel #11
0
 def deleteDuplicates():
     db = DB()
     rows = DB_Evaluations.deleteDuplicates(db.cursor)
     db.DBDisconnect()
Beispiel #12
0
 def updateClassificationResult(hash, result,
                                classifications_classification, today):
     db = DB()
     DB_Evaluations.updateClassificationResult(
         db.cursor, hash, result, classifications_classification, today)
     db.DBDisconnect()
Beispiel #13
0
 def UpdateEvaluationResult(value, date, hash, module):
     db = DB()
     DB_Evaluations.UpdateEvaluationResult(db.cursor, value, date, hash,
                                           module)
     db.DBDisconnect()
Beispiel #14
0
 def insertEvaluationResult(hash, module, value, today):
     db = DB()
     DB_Evaluations.insertEvaluationResult(db.cursor, hash, module, value,
                                           today)
     db.DBDisconnect()
Beispiel #15
0
 def getResultwithIndicators(hash):
     db = DB()
     rows = DB_Evaluations.getResultwithIndicators(db.cursor, hash)
     db.DBDisconnect()
     return rows
Beispiel #16
0
 def getEvaluationsResults(hash):
     db = DB()
     rows = DB_Evaluations.getEvaluationsResults(db.cursor, hash)
     db.DBDisconnect()
     return rows
Beispiel #17
0
 def getResultHashes():
     db = DB()
     rows = DB_Evaluations.getResultHashes(db.cursor)
     db.DBDisconnect()
     return rows