<commit_before>import subprocess
import os
import urllib

import numpy as np
from sympy import *

init_printing(use_unicode=True)

x = Symbol('x', real=True)
y = Symbol('y', real=True)
z = Symbol('z', real=True)
a = Symbol('a', real=True)
b = Symbol('b', real=True)
c = Symbol('c', real=True)
d = Symbol('d', real=True)


# physics constants
class Ph:
    eV = 1.6 * 10 ** -19
    h = 6.63 * 10 ** -34  # Plank's constant
    c = 299792458
    lk = 2.4e-12  # Compton's wave length
    m0 = 9.1e-31  # Mass of electron


def _build_row(var_name, xs, len_):
    return var_name + ' |' + ' | '.join(str(x).rjust(len_) for x in xs)

<commit_msg>Add constants<commit_after>import subprocess
import os
import urllib

import numpy as np
from sympy import *

init_printing(use_unicode=True)

x = Symbol('x', real=True)
y = Symbol('y', real=True)
z = Symbol('z', real=True)
a = Symbol('a', real=True)
b = Symbol('b', real=True)
c = Symbol('c', real=True)
d = Symbol('d', real=True)


# physics constants
class Ph:
    eV = 1.6 * 10 ** -19
    h = 6.63 * 10 ** -34  # Plank's constant
    c = 299792458
    lk = 2.4e-12  # Compton's wave length
    m0 = 9.1e-31  # Mass of electron
    Ic = 1.36 * 1000  # Sun constant
    G = 6.67 * 10 ** -11  # Gravitation constant


def _build_row(var_name, xs, len_):
    return var_name + ' |' + ' | '.join(str(x).rjust(len_) for x in xs)


{'fraction_non_alphanumeric': 0.1583941605839416, 'fraction_numerical': 0.05547445255474453, 'mean_word_length': 3.2710280373831777, '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': '1046154', 'n_tokens_mistral': 603, 'n_tokens_neox': 531, 'n_words': 156}