修改15097和15098的错位答案
This commit is contained in:
parent
329d395942
commit
a8bdaf68da
|
|
@ -1,6 +1,6 @@
|
||||||
import os,re,json
|
import os,re,json
|
||||||
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
|
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
|
||||||
problems = "40070"
|
problems = "15097,15098"
|
||||||
|
|
||||||
def generate_number_set(string,dict):
|
def generate_number_set(string,dict):
|
||||||
string = re.sub(r"[\n\s]","",string)
|
string = re.sub(r"[\n\s]","",string)
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ mainpath + "寒假作业/",
|
||||||
mainpath + "下学期测验卷/",
|
mainpath + "下学期测验卷/",
|
||||||
mainpath + "下学期周末卷/",
|
mainpath + "下学期周末卷/",
|
||||||
mainpath + "第二轮复习讲义/",
|
mainpath + "第二轮复习讲义/",
|
||||||
|
mainpath + "第三轮复习讲义/",
|
||||||
# mainpath + "简单题/",
|
# mainpath + "简单题/",
|
||||||
]
|
]
|
||||||
"""---路径设置完毕---"""
|
"""---路径设置完毕---"""
|
||||||
|
|
|
||||||
|
|
@ -1 +1,10 @@
|
||||||
,,,,,,,,,,,,,,
|
15080:15100
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
未使用题号:
|
||||||
|
|
||||||
|
|
||||||
|
已使用题号:
|
||||||
|
015080,015081,015082,015083,015084,015085,015086,015087,015088,015089,015090,015091,015092,015093,015094,015095,015096,015097,015098,015099,015100
|
||||||
|
|
@ -5,12 +5,12 @@ import os,re,json,time,sys
|
||||||
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
|
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
|
||||||
"""3: 日常选题讲义(一个section)"""
|
"""3: 日常选题讲义(一个section)"""
|
||||||
|
|
||||||
paper_type = 3 # 随后设置一下后续的讲义标题
|
paper_type = 2 # 随后设置一下后续的讲义标题
|
||||||
|
|
||||||
"""---设置题块编号---"""
|
"""---设置题块编号---"""
|
||||||
|
|
||||||
problems = [
|
problems = [
|
||||||
"13527:13541"
|
"15164:15175","15176:15179","15180:15184"
|
||||||
]
|
]
|
||||||
|
|
||||||
"""---设置结束---"""
|
"""---设置结束---"""
|
||||||
|
|
@ -24,7 +24,7 @@ if paper_type == 1:
|
||||||
elif paper_type == 2:
|
elif paper_type == 2:
|
||||||
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
||||||
template_file = "模板文件/测验周末卷模板.txt" #设置模板文件名
|
template_file = "模板文件/测验周末卷模板.txt" #设置模板文件名
|
||||||
exec_list = [("标题替换","下学期周末卷07")] #设置讲义标题
|
exec_list = [("标题替换","高三下学期周末卷08")] #设置讲义标题
|
||||||
destination_file = "临时文件/"+exec_list[0][1] # 设置输出文件名
|
destination_file = "临时文件/"+exec_list[0][1] # 设置输出文件名
|
||||||
elif paper_type == 3:
|
elif paper_type == 3:
|
||||||
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
||||||
|
|
|
||||||
|
|
@ -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 = [] #列表为空默认处理所有讲义
|
filelist = [] #列表为空默认处理所有讲义
|
||||||
output_gloss_filename= "赋能卷参考答案"
|
output_gloss_filename= "下学期周末卷参考答案"
|
||||||
|
|
||||||
import os,re,json
|
import os,re,json
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -392211,7 +392211,7 @@
|
||||||
"第六单元"
|
"第六单元"
|
||||||
],
|
],
|
||||||
"genre": "解答题",
|
"genre": "解答题",
|
||||||
"ans": "(1) 证明略; (2) $\\dfrac{\\sqrt{5}}3$\n`1\n15098\n(1) $a=0.26$, $b=0.38$; (2) $\\dfrac 23$; (3) $X$的分布为$\\begin{pmatrix} 0 & 1 & 2 \\\\ \\dfrac 5{14} & \\dfrac{15}{28} & \\dfrac 3{28} \\end{pmatrix}$, 期望为$\\dfrac 34$",
|
"ans": "(1) 证明略; (2) $\\dfrac{\\sqrt{5}}3$",
|
||||||
"solution": "",
|
"solution": "",
|
||||||
"duration": -1,
|
"duration": -1,
|
||||||
"usages": [],
|
"usages": [],
|
||||||
|
|
@ -392234,7 +392234,7 @@
|
||||||
"第九单元"
|
"第九单元"
|
||||||
],
|
],
|
||||||
"genre": "解答题",
|
"genre": "解答题",
|
||||||
"ans": "",
|
"ans": "(1) $a=0.26$, $b=0.38$; (2) $\\dfrac 23$; (3) $X$的分布为$\\begin{pmatrix} 0 & 1 & 2 \\\\ \\dfrac 5{14} & \\dfrac{15}{28} & \\dfrac 3{28} \\end{pmatrix}$, 期望为$\\dfrac 34$",
|
||||||
"solution": "",
|
"solution": "",
|
||||||
"duration": -1,
|
"duration": -1,
|
||||||
"usages": [],
|
"usages": [],
|
||||||
|
|
|
||||||
Reference in New Issue