添加两道关联题目(改填空)

This commit is contained in:
WangWeiye 2023-04-27 10:57:12 +08:00
parent 4ecacfeeed
commit 4e019a247e
6 changed files with 61 additions and 11 deletions

View File

@ -2,7 +2,7 @@ import os,re,json
"""---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---""" """---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---"""
keywords_dict_table = [ keywords_dict_table = [
{"origin":[r""],"origin2":["2023"],"origin3":[r"试题([1-8]|17|18)$"],"origin4":[r"} {"origin":[r""],"origin2":["2023"],"origin3":[r"松江"]}
] ]
"""---关键字设置完毕---""" """---关键字设置完毕---"""
# 示例: keywords_dict_table = [ # 示例: keywords_dict_table = [

View File

@ -1 +1 @@
012287:012294,012303:012304,012308:012315,012324:012325,012487:012494,012503:012504,012508:012515,012524:012525,012529:012536,012545:012546,012550:012557,012566:012567,012571:012578,012587:012588,012592:012599,012608:012609,012613:012620,012629:012630,012634:012641,012650:012651,012655:012662,012671:012672,012676:012683,012692:012693,012697:012704,012713:012714,012718:012725,012734:012735,012760:012767,012776:012777,014511:014518,014527:014528 015206:015226

View File

@ -1,8 +1,8 @@
import os,re,json,time import os,re,json,time
"""---设置原题目id与新题目id列表, 新id的数目不能小于旧id的数目---""" """---设置原题目id与新题目id列表, 新id的数目不能小于旧id的数目---"""
old_ids = "14993,14941,14933,14912,14937" old_ids = "40557,40569"
new_ids = "31397:31500" new_ids = "31402:31500"
"""---设置完毕---""" """---设置完毕---"""
"""---完成编辑后记得运行第二个单元格---""" """---完成编辑后记得运行第二个单元格---"""

View File

@ -5,12 +5,12 @@ import os,re,json,time,sys
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)""" """2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
"""3: 日常选题讲义(一个section)""" """3: 日常选题讲义(一个section)"""
paper_type = 1 # 随后设置一下后续的讲义标题 paper_type = 2 # 随后设置一下后续的讲义标题
"""---设置题块编号---""" """---设置题块编号---"""
problems = [ problems = [
"14916,14901,14918,14919","14917,14915,14905,14907" "015206:015217","015218:015221","015222:015226"
] ]
@ -20,12 +20,12 @@ problems = [
if paper_type == 1: if paper_type == 1:
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号) enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
template_file = "模板文件/复习讲义模板.txt" #设置模板文件名 template_file = "模板文件/复习讲义模板.txt" #设置模板文件名
exec_list = [("标题数字待处理","06"),("标题文字待处理","表达与论证")] #设置讲义标题 exec_list = [("标题数字待处理","03"),("标题文字待处理","分类讨论")] #设置讲义标题
destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名 destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][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 = [("标题替换","下学期测验08")] #设置讲义标题 exec_list = [("标题替换","下学期周末卷07")] #设置讲义标题
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开始编号)

View File

@ -1,4 +1,4 @@
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= "错题重做参考答案"

View File

@ -485964,6 +485964,52 @@
"space": "", "space": "",
"unrelated": [] "unrelated": []
}, },
"031402": {
"id": "031402",
"content": "已知$P$点是$\\triangle ABC$所在平面内一点, 若$\\overrightarrow{AB} \\perp \\overrightarrow{AC}$, $|\\overrightarrow{AB}| \\cdot|\\overrightarrow{AC}|=1$, 且$\\overrightarrow{AP}=\\dfrac{1}{|\\overrightarrow{AB}|} \\overrightarrow{AB}+\\dfrac{9}{|\\overrightarrow{AC}|} \\overrightarrow{AC}$, 则$\\overrightarrow{PB} \\cdot \\overrightarrow{PC}$的最大值为\\blank{50}.",
"objs": [],
"tags": [],
"genre": "填空题",
"ans": "",
"solution": "",
"duration": -1,
"usages": [],
"origin": "2023年空中课堂高三复习课30-20230427修改",
"edit": [
"20230405\t王伟叶",
"20230427\t刘亚东"
],
"same": [],
"related": [
"040557"
],
"remark": "从40557改为填空题",
"space": "",
"unrelated": []
},
"031403": {
"id": "031403",
"content": "设$a>0, b$、$c \\in \\mathbf{R}, f(x)=a x^3+b x^2+x$, 若$y=f'(x)$在区间$(-\\infty, 1]$上是严格减函数, 且$b-a^2+2 a+2 \\geq 0$, 则$\\dfrac{b-3}{a-2}$的取值范围为\\blank{50}.",
"objs": [],
"tags": [],
"genre": "填空题",
"ans": "",
"solution": "",
"duration": -1,
"usages": [],
"origin": "2023年空中课堂高三复习课30-20230427修改",
"edit": [
"20230405\t王伟叶",
"20230427\t刘亚东"
],
"same": [],
"related": [
"040569"
],
"remark": "从40569改为填空题",
"space": "",
"unrelated": []
},
"040001": { "040001": {
"id": "040001", "id": "040001",
"content": "参数方程$\\begin{cases}x=3 t^2+4, \\\\ y=t^2-2\\end{cases}$($0 \\leq t \\leq 3$)所表示的曲线是\\bracket{20}.\n\\fourch{一支双曲线}{线段}{圆弧}{射线}", "content": "参数方程$\\begin{cases}x=3 t^2+4, \\\\ y=t^2-2\\end{cases}$($0 \\leq t \\leq 3$)所表示的曲线是\\bracket{20}.\n\\fourch{一支双曲线}{线段}{圆弧}{射线}",
@ -498046,7 +498092,9 @@
"20230405\t王伟叶" "20230405\t王伟叶"
], ],
"same": [], "same": [],
"related": [], "related": [
"031402"
],
"remark": "", "remark": "",
"space": "4em", "space": "4em",
"unrelated": [] "unrelated": []
@ -498288,7 +498336,9 @@
"20230405\t王伟叶" "20230405\t王伟叶"
], ],
"same": [], "same": [],
"related": [], "related": [
"031403"
],
"remark": "", "remark": "",
"space": "", "space": "",
"unrelated": [] "unrelated": []