e485b12acb290ba9bd7670179144e92ffd31d0bc,python/vmaf_quality_runner.py,VmafQualityRunner,_get_quality_scores,#VmafQualityRunner#Any#,125
Before Change
with open(log_file_path, "rt") as log_file:
for line in log_file.readlines():
mo_vmaf = re.match(r"vmaf: ([0-9]+) ([0-9.]+)", line)
if mo_vmaf:
cur_vmaf_idx = int(mo_vmaf.group(1))
assert cur_vmaf_idx == vmaf_idx
vmaf_scores.append(float(mo_vmaf.group(2)))
vmaf_idx += 1
// add VMAF scores
result[self.TYPE + "_scores"] = vmaf_scores
return result
After Change
:return:
repr_asset = repr(asset)
assert repr_asset in self.asset2quality_map
return self.asset2quality_map[repr_asset]
def _remove_log(self, asset):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Netflix/vmaf
Commit Name: e485b12acb290ba9bd7670179144e92ffd31d0bc
Time: 2016-02-12
Author: zli@netflix.com
File Name: python/vmaf_quality_runner.py
Class Name: VmafQualityRunner
Method Name: _get_quality_scores
Project Name: eth-cscs/reframe
Commit Name: 982c9fb609331a1caf01e37e6cabc5ec1046c280
Time: 2017-09-25
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers.py
Class Name: SlurmJob
Method Name: _update_state
Project Name: pyinstaller/pyinstaller
Commit Name: 8ed42a1c2781d28f699924d9a4b81785d55a624e
Time: 2015-11-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/bindepend.py
Class Name:
Method Name: findLibrary