MCPcopy Create free account
hub / github.com/Hello-SimpleAI/chatgpt-comparison-detection / refresh_data

Function refresh_data

HC3/selenium_crawler.py:437–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435 data = read_data(args.raw)
436
437 def refresh_data():
438 # data = read_data(args.raw)
439 files = glob.glob(f'{json_prefix}.*.json')
440 for p in files:
441 index = int(p.split('.')[-2])
442 data.pop(index, None)
443 if len(files):
444 printf(f"已完成 {len(files)} 句.")
445 return data
446
447 iteraiton = 0
448 while len(data):

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.70

Tested by

no test coverage detected