From 2b452a96849c01ca6f24ba5ef3b0e60574345ca4 Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Sun, 13 Nov 2022 18:06:36 +0800 Subject: [PATCH] 20221113 evening --- 工具/关键字筛选题号.ipynb | 6 +++--- 工具/已用题号剔除.ipynb | 6 +++--- 工具/文本文件/题号筛选.txt | 8 +++++++- 工具/讲义生成.ipynb | 22 +++++++++++----------- 工具/题号选题pdf生成.ipynb | 13 ++++++------- 题库0.3/Problems.json | 6 +++--- 6 files changed, 33 insertions(+), 28 deletions(-) diff --git a/工具/关键字筛选题号.ipynb b/工具/关键字筛选题号.ipynb index a59db1a7..b40e4bbc 100644 --- a/工具/关键字筛选题号.ipynb +++ b/工具/关键字筛选题号.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 6, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "0" ] }, - "execution_count": 6, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -21,7 +21,7 @@ "\n", "\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n", "keywords_dict_table = [\n", - " {\"tags\":[\"第七单元\"],\"tags1\":[\"直线\"],\"objs_not\":[\"K\"],\"tags_not\":[\"圆\",\"椭圆\",\"双曲线\",\"抛物线\",\"参数方程\",\"极坐标\"]}\n", + " {\"tags_not\":[\"第八单元\"],\"usages\":[r\"高三02班[^\\n]*0\\.9\"],\"usages_not\":[r\"0\\.[0-7]\"],\"objs_not\":[\"X\"]}\n", "]\n", "\"\"\"---关键字设置完毕---\"\"\"\n", "# 示例: keywords_dict_table = [\n", diff --git a/工具/已用题号剔除.ipynb b/工具/已用题号剔除.ipynb index c97f7ff6..1000f122 100644 --- a/工具/已用题号剔除.ipynb +++ b/工具/已用题号剔除.ipynb @@ -2,15 +2,15 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "首行题目数量: 21\n", - "剩余题目数量: 21\n" + "首行题目数量: 272\n", + "剩余题目数量: 93\n" ] } ], diff --git a/工具/文本文件/题号筛选.txt b/工具/文本文件/题号筛选.txt index f7cd6759..3dbd0a8e 100644 --- a/工具/文本文件/题号筛选.txt +++ b/工具/文本文件/题号筛选.txt @@ -1 +1,7 @@ -000334,000513,000522,000530,000643,000747,000775,000880,000946,000960,002107,002112,002125,002126,002127,002128,002129,002130,002131,002132,002133,002134,002136,002137,002138,002139,002140,002141,002142,002143,002144,002145,002146,002147,002148,002149,002150,002151,002152,002155,002156,002157,002158,002159,002160,002161,002162,002163,002164,002165,002166,002167,002168,002169,002170,002171,002172,002173,002174,002175,002176,002177,002178,002179,002180,002182,002183,002184,002185,002186,002187,002188,002189,002190,002191,002193,002194,002195,002196,002197,002198,002199,002200,002201,002204,002205,002206,002207,002208,002209,002210,002212,002213,002214,002215,002216,002217,002218,002219,002221,002222,002223,002224,002225,002226,002227,002228,002229,002230,002231,002232,002233,002234,002235,002236,002467,002471,002472,003362,003363,003364,003365,003366,003367,003368,003369,003370,003372,003373,003374,003375,003376,003377,003378,003380,003388,003643,003684,003755,003952,004213,004254,004281,004299,004538,004628,004705,008748,008749,008750,008751,008752,008753,008754,008755,008756,008757,008758,008759,008760,008761,008762,008763,008765,008766,008767,008768,008769,008770,008771,008772,008773,008774,008775,008776,008777,008778,008779,008780,008781,008783,008784,008785,008786,008787,008788,008790,008791,008792,008793,008794,008795,008796,008797,008798,008799,008800,008801,008802,008803,008804,008805,008806,008807,008808,008809,008810,008811,008812,008813,008814,008815,008816,008817,008818,008819,008820,008821,008822,008823,008824,008825,008826,008827,008828,008829,008830,008831,008832,008833,008834,008835,009074,009083,009084,009085,009094,009104,009780,009781,009782,009783,009784,009785,009786,009787,009788,009789,009790,009791,009792,009793,009794,009795,009796,009797,009798,009799,009800,009801,009802,009803,009804,009805,010591,010592,010593,010594,010595,010596,010597,010598,010599,010600,010601,010602,010603,010604,010605,010606,010607,010608,010609,010610,010612,010613,010614,010615,010616,010617,010618,010619,010620,010621,010622,010623,010624,010626,010627,010628,010629,010630,010631,010635,010636,010637,010638,010639,010640,010642,010643,010644,010645,030026 \ No newline at end of file +000020,000033,000048,000049,000054,000061,000101,000119,000153,000163,000165,000168,000170,000189,000197,000236,000326,000339,000347,000348,000349,000357,000367,000368,000371,000387,000411,000431,000436,000481,000622,000637,000738,000757,000788,000792,000858,000871,000883,000894,000924,001073,001086,001120,001226,001238,001245,001286,001292,001300,001305,001314,001326,001371,001480,001506,001510,001597,001623,001649,001659,001676,001847,001848,001852,001857,001858,001871,001877,001992,002011,002027,002081,002697,002710,002772,002784,002793,002798,002800,002833,002847,002874,002909,002925,002955,003041,003092,003095,003097,003130,003140,003142,003179,003328,003332,003345,003346,003355,003454,003455,003466,003501,003519,003520,003544,003632,003636,003658,003662,003798,003815,003841,003875,003891,003936,003982,003986,003996,004080,004081,004084,004092,004122,004124,004125,004144,004167,004240,004248,004283,004312,004313,004328,004365,004400,004414,004420,004439,004446,004447,004449,004451,004454,004455,004458,004460,004492,004557,004768,004794,004878,004928,004929,005150,005199,005225,005230,005300,005464,005568,005610,005723,005899,006062,006115,006129,006166,006177,006264,006346,006414,007042,007314,007684,007709,007959,008106,008168,008215,009137,009186,009227,009468,009518,009530,009531,009532,009547,009698,009720,009998,010110,010125,010137,010454,010497,010498,010500,010501,010508,010531,010923,010924,010925,010926,010928,010930,010932,010937,010946,010948,010952,010956,011332,011989,011990,011991,011992,011996,011997,012000,012001,012002,012009,012010,012013,012016,012017,012021,020065,020079,030013,030017,030021,030031,030076,030078,030087,030088,030089,030090,030091,030093,030095,030097,030116,030119,030120,030122,030128,030137,030145,030149,030151,030152,030169,030200,030211,030212,030243,030246,030247,030263,030264,030273,030278,030432,030434,030436,030440,030450 + +未使用题号: +000054,000153,000163,000189,000197,000236,000788,000792,000858,000871,000883,001120,001226,001305,001371,001597,001623,001649,001659,001848,001877,003179,003328,003332,003454,003466,003501,003544,003875,003982,003996,004084,004167,004283,004768,004794,004928,006062,007314,007684,009137,009186,009227,009698,009720,010110,010454,010498,010500,010531,011332,011989,011990,011991,011992,011996,011997,012000,012001,012002,012009,012010,012013,012016,012017,012021,020065,030078,030087,030088,030089,030090,030091,030093,030095,030097,030116,030119,030120,030122,030128,030137,030145,030149,030151,030200,030211,030212,030243,030246,030247,030263,030264 + +已使用题号: +000020,000033,000048,000049,000061,000101,000119,000165,000168,000170,000326,000339,000347,000348,000349,000357,000367,000368,000371,000387,000411,000431,000436,000481,000622,000637,000738,000757,000894,000924,001073,001086,001238,001245,001286,001292,001300,001314,001326,001480,001506,001510,001676,001847,001852,001857,001858,001871,001992,002011,002027,002081,002697,002710,002772,002784,002793,002798,002800,002833,002847,002874,002909,002925,002955,003041,003092,003095,003097,003130,003140,003142,003345,003346,003355,003455,003519,003520,003632,003636,003658,003662,003798,003815,003841,003891,003936,003986,004080,004081,004092,004122,004124,004125,004144,004240,004248,004312,004313,004328,004365,004400,004414,004420,004439,004446,004447,004449,004451,004454,004455,004458,004460,004492,004557,004878,004929,005150,005199,005225,005230,005300,005464,005568,005610,005723,005899,006115,006129,006166,006177,006264,006346,006414,007042,007709,007959,008106,008168,008215,009468,009518,009530,009531,009532,009547,009998,010125,010137,010497,010501,010508,010923,010924,010925,010926,010928,010930,010932,010937,010946,010948,010952,010956,020079,030013,030017,030021,030031,030076,030152,030169,030273,030278,030432,030434,030436,030440,030450 \ No newline at end of file diff --git a/工具/讲义生成.ipynb b/工具/讲义生成.ipynb index 19be7067..f1ae0ff9 100644 --- a/工具/讲义生成.ipynb +++ b/工具/讲义生成.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 6, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -15,9 +15,9 @@ "题块 2 处理完毕.\n", "正在处理题块 3 .\n", "题块 3 处理完毕.\n", - "开始编译教师版本pdf文件: 临时文件/测验卷07_教师_20221111.tex\n", + "开始编译教师版本pdf文件: 临时文件/基础考_教师_20221112.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/测验卷07_学生_20221111.tex\n", + "开始编译学生版本pdf文件: 临时文件/基础考_学生_20221112.tex\n", "0\n" ] } @@ -41,7 +41,7 @@ "# enumi_mode = 0\n", "\n", "#2023届测验卷与周末卷\n", - "exec_list = [(\"标题替换\",\"测验07\")]\n", + "exec_list = [(\"标题替换\",\"基础考\")]\n", "enumi_mode = 1\n", "\n", "# 日常选题讲义\n", @@ -51,15 +51,15 @@ "\"\"\"---其他预处理替换命令结束---\"\"\"\n", "\n", "\"\"\"---设置目标文件名---\"\"\"\n", - "destination_file = \"临时文件/测验卷07\"\n", + "destination_file = \"临时文件/基础考\"\n", "\"\"\"---设置目标文件名结束---\"\"\"\n", "\n", "\n", "\"\"\"---设置题号数据---\"\"\"\n", "problems = [\n", - "\"5304,4468:4473,30480,4475:4478\",\n", - "\"4479:4482\",\n", - "\"4484:4486\"\n", + "\"12033:12044\",\n", + "\"12045:12048\",\n", + "\"12049:12053\"\n", "\n", "]\n", "\"\"\"---设置题号数据结束---\"\"\"\n", @@ -211,7 +211,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.8.8 ('base')", "language": "python", "name": "python3" }, @@ -225,12 +225,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.8.8" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba" + "hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac" } } }, diff --git a/工具/题号选题pdf生成.ipynb b/工具/题号选题pdf生成.ipynb index 103f6e2e..84ce43ec 100644 --- a/工具/题号选题pdf生成.ipynb +++ b/工具/题号选题pdf生成.ipynb @@ -9,9 +9,9 @@ "name": "stdout", "output_type": "stream", "text": [ - "开始编译教师版本pdf文件: 临时文件/三角向量复数易错题_教师用_20221108.tex\n", + "开始编译教师版本pdf文件: 临时文件/必修前八单元简单题_教师用_20221111.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/三角向量复数易错题_学生用_20221108.tex\n", + "开始编译学生版本pdf文件: 临时文件/必修前八单元简单题_学生用_20221111.tex\n", "0\n" ] } @@ -26,7 +26,6 @@ "\"\"\"---设置题目列表---\"\"\"\n", "#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n", "problems = r\"\"\"\n", - "000179,000749,001895,002004,002013,003113,003135,003356,003505,003522,003528,003985,004539,006147,008101,010222,010453,030058,030101,030106,030107\n", "\n", "\n", "\n", @@ -35,7 +34,7 @@ "\n", "\"\"\"---设置文件名---\"\"\"\n", "#目录和文件的分隔务必用/\n", - "filename = \"临时文件/三角向量复数易错题\"\n", + "filename = \"临时文件/必修前八单元简单题\"\n", "\"\"\"---设置文件名结束---\"\"\"\n", "\n", "\n", @@ -176,7 +175,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.8.8 ('base')", "language": "python", "name": "python3" }, @@ -190,12 +189,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.8.8" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba" + "hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac" } } }, diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index 99d2f117..f0c6373b 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -289845,7 +289845,7 @@ }, "012035": { "id": "012035", - "content": "陈述句``$a\\ge 1$且$a\\le 3$''的定义域为\\blank{50}.", + "content": "陈述句``$a\\ge 1$且$a\\le 3$''的否定形式为\\blank{50}.", "objs": [], "tags": [], "genre": "", @@ -290092,7 +290092,7 @@ }, "012048": { "id": "012048", - "content": "如图所示, 图中多面体是由两个底面相同的正四棱锥所拼接而成, 且这六个顶点在同一个球面上. 若二面角$M-AB-C$的正切值为$1$, 则二面角$N-AB-C$的正切值为\\bracket{20}.\n\\begin{center}\n\\begin{tikzpicture}[>=latex, z = (-120:0.5)]\n\\draw (-1,0,1) node [left] {$A$} coordinate (A);\n\\draw (1,0,1) node [right] {$B$} coordinate (B);\n\\draw (1,0,-1) node [right] {$C$} coordinate (C);\n\\draw (-1,0,-1) node [left] {$D$} coordinate (D);\n\\draw (0,1,0) node [above] {$M$} coordinate (M);\n\\draw (0,-2,0) node [below] {$N$} coordinate (N);\n\\draw (A) -- (B) -- (C) (A) -- (N) (B) -- (N) (C) -- (N) (M) -- (D) (M) -- (A) (M) -- (B) (M) -- (C) (A) -- (D);\n\\draw [dashed] (D) -- (C) (D) -- (N);\n\\end{tikzpicture}\n\\end{center}", + "content": "如图所示, 图中多面体是由两个底面相同的正四棱锥所拼接而成, 且这六个顶点在同一个球面上. 若二面角$M-AB-C$的正切值为$1$, 则二面角$N-AB-C$的正切值为\\bracket{20}.\n\\begin{center}\n\\begin{tikzpicture}[>=latex, z = (-120:0.5)]\n\\draw (-1,0,1) node [left] {$A$} coordinate (A);\n\\draw (1,0,1) node [right] {$B$} coordinate (B);\n\\draw (1,0,-1) node [right] {$C$} coordinate (C);\n\\draw (-1,0,-1) node [left] {$D$} coordinate (D);\n\\draw (0,1,0) node [above] {$M$} coordinate (M);\n\\draw (0,-2,0) node [below] {$N$} coordinate (N);\n\\draw (A) -- (B) -- (C) (A) -- (N) (B) -- (N) (C) -- (N) (M) -- (D) (M) -- (A) (M) -- (B) (M) -- (C) (A) -- (D);\n\\draw [dashed] (D) -- (C) (D) -- (N);\n\\end{tikzpicture}\n\\end{center}\n\\fourch{$1$}{$\\sqrt{2}$}{$2$}{$2\\sqrt{2}$}", "objs": [], "tags": [], "genre": "", @@ -290130,7 +290130,7 @@ }, "012050": { "id": "012050", - "content": "已知函数$f(x)=ax^2+x-1$. ($a>0$)\\\\\n(1) 若关于$x$的不等式$f(x)<0$的解集为$(-1,b)$, 求实数$a$和$b$的值;\n(2) 若函数$y=f(x)$在$[-3,-1]$上的最大值为$2$, 求实数$a$的值.", + "content": "已知函数$f(x)=ax^2+x-1$. ($a>0$)\\\\\n(1) 若关于$x$的不等式$f(x)<0$的解集为$(-1,b)$, 求实数$a$和$b$的值;\\\\\n(2) 若函数$y=f(x)$在$[-3,-1]$上的最大值为$2$, 求实数$a$的值.", "objs": [], "tags": [], "genre": "",