|
|
@ -198,11 +198,11 @@ if __name__ == "__main__": |
|
|
|
if cfg.proc_name not in tested_procs: |
|
|
|
if cfg.proc_name not in tested_procs: |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
cur_log_fn = os.path.join(FAKEDATA, f"{segment}_{cfg.proc_name}_{cur_commit}.bz2") |
|
|
|
cur_log_fn = os.path.join(FAKEDATA, f"{segment}_{cfg.proc_name}_{cur_commit}.zst") |
|
|
|
if args.update_refs: # reference logs will not exist if routes were just regenerated |
|
|
|
if args.update_refs: # reference logs will not exist if routes were just regenerated |
|
|
|
ref_log_path = get_url(*segment.rsplit("--", 1)) |
|
|
|
ref_log_path = get_url(*segment.rsplit("--", 1)) |
|
|
|
else: |
|
|
|
else: |
|
|
|
ref_log_fn = os.path.join(FAKEDATA, f"{segment}_{cfg.proc_name}_{ref_commit}.bz2") |
|
|
|
ref_log_fn = os.path.join(FAKEDATA, f"{segment}_{cfg.proc_name}_{ref_commit}.zst") |
|
|
|
ref_log_path = ref_log_fn if os.path.exists(ref_log_fn) else BASE_URL + os.path.basename(ref_log_fn) |
|
|
|
ref_log_path = ref_log_fn if os.path.exists(ref_log_fn) else BASE_URL + os.path.basename(ref_log_fn) |
|
|
|
|
|
|
|
|
|
|
|
dat = None if args.upload_only else log_data[segment] |
|
|
|
dat = None if args.upload_only else log_data[segment] |
|
|
|