<commit_before>min_m = 3
max_m = 5

max_step = 4
max_abs = 4
max_period = 3

var('a0,a_n,b_n')

flist = ["Random", "Piecewise Linear", "Other"]
llist = ["Random", "From Graph", "From Formula"]
ilist = ["Random", "$[-L,L]$", "$[0,L]$"]
rlist = ["Random", "Coefficients", "Series", "Partial Sum"]
plist = ["Fourier", "Inhomogeneous Equation"]
elist = ["Random", "Real Distinct", "Complex Conjugate Pair", "Repeated"]

@interact
def _f(psel = Selector(plist, label = 'Problem Topic:', selector_type='button')):
    if psel == plist[0]:<commit_msg>Summer 2015<commit_after>min_m = 3
max_m = 5

max_step = 4
max_abs = 4
max_period = 3

var('a0,a_n,b_n')

load('https://github.com/zspali/math-practice-problem-generator/raw/master/pc.sage')
load('https://github.com/zspali/math-practice-problem-generator/raw/master/fourier-problems.sage')
load('https://github.com/zspali/math-practice-problem-generator/raw/master/pdes-with-fourier.sage')

flist = ["Random", "Piecewise Linear", "Other"]
llist = ["Random", "From Graph", "From Formula"]
ilist = ["Random", "$[-L,L]$", "$[0,L]$"]
rlist = ["Random", "Coefficients", "Series", "Partial Sum"]
plist = ["Fourier", "Inhomogeneous Equation"]
elist = ["Random", "Real Distinct", "Complex Conjugate Pair", "Repeated"]

@interact
def _f(psel = Selector(plist, label = 'Problem Topic:', selector_type='button')):
    if psel == plist[0]:
{'fraction_non_alphanumeric': 0.20714806710430342, 'fraction_numerical': 0.014587892049598834, 'mean_word_length': 5.894472361809045, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '697805', 'n_tokens_mistral': 558, 'n_tokens_neox': 510, 'n_words': 113}