<commit_before>// view for displaying all the article metadata

$( function() {
	mw.pageTriage.ArticleInfoView = mw.pageTriage.ToolView.extend( {
		id: 'info',
		icon: 'icon_info.png', // the default icon
		title: 'Page Info',
		template: mw.pageTriage.viewUtil.template( { 'view': 'toolbar', 'template': 'articleInfo.html' } ),		
		
		badgeCount: function() {
			// calculate the badge count.
			return 0;
		},
		
		render: function() {
			// create the info view content here.
			// return the HTML that gets inserted.
			return this.template({});
		}

	} );	
	
} );<commit_msg> Pass required variables to article template<commit_after>// view for displaying all the article metadata

$( function() {
	mw.pageTriage.ArticleInfoView = mw.pageTriage.ToolView.extend( {
		id: 'info',
		icon: 'icon_info.png', // the default icon
		title: 'Page Info',
		template: mw.pageTriage.viewUtil.template( { 'view': 'toolbar', 'template': 'articleInfo.html' } ),		
		
		badgeCount: function() {
			// calculate the badge count.
			return 0;
		},
		
		render: function() {
			// create the info view content here.
			// return the HTML that gets inserted.
			return this.template( { 'iconPath':this.iconPath( 'active' ), 'title':this.title } );
		}
	} );	
	
} );
{'fraction_non_alphanumeric': 0.1496, 'fraction_numerical': 0.0016, 'mean_word_length': 3.2696245733788394, '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': '5396161', 'n_tokens_mistral': 458, 'n_tokens_neox': 394, 'n_words': 111}