e4140025046de5157cac1eaa21b59b56032b40d1,python/test/utils/conversion/gen_report.py,StatusHandler,handle_import_table,#StatusHandler#Any#,137
Before Change
if self.test_result[fields[0]] == "OK":
self.ok += 1
line = output_line.format(
fields[0], self.test_result[fields[0]], " ".join(fields[2:]))
self.output_buffer += [line]
self.output_buffer += "\n"
else:
line = output_line.format(
fields[0], "Not test", " ".join(fields[2:]))
After Change
self.count += 1
opset = self.opset_d.get(fields[0], [])
if isinstance(opset, list):
opset_s = ",".join(sorted(opset))
desc = " ".join(fields[3:])
elif isinstance(opset, dict):
opset_s = ",".join(sorted(opset["version"]))
desc = opset["functions"]
if fields[0] in self.test_result:
if self.test_result[fields[0]] == "OK":
self.ok += 1
line = output_line.format(
fields[0], opset_s, self.test_result[fields[0]], desc)
else:
if opset:
line = output_line.format(
fields[0], opset_s, "Not test", desc)
else:
line = output_line.format(
fields[0], opset_s, "Unimplemented", desc)
line = line.strip()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: sony/nnabla
Commit Name: e4140025046de5157cac1eaa21b59b56032b40d1
Time: 2018-10-30
Author: Woody.Li@sony.com
File Name: python/test/utils/conversion/gen_report.py
Class Name: StatusHandler
Method Name: handle_import_table
Project Name: dgasmith/opt_einsum
Commit Name: 43e740fa6ea915e7143b9e58a231042d22ab5587
Time: 2018-08-09
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/contract.py
Class Name:
Method Name: contract_path
Project Name: pantsbuild/pants
Commit Name: c7cb8d547af707a6f35fc0c4cc6a5f70986f57ac
Time: 2015-10-15
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/roots.py
Class Name: ListRoots
Method Name: console_output
Project Name: googledatalab/pydatalab
Commit Name: f1522f7930a7dd101bca96c76db291647d2d5de4
Time: 2017-04-13
Author: brandondutra@google.com
File Name: solutionbox/structured_data/mltoolbox/_structured_data/preprocess/local_preprocess.py
Class Name:
Method Name: run_numerical_categorical_analysis