<commit_before>require_dependency 'starburst/application_controller'

module Starburst
	class AnnouncementsController < ApplicationController
		def mark_as_read
			announcement = Announcement.find(params[:id].to_i)<commit_msg>Changes Starburst::AnnouncementsController to inherit from the configured base controller<commit_after># frozen_string_literal: true

module Starburst
	class AnnouncementsController < Starburst.base_controller.constantize
		def mark_as_read
			announcement = Announcement.find(params[:id].to_i)
{'fraction_non_alphanumeric': 0.06346153846153846, 'fraction_numerical': 0.0, 'mean_word_length': 8.472727272727273, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1687638', 'n_tokens_mistral': 155, 'n_tokens_neox': 141, 'n_words': 30}