procone.py -- OMUD
|
09-25-2020, 01:15 AM
Post: #1
|
|||
|
|||
procone.py -- OMUD
procone.py is used for generating analysis result for one case.
在某一案例内容中搜索key{1,2,3},构建"keys": []。 Code: main() { deleteIfMatch() Code: casecnt: current case count selectIfMatch() Code: tycajson_pfn: file of json cases query() Code: query() { delete_one_case(): Code: fw: file handler of one result file --- 20210813/zhihao: update blank_json 20210811/zhihao: add selectIfMatch 20210811/zhihao: add delete_one_case 20200926/zhihao: add switch in main() |
|||
09-25-2020, 01:31 AM
Post: #2
|
|||
|
|||
RE: procone.py -- OMUD
(09-25-2020 01:15 AM)zhihao Wrote: deleteIfMatch() 根据要求修改逻辑 Quote:After the match-and-delete, we should generate a result file to report the result of the deletion. If there is no match and no deletion, the result file is a nil file -- a file with zero bytes. 设计如下: Code: deleteIfMatch() { |
|||
09-26-2020, 12:38 PM
Post: #3
|
|||
|
|||
RE: procone.py -- OMUD | |||
09-26-2020, 04:34 PM
Post: #4
|
|||
|
|||
RE: procone.py -- OMUD
(09-26-2020 12:38 PM)lingu Wrote:(09-25-2020 01:15 AM)zhihao Wrote: if $reqtype is "delete" updated as follows: Code: switch ($reqtype) { |
|||
09-26-2020, 06:27 PM
Post: #5
|
|||
|
|||
RE: procone.py -- OMUD
(09-26-2020 04:34 PM)zhihao Wrote:(09-26-2020 12:38 PM)lingu Wrote:(09-25-2020 01:15 AM)zhihao Wrote: if $reqtype is "delete" should answer the question! Quote:updated as follows: As far as I can tell, we haven't implemented those functions, yet. We should implement them, soon. When implementing them, make sure to run the tests using 'make test' frequently and make sure all tests are happy. |
|||
09-26-2020, 07:05 PM
Post: #6
|
|||
|
|||
RE: procone.py -- OMUD
(09-26-2020 06:27 PM)lingu Wrote:Yes, I miss the branch 'select' and added it into headpost(09-26-2020 04:34 PM)zhihao Wrote:(09-26-2020 12:38 PM)lingu Wrote:(09-25-2020 01:15 AM)zhihao Wrote: if $reqtype is "delete" (09-26-2020 06:27 PM)lingu Wrote:Quote:updated as follows: OK |
|||
11-30-2020, 01:13 PM
Post: #7
|
|||
|
|||
RE: procone.py -- OMUD
(09-25-2020 01:15 AM)zhihao Wrote: procone.py is used for generating analysis result for one case. how does 'selectIfMatch' work? Pls specify. |
|||
08-10-2021, 01:58 PM
Post: #8
|
|||
|
|||
RE: procone.py -- OMUD
(09-25-2020 01:15 AM)zhihao Wrote:((->tycajson_pfn: file of json cases rid --insitu ((insert.json->$tycajson_pfn )) )) RR lingu (09-25-2020 01:15 AM)zhihao Wrote:create file ((insert.json->$tycajson_pfn )) with request template which has empty value RR lingu (09-25-2020 01:15 AM)zhihao Wrote:delete logic RR lingu |
|||
08-11-2021, 06:57 PM
Post: #9
|
|||
|
|||
RE: procone.py -- OMUD
(08-10-2021 01:58 PM)zhihao Wrote:(09-25-2020 01:15 AM)zhihao Wrote:((->tycajson_pfn: file of json cases OK. Quote:(09-25-2020 01:15 AM)zhihao Wrote:delete logic without a result file, how does the client know the status of the delete op? |
|||
08-11-2021, 08:24 PM
Post: #10
|
|||
|
|||
RE: procone.py -- OMUD
add delete_one_case() to headpost according to http://rar.shufangkeji.com:60380/showthr...6#pid48416
Code: fw: file handler of one result file |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: