63cc6f44cf3824385f0d69e2a2570d8340fdc297,tests/python/pants_test/tasks/test_group_task.py,GroupIteratorMultipleTest,test,#GroupIteratorMultipleTest#,74

Before Change


    chunks = self.iterate(c_red, a_green)
    self.assertEqual(4, len(chunks))

    group_member, targets = chunks[0]
    self.assertEqual(self.red, type(group_member))
    self.assertEqual({a_red}, set(targets))

    group_member, targets = chunks[1]

After Change


    chunks = self.iterate(c_red, a_green)
    self.assertEqual(4, len(chunks))

    group_members, target_lists = zip(*chunks)
    group_member_types = [type(group_member) for group_member in group_members]
    target_sets = [set(target_list) for target_list in target_lists]

    // There are two possible topological orders, both correct.
    first_possible_group_member_types = [self.red, self.blue, self.red, self.green]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pantsbuild/pants
Commit Name: 63cc6f44cf3824385f0d69e2a2570d8340fdc297
Time: 2015-07-06
Author: hellomind@gmail.com
File Name: tests/python/pants_test/tasks/test_group_task.py
Class Name: GroupIteratorMultipleTest
Method Name: test


Project Name: pantsbuild/pants
Commit Name: 63cc6f44cf3824385f0d69e2a2570d8340fdc297
Time: 2015-07-06
Author: hellomind@gmail.com
File Name: tests/python/pants_test/tasks/test_group_task.py
Class Name: GroupIteratorMultipleTest
Method Name: test


Project Name: google/language-resources
Commit Name: c219bb5a1952d77f6afa16a80b22624632387813
Time: 2016-06-10
Author: mjansche@google.com
File Name: my/make_comparison_table.py
Class Name:
Method Name: main


Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: b81255e79685ea19731b6c34c042e7dddad0dc11
Time: 2020-10-21
Author: vloncar@users.noreply.github.com
File Name: hls4ml/model/hls_layers.py
Class Name: Conv1D
Method Name: config_cpp