e2042f7bec0605ba18e50186be1451f68d89bd56,src/backends/cgpm_backend.py,CGPM_Backend,_json_ready_model,#CGPM_Backend#Any#Any#,949

Before Change


        // cluster number.
        clusters_for_views = [
                [
                    [rowno for (rowno, _) in group]
                    for (_, group) in itertools.groupby(sorted(view.Zr().items()),
                        key=operator.itemgetter(1))
                ]
                for view in state.views.values()
            ]

After Change


                [
                    sorted([
                        rowid
                        for (rowid, current_cluster_index) in view.Zr().items()
                        if current_cluster_index==cluster_index
                    ])
                    for cluster_index in sorted(set(view.Zr().values()))
                ]
                for view in state.views.values()
        ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: probcomp/bayeslite
Commit Name: e2042f7bec0605ba18e50186be1451f68d89bd56
Time: 2020-02-25
Author: ulli@mit.edu
File Name: src/backends/cgpm_backend.py
Class Name: CGPM_Backend
Method Name: _json_ready_model


Project Name: biolab/orange3
Commit Name: 532c5db2b1520bc7422fa106576b11e36f4721ab
Time: 2015-08-06
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/help/manager.py
Class Name:
Method Name: create_html_inventory_provider


Project Name: biolab/orange3
Commit Name: 532c5db2b1520bc7422fa106576b11e36f4721ab
Time: 2015-08-06
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/help/manager.py
Class Name:
Method Name: create_html_provider