da1561f8ba146ffa5da7ee7a81872c6f982bdaaf,skbio/core/tree/tests/test_majority_rule.py,MajorityRuleTests,test_build_trees,#MajorityRuleTests#,144

Before Change


                        frozenset(["B"]): 3}
        tree = _build_trees(clade_counts, edge_lengths, "foo")[0]
        self.assertEqual(tree.foo, 6)
        self.assertEqual(tree.children[0].foo, 8)
        self.assertEqual(tree.children[0].length, 3)
        self.assertEqual(tree.children[1].foo, 7)
        self.assertEqual(tree.children[1].length, 2)

After Change


        tree = _build_trees(clade_counts, edge_lengths, "foo")[0]
        self.assertEqual(tree.foo, 6)
        tree_foos = set([c.foo for c in tree.children])
        tree_lens = set([c.length for c in tree.children])
        self.assertEqual(tree_foos, set([7, 8]))
        self.assertEqual(tree_lens, set([2, 3]))

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: biocore/scikit-bio
Commit Name: da1561f8ba146ffa5da7ee7a81872c6f982bdaaf
Time: 2014-06-24
Author: mcdonadt@colorado.edu
File Name: skbio/core/tree/tests/test_majority_rule.py
Class Name: MajorityRuleTests
Method Name: test_build_trees


Project Name: commonsense/conceptnet5
Commit Name: 79d149dd39dc7e7d22c623c0a4a4d3ab99e61c76
Time: 2017-06-15
Author: joanna.teresa.duda@gmail.com
File Name: conceptnet5/vectors/transforms.py
Class Name:
Method Name: choose_small_vocabulary


Project Name: nilearn/nilearn
Commit Name: db2c1827e4aa2508e72b8e50999a4da04fd5a515
Time: 2018-10-14
Author: kc.insight.pi@gmail.com
File Name: nilearn/plotting/tests/test_html_stat_map.py
Class Name:
Method Name: test_view_stat_map


Project Name: tyarkoni/pliers
Commit Name: d37577ab61980311ee479e010c10294323d37e2a
Time: 2017-11-02
Author: delavega@utexas.edu
File Name: pliers/updater.py
Class Name:
Method Name: check_updates