From 278d7eaa1828074f68d4aee5c60a701f5c57fb44 Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Sun, 20 Nov 2022 23:26:24 +0800 Subject: [PATCH] 20221120 night --- 工具/寻找阶段末尾空闲题号.ipynb | 2 +- 工具/添加关联题目.ipynb | 12 +- 工具/添加题目到数据库.ipynb | 6 +- 工具/讲义生成.ipynb | 14 +-- 工具/识别题库中尚未标注的题目类型.ipynb | 67 ++++++---- 题库0.3/Problems.json | 157 ++++++++++++++++-------- 6 files changed, 164 insertions(+), 94 deletions(-) diff --git a/工具/寻找阶段末尾空闲题号.ipynb b/工具/寻找阶段末尾空闲题号.ipynb index a654ad6f..f2e521be 100644 --- a/工具/寻找阶段末尾空闲题号.ipynb +++ b/工具/寻找阶段末尾空闲题号.ipynb @@ -9,7 +9,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "首个空闲id: 12054 , 直至 020000\n", + "首个空闲id: 12075 , 直至 020000\n", "首个空闲id: 20227 , 直至 030000\n", "首个空闲id: 30481 , 直至 999999\n" ] diff --git a/工具/添加关联题目.ipynb b/工具/添加关联题目.ipynb index cd826ef9..5759222c 100644 --- a/工具/添加关联题目.ipynb +++ b/工具/添加关联题目.ipynb @@ -2,15 +2,15 @@ "cells": [ { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import os,re,json,time\n", "\n", "\"\"\"---设置原题目id与新题目id---\"\"\"\n", - "old_id = \"4474\"\n", - "new_id = \"30480\"\n", + "old_id = \"8863\"\n", + "new_id = \"30482\"\n", "\"\"\"---设置完毕---\"\"\"\n", "\n", "old_id = old_id.zfill(6)\n", @@ -50,7 +50,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.8.8 ('base')", "language": "python", "name": "python3" }, @@ -64,12 +64,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/工具/添加题目到数据库.ipynb b/工具/添加题目到数据库.ipynb index aac98acc..fd32d3c1 100644 --- a/工具/添加题目到数据库.ipynb +++ b/工具/添加题目到数据库.ipynb @@ -7,10 +7,10 @@ "outputs": [], "source": [ "#修改起始id,出处,文件名\n", - "starting_id = 12054\n", - "origin = \"2023届奉贤中学晋元中学高三期中考试\"\n", + "starting_id = 30481\n", + "origin = \"自拟题目\"\n", "filename = r\"C:\\Users\\Weiye\\Documents\\wwy sync\\临时工作区\\自拟题目4.tex\"\n", - "editor = \"20221117\\t朱敏慧\\t王伟叶\"" + "editor = \"20221120\\t朱敏慧\"" ] }, { diff --git a/工具/讲义生成.ipynb b/工具/讲义生成.ipynb index 0b2e5c2e..e360a94d 100644 --- a/工具/讲义生成.ipynb +++ b/工具/讲义生成.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 5, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -13,9 +13,9 @@ "题块 1 处理完毕.\n", "正在处理题块 2 .\n", "题块 2 处理完毕.\n", - "开始编译教师版本pdf文件: 临时文件/37_抛物线的概念及性质_教师_20221119.tex\n", + "开始编译教师版本pdf文件: 临时文件/35_圆及曲线方程_教师_20221120.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/37_抛物线的概念及性质_学生_20221119.tex\n", + "开始编译学生版本pdf文件: 临时文件/35_圆及曲线方程_学生_20221120.tex\n", "0\n" ] } @@ -35,7 +35,7 @@ "\n", "\"\"\"---设置其他预处理替换命令---\"\"\"\n", "#2023届第一轮讲义更换标题\n", - "exec_list = [(\"标题数字待处理\",\"37\"),(\"标题文字待处理\",\"抛物线的概念及性质\")] \n", + "exec_list = [(\"标题数字待处理\",\"35\"),(\"标题文字待处理\",\"圆及曲线方程\")] \n", "enumi_mode = 0\n", "\n", "#2023届测验卷与周末卷\n", @@ -49,14 +49,14 @@ "\"\"\"---其他预处理替换命令结束---\"\"\"\n", "\n", "\"\"\"---设置目标文件名---\"\"\"\n", - "destination_file = \"临时文件/37_抛物线的概念及性质\"\n", + "destination_file = \"临时文件/35_圆及曲线方程\"\n", "\"\"\"---设置目标文件名结束---\"\"\"\n", "\n", "\n", "\"\"\"---设置题号数据---\"\"\"\n", "problems = [\n", - "\"4654,2393,669,3837,4495,4550,864,3437,2450,2441,2402,2689,2426,282,2403,2417,2418,804\",\n", - "\"9099,8926,9077,9840,8956,9081,2440,8923,3781,2424,2429,2434,3438,8937\"\n", + "\"003394,008854,008865,008940,002254,002250,009076,009809,008866,010650,002270,002262,000501,008941,008863,002278,002280,000267,002252,000274\",\n", + "\"005339,002239,002245,009808,002243,002251,003893,002264,010654,002268,003384,008856,004648,002273,030480,000287,030481\"\n", "\n", "]\n", "\"\"\"---设置题号数据结束---\"\"\"\n", diff --git a/工具/识别题库中尚未标注的题目类型.ipynb b/工具/识别题库中尚未标注的题目类型.ipynb index 8e7f957a..2546497e 100644 --- a/工具/识别题库中尚未标注的题目类型.ipynb +++ b/工具/识别题库中尚未标注的题目类型.ipynb @@ -9,30 +9,49 @@ "name": "stdout", "output_type": "stream", "text": [ - "012030 填空题\n", - "012031 填空题\n", - "012032 填空题\n", - "030452 解答题\n", - "030453 解答题\n", - "030454 填空题\n", - "030455 选择题\n", - "030456 解答题\n", - "030457 解答题\n", - "030458 解答题\n", - "030459 解答题\n", - "030460 解答题\n", - "030461 解答题\n", - "030462 解答题\n", - "030463 填空题\n", - "030464 填空题\n", - "030465 填空题\n", - "030466 填空题\n", - "030467 选择题\n", - "030468 选择题\n", - "030469 解答题\n", - "030470 填空题\n", - "030471 选择题\n", - "030472 解答题\n" + "012033 填空题\n", + "012034 填空题\n", + "012035 填空题\n", + "012036 填空题\n", + "012037 填空题\n", + "012038 填空题\n", + "012039 填空题\n", + "012040 填空题\n", + "012041 填空题\n", + "012042 填空题\n", + "012043 填空题\n", + "012044 填空题\n", + "012045 选择题\n", + "012046 选择题\n", + "012047 选择题\n", + "012048 选择题\n", + "012049 解答题\n", + "012050 解答题\n", + "012051 解答题\n", + "012052 解答题\n", + "012053 解答题\n", + "012054 填空题\n", + "012055 填空题\n", + "012056 填空题\n", + "012057 填空题\n", + "012058 填空题\n", + "012059 填空题\n", + "012060 填空题\n", + "012061 填空题\n", + "012062 填空题\n", + "012063 填空题\n", + "012064 填空题\n", + "012065 填空题\n", + "012066 选择题\n", + "012067 选择题\n", + "012068 选择题\n", + "012069 选择题\n", + "012070 解答题\n", + "012071 解答题\n", + "012072 解答题\n", + "012073 解答题\n", + "012074 解答题\n", + "030481 填空题\n" ] } ], diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index 3c2f7542..ed43136a 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -219366,7 +219366,9 @@ "20220726\t王伟叶" ], "same": [], - "related": [], + "related": [ + "030482" + ], "remark": "", "space": "12ex" }, @@ -292020,7 +292022,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292041,7 +292043,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292062,7 +292064,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292083,7 +292085,7 @@ "tags": [ "第八单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292104,7 +292106,7 @@ "tags": [ "第六单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292125,7 +292127,7 @@ "tags": [ "第五单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292146,7 +292148,7 @@ "tags": [ "第五单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292167,7 +292169,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292188,7 +292190,7 @@ "tags": [ "第九单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292209,7 +292211,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292230,7 +292232,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292251,7 +292253,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292272,7 +292274,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292293,7 +292295,7 @@ "tags": [ "第八单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292314,7 +292316,7 @@ "tags": [ "第九单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292335,7 +292337,7 @@ "tags": [ "第六单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292356,7 +292358,7 @@ "tags": [ "第五单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292368,7 +292370,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012050": { "id": "012050", @@ -292377,7 +292379,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292389,7 +292391,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012051": { "id": "012051", @@ -292399,7 +292401,7 @@ "第三单元", "第六单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292411,7 +292413,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012052": { "id": "012052", @@ -292420,7 +292422,7 @@ "tags": [ "第六单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292432,7 +292434,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012053": { "id": "012053", @@ -292442,7 +292444,7 @@ "第三单元", "第二单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292454,7 +292456,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012054": { "id": "012054", @@ -292463,7 +292465,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292484,7 +292486,7 @@ "tags": [ "第五单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292505,7 +292507,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292526,7 +292528,7 @@ "tags": [ "第四单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292547,7 +292549,7 @@ "tags": [ "第五单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292568,7 +292570,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292589,7 +292591,7 @@ "tags": [ "第四单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292610,7 +292612,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292631,7 +292633,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292652,7 +292654,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292673,7 +292675,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292694,7 +292696,7 @@ "tags": [ "第四单元" ], - "genre": "", + "genre": "填空题", "ans": "", "solution": "", "duration": -1, @@ -292715,7 +292717,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292736,7 +292738,7 @@ "tags": [ "第四单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292757,7 +292759,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292778,7 +292780,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "选择题", "ans": "", "solution": "", "duration": -1, @@ -292799,7 +292801,7 @@ "tags": [ "第一单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292811,7 +292813,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012071": { "id": "012071", @@ -292820,7 +292822,7 @@ "tags": [ "第三单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292832,7 +292834,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012072": { "id": "012072", @@ -292841,7 +292843,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292853,7 +292855,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012073": { "id": "012073", @@ -292862,7 +292864,7 @@ "tags": [ "第四单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292874,7 +292876,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "012074": { "id": "012074", @@ -292883,7 +292885,7 @@ "tags": [ "第二单元" ], - "genre": "", + "genre": "解答题", "ans": "", "solution": "", "duration": -1, @@ -292895,7 +292897,7 @@ "same": [], "related": [], "remark": "", - "space": "" + "space": "12ex" }, "020001": { "id": "020001", @@ -311690,5 +311692,54 @@ ], "remark": "", "space": "" + }, + "030481": { + "id": "030481", + "content": "已知和实数$x,y$满足$y=\\sqrt{3-(x-2)^2}$, 则$\\dfrac{y}{x}$的取值范围为\\blank{50}.", + "objs": [], + "tags": [ + "第七单元", + "圆" + ], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "自拟题目", + "edit": [ + "20221120\t朱敏慧" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "030482": { + "id": "030482", + "content": "已知动直线$kx-y+1=0$和圆$x^2+y^2=4$相交于$AB$两点, 求弦$AB$的中点的轨迹方程.", + "objs": [ + "K0711005X" + ], + "tags": [ + "第七单元", + "圆" + ], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "二期课改练习册高二第二学期-20221120修改", + "edit": [ + "20220726\t王伟叶", + "20221120\t朱敏慧" + ], + "same": [], + "related": [ + "008863" + ], + "remark": "", + "space": "12ex" } } \ No newline at end of file