Merge branch 'master' of ssh://wwylss.asuscomm.com:30001/wangweiye/mathdeptv2

This commit is contained in:
Wang Weiye 2022-11-29 12:21:13 +08:00
commit 32326e9fa5
7 changed files with 2209 additions and 1050 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -11,7 +11,7 @@
"0" "0"
] ]
}, },
"execution_count": 3, "execution_count": 5,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -21,7 +21,7 @@
"\n", "\n",
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n", "\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
"keywords_dict_table = [\n", "keywords_dict_table = [\n",
" {\"tags_not\":[\"第八单元\"],\"usages\":[r\"高三02班[^\\n]*0\\.9\"],\"usages_not\":[r\"0\\.[0-7]\"],\"objs_not\":[\"X\"]}\n", " {\"tags\":[\"概率\"]}\n",
"]\n", "]\n",
"\"\"\"---关键字设置完毕---\"\"\"\n", "\"\"\"---关键字设置完毕---\"\"\"\n",
"# 示例: keywords_dict_table = [\n", "# 示例: keywords_dict_table = [\n",

View File

@ -2,15 +2,15 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"首行题目数量: 272\n", "首行题目数量: 153\n",
"剩余题目数量: 93\n" "剩余题目数量: 148\n"
] ]
} }
], ],

View File

@ -1 +1 @@
000263,000267,000268,000273,000278,000282,000283,000286,000287,000290,000395,000421,000484,000523,000544,000825,000839,002095,002096,002097,002098,002099,002100,002101,002102,002103,002104,002105,002106,002108,002109,002110,002111,002113,002114,002115,002116,002117,002119,002120,002121,002122,002123,002124,002135,002153,002181,002192,002202,002203,002211,002220,002237,002238,002246,002248,002249,002253,002292,002293,002294,002296,002297,002298,002299,002300,002301,002302,002303,002304,002305,002312,002320,002336,002340,002341,002355,002357,002358,002359,002383,002388,002394,002396,002399,002414,002415,002416,002444,002446,002448,002449,002453,002454,002462,002463,002464,002465,002473,002477,002691,003371,003379,003387,003405,003425,003433,003442,003445,003659,003663,003671,003744,003804,003819,003831,003933,003937,004158,004237,004246,004267,004343,004504,004508,004566,004718,004734,004742,004749,008764,008782,008789,008836,008837,008838,008839,008840,008841,008842,008843,008844,008845,008846,008847,008848,008849,008850,008851,008852,008853,008857,008867,008874,008888,008896,008911,008918,008938,008944,008963,008967,009075,009079,009082,009103,009108,009810,009811,009818,009826,009835,009841,009842,009843,009999,010611,010625,010632,010633,010634,010641,010663,010665,010681,010687,010691,010692,010693,010694,010695,010696,010699,010951,010956,010963,010969,010976,010979,010984,011000,011058,011061,011068,011075,011089,011092,011096,011099,011110,011223,011227,011232,011240,011246,011247,011261,011267,011272,011282,011290,011291,011298,011303,011309,011311,011315,011324,011329,011330,011337,011339,011345,011348,011355,011366,011373,011374,011387,011394,011395,011399,011406,011425,011429,011436,011440,011441,011443,011450,011456,011464,011467,011471,011487,011491,011495,011499,011506,011513,011516,011522,011534,011542,011544,011546,011551,011555,011562,011568,011572,011576,011580,011582,011588,011590,011593,011600,011603,011623,011627,011644,011645,011655,011659,011668,011672,011686,011691,011697,011701,011713,011718,011736,012030,012031,012032 000218,000219,000220,000221,000222,000223,000224,000225,000226,000227,000228,000229,000230,000231,000332,000384,000391,000512,000564,000581,000601,000611,000624,000659,000672,000685,000695,000704,000714,000744,000765,000773,000779,000812,000829,000844,000889,000969,002640,002641,002642,002643,002644,002645,002646,002647,002648,002649,002650,002651,002652,002653,002654,002655,002656,002657,002658,002659,002660,002661,002662,002663,002664,002665,003574,003575,003585,003586,003598,003640,003660,003727,003734,003751,003787,003806,003825,003873,003887,003914,003947,003979,003983,003998,004031,004032,004033,004034,004035,004036,004037,004038,004039,004040,004041,004042,004043,004044,004045,004046,004087,004110,004150,004193,004212,004232,004257,004297,004324,004341,004535,004572,004573,004574,004575,004576,004577,004578,004579,004580,004581,004582,004583,004584,004585,004586,004587,004588,004589,004590,004591,004592,004593,004594,004595,004596,004597,004598,004599,004600,004601,004602,004603,004604,004605,004606,004607,004608,004609,004610,004611,004612,004613,004614,004615,004616,004617,004618,004647,004712,004750,009345,009346,009347,009348,009349,009350,009351,009352,009353,009354,009355,009356,009357,009359,009360,009361,009362,009363,009364,009365,009366,009391,009409,009410,009423,009425,009733,009734,009735,009736,009737,009738,009739,009740,009741,009742,009743,009744,009745,009746,009747,009748,009749,009750,009751,009752,009753,009754,009755,009943,009944,009949,009950,009951,009952,009953,009954,009955,009956,009957,009958,009959,009960,009961,009962,009963,009964,009965,009966,009967,009968,009969,009992,010005,010006,010007,010008,010009,010010,010011,010012,010013,010014,010015,010016,010534,010535,010536,010537,010538,010539,010540,010541,010542,010543,010544,010545,010546,010547,010548,010549,010550,010551,010552,010553,010554,010555,010556,010557,010558,010559,010560,010870,010871,010872,010873,010874,010884,010885,010886,010887,010888,010889,010890,010891,010892,010893,010894,010895,010896,010897,010898,010899,010900,010901,010902,010903,010950,011053,011117,011141,011250,011289,011312,011351,011354,011376,011397,011439,011480,011523,011583,011586,011609,011612,011634,011640,011654,011679,011682,012036,012046,030170,030171,030172,030173,030174,030175,030176,030177,030178,030179,030180,030181,030182,030183,030184,030185,030186,030187,030188,030189,030190,030191,030192,030193,030194,030276,030277,030433

View File

@ -7,15 +7,15 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"#修改起始id,出处,文件名\n", "#修改起始id,出处,文件名\n",
"starting_id = 12075\n", "starting_id = 30485\n",
"origin = \"2023届华东师范大学一附中高三上学期期中考试\"\n", "origin = \"空中课堂必修第三册复习课例题\"\n",
"filename = r\"C:\\Users\\Weiye\\Documents\\wwy sync\\临时工作区\\自拟题目4.tex\"\n", "filename = r\"C:\\Users\\Weiye\\Documents\\wwy sync\\临时工作区\\自拟题目4.tex\"\n",
"editor = \"20221121\\t王伟叶\"" "editor = \"20221127\\t王伟叶\""
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -70,8 +70,8 @@
" pid = str(id).zfill(6)\n", " pid = str(id).zfill(6)\n",
" if pid in pro_dict:\n", " if pid in pro_dict:\n",
" duplicate_flag = True\n", " duplicate_flag = True\n",
" # NewProblem = CreateNewProblem(id = pid, content = p, origin = origin , dict = pro_dict,editor = editor)\n", " NewProblem = CreateNewProblem(id = pid, content = p, origin = origin , dict = pro_dict,editor = editor)\n",
" NewProblem = CreateNewProblem(id = pid, content = p, origin = origin + \"试题\" + str(id- starting_id+1), dict = pro_dict,editor = editor)\n", " # NewProblem = CreateNewProblem(id = pid, content = p, origin = origin + \"试题\" + str(id- starting_id+1), dict = pro_dict,editor = editor)\n",
" pro_dict[pid] = NewProblem\n", " pro_dict[pid] = NewProblem\n",
" id += 1\n", " id += 1\n",
"\n", "\n",

View File

@ -9,49 +9,36 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"012033 填空题\n", "012075 填空题\n",
"012034 填空题\n", "012076 填空题\n",
"012035 填空题\n", "012077 填空题\n",
"012036 填空题\n", "012078 填空题\n",
"012037 填空题\n", "012079 填空题\n",
"012038 填空题\n", "012080 填空题\n",
"012039 填空题\n", "012081 填空题\n",
"012040 填空题\n", "012082 填空题\n",
"012041 填空题\n", "012083 填空题\n",
"012042 填空题\n", "012084 填空题\n",
"012043 填空题\n", "012085 填空题\n",
"012044 填空题\n", "012086 填空题\n",
"012045 选择题\n", "012087 选择题\n",
"012046 选择题\n", "012088 选择题\n",
"012047 选择题\n", "012089 选择题\n",
"012048 选择题\n", "012090 选择题\n",
"012049 解答题\n", "012091 解答题\n",
"012050 解答题\n", "012092 解答题\n",
"012051 解答题\n", "012093 解答题\n",
"012052 解答题\n", "012094 解答题\n",
"012053 解答题\n", "012095 解答题\n",
"012054 填空题\n", "030485 解答题\n",
"012055 填空题\n", "030486 解答题\n",
"012056 填空题\n", "030487 解答题\n",
"012057 填空题\n", "030488 解答题\n",
"012058 填空题\n", "030489 解答题\n",
"012059 填空题\n", "030490 解答题\n",
"012060 填空题\n", "030491 解答题\n",
"012061 填空题\n", "030492 解答题\n",
"012062 填空题\n", "030493 解答题\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"
] ]
} }
], ],

View File

@ -2,16 +2,16 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 11,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"开始编译教师版本pdf文件: 临时文件/周末卷10_教师用_20221121.tex\n", "开始编译教师版本pdf文件: 临时文件/概率待赋目标_教师用_20221127.tex\n",
"0\n", "0\n",
"开始编译学生版本pdf文件: 临时文件/周末卷10_学生用_20221121.tex\n", "开始编译学生版本pdf文件: 临时文件/概率待赋目标_学生用_20221127.tex\n",
"0\n" "0\n"
] ]
} }
@ -26,15 +26,14 @@
"\"\"\"---设置题目列表---\"\"\"\n", "\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n", "#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
"problems = r\"\"\"\n", "problems = r\"\"\"\n",
"11091:11111\n", "a\n",
"\n",
"\n", "\n",
"\"\"\"\n", "\"\"\"\n",
"\"\"\"---设置题目列表结束---\"\"\"\n", "\"\"\"---设置题目列表结束---\"\"\"\n",
"\n", "\n",
"\"\"\"---设置文件名---\"\"\"\n", "\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n", "#目录和文件的分隔务必用/\n",
"filename = \"临时文件/周末卷10\"\n", "filename = \"临时文件/概率待赋目标\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n", "\"\"\"---设置文件名结束---\"\"\"\n",
"\n", "\n",
"\n", "\n",

File diff suppressed because it is too large Load Diff