diff --git a/.coverage b/.coverage
index bcc3e34..e0f0fe4 100644
--- a/.coverage
+++ b/.coverage
@@ -1 +1 @@
-!coverage.py: This is a private format, don't read it directly!{"lines":{"F:\\BotChatContrastV2\\run.py":[2,3,4,5,6,7,9,11,13,16,188,208,209,196,197,198,201,202,203,205,23,24,26],"F:\\BotChatContrastV2\\lib\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\public\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\public\\http_hander.py":[2,3,4,5,6,7,8,9,10,12,15,17,20,21,30,31,40,88,89],"F:\\BotChatContrastV2\\lib\\public\\logger.py":[2,3,4,5,6,7,9,11,12,13,14,15,16,17,18,21,22,24,28,32,37,39,40,41,42,45,46,47,48,51,52,54,63,67,71,76,78,91,106,116,122,127,136,129,133,137,138,139],"F:\\BotChatContrastV2\\lib\\utils\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\utils\\time_setting.py":[1,4,13,15,16,17,20],"F:\\BotChatContrastV2\\lib\\public\\relevance.py":[2,5,24,25],"F:\\BotChatContrastV2\\lib\\utils\\get_json_params.py":[4,6,7,32,33,48],"F:\\BotChatContrastV2\\lib\\public\\text_similarity_comparison.py":[2,3,4,5,6,9,27,42,53,70,91,107,108],"F:\\BotChatContrastV2\\lib\\utils\\make_report_template.py":[2,3,4,7,8,9,10,11,14,24,39],"F:\\BotChatContrastV2\\lib\\utils\\operate_excel.py":[2,3,4,7,32,33],"F:\\BotChatContrastV2\\lib\\utils\\fp.py":[2,5,37,13,15,32,17,18,20,21,22,23,24,25,26,34,29,30]}}
\ No newline at end of file
+!coverage.py: This is a private format, don't read it directly!{"lines":{"F:\\BotChatContrastV2\\run.py":[2,3,4,5,6,7,9,11,13,16,188,208,209,201,202,203,205,23,24,26,28,30,32,34,35,36,37,38,39,41,42,43,45,47,48,49,50,51,52,53,55,56,58,59,62,63,64,65,68,72,73,74,76,78,80,82,84,86,88,90,98,100,101,103,104,105,106,109,110,111,112,113,114,115,118,119],"F:\\BotChatContrastV2\\lib\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\public\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\public\\http_hander.py":[2,3,4,5,6,7,8,9,10,12,15,17,20,21,30,31,40,88,89,18,48,50,51,52,54,56,58,59,61,63,65,67,76,77,78,80,28],"F:\\BotChatContrastV2\\lib\\public\\logger.py":[2,3,4,5,6,7,9,11,12,13,14,15,16,17,18,21,22,24,28,32,37,39,40,41,42,45,46,47,48,51,52,54,63,67,71,76,78,91,106,116,122,127,136,129,133,137,138,139,130,73,131,79,80,81,82,83,84,85,86,87,93,94,95,96,97,100,102,103,104,88,89,107,108,109,110,111,114],"F:\\BotChatContrastV2\\lib\\utils\\__init__.py":[1],"F:\\BotChatContrastV2\\lib\\utils\\time_setting.py":[1,4,13,15,16,17,20],"F:\\BotChatContrastV2\\lib\\public\\relevance.py":[2,5,24,25,13,14,15,16,17,18,21],"F:\\BotChatContrastV2\\lib\\utils\\get_json_params.py":[4,6,7,32,33,48,16,17,19,41,42,43,44,21,22,26,23,45,27,28,29,24],"F:\\BotChatContrastV2\\lib\\public\\text_similarity_comparison.py":[2,3,4,5,6,9,27,42,53,70,91,107,108,99,35,36,17,19,20,21,22,23,24,37,39,100,50,101,61,62,63,64,67,102,80,81,82,83,85,86,103,104],"F:\\BotChatContrastV2\\lib\\utils\\make_report_template.py":[2,3,4,7,8,9,10,11,14,24,39,32,33,34,21,35,36],"F:\\BotChatContrastV2\\lib\\utils\\operate_excel.py":[2,3,4,7,32,33,16,17,18,20,21,23,24,25,26,27,29],"F:\\BotChatContrastV2\\lib\\utils\\fp.py":[2,5,37,13,15,32,17,18,20,21,22,23,24,25,26,34],"F:\\BotChatContrastV2\\lib\\templates\\index.html":[1,2,3,5,33,34,6,7,9,10,12,13,14,15,16,18,19,21,22,23,24,25,26,27,28,30,31]}}
\ No newline at end of file
diff --git a/.idea/BotChatContrast.iml b/.idea/BotChatContrast.iml
index e564175..6de2e0b 100644
--- a/.idea/BotChatContrast.iml
+++ b/.idea/BotChatContrast.iml
@@ -4,6 +4,8 @@
+
+
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..49f7b87
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml
new file mode 100644
index 0000000..5beb39e
--- /dev/null
+++ b/.idea/dbnavigator.xml
@@ -0,0 +1,455 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/R_User_Library.xml b/.idea/libraries/R_User_Library.xml
new file mode 100644
index 0000000..71f5ff7
--- /dev/null
+++ b/.idea/libraries/R_User_Library.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..9f20746
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,1009 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ router
+ 交通
+ start
+ knowledge
+ 我跟客户要签订研发合同要参照什么法律
+ \r
+ 当前问题是
+ run
+ 食品
+ B食品
+ 无
+ 不
+ fail
+ pass
+ WARN
+ None
+ login.jsp)“退工登记——退工登记办理”任务栏进行信息填报
+ 持有上海市居住证的人员申办本市常住户口审批有什么条件
+ 我的居住证积分到了,申请常住户口要准备什么资料
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1556015050810
+
+
+ 1556015050810
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1556263446729
+
+
+
+ 1556263446729
+
+
+ 1556275498876
+
+
+
+ 1556275498876
+
+
+ 1556524947093
+
+
+
+ 1556524947094
+
+
+ 1556531133340
+
+
+
+ 1556531133340
+
+
+ 1557129222175
+
+
+
+ 1557129222175
+
+
+ 1557209814381
+
+
+
+ 1557209814381
+
+
+ 1557209909523
+
+
+
+ 1557209909523
+
+
+ 1557210444856
+
+
+
+ 1557210444857
+
+
+ 1557210659930
+
+
+
+ 1557210659930
+
+
+ 1557211054327
+
+
+
+ 1557211054327
+
+
+ 1557212116699
+
+
+
+ 1557212116699
+
+
+ 1557212202264
+
+
+
+ 1557212202264
+
+
+ 1557212272664
+
+
+
+ 1557212272664
+
+
+ 1557212425981
+
+
+
+ 1557212425981
+
+
+ 1557212562969
+
+
+
+ 1557212562969
+
+
+ 1557212972258
+
+
+
+ 1557212972258
+
+
+ 1557213502044
+
+
+
+ 1557213502044
+
+
+ 1557214799724
+
+
+
+ 1557214799724
+
+
+ 1557215203339
+
+
+
+ 1557215203339
+
+
+ 1557215529418
+
+
+
+ 1557215529418
+
+
+ 1557215649302
+
+
+
+ 1557215649302
+
+
+ 1557216118848
+
+
+
+ 1557216118848
+
+
+ 1557216401896
+
+
+
+ 1557216401896
+
+
+ 1557216661715
+
+
+
+ 1557216661715
+
+
+ 1557217121567
+
+
+
+ 1557217121567
+
+
+ 1557217286496
+
+
+
+ 1557217286496
+
+
+ 1557217308410
+
+
+
+ 1557217308410
+
+
+ 1557218441496
+
+
+
+ 1557218441496
+
+
+ 1557219060764
+
+
+
+ 1557219060764
+
+
+ 1557219309671
+
+
+
+ 1557219309671
+
+
+ 1557220213998
+
+
+
+ 1557220213998
+
+
+ 1557220455601
+
+
+
+ 1557220455601
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 74e40ef..ec97237 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,11 @@
language: python
-
python:
- "3.5"
- "3.6"
-
install:
- - pip install -r requirements.txt
-
+ - pip install pipenv --upgrade-strategy=only-if-needed
+ - pipenv install --dev --skip-lock
script:
- - coverage run run.py
-
+ - pipenv run coverage run run.py
after_success:
- - coveralls
+ - pipenv run coveralls
diff --git a/Pipfile b/Pipfile
new file mode 100644
index 0000000..e5a2630
--- /dev/null
+++ b/Pipfile
@@ -0,0 +1,24 @@
+[[source]]
+url = "https://pypi.org/simple"
+verify_ssl = true
+name = "pypi"
+
+[packages]
+urllib3 = "*"
+jinja2 = "*"
+requests = "*"
+xlwt = "*"
+six = "*"
+numpy = "*"
+simplejson = "*"
+xlrd = "*"
+colorama = "*"
+jieba = "*"
+pyyaml = "*"
+coverage = "*"
+coveralls = "*"
+
+[dev-packages]
+
+[requires]
+python_version = "3.6"
diff --git a/Pipfile.lock b/Pipfile.lock
new file mode 100644
index 0000000..2456fb0
--- /dev/null
+++ b/Pipfile.lock
@@ -0,0 +1,254 @@
+{
+ "_meta": {
+ "hash": {
+ "sha256": "39f040f18ad5eaab14224d01423442d8e0242e71de340aa8d31c7f2de6e37167"
+ },
+ "pipfile-spec": 6,
+ "requires": {
+ "python_version": "3.6"
+ },
+ "sources": [
+ {
+ "name": "pypi",
+ "url": "https://pypi.org/simple",
+ "verify_ssl": true
+ }
+ ]
+ },
+ "default": {
+ "certifi": {
+ "hashes": [
+ "sha256:59b7658e26ca9c7339e00f8f4636cdfe59d34fa37b9b04f6f9e9926b3cece1a5",
+ "sha256:b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae"
+ ],
+ "version": "==2019.3.9"
+ },
+ "chardet": {
+ "hashes": [
+ "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
+ "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
+ ],
+ "version": "==3.0.4"
+ },
+ "colorama": {
+ "hashes": [
+ "sha256:05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d",
+ "sha256:f8ac84de7840f5b9c4e3347b3c1eaa50f7e49c2b07596221daec5edaabbd7c48"
+ ],
+ "index": "pypi",
+ "version": "==0.4.1"
+ },
+ "coverage": {
+ "hashes": [
+ "sha256:3684fabf6b87a369017756b551cef29e505cb155ddb892a7a29277b978da88b9",
+ "sha256:39e088da9b284f1bd17c750ac672103779f7954ce6125fd4382134ac8d152d74",
+ "sha256:3c205bc11cc4fcc57b761c2da73b9b72a59f8d5ca89979afb0c1c6f9e53c7390",
+ "sha256:465ce53a8c0f3a7950dfb836438442f833cf6663d407f37d8c52fe7b6e56d7e8",
+ "sha256:48020e343fc40f72a442c8a1334284620f81295256a6b6ca6d8aa1350c763bbe",
+ "sha256:5296fc86ab612ec12394565c500b412a43b328b3907c0d14358950d06fd83baf",
+ "sha256:5f61bed2f7d9b6a9ab935150a6b23d7f84b8055524e7be7715b6513f3328138e",
+ "sha256:68a43a9f9f83693ce0414d17e019daee7ab3f7113a70c79a3dd4c2f704e4d741",
+ "sha256:6b8033d47fe22506856fe450470ccb1d8ba1ffb8463494a15cfc96392a288c09",
+ "sha256:7ad7536066b28863e5835e8cfeaa794b7fe352d99a8cded9f43d1161be8e9fbd",
+ "sha256:7bacb89ccf4bedb30b277e96e4cc68cd1369ca6841bde7b005191b54d3dd1034",
+ "sha256:839dc7c36501254e14331bcb98b27002aa415e4af7ea039d9009409b9d2d5420",
+ "sha256:8f9a95b66969cdea53ec992ecea5406c5bd99c9221f539bca1e8406b200ae98c",
+ "sha256:932c03d2d565f75961ba1d3cec41ddde00e162c5b46d03f7423edcb807734eab",
+ "sha256:988529edadc49039d205e0aa6ce049c5ccda4acb2d6c3c5c550c17e8c02c05ba",
+ "sha256:998d7e73548fe395eeb294495a04d38942edb66d1fa61eb70418871bc621227e",
+ "sha256:9de60893fb447d1e797f6bf08fdf0dbcda0c1e34c1b06c92bd3a363c0ea8c609",
+ "sha256:9e80d45d0c7fcee54e22771db7f1b0b126fb4a6c0a2e5afa72f66827207ff2f2",
+ "sha256:a545a3dfe5082dc8e8c3eb7f8a2cf4f2870902ff1860bd99b6198cfd1f9d1f49",
+ "sha256:a5d8f29e5ec661143621a8f4de51adfb300d7a476224156a39a392254f70687b",
+ "sha256:aca06bfba4759bbdb09bf52ebb15ae20268ee1f6747417837926fae990ebc41d",
+ "sha256:bb23b7a6fd666e551a3094ab896a57809e010059540ad20acbeec03a154224ce",
+ "sha256:bfd1d0ae7e292105f29d7deaa9d8f2916ed8553ab9d5f39ec65bcf5deadff3f9",
+ "sha256:c62ca0a38958f541a73cf86acdab020c2091631c137bd359c4f5bddde7b75fd4",
+ "sha256:c709d8bda72cf4cd348ccec2a4881f2c5848fd72903c185f363d361b2737f773",
+ "sha256:c968a6aa7e0b56ecbd28531ddf439c2ec103610d3e2bf3b75b813304f8cb7723",
+ "sha256:df785d8cb80539d0b55fd47183264b7002077859028dfe3070cf6359bf8b2d9c",
+ "sha256:f406628ca51e0ae90ae76ea8398677a921b36f0bd71aab2099dfed08abd0322f",
+ "sha256:f46087bbd95ebae244a0eda01a618aff11ec7a069b15a3ef8f6b520db523dcf1",
+ "sha256:f8019c5279eb32360ca03e9fac40a12667715546eed5c5eb59eb381f2f501260",
+ "sha256:fc5f4d209733750afd2714e9109816a29500718b32dd9a5db01c0cb3a019b96a"
+ ],
+ "index": "pypi",
+ "version": "==4.5.3"
+ },
+ "coveralls": {
+ "hashes": [
+ "sha256:baa26648430d5c2225ab12d7e2067f75597a4b967034bba7e3d5ab7501d207a1",
+ "sha256:ff9b7823b15070f26f654837bb02a201d006baaf2083e0514ffd3b34a3ffed81"
+ ],
+ "index": "pypi",
+ "version": "==1.7.0"
+ },
+ "docopt": {
+ "hashes": [
+ "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491",
+ "sha256:5e3abe3b7fb3c5060eafc12196ed134d3071638e7aacdfc793bfb9f965249295"
+ ],
+ "version": "==0.6.2"
+ },
+ "idna": {
+ "hashes": [
+ "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407",
+ "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"
+ ],
+ "version": "==2.8"
+ },
+ "jieba": {
+ "hashes": [
+ "sha256:de385e48582a4862e55a9167334d0fbe91d479026e5dac40e59e22c08b8e883e"
+ ],
+ "index": "pypi",
+ "version": "==0.39"
+ },
+ "jinja2": {
+ "hashes": [
+ "sha256:065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013",
+ "sha256:14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b"
+ ],
+ "index": "pypi",
+ "version": "==2.10.1"
+ },
+ "markupsafe": {
+ "hashes": [
+ "sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473",
+ "sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161",
+ "sha256:09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235",
+ "sha256:1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5",
+ "sha256:24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff",
+ "sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b",
+ "sha256:43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1",
+ "sha256:46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e",
+ "sha256:500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183",
+ "sha256:535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66",
+ "sha256:62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1",
+ "sha256:6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1",
+ "sha256:717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e",
+ "sha256:79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b",
+ "sha256:7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905",
+ "sha256:88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735",
+ "sha256:8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d",
+ "sha256:98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e",
+ "sha256:9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d",
+ "sha256:9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c",
+ "sha256:ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21",
+ "sha256:b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2",
+ "sha256:b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5",
+ "sha256:b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b",
+ "sha256:ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6",
+ "sha256:c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f",
+ "sha256:cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f",
+ "sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7"
+ ],
+ "version": "==1.1.1"
+ },
+ "numpy": {
+ "hashes": [
+ "sha256:0e2eed77804b2a6a88741f8fcac02c5499bba3953ec9c71e8b217fad4912c56c",
+ "sha256:1c666f04553ef70fda54adf097dbae7080645435fc273e2397f26bbf1d127bbb",
+ "sha256:1f46532afa7b2903bfb1b79becca2954c0a04389d19e03dc73f06b039048ac40",
+ "sha256:315fa1b1dfc16ae0f03f8fd1c55f23fd15368710f641d570236f3d78af55e340",
+ "sha256:3d5fcea4f5ed40c3280791d54da3ad2ecf896f4c87c877b113576b8280c59441",
+ "sha256:48241759b99d60aba63b0e590332c600fc4b46ad597c9b0a53f350b871ef0634",
+ "sha256:4b4f2924b36d857cf302aec369caac61e43500c17eeef0d7baacad1084c0ee84",
+ "sha256:54fe3b7ed9e7eb928bbc4318f954d133851865f062fa4bbb02ef8940bc67b5d2",
+ "sha256:5a8f021c70e6206c317974c93eaaf9bc2b56295b6b1cacccf88846e44a1f33fc",
+ "sha256:754a6be26d938e6ca91942804eb209307b73f806a1721176278a6038869a1686",
+ "sha256:771147e654e8b95eea1293174a94f34e2e77d5729ad44aefb62fbf8a79747a15",
+ "sha256:78a6f89da87eeb48014ec652a65c4ffde370c036d780a995edaeb121d3625621",
+ "sha256:7fde5c2a3a682a9e101e61d97696687ebdba47637611378b4127fe7e47fdf2bf",
+ "sha256:80d99399c97f646e873dd8ce87c38cfdbb668956bbc39bc1e6cac4b515bba2a0",
+ "sha256:88a72c1e45a0ae24d1f249a529d9f71fe82e6fa6a3fd61414b829396ec585900",
+ "sha256:a4f4460877a16ac73302a9c077ca545498d9fe64e6a81398d8e1a67e4695e3df",
+ "sha256:a61255a765b3ac73ee4b110b28fccfbf758c985677f526c2b4b39c48cc4b509d",
+ "sha256:ab4896a8c910b9a04c0142871d8800c76c8a2e5ff44763513e1dd9d9631ce897",
+ "sha256:abbd6b1c2ef6199f4b7ca9f818eb6b31f17b73a6110aadc4e4298c3f00fab24e",
+ "sha256:b16d88da290334e33ea992c56492326ea3b06233a00a1855414360b77ca72f26",
+ "sha256:b78a1defedb0e8f6ae1eb55fa6ac74ab42acc4569c3a2eacc2a407ee5d42ebcb",
+ "sha256:cfef82c43b8b29ca436560d51b2251d5117818a8d1fb74a8384a83c096745dad",
+ "sha256:d160e57731fcdec2beda807ebcabf39823c47e9409485b5a3a1db3a8c6ce763e"
+ ],
+ "index": "pypi",
+ "version": "==1.16.3"
+ },
+ "pyyaml": {
+ "hashes": [
+ "sha256:1adecc22f88d38052fb787d959f003811ca858b799590a5eaa70e63dca50308c",
+ "sha256:436bc774ecf7c103814098159fbb84c2715d25980175292c648f2da143909f95",
+ "sha256:460a5a4248763f6f37ea225d19d5c205677d8d525f6a83357ca622ed541830c2",
+ "sha256:5a22a9c84653debfbf198d02fe592c176ea548cccce47553f35f466e15cf2fd4",
+ "sha256:7a5d3f26b89d688db27822343dfa25c599627bc92093e788956372285c6298ad",
+ "sha256:9372b04a02080752d9e6f990179a4ab840227c6e2ce15b95e1278456664cf2ba",
+ "sha256:a5dcbebee834eaddf3fa7366316b880ff4062e4bcc9787b78c7fbb4a26ff2dd1",
+ "sha256:aee5bab92a176e7cd034e57f46e9df9a9862a71f8f37cad167c6fc74c65f5b4e",
+ "sha256:c51f642898c0bacd335fc119da60baae0824f2cde95b0330b56c0553439f0673",
+ "sha256:c68ea4d3ba1705da1e0d85da6684ac657912679a649e8868bd850d2c299cce13",
+ "sha256:e23d0cc5299223dcc37885dae624f382297717e459ea24053709675a976a3e19"
+ ],
+ "index": "pypi",
+ "version": "==5.1"
+ },
+ "requests": {
+ "hashes": [
+ "sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e",
+ "sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
+ ],
+ "index": "pypi",
+ "version": "==2.21.0"
+ },
+ "simplejson": {
+ "hashes": [
+ "sha256:067a7177ddfa32e1483ba5169ebea1bc2ea27f224853211ca669325648ca5642",
+ "sha256:2fc546e6af49fb45b93bbe878dea4c48edc34083729c0abd09981fe55bdf7f91",
+ "sha256:354fa32b02885e6dae925f1b5bbf842c333c1e11ea5453ddd67309dc31fdb40a",
+ "sha256:37e685986cf6f8144607f90340cff72d36acf654f3653a6c47b84c5c38d00df7",
+ "sha256:3af610ee72efbe644e19d5eaad575c73fb83026192114e5f6719f4901097fce2",
+ "sha256:3b919fc9cf508f13b929a9b274c40786036b31ad28657819b3b9ba44ba651f50",
+ "sha256:3dd289368bbd064974d9a5961101f080e939cbe051e6689a193c99fb6e9ac89b",
+ "sha256:6c3258ffff58712818a233b9737fe4be943d306c40cf63d14ddc82ba563f483a",
+ "sha256:75e3f0b12c28945c08f54350d91e624f8dd580ab74fd4f1bbea54bc6b0165610",
+ "sha256:b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5",
+ "sha256:ee9625fc8ee164902dfbb0ff932b26df112da9f871c32f0f9c1bcf20c350fe2a",
+ "sha256:fb2530b53c28f0d4d84990e945c2ebb470edb469d63e389bf02ff409012fe7c5"
+ ],
+ "index": "pypi",
+ "version": "==3.16.0"
+ },
+ "six": {
+ "hashes": [
+ "sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c",
+ "sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
+ ],
+ "index": "pypi",
+ "version": "==1.12.0"
+ },
+ "urllib3": {
+ "hashes": [
+ "sha256:2393a695cd12afedd0dcb26fe5d50d0cf248e5a66f75dbd89a3d4eb333a61af4",
+ "sha256:a637e5fae88995b256e3409dc4d52c2e2e0ba32c42a6365fee8bbd2238de3cfb"
+ ],
+ "index": "pypi",
+ "version": "==1.24.3"
+ },
+ "xlrd": {
+ "hashes": [
+ "sha256:546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2",
+ "sha256:e551fb498759fa3a5384a94ccd4c3c02eb7c00ea424426e212ac0c57be9dfbde"
+ ],
+ "index": "pypi",
+ "version": "==1.2.0"
+ },
+ "xlwt": {
+ "hashes": [
+ "sha256:a082260524678ba48a297d922cc385f58278b8aa68741596a87de01a9c628b2e",
+ "sha256:c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88"
+ ],
+ "index": "pypi",
+ "version": "==1.3.0"
+ }
+ },
+ "develop": {}
+}
diff --git a/__pycache__/run.cpython-36.pyc b/__pycache__/run.cpython-36.pyc
new file mode 100644
index 0000000..1c9b795
Binary files /dev/null and b/__pycache__/run.cpython-36.pyc differ
diff --git a/lib/__pycache__/__init__.cpython-36.pyc b/lib/__pycache__/__init__.cpython-36.pyc
new file mode 100644
index 0000000..71863e1
Binary files /dev/null and b/lib/__pycache__/__init__.cpython-36.pyc differ
diff --git a/lib/public/__pycache__/__init__.cpython-36.pyc b/lib/public/__pycache__/__init__.cpython-36.pyc
new file mode 100644
index 0000000..1704b1c
Binary files /dev/null and b/lib/public/__pycache__/__init__.cpython-36.pyc differ
diff --git a/lib/public/__pycache__/http_hander.cpython-36.pyc b/lib/public/__pycache__/http_hander.cpython-36.pyc
new file mode 100644
index 0000000..62cc2a7
Binary files /dev/null and b/lib/public/__pycache__/http_hander.cpython-36.pyc differ
diff --git a/lib/public/__pycache__/logger.cpython-36.pyc b/lib/public/__pycache__/logger.cpython-36.pyc
new file mode 100644
index 0000000..f2a394f
Binary files /dev/null and b/lib/public/__pycache__/logger.cpython-36.pyc differ
diff --git a/lib/public/__pycache__/relevance.cpython-36.pyc b/lib/public/__pycache__/relevance.cpython-36.pyc
new file mode 100644
index 0000000..5035bd5
Binary files /dev/null and b/lib/public/__pycache__/relevance.cpython-36.pyc differ
diff --git a/lib/public/__pycache__/text_similarity_comparison.cpython-36.pyc b/lib/public/__pycache__/text_similarity_comparison.cpython-36.pyc
new file mode 100644
index 0000000..c575d52
Binary files /dev/null and b/lib/public/__pycache__/text_similarity_comparison.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/__init__.cpython-36.pyc b/lib/utils/__pycache__/__init__.cpython-36.pyc
new file mode 100644
index 0000000..c7e2894
Binary files /dev/null and b/lib/utils/__pycache__/__init__.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/fp.cpython-36.pyc b/lib/utils/__pycache__/fp.cpython-36.pyc
new file mode 100644
index 0000000..e3f090c
Binary files /dev/null and b/lib/utils/__pycache__/fp.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/get_json_params.cpython-36.pyc b/lib/utils/__pycache__/get_json_params.cpython-36.pyc
new file mode 100644
index 0000000..bd99087
Binary files /dev/null and b/lib/utils/__pycache__/get_json_params.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/make_report_template.cpython-36.pyc b/lib/utils/__pycache__/make_report_template.cpython-36.pyc
new file mode 100644
index 0000000..3840a68
Binary files /dev/null and b/lib/utils/__pycache__/make_report_template.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/operate_excel.cpython-36.pyc b/lib/utils/__pycache__/operate_excel.cpython-36.pyc
new file mode 100644
index 0000000..3d4e1f4
Binary files /dev/null and b/lib/utils/__pycache__/operate_excel.cpython-36.pyc differ
diff --git a/lib/utils/__pycache__/time_setting.cpython-36.pyc b/lib/utils/__pycache__/time_setting.cpython-36.pyc
new file mode 100644
index 0000000..cd513f4
Binary files /dev/null and b/lib/utils/__pycache__/time_setting.cpython-36.pyc differ
diff --git a/report/log/BotChatContrast.log b/report/log/BotChatContrast.log
index 7180793..ebbe484 100644
--- a/report/log/BotChatContrast.log
+++ b/report/log/BotChatContrast.log
@@ -130,3 +130,23 @@
}
[DEBUG] [2019-05-07 17:09:32,431] logger.py [line:131] : 问题:清除缓存,Text的值是->None Header的值是->['我什么也不记得了...'] Image的值是->None Content的值是->None
[INFO] [2019-05-07 17:09:33,230] logger.py [line:131] : Counter({'记得': 1})Counter({'记得': 1})1.0
+[DEBUG] [2019-05-07 17:55:19,186] logger.py [line:131] : 一共执行的测试集为{'招退工备案的办理材料': 'F:\\BotChatContrastV2\\work_flow\\招退工备案的办理材料.xlsx'}
+[INFO] [2019-05-07 17:55:19,199] logger.py [line:131] : 本次运行的用例为招退工备案的办理材料 => F:\BotChatContrastV2\work_flow\招退工备案的办理材料.xlsx
+[DEBUG] [2019-05-07 17:55:19,231] logger.py [line:131] : [{'question': '清除缓存', 'intent': '招退工备案的办理材料', 'knowledge': '我什么也不记得了...'}]
+[DEBUG] [2019-05-07 17:55:19,233] logger.py [line:131] : 当前问题是 => 清除缓存
+[DEBUG] [2019-05-07 17:55:19,251] logger.py [line:131] : {
+ "method": "post",
+ "url": "https://192.168.1.104:10033/api/admin/channel/v2/webchat/getanswer",
+ "json": {
+ "id": "0cced7d2-c755-438f-a44f-57bddd787184",
+ "webtalkid": "0b8ade4002e14485941cdc3705ad5de3",
+ "question": "\u6e05\u9664\u7f13\u5b58",
+ "channels": "WebChat"
+ },
+ "headers": {
+ "Access-Token": "B7D57FF6592EEC0E9EB2114C512D6DE2A1BB2C2B0C300BEB5B53140B0B602078",
+ "Content-Type": "application/json"
+ }
+}
+[DEBUG] [2019-05-07 17:55:20,074] logger.py [line:131] : 问题:清除缓存,Text的值是->None Header的值是->['我什么也不记得了...'] Image的值是->None Content的值是->None
+[INFO] [2019-05-07 17:55:20,870] logger.py [line:131] : Counter({'记得': 1})Counter({'记得': 1})1.0
diff --git "a/report/report/\346\213\233\351\200\200\345\267\245\345\244\207\346\241\210\347\232\204\345\212\236\347\220\206\346\235\220\346\226\231_2019-05-07.html" "b/report/report/\346\213\233\351\200\200\345\267\245\345\244\207\346\241\210\347\232\204\345\212\236\347\220\206\346\235\220\346\226\231_2019-05-07.html"
index 383745e..f3e9884 100644
--- "a/report/report/\346\213\233\351\200\200\345\267\245\345\244\207\346\241\210\347\232\204\345\212\236\347\220\206\346\235\220\346\226\231_2019-05-07.html"
+++ "b/report/report/\346\213\233\351\200\200\345\267\245\345\244\207\346\241\210\347\232\204\345\212\236\347\220\206\346\235\220\346\226\231_2019-05-07.html"
@@ -97,12 +97,12 @@
-
-
+