<commit_before>$(function() {
	var $warning = $('#warning > ul');
	// Configure the scrolling area
	var nbItems = $warning.find('li').length;
	var parentWidth = $warning.parent().css('width');
	parentWidth = parentWidth.substr(0, parentWidth.indexOf('px'));
	$warning.css('width', (nbItems * 100) + '%');
	// Shows the element and starts horizontal scrolling
	var scrollOnce = function() {
		$warning.css('margin-left', parentWidth + 'px');
		$warning.css('display', 'block');
		$warning.animate({marginLeft: '-' + (nbItems * parentWidth) + 'px'}, nbItems * 10000, function() {
			$warning.css('display', 'none');
			setTimeout(scrollOnce, 0);
		});
	};
	scrollOnce();
});<commit_msg>Modules: Change scroll mode to linear for warning module<commit_after>$(function() {
	var $warning = $('#warning > ul');
	// Configure the scrolling area
	var nbItems = $warning.find('li').length;
	var parentWidth = $warning.parent().css('width');
	parentWidth = parentWidth.substr(0, parentWidth.indexOf('px'));
	$warning.css('width', (nbItems * 100) + '%');
	// Shows the element and starts horizontal scrolling
	var scrollOnce = function() {
		$warning.css('margin-left', parentWidth + 'px');
		$warning.css('display', 'block');
		$warning.animate({marginLeft: '-' + (nbItems * parentWidth) + 'px'}, nbItems * 10000, 'linear', function() {
			$warning.css('display', 'none');
			setTimeout(scrollOnce, 0);
		});
	};
	scrollOnce();
});
{'fraction_non_alphanumeric': 0.20126671358198453, 'fraction_numerical': 0.014074595355383532, 'mean_word_length': 5.129310344827586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1846984', 'n_tokens_mistral': 485, 'n_tokens_neox': 445, 'n_words': 105}