20221212 night

This commit is contained in:
weiye.wang 2022-12-12 23:27:15 +08:00
parent a85cdf1ec7
commit 6baa736c92
9 changed files with 3355 additions and 229 deletions

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 1,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 6,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
@ -21,7 +21,7 @@
"\n",
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
"keywords_dict_table = [\n",
" {\"origin\":[\"2020\"],\"origin1\":[\"春季\"]}\n",
" {\"_nottags\":[\"单元\",\"暂\"]}\n",
"]\n",
"\"\"\"---关键字设置完毕---\"\"\"\n",
"# 示例: keywords_dict_table = [\n",
@ -89,7 +89,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.15 ('mathdept')",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -103,12 +103,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.15"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "42dd566da87765ddbe9b5c5b483063747fec4aacc5469ad554706e4b742e67b2"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 1,
"metadata": {},
"outputs": [
{
@ -47,7 +47,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.15 ('mathdept')",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -61,12 +61,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.15"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "42dd566da87765ddbe9b5c5b483063747fec4aacc5469ad554706e4b742e67b2"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"首个空闲id: 12329 , 直至 020000\n",
"首个空闲id: 12480 , 直至 020000\n",
"首个空闲id: 20227 , 直至 030000\n",
"首个空闲id: 30496 , 直至 999999\n"
"首个空闲id: 30502 , 直至 999999\n"
]
}
],
@ -45,7 +45,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "base",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -59,12 +59,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

View File

@ -1 +1 @@
012224,012225,012226,012227,012228,012229,012230,012231,012232,012233,012234,012235,012236,012237,012238,012239,012240,012241,012242,012243,012244
012075,012076,012077,012078,012079,012080,012081,012082,012083,012084,012085,012086,012087,012088,012089,012090,012091,012092,012093,012094,012095,012096,012097,012098,012099,012100,012101,012102,012103,012104,012105,012106,012107,012108,012109,012110,012111,012112,012113,012114,012115,012116,012117,012118,012119,012120,012121,012122,012123,012124,012125,012126,012127,012128,012129,012130,012131,012132,012133,012134,012135,012136,012137,012138,012139,012140,012141,012142,012143,012144,012145,012146,012147,012148,012149,012150,012151,012152,012153,012154,012155,012156,012157,012158,012159,012160,012161,012162,012163,012164,012165,012166,012167,012168,012169,012170,012171,012172,012173,012174,012175,012176,012177,012178,012179,012180,012181,012182,012183,012184,012185,012186,012187,012188,012189,012190,012191,012192,012193,012194,012195,012196,012197,012198,012199,012200,012201,012202,012203,012204,012205,012206,012207,012208,012209,012210,012211,012212,012213,012214,012215,012216,012217,012218,012219,012220,012221,012222,012223,012224,012225,012226,012227,012228,012229,012230,012231,012232,012233,012234,012235,012236,012237,012238,012239,012240,012241,012242,012243,012244,012245,012246,012247,012248,012249,012250,012251,012252,012253,012254,012255,012256,012257,012258,012259,012260,012261,012262,012263,012264,012265,012266,012267,012268,012269,012270,012271,012272,012273,012274,012275,012276,012277,012278,012279,012280,012281,012282,012283,012284,012285,012286,012287,012288,012289,012290,012291,012292,012293,012294,012295,012296,012297,012298,012299,012300,012301,012302,012303,012304,012305,012306,012307,012308,012309,012310,012311,012312,012313,012314,012315,012316,012317,012318,012319,012320,012321,012322,012323,012324,012325,012326,012327,012328,012329,012330,012331,012332,012333,012334,012335,012336,012337,012338,012339,012340,012341,012342,012343,012344,012345,012346,012347,012348,012349,012350,012351,012352,012353,012354,012355,012356,012357,012358,012359,012360,012361,012362,012363,012364,012365,012366,012367,012368,012369,012370,012371,012372,012373,012374,012375,012376,012377,012378,012379,012380,012381,012382,012383,012384,012385,012386,012387,012388,012389,012390,012391,012392,012393,012394,012395,012396,012397,012398,012399,012400,012401,012402,012403,012404,012405,012406,012407,012408,012409,012410,012411,012412,012413,012414,012415,012416,012417,012418,012419,012420,012421,012422,012423,012424,012425,012426,012427,012428,012429,012430,012431,012432,012433,012434,012435,012436,012437,012438,012439,012440,012441,012442,012443,012444,012445,012446,012447,012448,012449,012450,012451,012452,012453,012454,012455,012456,012457,012458,012459,012460,012461,012462,012463,012464,012465,012466,012467,012468,012469,012470,012471,012472,012473,012474,012475,012476,012477,012478,012479,012480,012481,012482,012483,012484,012485,012486,030485,030486,030487,030488,030489,030490,030491,030492,030493,030501

View File

@ -2,20 +2,20 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
"#修改起始id,出处,文件名\n",
"starting_id = 12308\n",
"origin = \"2023届崇明区一模\"\n",
"starting_id = 12480\n",
"origin = \"2016届春季高考附加卷\"\n",
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\自拟题目4.tex\"\n",
"editor = \"20221210\\t王伟叶\""
"editor = \"20221212\\t王伟叶\""
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
@ -101,7 +101,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.8 ('base')",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -115,12 +115,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

View File

@ -9,48 +9,164 @@
"name": "stdout",
"output_type": "stream",
"text": [
"012287 填空题\n",
"012288 填空题\n",
"012289 填空题\n",
"012290 填空题\n",
"012291 填空题\n",
"012292 填空题\n",
"012293 填空题\n",
"012294 填空题\n",
"012295 填空题\n",
"012296 填空题\n",
"012297 填空题\n",
"012298 填空题\n",
"012299 选择题\n",
"012300 选择题\n",
"012301 选择题\n",
"012302 选择题\n",
"012303 解答题\n",
"012304 解答题\n",
"012305 解答题\n",
"012306 解答题\n",
"012307 解答题\n",
"012308 填空题\n",
"012309 填空题\n",
"012310 填空题\n",
"012311 填空题\n",
"012312 填空题\n",
"012313 填空题\n",
"012314 填空题\n",
"012315 填空题\n",
"012316 填空题\n",
"012317 填空题\n",
"012318 填空题\n",
"012319 填空题\n",
"012320 选择题\n",
"012321 选择题\n",
"012322 选择题\n",
"012323 选择题\n",
"012324 解答题\n",
"012325 解答题\n",
"012326 解答题\n",
"012327 解答题\n",
"012328 解答题\n"
"012329 填空题\n",
"012330 填空题\n",
"012331 填空题\n",
"012332 填空题\n",
"012333 填空题\n",
"012334 填空题\n",
"012335 填空题\n",
"012336 填空题\n",
"012337 填空题\n",
"012338 填空题\n",
"012339 填空题\n",
"012340 填空题\n",
"012341 填空题\n",
"012342 填空题\n",
"012343 选择题\n",
"012344 选择题\n",
"012345 选择题\n",
"012346 选择题\n",
"012347 解答题\n",
"012348 解答题\n",
"012349 解答题\n",
"012350 解答题\n",
"012351 解答题\n",
"012352 填空题\n",
"012353 填空题\n",
"012354 填空题\n",
"012355 填空题\n",
"012356 填空题\n",
"012357 填空题\n",
"012358 填空题\n",
"012359 填空题\n",
"012360 填空题\n",
"012361 填空题\n",
"012362 填空题\n",
"012363 填空题\n",
"012364 选择题\n",
"012365 选择题\n",
"012366 选择题\n",
"012367 选择题\n",
"012368 选择题\n",
"012369 选择题\n",
"012370 选择题\n",
"012371 选择题\n",
"012372 选择题\n",
"012373 选择题\n",
"012374 选择题\n",
"012375 选择题\n",
"012376 解答题\n",
"012377 解答题\n",
"012378 解答题\n",
"012379 解答题\n",
"012380 解答题\n",
"012381 解答题\n",
"012382 解答题\n",
"012383 填空题\n",
"012384 填空题\n",
"012385 填空题\n",
"012386 填空题\n",
"012387 填空题\n",
"012388 填空题\n",
"012389 填空题\n",
"012390 填空题\n",
"012391 填空题\n",
"012392 填空题\n",
"012393 填空题\n",
"012394 填空题\n",
"012395 选择题\n",
"012396 选择题\n",
"012397 选择题\n",
"012398 选择题\n",
"012399 选择题\n",
"012400 选择题\n",
"012401 选择题\n",
"012402 选择题\n",
"012403 选择题\n",
"012404 选择题\n",
"012405 选择题\n",
"012406 选择题\n",
"012407 解答题\n",
"012408 解答题\n",
"012409 解答题\n",
"012410 解答题\n",
"012411 解答题\n",
"012412 解答题\n",
"012413 解答题\n",
"012414 解答题\n",
"012415 填空题\n",
"012416 填空题\n",
"012417 填空题\n",
"012418 填空题\n",
"012419 填空题\n",
"012420 填空题\n",
"012421 填空题\n",
"012422 填空题\n",
"012423 填空题\n",
"012424 填空题\n",
"012425 填空题\n",
"012426 填空题\n",
"012427 选择题\n",
"012428 选择题\n",
"012429 选择题\n",
"012430 选择题\n",
"012431 选择题\n",
"012432 选择题\n",
"012433 选择题\n",
"012434 选择题\n",
"012435 选择题\n",
"012436 选择题\n",
"012437 选择题\n",
"012438 选择题\n",
"012439 解答题\n",
"012440 解答题\n",
"012441 解答题\n",
"012442 解答题\n",
"012443 解答题\n",
"012444 选择题\n",
"012445 选择题\n",
"012446 选择题\n",
"012447 填空题\n",
"012448 填空题\n",
"012449 填空题\n",
"012450 解答题\n",
"012451 填空题\n",
"012452 填空题\n",
"012453 填空题\n",
"012454 填空题\n",
"012455 填空题\n",
"012456 填空题\n",
"012457 填空题\n",
"012458 填空题\n",
"012459 填空题\n",
"012460 填空题\n",
"012461 填空题\n",
"012462 填空题\n",
"012463 选择题\n",
"012464 选择题\n",
"012465 选择题\n",
"012466 选择题\n",
"012467 选择题\n",
"012468 选择题\n",
"012469 选择题\n",
"012470 选择题\n",
"012471 选择题\n",
"012472 选择题\n",
"012473 选择题\n",
"012474 选择题\n",
"012475 解答题\n",
"012476 解答题\n",
"012477 解答题\n",
"012478 解答题\n",
"012479 解答题\n",
"012480 选择题\n",
"012481 选择题\n",
"012482 选择题\n",
"012483 填空题\n",
"012484 填空题\n",
"012485 填空题\n",
"012486 解答题\n"
]
}
],
@ -92,7 +208,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.8 ('base')",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -106,12 +222,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

View File

@ -9,9 +9,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"开始编译教师版本pdf文件: 临时文件/题库_教师用_20221210.tex\n",
"开始编译教师版本pdf文件: 临时文件/待标注_教师用_20221212.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/题库_学生用_20221210.tex\n",
"开始编译学生版本pdf文件: 临时文件/待标注_学生用_20221212.tex\n",
"0\n"
]
}
@ -26,7 +26,7 @@
"\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
"problems = r\"\"\"\n",
"\n",
"a\n",
"\n",
"\n",
"\"\"\"\n",
@ -34,7 +34,7 @@
"\n",
"\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n",
"filename = \"临时文件/题库\"\n",
"filename = \"临时文件/待标注\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n",
"\n",
"\n",
@ -189,7 +189,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.15 (main, Nov 24 2022, 14:39:17) [MSC v.1916 64 bit (AMD64)]"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
@ -374,6 +374,8 @@
" equation1 = re.sub(\" *\\)\",\")\",equation1)\n",
" equation1 = re.sub(\"\\$ *\",\"$\",equation1)\n",
" equation1 = re.sub(\" *\\$\",\"$\",equation1)\n",
" for i in range(2):\n",
" equation1 = re.sub(r\"([A-Z0-9]) ([A-Z0-9])\",lambda matchobj: matchobj.group(1)+matchobj.group(2),equation1)\n",
" #改善大括号20220715\n",
" layer = 0\n",
" equation1 = re.sub(r\"\\\\\\{\",\"leftset\",equation1)\n",
@ -471,6 +473,12 @@
" modified_data = re.sub(r\" \\$\",\"$\",modified_data)\n",
"#mathpix的错别字修改\n",
"modified_data = modified_data.replace(\"雉\",\"锥\")\n",
"#mathpix的自由向量修改\n",
"modified_data = modified_data.replace(r\"\\vec\",r\"\\overrightarrow \")\n",
"#mathpix的极限修改\n",
"modified_data = modified_data.replace(r\"\\lim _{n \\rightarrow \\infty}\",r\"\\displaystyle\\lim_{n\\to\\infty}\")\n",
"#mathpix的顿号修改\n",
"modified_data = modified_data.replace(r\" 、 \",r\"$、$\")\n",
"\n",
"\n",
"setCopy(modified_data)\n",
@ -489,7 +497,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.8 ('base')",
"display_name": "mathdept",
"language": "python",
"name": "python3"
},
@ -503,12 +511,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
}
}
},

File diff suppressed because it is too large Load Diff