<commit_before>#!/usr/bin/env python
# requirements: apt install git wget python 
import platform
import subprocess

if subprocess.call('which sudo', shell=True) == 0:
    with_sudo = 'sudo ' 
else:
    with_sudo = '' 

major = int(platform.release().split('.')[0])
minor = int(platform.release().split('.')[1])
revision = int(platform.release().split('.')[2].split('-')[0])
url_kernel = 'https://cdn.kernel.org/pub/linux/kernel/v%d.x/linux-%d.%d.tar.gz' % (major, major, minor)<commit_msg>update building perf from source<commit_after>#!/usr/bin/env python
# requirements: apt install git wget python make 
import platform
import subprocess

if subprocess.call('which sudo', shell=True) == 0:
    with_sudo = 'sudo ' 
else:
    with_sudo = '' 

major = int(platform.release().split('.')[0])
minor = int(platform.release().split('.')[1])
revision = int(platform.release().split('.')[2].split('-')[0])
url_kernel = 'https://mirrors.edge.kernel.org/pub/linux/kernel/v%d.x/linux-%d.%d.tar.gz' % (major, major, minor)
{'fraction_non_alphanumeric': 0.20434353405725567, 'fraction_numerical': 0.009871668311944718, 'mean_word_length': 4.7942857142857145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '616202', 'n_tokens_mistral': 368, 'n_tokens_neox': 347, 'n_words': 68}