44a8f0e66f679eab4a4ec66344abecbfd8dcf7c7,src/python/pants/backend/codegen/tasks/simple_codegen_task.py,SimpleCodegenTask,execute,#SimpleCodegenTask#,93

Before Change


        target_workdir = self.codegen_workdir(target)
        synthetic_name = target.id
        sources_rel_path = os.path.relpath(target_workdir, get_buildroot())
        spec_path = "{0}{1}".format(type(self).__name__, sources_rel_path)
        synthetic_address = SyntheticAddress(spec_path, synthetic_name)
        // TODO(gm): sources_generated_by_target() shouldn"t be necessary for the isolated codegen
        // strategy, once that exists.
        raw_generated_sources = self.sources_generated_by_target(target)

After Change


    with self.invalidated(targets,
                          invalidate_dependents=True,
                          fingerprint_strategy=self.get_fingerprint_strategy()) as invalidation_check:
      invalid_targets = OrderedSet()
      for vts in invalidation_check.invalid_vts:
        invalid_targets.update(vts.targets)
      self.execute_codegen(invalid_targets)

      invalid_vts_by_target = dict([(vt.target, vt) for vt in invalidation_check.invalid_vts])
      vts_artifactfiles_pairs = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 44a8f0e66f679eab4a4ec66344abecbfd8dcf7c7
Time: 2015-06-02
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/backend/codegen/tasks/simple_codegen_task.py
Class Name: SimpleCodegenTask
Method Name: execute


Project Name: biolab/orange3
Commit Name: 34d4608fcd3df6f5c02e6a56afda51fd9d00be0b
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/__init__.py
Class Name:
Method Name: describe_data_brief


Project Name: biolab/orange3
Commit Name: 1349a412f5b3912b0e90afb17ccb90745c50a430
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/canvas/report/__init__.py
Class Name:
Method Name: describe_data_brief


Project Name: shaypal5/pdpipe
Commit Name: 99095d5412483ec623278bdb1a0c9e24b18bfc85
Time: 2017-03-16
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ValKeep
Method Name: __init__