<commit_before>module AutoSessionTimeoutHelper
  def auto_session_timeout_js
    code = <<JS
new Ajax.PeriodicalUpdater('', '/active', {frequency:60, method:'get', onSuccess: function(e) {
	if ($('active_session').innerHTML == 'true' && e.responseText == 'false') {
		alert('Your session has timed out.');
		window.location.href = '/timeout';
	}<commit_msg>removed alert when session times out<commit_after>module AutoSessionTimeoutHelper
  def auto_session_timeout_js
    code = <<JS
new Ajax.PeriodicalUpdater('', '/active', {frequency:60, method:'get', onSuccess: function(e) {
	if ($('active_session').innerHTML == 'true' && e.responseText == 'false') {
		window.location.href = '/timeout';
	}
{'fraction_non_alphanumeric': 0.16355810616929697, 'fraction_numerical': 0.005738880918220947, 'mean_word_length': 5.8431372549019605, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2744473', 'n_tokens_mistral': 218, 'n_tokens_neox': 210, 'n_words': 50}