<commit_before>import os

####Configfile variables object/class
###Overclocking stuff
##Set voltage/frewuency variables to 0
##0 is a no go value for all of them, so
##we can exclude them from the saved file
##if == 0
class rpi_config:
	arm_freq = 700  #Arm CPU core frequency
	              #Default is 700
	
	gpu_freq = 250  #Sets all 4 following at same time
	                #Defaults to 250
	core_freq = 250 #General GPU core frequency
	                #Default is 250.
	h264_freq = 250 #Sets the video decoder frequency
	                #Default is 250.
	isp_freq = 250  #Image sensor pipeline frequency
	                #Default is 250.
	v3d_freq = 250  #Frequency of the 3D builder
	                #Default 250.
	sdram_freq = 400#Frequency od the SDRAM memory chip
	                #Default 400.
	
	over_voltage = 0 #ARM/GPU core voltage adjust.
	                 #[-16,8] equates to [0.8V,1.4V].
	                 #This rule applys to all of the voltages.
	                 #Default 0 (1.2V)
	
	over_voltage_sdram = 0   #Sets all voltage variables
	                         #Default is 0 (1.2V)
	over_voltage_sdram_c = 0 #SDRAM controller voltage adjust.
	                         #Default is 0 (1.2V)
	over_voltage_sdram_i = 0 #SDRAM I/O voltage adjust.
	                         #Default is 0 (1.2V)
	over_voltage_sdram_p = 0 #SDRAM phy voltage adjust.
	                         #Default is 0 (1.2V)
	###Video output stuff
	sdtv_mode = 0   #composite tv mode. Default is 0 (NTSC)
	sdtv_aspect = 1 #composite aspect ratio. Default is 1 (4:3)
	hdmi_mode = 0   #hdmi mode. Default is negotiated with display.
	hdmi_drive = 2  #hdmi port outputs HDMI(2)/DVI(1) signal
	                #Default to HDMI as it is HDMI port ^_^
	hdmi_boost = 0  #Not documented offically anywhere. Use 0 and
					#exclude from config at save time. HDMI signal power

	disable_overscan = 1#Disables the overscanning when set to 1<commit_msg>Make rpiconf.rpi_config variables default to 0 like I orginally planned. Later on write only non zero entrys to the file.<commit_after>import os

####Configfile variables object/class
###Overclocking stuff
##Set voltage/frewuency variables to 0
##0 is a no go value for all of them, so
##we can exclude them from the saved file
##if == 0
class rpi_config:
	arm_freq = 0  #Arm CPU core frequency
	                #Default is 700
	
	gpu_freq = 0   #Sets all 4 following at same time
	               #Defaults to 250
	core_freq = 0  #General GPU core frequency
	               #Default is 250.
	h264_freq = 0  #Sets the video decoder frequency
	               #Default is 250.
	isp_freq = 0   #Image sensor pipeline frequency
	               #Default is 250.
	v3d_freq = 0   #Frequency of the 3D builder
	               #Default 250.
	sdram_freq = 0 #Frequency od the SDRAM memory chip
	               #Default 400.
	
	over_voltage = 0 #ARM/GPU core voltage adjust.
	                 #[-16,8] equates to [0.8V,1.4V].
	                 #This rule applys to all of the voltages.
	                 #Default 0 (1.2V)
	
	over_voltage_sdram = 0   #Sets all voltage variables
	                         #Default is 0 (1.2V)
	over_voltage_sdram_c = 0 #SDRAM controller voltage adjust.
	                         #Default is 0 (1.2V)
	over_voltage_sdram_i = 0 #SDRAM I/O voltage adjust.
	                         #Default is 0 (1.2V)
	over_voltage_sdram_p = 0 #SDRAM phy voltage adjust.
	                         #Default is 0 (1.2V)
	###Video output stuff
	sdtv_mode = 0   #composite tv mode. Default is 0 (NTSC)
	sdtv_aspect = 0 #composite aspect ratio. Default is 1 (4:3)
	hdmi_mode = 0   #hdmi mode. Default is negotiated with display.
	hdmi_drive = 0  #hdmi port outputs HDMI(2)/DVI(1) signal
	                #Default to HDMI as it is HDMI port ^_^
	hdmi_boost = 0  #Not documented offically anywhere. Use 0 and
					#exclude from config at save time. HDMI signal power

	disable_overscan = 0#Disables the overscanning when set to 1
{'fraction_non_alphanumeric': 0.06857287449392713, 'fraction_numerical': 0.04326923076923077, 'mean_word_length': 2.1298495645288993, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '282603', 'n_tokens_mistral': 1408, 'n_tokens_neox': 1172, 'n_words': 487}