def getEvaluationModuleResult(hash, evaluations_module, evaluations_result): db = DB() rows = DB_Evaluations.getEvaluationModuleResult( db.cursor, hash, evaluations_module, evaluations_result) db.DBDisconnect() return rows
def getClassificationResultValue(hash, classifications_classification, classifications_result): db = DB() rows = DB_Evaluations.getClassificationResultValue( db.cursor, hash, classifications_classification, classifications_result) db.DBDisconnect() return rows
def getResultstoUpdateClassification(classifier_id, classifier_result): db = DB() rows = DB_Evaluations.getResultstoUpdateClassification( db.cursor, classifier_id, classifier_result) db.DBDisconnect() return rows
def getUnassigned(): db = DB() rows = DB_Evaluations.getUnassigned(db.cursor) db.DBDisconnect() return rows
def getResultstoClassifyCheck(): db = DB() rows = DB_Evaluations.getResultstoClassifyCheck(db.cursor) db.DBDisconnect() return rows
def getResultstoClassify(indicators): db = DB() rows = DB_Evaluations.getResultstoClassify(db.cursor, indicators) db.DBDisconnect() return rows
def getEvaluationsDate(hash, module): db = DB() rows = DB_Evaluations.getEvaluationsDate(db.cursor, hash, module) db.DBDisconnect() return rows
def getResultHashesNoUpdate(number_indicators): db = DB() rows = DB_Evaluations.getResultHashesNoUpdate(db.cursor, number_indicators) db.DBDisconnect() return rows
def getEvaluationModules(): db = DB() rows = DB_Evaluations.getEvaluationModules(db.cursor) db.DBDisconnect() return rows
def deleteDupClassifiedData(): db = DB() rows = DB_Evaluations.deleteDupClassifiedData(db.cursor) db.DBDisconnect()
def deleteDuplicates(): db = DB() rows = DB_Evaluations.deleteDuplicates(db.cursor) db.DBDisconnect()
def updateClassificationResult(hash, result, classifications_classification, today): db = DB() DB_Evaluations.updateClassificationResult( db.cursor, hash, result, classifications_classification, today) db.DBDisconnect()
def UpdateEvaluationResult(value, date, hash, module): db = DB() DB_Evaluations.UpdateEvaluationResult(db.cursor, value, date, hash, module) db.DBDisconnect()
def insertEvaluationResult(hash, module, value, today): db = DB() DB_Evaluations.insertEvaluationResult(db.cursor, hash, module, value, today) db.DBDisconnect()
def getResultwithIndicators(hash): db = DB() rows = DB_Evaluations.getResultwithIndicators(db.cursor, hash) db.DBDisconnect() return rows
def getEvaluationsResults(hash): db = DB() rows = DB_Evaluations.getEvaluationsResults(db.cursor, hash) db.DBDisconnect() return rows
def getResultHashes(): db = DB() rows = DB_Evaluations.getResultHashes(db.cursor) db.DBDisconnect() return rows