diff --git a/工具/修改题目数据库.py b/工具/修改题目数据库.py index 3d5a7031..da26b966 100644 --- a/工具/修改题目数据库.py +++ b/工具/修改题目数据库.py @@ -1,6 +1,6 @@ import os,re,json """这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块""" -problems = "031395,030018" +problems = "13982" def generate_number_set(string,dict): string = re.sub(r"[\n\s]","",string) diff --git a/工具/讲义生成.py b/工具/讲义生成.py index beddf3dd..aea10291 100644 --- a/工具/讲义生成.py +++ b/工具/讲义生成.py @@ -10,7 +10,7 @@ paper_type = 1 # 随后设置一下后续的讲义标题 """---设置题块编号---""" problems = [ -"14987,14913,14990,14914","14911,14991,14992,14994,14946,14995" +"14624,14950,14956,14957,14947","14613,14615,14953,14961,14962" ] @@ -20,7 +20,7 @@ problems = [ if paper_type == 1: enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号) template_file = "模板文件/复习讲义模板.txt" #设置模板文件名 - exec_list = [("标题数字待处理","05"),("标题文字待处理","新情境中的问题")] #设置讲义标题 + exec_list = [("标题数字待处理","01"),("标题文字待处理","函数方程与不等式")] #设置讲义标题 destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名 elif paper_type == 2: enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号) diff --git a/工具/试卷答案生成.py b/工具/试卷答案生成.py index 4fcdd1ea..d92d9fa3 100644 --- a/工具/试卷答案生成.py +++ b/工具/试卷答案生成.py @@ -1,6 +1,6 @@ -file_dir = r"C:\Users\weiye\Documents\wwy sync\23届\下学期测验卷" +file_dir = r"C:\Users\weiye\Documents\wwy sync\23届\四月错题重做" filelist = [] #列表为空默认处理所有讲义 -output_gloss_filename= "临时" +output_gloss_filename= "错题重做参考答案" import os,re,json diff --git a/工具/题号选题pdf生成.py b/工具/题号选题pdf生成.py index c76a06eb..ea7030e7 100644 --- a/工具/题号选题pdf生成.py +++ b/工具/题号选题pdf生成.py @@ -7,7 +7,7 @@ import os,re,time,json,sys """---设置题目列表---""" #留空为编译全题库, a为读取文本文件中的题号筛选.txt文件生成题库 problems = r""" -a +14613,14615,14624,14950,14953,14956,14957,14961,14962,14947 """ """---设置题目列表结束---""" diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index cf120b57..1d3c26da 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -347421,7 +347421,7 @@ "第七单元" ], "genre": "填空题", - "ans": "$a-6$", + "ans": "$a-b$", "solution": "", "duration": -1, "usages": [ @@ -462537,7 +462537,7 @@ "第四单元" ], "genre": "填空题", - "ans": "", + "ans": "$5$", "solution": "", "duration": -1, "usages": [], @@ -462564,7 +462564,7 @@ "第四单元" ], "genre": "解答题", - "ans": "", + "ans": "$a_9$最大, $a_{10}$最小", "solution": "", "duration": -1, "usages": [], @@ -462590,7 +462590,7 @@ "第四单元" ], "genre": "解答题", - "ans": "", + "ans": "$a_1=-\\dfrac{10}{11}$最小, $a_{12}=a_{13}=\\dfrac{10^{13}}{11^{12}}$最大", "solution": "", "duration": -1, "usages": [],