Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Workflow of bibo queries
11-08-2020, 11:07 AM
Post: #10
RE: Workflow of bibo queries
20201108 1000/lingu runs query 64.

Code:
[sage@limbo30-1 test]$ ./test_inquire_zeng.sh
sending inquire request ./processed/zengxingliang-inquire.json
Connected to Sage
.. matching doc limbo30-3
.. telling sage message M of 0 bytes 0x1725de0 0x1725dec 0x1725df0
.. heard R with qid 64
Hang up
{
"code": 200,
"msg": "ok",
"children": [
  {
   "keys": [
     {
   "keys": [
     {
       "type": "key3",
       "value": "计算机信息系统",
       "detailid": "087b2085e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "破坏计算机信息系统",
       "detailid": "087b2085e4a911ea987a005056c00001"
     },
     {
       "type": "key3",
       "value": "破坏计算机信息系统",
       "detailid": "087b5ca4e4a911ea987a005056c00001"
     },
...
       "type": "key2",
       "value": "智能手机终端",
       "detailid": "087b61a1e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "破坏计算机信息系统",
       "detailid": "087b61a1e4a911ea987a005056c00001"
     }
   ],
   "caseid": "67be261c9e6311eabceb005056c00001",
   "caseyear": 2017,
   "casetitle": "曾兴亮、王玉生破坏计算机信息系统案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "破坏计算机信息系统罪",
   "score": 100
  }
]
}

parse error: Invalid numeric literal at line 1, column 10
return code:
inquire failed
[sage@limbo30-1 test]$

bibo.log shows the following.
Code:
received new case in /thinker/globe/soft/bibo/procuratorate/tests/newcase/newcase.txt [1108-10:00
:28]
casetype is: query
  querying case /thinker/globe/soft/bibo/procuratorate/tests/newcase/newcase.txt
      torun     /thinker/globe/.think/run/sacli  --helper limbo30-3 match /thinker/globe/soft/bibo/p
rocuratorate/tests/newcase/newcase.txt
      sacli completes with exit code 0
    finish query
      The query 64 is of "query" type, run getresults()
    collecting results from 27 cases in /thinker/globe/soft/bibo/procuratorate/tests/res2
[2020-11-08 10:00:30] thinkres starts with --reqtype query --resdir /thinker/globe/soft/bibo/procura
torate/tests/res2 --casecnt 27 --out /thinker/globe/soft/bibo/procuratorate/tests/res2/res.res
  tycano: x
  casecnt: 27
  more args
      scrutinize /thinker/globe/soft/bibo/procuratorate/tests/res2 for 27 cases
      scrutinize fns res.res
      dozed for 0
      scrutinize fns res.res
...
      scrutinize fns res.res
      dozed for 24.7
    producing output with results
    thinkres completed with /thinker/globe/soft/bibo/procuratorate/tests/res2/res.res
          run1 exits with 0 for /usr/bin/python /thinker/globe/soft/bibo/triage/thinkres.py --reqtype query --resdir /thinker/globe/soft/bibo/procuratorate/tests/res2 --casecnt 27 --out /thinker/globe/soft/bibo/procuratorate/tests/res2/res.res
    Sending results for casetype query: [1108-10:00:57]
{
"code": 200,
"msg": "ok",
"children": [
  {
   "keys": [
     {
       "type": "key3",
       "value": "计算机信息系统",
       "detailid": "087b2085e4a911ea987a005056c00001"
   "caseyear": 2017,
   "casetitle": "曾兴亮、王玉生破坏计算机信息系统案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "破坏计算机信息系统罪",
   "score": 100
  }
]
}

      grep 200 in /thinker/globe/soft/bibo/procuratorate/tests/res2/res.res returns 0
      triage() completes with 0
      work() toret 0
    talk2thinker returns 0 for qid 64

00:28 issue
00:30 thinkres
00:32 first fast dir
00:42 last fast dir
00:57 send result
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Workflow of bibo queries - lingu - 11-07-2020, 10:49 PM
RE: SageRun - lingu - 11-08-2020, 01:39 AM
RE: SageRun - lingu - 11-08-2020, 02:00 AM
RE: SageRun - lingu - 11-08-2020, 02:34 AM
RE: SageRun - lingu - 11-08-2020, 02:44 AM
RE: SageRun - lingu - 11-08-2020, 02:56 AM
RE: SageRun - lingu - 11-08-2020, 05:05 AM
RE: SageRun - lingu - 11-08-2020, 10:03 AM
RE: Workflow of bibo queries - lingu - 11-08-2020, 10:42 AM
RE: Workflow of bibo queries - lingu - 11-08-2020 11:07 AM
RE: Workflow of bibo queries - lingu - 08-10-2021, 08:38 PM
RE: Workflow of bibo queries - zhihao - 08-11-2021, 05:11 PM
RE: Workflow of bibo queries - lingu - 08-13-2021, 04:13 PM

Forum Jump: