<commit_before>package com.catalyst.sonar.score.ui;

import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.Description;
import org.sonar.api.web.RubyRailsWidget;
import org.sonar.api.web.UserRole;
import org.sonar.api.web.WidgetCategory;

/**
 * Sets up the Project Awards Widget's properties with keys, types and default values
 * 
 */
@UserRole(UserRole.USER)
@Description("Displays all the awards earned by a project.")
@WidgetCategory("Score")
public class ProjectAwardsWidget extends AbstractRubyTemplate implements RubyRailsWidget{
	
	public static final String PROJECT_AWARDS_ = "projectAwards";
	/**
	 * returns the widget's id represents the "widget_key" in the widgets table
	 */
	@Override
	public String getId() {		
		return "projectAwards";
	}
	/**
	 * returns the widget's title represents the widget's "name" in the widgets
	 * table
	 */
	@Override
	public String getTitle() {
		return "Project Awards";
	}
	/**
	 * returns the path of the ruby widget
	 */
	@Override
	protected String getTemplatePath() {
		return "/score/project_awards_widget.html.erb";
	}<commit_msg>ProjectAwardsWidget: removed an "Override" annotation.<commit_after>package com.catalyst.sonar.score.ui;

import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.Description;
import org.sonar.api.web.RubyRailsWidget;
import org.sonar.api.web.UserRole;
import org.sonar.api.web.WidgetCategory;

/**
 * Sets up the Project Awards Widget's properties with keys, types and default values
 * 
 */
@UserRole(UserRole.USER)
@Description("Displays all the awards earned by a project.")
@WidgetCategory("Score")
public class ProjectAwardsWidget extends AbstractRubyTemplate implements RubyRailsWidget{
	
	public static final String PROJECT_AWARDS_ = "projectAwards";
	/**
	 * returns the widget's id represents the "widget_key" in the widgets table
	 */
	public String getId() {		
		return "projectAwards";
	}
	/**
	 * returns the widget's title represents the widget's "name" in the widgets
	 * table
	 */
	public String getTitle() {
		return "Project Awards";
	}
	/**
	 * returns the path of the ruby widget
	 */
	@Override
	protected String getTemplatePath() {
		return "/score/project_awards_widget.html.erb";
	}
{'fraction_non_alphanumeric': 0.10507409070498429, 'fraction_numerical': 0.0, 'mean_word_length': 4.597989949748744, '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': '6743929', 'n_tokens_mistral': 716, 'n_tokens_neox': 654, 'n_words': 196}