20221104 evening
This commit is contained in:
parent
212174f0bb
commit
b0b6af1e02
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"0"
|
||||
]
|
||||
},
|
||||
"execution_count": 1,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
|
@ -21,12 +21,16 @@
|
|||
"\n",
|
||||
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
|
||||
"keywords_dict_table = [\n",
|
||||
" {\"tags\":\"导数\"}\n",
|
||||
" {\"tags\":[\"第六单元\"],\"content_not\":[\"体积\",\"面积\"],\"usages_not\":[\"2023届\"]}\n",
|
||||
"]\n",
|
||||
"\"\"\"---关键字设置完毕---\"\"\"\n",
|
||||
"# 示例: keywords_dict_table = [\n",
|
||||
"# {\"tags\": [\"第三单元\"], \"content1\": [r\"[\\d]\\alpha\",\"2x\"], \"content2\": [\"sin\"], \"content3\": [\"cos\"],\"content4\": [\"cot\"], \"content5\": [\"tan\"]},\n",
|
||||
"# ]\n",
|
||||
"# 实例2: keywords_dict_table = [\n",
|
||||
"# {\"tags\":[\"第三单元\"],\"content\":[\"f\\(\",\"y=\",\"函数\"],\"usages\":[r\"0\\.9\",r\"0\\.8[3-9]\"],\"usages_not\":[r\"0\\.[0-7]\",r\"0\\.8[0-2]\"],\"usages1\":[\"2023届\"]},\n",
|
||||
"# {\"tags\":[\"第五单元\"],\"usages\":[r\"0\\.9\"],\"usages_not\":[r\"0\\.[0-7]\",r\"0\\.8[0-2]\"],\"usages1\":[\"2023届\"]}\n",
|
||||
"# ]\n",
|
||||
"\"\"\"---设置输出文件名---\"\"\"\n",
|
||||
"filename = \"文本文件/题号筛选.txt\"\n",
|
||||
"\"\"\"---文件名设置完毕---\"\"\"\n",
|
||||
|
|
@ -85,7 +89,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -99,12 +103,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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"text": [
|
||||
"首个空闲id: 12030 , 直至 020000\n",
|
||||
"首个空闲id: 20227 , 直至 030000\n",
|
||||
"首个空闲id: 30451 , 直至 999999\n"
|
||||
"首个空闲id: 30473 , 直至 999999\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
|||
1059
工具/批量添加题库字段数据.ipynb
1059
工具/批量添加题库字段数据.ipynb
File diff suppressed because it is too large
Load Diff
3153
工具/文本文件/metadata.txt
3153
工具/文本文件/metadata.txt
File diff suppressed because it is too large
Load Diff
|
|
@ -1 +1 @@
|
|||
030290,030291,030292,030293,030294,030295,030296,030297,030298,030299,030300,030301,030302,030303,030304,030305,030306,030307,030308,030309,030310,030311,030312,030313,030314,030315,030316,030317,030318,030319,030320,030321,030322,030323,030324,030325,030326,030327,030328,030329,030330,030331,030332,030333,030334,030335,030336,030337,030338,030339,030340,030341,030342,030343,030344,030345,030346,030347,030348,030349,030350,030351,030352,030353,030354,030355,030356,030357,030358,030359,030360,030361,030362,030363,030364,030365,030366,030367,030368,030369,030370,030371,030372,030373,030374,030375,030376,030377,030378,030379,030380,030381,030382,030383,030384,030385,030386,030387,030388,030389,030390,030391,030392,030393,030394,030395,030396,030397,030398,030399,030400,030401,030402,030403,030404,030405,030406,030407,030408,030409,030410,030411,030412,030413,030414,030415,030416,030417,030418,030419,030420,030421,030422,030423,030424,030425,030426
|
||||
000175,000176,000178,000180,000181,000183,000184,000185,000186,000190,000191,000192,000193,000194,000195,000196,000209,000210,000291,000292,000293,000294,000296,000297,000299,000301,000302,000304,000305,000365,000392,000404,000440,000442,000533,000663,000754,000781,000854,000959,001592,001593,001594,001595,001598,001599,001601,001602,001604,001605,001606,001607,001609,001610,001612,001613,001614,001615,001616,001617,001618,001619,001621,001622,001624,001625,001626,001627,001629,001630,001632,001633,001634,001635,001637,001638,001639,001640,001642,001644,001646,001647,001648,001650,001651,001652,001653,001654,001655,001656,001657,001658,001660,001661,001662,001663,001664,001665,001666,001669,001671,001672,001673,001674,001675,001678,001679,001680,001681,001682,001683,001684,001685,001686,001687,001688,001692,001693,001696,001699,001700,001702,001719,001723,001727,001730,001731,001732,001733,001734,001735,001736,001737,001738,001943,001944,001945,001947,001948,001949,001950,001951,001952,001953,001954,001955,001956,001957,001958,001959,001960,001961,001962,001963,001964,001965,001966,001968,001969,001971,001972,001973,001974,001975,001976,001977,001978,001979,001980,001981,001982,001983,001984,001985,001986,001987,001988,001989,001990,001991,003452,003453,003456,003457,003458,003459,003460,003463,003464,003465,003467,003468,003469,003470,003474,003476,003479,003485,003486,003488,003489,003490,003491,003492,003493,003498,003624,003647,003679,003700,003717,003768,003816,003827,003830,003844,003846,003898,003941,003950,003970,003973,003984,003988,003989,003990,003994,003999,004075,004088,004093,004096,004117,004133,004136,004171,004177,004200,004218,004241,004243,004306,004327,004345,004348,004367,004437,004448,004479,004565,004652,004655,004656,004664,004669,004698,004740,009111,009112,009113,009114,009115,009116,009117,009118,009119,009120,009121,009122,009123,009124,009125,009126,009127,009128,009129,009130,009131,009132,009133,009134,009135,009136,009138,009139,009140,009141,009142,009143,009145,009146,009147,009148,009149,009150,009151,009152,009153,009155,009156,009157,009159,009160,009161,009162,009163,009164,009165,009166,009167,009168,009169,009170,009171,009172,009173,009174,009175,009176,009177,009178,009179,009180,009182,009184,009185,009187,009188,009189,009190,009191,009192,009193,009194,009196,009197,009198,009199,009201,009205,009206,009212,009214,009216,009218,009219,009220,009221,009222,009223,009224,009225,009226,009228,009229,009230,009235,009239,009240,009243,009392,009393,009394,009395,009396,009397,009398,009402,009412,009414,009415,009664,009665,009666,009667,009668,009669,009670,009672,009674,009675,009676,009677,009678,009679,009680,009681,009682,009683,009684,009685,009687,009688,009689,009691,009692,009693,009695,009697,009699,009700,009701,009702,009703,009704,009705,009706,009707,009708,009709,009713,009717,009724,009725,009726,009727,009728,009729,009731,009855,009856,009857,009858,009859,009860,009861,009862,009863,009864,009865,009866,009867,009869,009870,009871,009872,009873,009874,010429,010430,010431,010432,010433,010434,010436,010437,010438,010439,010440,010441,010442,010443,010444,010445,010446,010447,010448,010449,010450,010451,010452,010455,010456,010457,010458,010459,010460,010461,010462,010463,010464,010465,010466,010467,010468,010469,010471,010472,010473,010474,010475,010476,010477,010478,010479,010480,010481,010482,010483,010484,010485,010486,010488,010489,010490,010492,010493,010494,010495,010502,010506,010512,010513,010517,010532,010706,010707,010708,010709,010710,010711,010712,010713,010714,010715,010716,010717,010718,010719,010720,010721,010722,010723,010724,010725,010726,010727,010729,010730,010731,010732,010733,010735,010736,010737,010738,010739,010740,011991,011997,012000,012012,012017,030079,030083,030099,030113,030114,030115,030117,030118,030121,030129,030130,030131,030132,030133,030134,030135,030136,030141,030452,030453,030454,030455,030456,030457,030458,030459,030460,030461,030463,030464,030465,030466,030467,030468,030469,030471,030472
|
||||
|
|
@ -2,15 +2,15 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import os,re,json,time\n",
|
||||
"\n",
|
||||
"\"\"\"---设置原题目id与新题目id---\"\"\"\n",
|
||||
"old_id = \"30353\"\n",
|
||||
"new_id = \"30451\"\n",
|
||||
"old_id = \"8438\"\n",
|
||||
"new_id = \"30473\"\n",
|
||||
"\"\"\"---设置完毕---\"\"\"\n",
|
||||
"\n",
|
||||
"old_id = old_id.zfill(6)\n",
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"#修改起始id,出处,文件名\n",
|
||||
"starting_id = 30449\n",
|
||||
"origin = \"自拟题目\"\n",
|
||||
"starting_id = 30452\n",
|
||||
"origin = \"高中数学教与学例题与习题\"\n",
|
||||
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\自拟题目4.tex\"\n",
|
||||
"editor = \"20221103\\t王伟叶\""
|
||||
"editor = \"20221104\\t王伟叶\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
"题块 1 处理完毕.\n",
|
||||
"正在处理题块 2 .\n",
|
||||
"题块 2 处理完毕.\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/线上测验02_教师_20221103.tex\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/30_等差数列与等比数列_教师_20221104.tex\n",
|
||||
"0\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/线上测验02_学生_20221103.tex\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/30_等差数列与等比数列_学生_20221104.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
"\n",
|
||||
"\"\"\"---设置其他预处理替换命令---\"\"\"\n",
|
||||
"#2023届第一轮讲义更换标题\n",
|
||||
"exec_list = [(\"标题数字待处理\",\"29\"),(\"标题文字待处理\",\"导数的应用\")] \n",
|
||||
"exec_list = [(\"标题数字待处理\",\"30\"),(\"标题文字待处理\",\"等差数列与等比数列\")] \n",
|
||||
"enumi_mode = 0\n",
|
||||
"\n",
|
||||
"#2023届测验卷与周末卷\n",
|
||||
|
|
@ -49,14 +49,14 @@
|
|||
"\"\"\"---其他预处理替换命令结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置目标文件名---\"\"\"\n",
|
||||
"# destination_file = \"临时文件/线上测验02\"\n",
|
||||
"destination_file = \"临时文件/30_等差数列与等比数列\"\n",
|
||||
"\"\"\"---设置目标文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置题号数据---\"\"\"\n",
|
||||
"problems = [\n",
|
||||
"\"30374,30372,30343,30408,30410,30411,30377,9922,30352,30451,9926\",\n",
|
||||
"\"30379,30407,30415,30356,4009,30418,30419,30421,30369,30382\"\n",
|
||||
"\"3225,9876,1749,1767,1789,8417,1785,321,312,3238,30473,1771,3244,3243,3253,1781,6793,8456,887,1839,6892,3216,1783\",\n",
|
||||
"\"3616,573,3207,3251,3250,3239,6737,6760,3240,5851,6732,3317,3298,6717,1769,1788\"\n",
|
||||
"]\n",
|
||||
"\"\"\"---设置题号数据结束---\"\"\"\n",
|
||||
"\n",
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"开始编译教师版本pdf文件: 临时文件/赋能05_教师用_20221103.tex\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/立体几何空间向量选题_教师用_20221104.tex\n",
|
||||
"0\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/赋能05_学生用_20221103.tex\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/立体几何空间向量选题_学生用_20221104.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
"\"\"\"---设置题目列表---\"\"\"\n",
|
||||
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
|
||||
"problems = r\"\"\"\n",
|
||||
"000366,000367,000368,000369,030281,000371,000372,000373,000374,000375\n",
|
||||
"291,292,293,294,296,297,299,301,302,304,305,781,1944,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964,1965,1966,1968,1969,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1985,1987,1991,3624,3647,3679,4096,4243,4348,4656,4698,4740,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9867,9868,9870,9871,9872,9873,10706,10707,10708,10709,10710,10711,10712,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10729,10730,10731,10732,10733,10735,10736,10737,10738,10739,10740,30452,30453,30454,30455,30456,30457,30458,30459,30460,30461,30462,30463,30464,30465,30466,30467,30468,30469,30470,30471,30472\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
"\n",
|
||||
"\"\"\"---设置文件名---\"\"\"\n",
|
||||
"#目录和文件的分隔务必用/\n",
|
||||
"filename = \"临时文件/赋能05\"\n",
|
||||
"filename = \"临时文件/立体几何空间向量选题\"\n",
|
||||
"\"\"\"---设置文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
|
|||
4558
题库0.3/Problems.json
4558
题库0.3/Problems.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue