<commit_before># -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Jun 17 2015)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
import wx.richtext
import wx.grid

###########################################################################
## Class MainFrame
###########################################################################

class MainFrame ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"DasH", pos = wx.DefaultPosition, size = wx.Size( 1200,700 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		self.m_menubar_main = wx.MenuBar( 0 )
		self.SetMenuBar( self.m_menubar_main )
		
		gSizerMain = wx.GridSizer( 1, 3, 0, 0 )
		
		self.m_case_tree = wx.TreeCtrl( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TR_DEFAULT_STYLE|wx.TR_EDIT_LABELS|wx.TR_EXTENDED|wx.TR_HAS_BUTTONS|wx.TR_HAS_VARIABLE_ROW_HEIGHT|wx.HSCROLL|wx.TAB_TRAVERSAL|wx.VSCROLL|wx.WANTS_CHARS )
		gSizerMain.Add( self.m_case_tree, 0, wx.ALL|wx.EXPAND, 5 )
		
		bSizerLeft = wx.BoxSizer( wx.VERTICAL )
		
		self.m_editor = wx.richtext.RichTextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0|wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER|wx.WANTS_CHARS )
		bSizerLeft.Add( self.m_editor, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_textCtrl2 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizerLeft.Add( self.m_textCtrl2, 0, wx.ALL, 5 )
		
		self.m_log = wx.richtext.RichTextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0|wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER|wx.WANTS_CHARS )
		self.m_log.Enable( False )
		
		bSizerLeft.Add( self.m_log, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_command_box = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE|wx.TE_READONLY )
		bSizerLeft.Add( self.m_command_box, 0, wx.ALL|wx.EXPAND, 5 )
		
		
		gSizerMain.Add( bSizerLeft, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_case_steps = wx.grid.Grid( self, wx.ID_ANY, wx.Point( -1,-1 ), wx.Size( -1,-1 ), 0 )
		
		# Grid
		self.m_case_steps.CreateGrid( 5, 5 )
		self.m_case_steps.EnableEditing( True )
		self.m_case_steps.EnableGridLines( True )
		self.m_case_steps.EnableDragGridSize( False )
		self.m_case_steps.SetMargins( 0, 0 )
		
		# Columns
		self.m_case_steps.EnableDragColMove( False )
		self.m_case_steps.EnableDragColSize( True )
		self.m_case_steps.SetColLabelSize( 30 )<commit_msg>add the main menu bar<commit_after># -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Jun 17 2015)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
import wx.richtext
import wx.grid

###########################################################################
## Class MainFrame
###########################################################################

class MainFrame ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"DasH", pos = wx.DefaultPosition, size = wx.Size( 1200,700 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		self.m_menubar_main = wx.MenuBar( 0 )
		self.SetMenuBar( self.m_menubar_main )
		
		gSizerMain = wx.GridSizer( 1, 3, 0, 0 )
		
		self.m_case_tree = wx.TreeCtrl( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TR_DEFAULT_STYLE|wx.TR_EDIT_LABELS|wx.TR_EXTENDED|wx.TR_HAS_BUTTONS|wx.TR_HAS_VARIABLE_ROW_HEIGHT|wx.HSCROLL|wx.TAB_TRAVERSAL|wx.VSCROLL|wx.WANTS_CHARS )
		gSizerMain.Add( self.m_case_tree, 0, wx.ALL|wx.EXPAND, 5 )
		
		bSizerLeft = wx.BoxSizer( wx.VERTICAL )
		
		self.m_editor = wx.richtext.RichTextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0|wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER|wx.WANTS_CHARS )
		bSizerLeft.Add( self.m_editor, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_log = wx.richtext.RichTextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0|wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER|wx.WANTS_CHARS )
		self.m_log.Enable( False )
		
		bSizerLeft.Add( self.m_log, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_command_box = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE|wx.TE_READONLY )
		bSizerLeft.Add( self.m_command_box, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_textCtrl2 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizerLeft.Add( self.m_textCtrl2, 0, wx.ALL, 5 )
		
		
		gSizerMain.Add( bSizerLeft, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_case_steps = wx.grid.Grid( self, wx.ID_ANY, wx.Point( -1,-1 ), wx.Size( -1,-1 ), 0 )
		
		# Grid
		self.m_case_steps.CreateGrid( 5, 5 )
		self.m_case_steps.EnableEditing( True )
		self.m_case_steps.EnableGridLines( True )
		self.m_case_steps.EnableDragGridSize( False )
		self.m_case_steps.SetMargins( 0, 0 )
		
		# Columns
		self.m_case_steps.EnableDragColMove( False )
		self.m_case_steps.EnableDragColSize( True )
		self.m_case_steps.SetColLabelSize( 30 )
{'fraction_non_alphanumeric': 0.22944830105955424, 'fraction_numerical': 0.017902813299232736, 'mean_word_length': 4.732984293193717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3168706', 'n_tokens_mistral': 2289, 'n_tokens_neox': 2018, 'n_words': 344}