<commit_before>
var desolve = P(GiacGeneric, function(_, super_) {
	_.klass = ['desolve'];
	_.number_of_equations = 1;
	_.numeric_mode = false;
	_.helpTextSymbolic = "<<solve differential equation <[EXPR]> for <[FUNC]>>>\nSolve the differential equation(s) and condition(s) given (EXPR) for the function specified in FUNC.  Use apostrophes in EXPR to indicate a derivative.  Use the 'add another equation' link to add more equations or conditions.\nExample: Solve differential equation f'' + f = cos(x), f(0) = 1, f'(0) = 0 for f(x)";
	_.helpTextNumeric = "<<solve differential equation y'=<[EXPR]> and y(0)=<[INIT]> for <[x]> from <[0]> to <[end]>>>\nSolve the differential equation(s) given (EXPR) numerically.  Each equation is the derivative of a value y.  Initial conditions for each y must also be provided, as well as the end value for the dependant variable to which the solution should solve.  The solver will return a matrix with value from the intial condition to the final value, with values for y in between.\nExample: Solve differential equation y' = y * cos(x), y(0) = 1, for x from 0 to 1";
	_.savedProperties = ['expectedUnits','approx','factor_expand','outputMode','number_of_equations', 'scoped', 'numeric_mode'];

	_.init = function() {
		this.eqFields = [];
		this.startFields = [];
		this.varFields = [];
		this.helpText = this.helpTextSymbolic;
		super_.init.call(this);
	}
	_.innerHtml = function() {
		return '<table class="' + css_prefix + 'giac_element"><tbody><tr><td class="' + css_prefix + 'var_store">'
	 	+ '<div class="' + css_prefix + 'focusableItems" data-id="0"><span class="' + css_prefix + 'var_store">' + focusableHTML('MathQuill',  'var_store') + '<span class="equality">&#8801;</span></span>' + focusableHTML('CodeBlock', 'solve differential equation') + '</td>'
	 	+ '<td class="' + css_prefix + 'content"><div class="' + css_prefix + 'focusableItems" data-id="0"><span class="initial_guess" style="display:none;">' + focusableHTML('MathQuill',  'var0') + '<span class="eqnum"></span></span>' + focusableHTML('MathQuill',  'eq0') + '<span class="initial_guess" style="display:none;">,&nbsp;&nbsp;&nbsp;<span class="eqinit"></span>' + focusableHTML('MathQuill',  'start0') + '</span>' + helpBlock() + '</div><div class="' + css_prefix + 'hide_print"><div class="' + css_prefix + 'add_equation">Add another equation</div></div>'
	 	+ '<div class="' + css_prefix + 'focusableItems" data-id="1">for&nbsp;' + focusableHTML('MathQuill',  'var') + '<span class="initial_guess" style="display:none;">&nbsp;from&nbsp;' + focusableHTML('MathQuill',  'start') + '&nbsp;to&nbsp;' + focusableHTML('MathQuill',  'final') + '&nbsp;with&nbsp;max&nbsp;step&nbsp;of&nbsp;' + focusableHTML('MathQuill',  'step') + '</span></div>'
	  + '<div class="' + css_prefix + 'focusableItems" data-id="2">using&nbsp;' + focusableHTML('SelectBox',  'solver') + '</div>'
		+ answerSpan() + '</td></tr></tbody></table>';
	}
	_.postInsertHandler = function() {
		this.eqFields[0] = registerFocusable(MathQuill, this, 'eq0', { ghost: 'equation', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.startFields[0] = registerFocusable(MathQuill, this, 'start0', { ghost: 'initial value', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.varFields[0] = registerFocusable(MathQuill, this, 'var0', { ghost: 'y0', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.varFields[0].latex("y_{0}");
		this.varField = registerFocusable(MathQuill, this, 'var', { ghost: 'f(x)', default: 'x', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.startField = registerFocusable(MathQuill, this, 'start', { ghost: '0', default: '0', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.endField = registerFocusable(MathQuill, this, 'final', { ghost: 'final', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});<commit_msg>Remove 'max' language from desolve as it no longer is max, but desired<commit_after>
var desolve = P(GiacGeneric, function(_, super_) {
	_.klass = ['desolve'];
	_.number_of_equations = 1;
	_.numeric_mode = false;
	_.helpTextSymbolic = "<<solve differential equation <[EXPR]> for <[FUNC]>>>\nSolve the differential equation(s) and condition(s) given (EXPR) for the function specified in FUNC.  Use apostrophes in EXPR to indicate a derivative.  Use the 'add another equation' link to add more equations or conditions.\nExample: Solve differential equation f'' + f = cos(x), f(0) = 1, f'(0) = 0 for f(x)";
	_.helpTextNumeric = "<<solve differential equation y'=<[EXPR]> and y(0)=<[INIT]> for <[x]> from <[0]> to <[end]>>>\nSolve the differential equation(s) given (EXPR) numerically.  Each equation is the derivative of a value y.  Initial conditions for each y must also be provided, as well as the end value for the dependant variable to which the solution should solve.  The solver will return a matrix with value from the intial condition to the final value, with values for y in between.\nExample: Solve differential equation y' = y * cos(x), y(0) = 1, for x from 0 to 1";
	_.savedProperties = ['expectedUnits','approx','factor_expand','outputMode','number_of_equations', 'scoped', 'numeric_mode'];

	_.init = function() {
		this.eqFields = [];
		this.startFields = [];
		this.varFields = [];
		this.helpText = this.helpTextSymbolic;
		super_.init.call(this);
	}
	_.innerHtml = function() {
		return '<table class="' + css_prefix + 'giac_element"><tbody><tr><td class="' + css_prefix + 'var_store">'
	 	+ '<div class="' + css_prefix + 'focusableItems" data-id="0"><span class="' + css_prefix + 'var_store">' + focusableHTML('MathQuill',  'var_store') + '<span class="equality">&#8801;</span></span>' + focusableHTML('CodeBlock', 'solve differential equation') + '</td>'
	 	+ '<td class="' + css_prefix + 'content"><div class="' + css_prefix + 'focusableItems" data-id="0"><span class="initial_guess" style="display:none;">' + focusableHTML('MathQuill',  'var0') + '<span class="eqnum"></span></span>' + focusableHTML('MathQuill',  'eq0') + '<span class="initial_guess" style="display:none;">,&nbsp;&nbsp;&nbsp;<span class="eqinit"></span>' + focusableHTML('MathQuill',  'start0') + '</span>' + helpBlock() + '</div><div class="' + css_prefix + 'hide_print"><div class="' + css_prefix + 'add_equation">Add another equation</div></div>'
	 	+ '<div class="' + css_prefix + 'focusableItems" data-id="1">for&nbsp;' + focusableHTML('MathQuill',  'var') + '<span class="initial_guess" style="display:none;">&nbsp;from&nbsp;' + focusableHTML('MathQuill',  'start') + '&nbsp;to&nbsp;' + focusableHTML('MathQuill',  'final') + '&nbsp;with&nbsp;step&nbsp;of&nbsp;' + focusableHTML('MathQuill',  'step') + '</span></div>'
	  + '<div class="' + css_prefix + 'focusableItems" data-id="2">using&nbsp;' + focusableHTML('SelectBox',  'solver') + '</div>'
		+ answerSpan() + '</td></tr></tbody></table>';
	}
	_.postInsertHandler = function() {
		this.eqFields[0] = registerFocusable(MathQuill, this, 'eq0', { ghost: 'equation', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.startFields[0] = registerFocusable(MathQuill, this, 'start0', { ghost: 'initial value', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.varFields[0] = registerFocusable(MathQuill, this, 'var0', { ghost: 'y0', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.varFields[0].latex("y_{0}");
		this.varField = registerFocusable(MathQuill, this, 'var', { ghost: 'f(x)', default: 'x', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.startField = registerFocusable(MathQuill, this, 'start', { ghost: '0', default: '0', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
		this.endField = registerFocusable(MathQuill, this, 'final', { ghost: 'final', handlers: {
			enter: this.enterPressed(this),
			blur: this.submissionHandler(this)
		}});
{'fraction_non_alphanumeric': 0.1858288770053476, 'fraction_numerical': 0.008021390374331552, 'mean_word_length': 5.663157894736842, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '4811745', 'n_tokens_mistral': 2873, 'n_tokens_neox': 2690, 'n_words': 668}