From 014f3c8720854aa619b6b9232c023dea5899aaac Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Sat, 10 Feb 2024 15:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A1=E7=AE=97=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AE=B0=E5=BD=95=E4=B8=AD=E7=9A=84=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E9=87=8D=E5=A4=A7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index 845fc10f..3af1ad66 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -1779,7 +1779,7 @@ def generateIDtoUsageCorrespondence(idlist,validcols,names): #根据idlist(题 return corr_dict def CalculateUsages(statsfilepathlist,statsfilename,gradename,threshold,marks,correspondence_dict,validcols,date): #根据统计数据所在的路径,文件名,年级,阈值,分数列表和题号列数(0-len(validcols))对应字典,以及原excel文件中的有效列位置validcols, 日期date, 生成usages的metadata.txt文件的内容, 如果有正确率大于1的则返回False - output = "ans\n\n\n" + output = "usages\n\n\n" validflag = True for dir in statsfilepathlist: classname, valid = CheckValidity(dir,gradename,threshold)