03a0b8a842614992b1a2456d5829663fc7133fc2,cleverhans/confidence_report.py,,make_confidence_report,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,169
Before Change
print("Evaluation took", t2 - t1, "seconds")
correctness, confidence = packed
report[name] = {
"correctness": correctness,
"confidence": confidence
}
print_stats(correctness, confidence, name)
save(report_path, report)
After Change
print("Evaluation took", t2 - t1, "seconds")
correctness, confidence = packed
report[name] = ConfidenceReportEntry(correctness=correctness,
confidence=confidence)
print_stats(correctness, confidence, name)
save(report_path, report)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/cleverhans
Commit Name: 03a0b8a842614992b1a2456d5829663fc7133fc2
Time: 2018-10-24
Author: goodfellow@google.com
File Name: cleverhans/confidence_report.py
Class Name:
Method Name: make_confidence_report
Project Name: tensorflow/cleverhans
Commit Name: 03a0b8a842614992b1a2456d5829663fc7133fc2
Time: 2018-10-24
Author: goodfellow@google.com
File Name: cleverhans/attack_bundling.py
Class Name:
Method Name: bundle_attacks
Project Name: tensorflow/cleverhans
Commit Name: 7fc360e926a0562e46e3ebdb2d2768d3fa3e8e7c
Time: 2018-11-09
Author: goodfellow@google.com
File Name: cleverhans/attack_bundling.py
Class Name:
Method Name: run_batch_with_goal