20230228 evening

This commit is contained in:
WangWeiye 2023-02-28 19:16:52 +08:00
parent 4196ca26bf
commit 5de4649b73
6 changed files with 24 additions and 29 deletions

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 50,
"execution_count": 52,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 50,
"execution_count": 52,
"metadata": {},
"output_type": "execute_result"
}
@ -19,7 +19,7 @@
"source": [
"import os,re,json\n",
"\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n",
"problems = \"31237\"\n",
"problems = \"3637,11610,12444\"\n",
"\n",
"def generate_number_set(string,dict):\n",
" string = re.sub(r\"[\\n\\s]\",\"\",string)\n",
@ -51,7 +51,7 @@
},
{
"cell_type": "code",
"execution_count": 49,
"execution_count": 51,
"metadata": {},
"outputs": [],
"source": [

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
@ -21,9 +21,7 @@
"\n",
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
"keywords_dict_table = [\n",
" {\"origin\":[\"教材复习题\"],\"tags\":[\"第三单元\"]},\n",
" {\"origin\":[\"新教材\"],\"origin2\":[\"课堂练习\"],\"tags\":[\"第三单元\"]},\n",
" {\"origin\":[\"新教材\"],\"origin2\":[\"册习题\"],\"tags\":[\"第三单元\"]},\n",
" {\"tags\":[\"第一单元\"],\"usages\":[r\"0\\.[2345]\\d{2}\"]},\n",
"]\n",
"\"\"\"---关键字设置完毕---\"\"\"\n",
"# 示例: keywords_dict_table = [\n",

View File

@ -1 +1 @@
003675,012165,004252,031239,031238,031266,031240,031237,004256,004499,004132,004217,008972,009082,012445,030691,010000,011301,003691,011450,031236
000018,000022,000415,000977,000978,000981,000982,000983,000984,000986,000988,000992,000999,001001,001002,001003,001005,001010,001014,001015,001016,001017,001042,001044,001045,001076,001080,001084,001085,001090,001091,001094,001096,001099,001107,001108,001111,001112,001113,001114,001115,001117,001123,001127,001128,001129,001130,001132,001133,001138,001142,001147,001148,001150,001151,001491,001595,001605,001610,001682,001695,001832,001856,002693,002700,002702,002704,002731,002737,002741,002747,002753,002792,002807,002812,003758,004403,004422,004435,004562,004630,004650,004676,004697,004770,004847,004873,004875,004949,004994,007692,007826,007991,009446,010027,010953,011064,012024,012056,012086,012107,012181,012214,012791,012793,012796,012798,012799,012817,012818,012856,012891,013694,013700,013720,013721,013727,013736,013738,013739,013747,013752,013758,020028,020030,020035,020041,020068,020081,020089,020129,020134,020137,020141,020143,020277,020293,020296,020302,020309,020312,020336,020338,020344,020351,030029,030032,030033,030034,030039,030040,030111,030112,030437,031215,031217,031220,031224,031225,031226

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@ -11,12 +11,10 @@
"text": [
"正在处理题块 1 .\n",
"题块 1 处理完毕.\n",
"正在处理题块 2 .\n",
"题块 2 处理完毕.\n",
"开始编译教师版本pdf文件: 临时文件/15_数列综合_教师_20230227.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/15_数列综合_学生_20230227.tex\n",
"0\n"
"开始编译教师版本pdf文件: 临时文件/2023劳模讲师团高三复习讲座_第一单元_预备知识_教师_20230228.tex\n",
"1\n",
"开始编译学生版本pdf文件: 临时文件/2023劳模讲师团高三复习讲座_第一单元_预备知识_学生_20230228.tex\n",
"1\n"
]
}
],
@ -28,12 +26,12 @@
"\"\"\"2: 测验卷与周末卷(填空题, 选择题, 解答题)\"\"\"\n",
"\"\"\"3: 日常选题讲义(一个section)\"\"\"\n",
"\n",
"paper_type = 1 # 随后设置一下后续的讲义标题\n",
"paper_type = 3 # 随后设置一下后续的讲义标题\n",
"\n",
"\"\"\"---设置题块编号---\"\"\"\n",
"\n",
"problems = [\n",
"\"012942,012941,012976,012923,013002,014550,012966,013005,013935,012978,012932,012947,012971,013960\",\"013000,012956,014553,012959,012977,012982,013955,013944,012936,014560,013006,012983,012938\"\n",
"\"3675,11674,3665,11661,3622,9997,3637,11725,12436,11610,11662,11599,30437,20309\"\n",
"]\n",
"\n",
"\"\"\"---设置结束---\"\"\"\n",
@ -52,7 +50,7 @@
"elif paper_type == 3:\n",
" enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)\n",
" template_file = \"模板文件/日常选题讲义模板.txt\" #设置模板文件名\n",
" exec_list = [(\"标题文字待处理\",\"第一单元\")] #设置讲义标题\n",
" exec_list = [(\"标题文字待处理\",\"2023劳模讲师团高三复习讲座_第一单元_预备知识\")] #设置讲义标题\n",
" destination_file = \"临时文件/\"+exec_list[0][1] # 设置输出文件名\n",
" \n",
"\n",

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"开始编译教师版本pdf文件: 临时文件/月考解答_教师用_20230227.tex\n",
"开始编译教师版本pdf文件: 临时文件/2023届劳模子女数学讲座_01_预备知识_教师用_20230228.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/月考解答_学生用_20230227.tex\n",
"开始编译学生版本pdf文件: 临时文件/2023届劳模子女数学讲座_01_预备知识_学生用_20230228.tex\n",
"0\n"
]
}
@ -26,15 +26,14 @@
"\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
"problems = r\"\"\"\n",
"003675,012165,004252,031239,031238,031266,031240,031237,004256,004499,004132,004217,008972,009082,012445,030691,010000,011301,003691,011450,031236\n",
"\n",
"3675,11674,3665,11661,3622,9997,3637,11725,12436,11610,11662,11599,30437,20309\n",
"\n",
"\"\"\"\n",
"\"\"\"---设置题目列表结束---\"\"\"\n",
"\n",
"\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n",
"filename = \"临时文件/月考解答\"\n",
"filename = \"临时文件/2023届劳模子女数学讲座_01_预备知识\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n",
"\n",
"\n",

View File

@ -98400,7 +98400,7 @@
},
"003637": {
"id": "003637",
"content": "已知$x,y\\in \\mathbf{R}^*$, 且满足$\\dfrac{1}{x}+2y=3$, 则$\\dfrac{y}{x}$的最大值为\\blank{50}.",
"content": "已知$x,y\\in (0,+\\infty)$, 且满足$\\dfrac{1}{x}+2y=3$, 则$\\dfrac{y}{x}$的最大值为\\blank{50}.",
"objs": [
"K0119001B"
],
@ -289105,7 +289105,7 @@
},
"011610": {
"id": "011610",
"content": "行列式$\\begin{vmatrix}\na & b \\\\ c & d \\end{vmatrix}$($a,b,c,d\\in \\{-1,1,2\\}$)的所有可能值中, 最大的是\\blank{50}.",
"content": "代数式$ad-bc$($a,b,c,d\\in \\{-1,1,2\\}$)的所有可能值中, 最大的是\\blank{50}.",
"objs": [
"KNONE"
],
@ -308857,7 +308857,7 @@
},
"012444": {
"id": "012444",
"content": "对于集合$A$、$B, `` A \\neq B$''是``$A \\cap B \\subset A \\cup B$''的\\bracket{20}.\n\\fourch{充分非必要条件}{必要非充分条件}{充要条件}{既非充分也非必要条件}",
"content": "对于集合$A$、$B, `` A \\neq B$''是``$A \\cap B \\subset A \\cup B$''的\\bracket{20}.\n\\twoch{充分非必要条件}{必要非充分条件}{充要条件}{既非充分也非必要条件}",
"objs": [],
"tags": [
"第一单元"