diff --git a/工具/修改题目数据库.ipynb b/工具/修改题目数据库.ipynb index 89f8513a..e02860fb 100644 --- a/工具/修改题目数据库.ipynb +++ b/工具/修改题目数据库.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 9, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "0" ] }, - "execution_count": 9, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -19,7 +19,7 @@ "source": [ "import os,re,json\n", "\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n", - "problems = \"12759\"\n", + "problems = \"12576\"\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": 8, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ diff --git a/工具/关键字筛选题号.ipynb b/工具/关键字筛选题号.ipynb index 5ea7bd5c..daa5472e 100644 --- a/工具/关键字筛选题号.ipynb +++ b/工具/关键字筛选题号.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "0" ] }, - "execution_count": 1, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -21,7 +21,7 @@ "\n", "\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n", "keywords_dict_table = [\n", - " {\"origin\":[r\"2025届\"],\"origin2\":[r\"校本\"]}\n", + " {\"origin\":[r\"2023届宝山\"]}\n", "]\n", "\"\"\"---关键字设置完毕---\"\"\"\n", "# 示例: keywords_dict_table = [\n", @@ -96,7 +96,7 @@ ], "metadata": { "kernelspec": { - "display_name": "mathdept", + "display_name": "pythontest", "language": "python", "name": "python3" }, @@ -115,7 +115,7 @@ "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc" + "hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93" } } }, diff --git a/工具/文本文件/题号筛选.txt b/工具/文本文件/题号筛选.txt index 0b4b2d81..02753e2d 100644 --- a/工具/文本文件/题号筛选.txt +++ b/工具/文本文件/题号筛选.txt @@ -1 +1 @@ -020001,020002,020003,020004,020005,020006,020007,020008,020009,020010,020011,020012,020013,020014,020015,020016,020017,020018,020019,020020,020021,020022,020023,020024,020025,020026,020027,020028,020029,020030,020031,020032,020033,020034,020035,020036,020037,020038,020039,020040,020041,020042,020043,020044,020045,020046,020047,020048,020049,020050,020051,020052,020053,020054,020055,020056,020057,020058,020059,020060,020061,020062,020063,020064,020065,020066,020067,020068,020069,020070,020071,020072,020073,020074,020075,020076,020077,020078,020079,020080,020081,020082,020083,020084,020085,020086,020087,020088,020089,020090,020091,020092,020093,020094,020095,020096,020097,020098,020099,020100,020101,020102,020103,020104,020105,020106,020107,020108,020109,020110,020111,020112,020113,020114,020115,020116,020117,020118,020119,020120,020121,020122,020123,020124,020125,020126,020127,020128,020129,020130,020131,020132,020133,020134,020135,020136,020137,020138,020139,020140,020141,020142,020143,020144,020145,020146,020147,020148,020149,020150,020151,020152,020153,020154,020155,020156,020157,020158,020159,020160,020161,020162,020163,020164,020165,020166,020167,020168,020169,020170,020171,020172,020173,020174,020175,020176,020177,020178,020179,020180,020181,020182,020183,020184,020185,020186,020187,020188,020189,020190,020191,020192,020193,020194,020195,020196,020197,020198,020199,020200,020201,020202,020203,020204,020205,020206,020207,020208,020209,020210,020211,020212,020213,020214,020215,020216,020217,020218,020219,020220,020221,020222,020223,020224,020225,020226,020227,020228,020229,020230,020231,020232,020233,020234,020235,020236,020237,020238,020239,020240,020241,020242,020243,020244,020245,020246,020247,020248,020249,020250,020251,020252,020253,020254,020255,020256,020257,020258,020259,020260,020261,020262,020263,020264,020265,020266,020267,020268,020269,020270,020271,020272,020273,020274,020275,020276,020277,020278,020279,020280,020281,020282,020283,020284,020285,020286,020287,020288,020289,020290,020291,020292,020293,020294,020295,020296,020297,020298,020299,020300,020301,020302,020303,020304,020305,020306,020307,020308,020309,020310,020311,020312,020313,020314,020315,020316,020317,020318,020319,020320,020321,020322,020323,020324,020325,020326,020327,020328,020329,020330,020331,020332,020333,020334,020335,020336,020337,020338,020339,020340,020341,020342,020343,020344,020345,020346,020347,020348,020349,020350,020351,020352,020353,020354,020355,020356,020357,020358,020359,020360,020361,020362,020363,020364,020365,020366,020367,020368,020369,020370,020371,020372,020373,020374,020375,020376,020377,020378,020379,020380,020381,020382,020383,020384,020385,020386,020387,020388,020389,020390,020391,020392,020393,020394,020395,020396,020397,020398,020399,020400,020401,020402,020403,020404,020405,020406,020407,020408,020409,020410,020411,020412,020413,020414,020415,020416,020417,020418,020419,020420,020421,020422,020423,020424,020425,020426,020427,020428,020429,020430,020431,020432,020433,020434,020435,020436,020437,020438,020439,020440,020441,020442,020443,020444,020445,020446,020447,020448,020449,020450,020451,020452,020453,020454,020455,020456,020457,020458,020459,020460,020461,020462,020463,020464,020465,020466,020467,020468,020469,020470,020471,020472,020473,020474,020475,020476,020477,020478,020479,020480,020481,020482,020483,020484,020485,020486,020487,020488,020489,020490,020491,020492,020493,020494,020495,020496,020497,020498,020499,020500,020501,020502,020503,020504,020505,020506,020507,020508,020509,020510,020511,020512,020513,020514,020515,020516,020517,020518,020519,020520,020521,020522,020523,020524,020525,020526,020527,020528,020529,020530,020531,020532,020533,020534,020535,020536,020537,020538,020539,020540,020541,020542,020543,020544,020545,020546,020547,020548,020549,020550,020551,020552,020553,020554,020555,020556,020557,020558,020559,020560,020561,020562,020563,020564,020565,020566,020567,020568,020569,020570,020571,020572,020573,020574,020575,020576,020577,020578,020579,020580,020581,020582,020583,020584,020585,020586,020587,020588,020589,020590,020591,020592,020593,020594,020595,020596,020597,020598,020599,020600,020601,020602,020603,020604,020605,020606,020607,020608,020609,020610,020611,020612,020613,020614,020615,020616,020617,020618,020619,020620,020621,020622,020623,020624,020625,020626,020627,020628,020629,020630,020631,020632,020633,020634,020635,020636,020637,020638,020639,020640,020641,020642,020643,020644,020645,020646,020647,020648,020649,020650,020651,020652,020653,020654,020655,020656,020657,020658,020659,020660,020661,020662,020663,020664,020665,020666,020667,020668,020669,020670,020671,020672,020673,020674,020675,020676,020677,020678,020679,020680,020681,020682,020683,020684,020685,020686,020687,020688,020689,020690,020691,020692,020693,020694,020695,020696,020697,020698,020699,020700,020701,020702,020703,020704,020705,020706,020707,020708,020709,020710,020711,020712,020713,020714,020715,020716,020717,020718,020719,020720,020721,020722,020723,020724,020725,020726,020727,020728,020729,020730,020731,020732,020733,020734,020735,020736,020737,020738,020739,020740,020741,020742,020743,020744,020745,020746,020747,020748,020749,020750,020751,020752,020753,020754,020755,020756,020757,020758,020759,020760,020761,020762,020763,020764,020765,020766,020767,020768,020769,020770,020771,020772,020773,020774,020775,020776,020777,020778,020779,020780,020781,020782,020783,020784,020785,020786,020787,020788,020789,020790,020791,020792,020793,020794,020795,020796,020797,020798,020799,020800,020801,020802,020803,020804,020805,020806,020807,020808,020809,020810,020811,020812,020813,020814,020815,020816,020817,020818,020819,020820,020821,020822,020823,020824,020825,020826,020827,020828,020829,020830,020831,020832,020833,020834,020835,020836,020837,020838,020839,020840,020841,020842,020843,020844,020845,020846,020847,020848,020849 \ No newline at end of file +012655,012656,012657,012658,012659,012660,012661,012662,012663,012664,012665,012666,012667,012668,012669,012670,012671,012672,012673,012674,012675 \ No newline at end of file diff --git a/工具/题号选题pdf生成.ipynb b/工具/题号选题pdf生成.ipynb index 5248d251..a3240b56 100644 --- a/工具/题号选题pdf生成.ipynb +++ b/工具/题号选题pdf生成.ipynb @@ -2,16 +2,16 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "开始编译教师版本pdf文件: 临时文件/pudong_教师用_20230128.tex\n", + "开始编译教师版本pdf文件: 临时文件/baoshan_教师用_20230129.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/pudong_学生用_20230128.tex\n", + "开始编译学生版本pdf文件: 临时文件/baoshan_学生用_20230129.tex\n", "0\n" ] } @@ -26,14 +26,14 @@ "\"\"\"---设置题目列表---\"\"\"\n", "#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n", "problems = r\"\"\"\n", - "12676:12696\n", + "a\n", "\n", "\"\"\"\n", "\"\"\"---设置题目列表结束---\"\"\"\n", "\n", "\"\"\"---设置文件名---\"\"\"\n", "#目录和文件的分隔务必用/\n", - "filename = \"临时文件/pudong\"\n", + "filename = \"临时文件/baoshan\"\n", "\"\"\"---设置文件名结束---\"\"\"\n", "\n", "\n", diff --git a/文本处理工具/剪贴板文本整理_mathpix.ipynb b/文本处理工具/剪贴板文本整理_mathpix.ipynb index ccca802e..adb0221a 100644 --- a/文本处理工具/剪贴板文本整理_mathpix.ipynb +++ b/文本处理工具/剪贴板文本整理_mathpix.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 5, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index 13597d7a..b82d0a40 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -311191,7 +311191,7 @@ }, "012576": { "id": "012576", - "content": "某果园种植了$100$棵苹果树, 随机抽取的$12$棵果树的产量(单位: 千克)分别为: $$24,25,36,27,28,32,20,26,29,30,26,33$$据此预计, 该果园的总产量为千克以及第$75$百分位数为\\blank{50}千克.", + "content": "某果园种植了$100$棵苹果树, 随机抽取的$12$棵果树的产量(单位: 千克)分别为: $$24,25,36,27,28,32,20,26,29,30,26,33$$据此预计, 该果园的总产量为\\blank{50}千克以及第$75$百分位数为\\blank{50}千克.", "objs": [], "tags": [ "第九单元" @@ -313515,7 +313515,7 @@ "第二单元" ], "genre": "填空题", - "ans": "$(-\\pi,-\\dfrac\\pi 2)$和$(0,\\dfrac\\pi 2)$", + "ans": "$(-\\pi,-\\dfrac\\pi 2]$和$[0,\\dfrac\\pi 2]$", "solution": "", "duration": -1, "usages": [], @@ -315262,7 +315262,7 @@ "第二单元" ], "genre": "填空题", - "ans": "$(-\\infty,2)\\cup (5,+\\infty)$", + "ans": "$(-\\infty,-2)\\cup (5,+\\infty)$", "solution": "", "duration": -1, "usages": [], @@ -315472,7 +315472,7 @@ "第七单元" ], "genre": "解答题", - "ans": "(1) $\\dfrac{x^2}{3c^2}+\\dfrac{y^2}{2c^2}=1$; (2) 证明略; (3) 证明略", + "ans": "(1) 证明略; (2) 证明略", "solution": "", "duration": -1, "usages": [], @@ -315493,7 +315493,7 @@ "第二单元" ], "genre": "解答题", - "ans": "(1) $\\dfrac 12$; (2) 当$a=\\dfrac 12$时, 函数$y=g(x)$在$(0,+\\infty)$上是严格增函数; 当$a>\\dfrac 12$时, 函数$y=g(x)$在$(0,\\dfrac 1a]$和$[2,+\\infty)$上是严格增函数, 在$[\\dfrac 1a,2]$上是严格减函数; 当$0\\dfrac 12$时, 函数$y=g(x)$在$(0,\\dfrac 1a]$和$[2,+\\infty)$上是严格增函数, 在$[\\dfrac 1a,2]$上是严格减函数; 当$0=latex]\n\\draw (0,0) node [left] {$A$} coordinate (A);\n\\draw (3,0) node [right] {$B$} coordinate (B);\n\\draw (3,1.5) node [right] {$C$} coordinate (C);\n\\draw (0,1.5) node [left] {$D$} coordinate (D);\n\\draw (1.5,0.75) node [below] {$O$} coordinate (O);\n\\draw ($(C)!0.5!(D)$) node [above] {$P$} coordinate (P);\n\\draw (A) -- (B) -- (C) -- (D) -- cycle (P) -- (O) (A) -- (O) -- (B);\n\\end{tikzpicture}\n\\end{center}\n(1) 设$\\angle BAO=\\theta$(弧度), 将$y$表示成$\\theta$的函数并求函数的定义域;\\\\\n(2)假设铺设的污水管道总长度是$(10+10 \\sqrt 3) \\text{km}$, 请确定污水处理厂的位置.", + "content": "如图, 某地有三家工厂, 分别位于矩形$ABCD$的两个顶点$A$、$B$及$CD$的中点$P$处. $AB=20 \\text{km}, BC=10 \\text{km}$. 为了处理这三家工厂的污水, 现要在该矩形区域内 (含边界) 且与$A$、$B$等距的二点$O$处, 建造一个污水处理厂, 并铺设三条排污管道$AO, BO, PO$. 记铺设管道的总长度为$y \\text{km}$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\draw (0,0) node [left] {$A$} coordinate (A);\n\\draw (3,0) node [right] {$B$} coordinate (B);\n\\draw (3,1.5) node [right] {$C$} coordinate (C);\n\\draw (0,1.5) node [left] {$D$} coordinate (D);\n\\draw (1.5,0.75) node [below] {$O$} coordinate (O);\n\\draw ($(C)!0.5!(D)$) node [above] {$P$} coordinate (P);\n\\draw (A) -- (B) -- (C) -- (D) -- cycle (P) -- (O) (A) -- (O) -- (B);\n\\end{tikzpicture}\n\\end{center}\n(1) 设$\\angle BAO=\\theta$(弧度), 将$y$表示成$\\theta$的函数并求函数的定义域;\\\\\n(2) 假设铺设的污水管道总长度是$(10+10 \\sqrt 3) \\text{km}$, 请确定污水处理厂的位置.", "objs": [], "tags": [ "第三单元"