From 7b22242e31a0a5ea6b7ea0ad5538c4f112357e04 Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Mon, 5 Dec 2022 22:23:03 +0800 Subject: [PATCH] 20221205 night --- 工具/修改题目数据库.ipynb | 12 ++--- 工具/寻找tex文件中未赋答案的题目.ipynb | 75 +++++++++++++++++++++++--- 工具/批量添加题库字段数据.ipynb | 37 +++++++++++-- 工具/文本文件/metadata.txt | 75 ++++++++++++++++++++++++-- 工具/生成文件夹下的题号清单.ipynb | 6 +-- 工具/题号选题pdf生成.ipynb | 4 +- 题库0.3/Problems.json | 42 +++++++-------- 7 files changed, 205 insertions(+), 46 deletions(-) diff --git a/工具/修改题目数据库.ipynb b/工具/修改题目数据库.ipynb index a1440e5c..8294faca 100644 --- a/工具/修改题目数据库.ipynb +++ b/工具/修改题目数据库.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 25, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "0" ] }, - "execution_count": 25, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -19,7 +19,7 @@ "source": [ "import os,re,json\n", "# 这里修改题目id, 可以不满6位\n", - "id = 1\n", + "id = 10000\n", "\n", "index = str(id).zfill(6)\n", "with open(r\"../题库0.3/Problems.json\",\"r\",encoding = \"utf8\") as f:\n", @@ -55,7 +55,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.8.8 ('base')", "language": "python", "name": "python3" }, @@ -69,12 +69,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/工具/寻找tex文件中未赋答案的题目.ipynb b/工具/寻找tex文件中未赋答案的题目.ipynb index 290c5602..60ae52de 100644 --- a/工具/寻找tex文件中未赋答案的题目.ipynb +++ b/工具/寻找tex文件中未赋答案的题目.ipynb @@ -2,14 +2,77 @@ "cells": [ { "cell_type": "code", - "execution_count": 40, + "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "测验09.tex\n" + "测验10.tex\n", + "012096\n", + "\n", + "\n", + "012097\n", + "\n", + "\n", + "012098\n", + "\n", + "\n", + "012099\n", + "\n", + "\n", + "012100\n", + "\n", + "\n", + "012101\n", + "\n", + "\n", + "012102\n", + "\n", + "\n", + "012103\n", + "\n", + "\n", + "012104\n", + "\n", + "\n", + "012105\n", + "\n", + "\n", + "012106\n", + "\n", + "\n", + "012107\n", + "\n", + "\n", + "012108\n", + "\n", + "\n", + "012109\n", + "\n", + "\n", + "012110\n", + "\n", + "\n", + "012111\n", + "\n", + "\n", + "012112\n", + "\n", + "\n", + "012113\n", + "\n", + "\n", + "012114\n", + "\n", + "\n", + "012115\n", + "\n", + "\n", + "012116\n", + "\n", + "\n" ] } ], @@ -17,7 +80,7 @@ "import os,json,re\n", "\n", "#这里需要修改, 设定路径与选择文件\n", - "fileind = 12\n", + "fileind = 13\n", "path = r\"C:\\Users\\weiye\\Documents\\wwy sync\\23届\\上学期测验卷\"\n", "# path = r\"C:\\Users\\wang weiye\\Documents\\wwy sync\\23届\\第一轮复习讲义\"\n", "\n", @@ -47,7 +110,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.8.8 ('base')", "language": "python", "name": "python3" }, @@ -61,12 +124,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 7da65e60..20e2fd14 100644 --- a/工具/批量添加题库字段数据.ipynb +++ b/工具/批量添加题库字段数据.ipynb @@ -2,14 +2,41 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "题号: 007631 , 字段: remark 中已添加数据: 题目有些歧义, 建议下次不使用\n" + "题号: 012096 , 字段: ans 中已修改数据: $\\{-1,0\\}$\n", + "题号: 012097 , 字段: ans 中已修改数据: $2$\n", + "题号: 012098 , 字段: ans 中已修改数据: $(1,-2,-3)$\n", + "题号: 012099 , 字段: ans 中已修改数据: $3$\n", + "题号: 012100 , 字段: ans 中已修改数据: $69$\n", + "题号: 012101 , 字段: ans 中已修改数据: $-\\dfrac 43$\n", + "题号: 012102 , 字段: ans 中已修改数据: $\\dfrac 12$\n", + "题号: 012103 , 字段: ans 中已修改数据: $\\dfrac\\pi 6$或$\\dfrac{5\\pi}6$\n", + "题号: 012104 , 字段: ans 中已修改数据: $(-3,-1)\\cup (0,1)$\n", + "题号: 012105 , 字段: ans 中已修改数据: $\\dfrac 6{25}$\n", + "题号: 012106 , 字段: ans 中已修改数据: $\\sqrt{3}$\n", + "题号: 012107 , 字段: ans 中已修改数据: $(-1,1-\\sqrt{3}]$\n", + "题号: 012108 , 字段: ans 中已修改数据: B\n", + "题号: 012109 , 字段: ans 中已修改数据: D\n", + "题号: 012110 , 字段: ans 中已修改数据: C\n", + "题号: 012111 , 字段: ans 中已修改数据: C\n", + "题号: 012112 , 字段: ans 中已修改数据: (1) 公差为$3$; (2) $a_1$的所有可能的值为$18,19,20$\n", + "题号: 012113 , 字段: ans 中已修改数据: (1) 证明略; (2) $\\dfrac 13$\n", + "题号: 012114 , 字段: ans 中已修改数据: (1) (示例)王先生可能需要考虑的因素有:\\\\\n", + "\\textcircled{1} 未来月租金的变化;\\\\\n", + "\\textcircled{2} 找到承租人的时长的变化;\\\\\n", + "\\textcircled{3} 未来租客的租期长短;\\\\\n", + "\\textcircled{4} 房屋是否未来三年内可以用于出租;\\\\\n", + "\\textcircled{5} 换租客的过程中是否需要重新装修;\n", + "\\textcircled{6} 寻租过程中的时间、精力成本等.\\\\\n", + "(2) 言之有理即可\n", + "题号: 012115 , 字段: ans 中已修改数据: (1) $y=x+1$; (2) 面积的最大值为$2$, 此时$l:y=0$; (3) 当$\\delta_{F_1}\\cdot \\delta_{F_2}>b^2$($=b^2$, $b^2$($=b^2$, $b^2$($=b^2$, $