0a7e5d397ed2bb9b61ee54d73e38d7ef6d890e46,lib/gui/display_graph.py,GraphBase,lines_groupsize,#Any#Any#,199

Before Change


            groupsize = len(raw_lines)
        else:
            for check in ("avg", "trend"):
                if any(item[0].startswith(check) for item in sorted_lines):
                    groupsize = len([item for item in sorted_lines if item[0].startswith(check)])
                    break
        logger.trace(groupsize)

After Change


            groupsize = len(raw_lines)
        elif sorted_lines:
            keys = [key[0][:key[0].find("_")] for key in sorted_lines]
            distinct_keys = set(keys)
            groupsize = len(keys) // len(distinct_keys)
        logger.trace(groupsize)
        return groupsize
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: 0a7e5d397ed2bb9b61ee54d73e38d7ef6d890e46
Time: 2019-06-26
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/display_graph.py
Class Name: GraphBase
Method Name: lines_groupsize


Project Name: pyinstaller/pyinstaller
Commit Name: 7560f45bc1d96164992078859c52f1a587dd2a17
Time: 2015-08-28
Author: mzibr.public@gmail.com
File Name: PyInstaller/building/imphook.py
Class Name: ImportHook
Method Name: _process_excludedimports


Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: 8c5146c9baa94005c4efe7e87303d3d2f9c69ba1
Time: 2016-05-27
Author: alfred.francis@pearldatadirect.com
File Name: iky_server/try.py
Class Name:
Method Name: extract_chunks