4d4d77fa419b92f8b185cea2b2abe8cf598d1eb0,pysos/main.py,,get_tracked_files,#Any#,182
Before Change
tracked_files.append(line.strip())
runtime_files.append(FileTarget(line.strip()).sig_file())
else:
if line.endswith("exe_info\n"):
runtime_files.append(line.strip())
return set(tracked_files), set(runtime_files)
After Change
tracked_files = []
runtime_files = [sig_file]
for line in sig:
if line.startswith("// runtime signatures"):
with_runtime = True
with_tracked = False
continue
if line.startswith("// input and dependent files"):
with_tracked = True
continue
if line.startswith("//"):
continue
if with_tracked:
tracked_files.append(line.rsplit("\t", 2)[0])
t = FileTarget(line.strip())
if t.exists("signature"):
runtime_files.append(t.sig_file())
elif with_runtime:
runtime_files.append(line.strip())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: vatlab/SoS
Commit Name: 4d4d77fa419b92f8b185cea2b2abe8cf598d1eb0
Time: 2016-10-30
Author: ben.bog@gmail.com
File Name: pysos/main.py
Class Name:
Method Name: get_tracked_files
Project Name: HazyResearch/fonduer
Commit Name: 9c506d35f66914eaf21f8869fe25a5a9e7b8e2f0
Time: 2018-07-26
Author: lwhsiao@stanford.edu
File Name: tests/e2e/hardware_spaces.py
Class Name: OmniNgramsVolt
Method Name: apply
Project Name: IndicoDataSolutions/finetune
Commit Name: 6104513bdef028f870c1603fad58c034acf0f4c8
Time: 2018-12-28
Author: benlt@hotmail.co.uk
File Name: finetune/base.py
Class Name: BaseModel
Method Name: finetune