<commit_before>package won.bot.framework.eventbot.behaviour;

import won.bot.framework.eventbot.EventListenerContext;
import won.bot.framework.eventbot.action.impl.factory.FactoryHintCheckAction;
import won.bot.framework.eventbot.event.impl.wonmessage.HintFromMatcherEvent;
import won.bot.framework.eventbot.listener.impl.ActionOnEventListener;

import java.util.Optional;

/**
 * InitFactoryBotBehaviour
 */
public class FactoryBotHintBehaviour extends BotBehaviour {
    public FactoryBotHintBehaviour(EventListenerContext context) {
        super(context);
    }

    public FactoryBotHintBehaviour(EventListenerContext context, String name) {
        super(context, name);
    }

    @Override
    protected void onActivate(Optional<Object> message) {
        subscribeWithAutoCleanup(HintFromMatcherEvent.class, new ActionOnEventListener(<commit_msg>fixes comment that wals false<commit_after>package won.bot.framework.eventbot.behaviour;

import won.bot.framework.eventbot.EventListenerContext;
import won.bot.framework.eventbot.action.impl.factory.FactoryHintCheckAction;
import won.bot.framework.eventbot.event.impl.wonmessage.HintFromMatcherEvent;
import won.bot.framework.eventbot.listener.impl.ActionOnEventListener;

import java.util.Optional;

/**
 * FactoryBotHintBehaviour
 */
public class FactoryBotHintBehaviour extends BotBehaviour {
    public FactoryBotHintBehaviour(EventListenerContext context) {
        super(context);
    }

    public FactoryBotHintBehaviour(EventListenerContext context, String name) {
        super(context, name);
    }

    @Override
    protected void onActivate(Optional<Object> message) {
        subscribeWithAutoCleanup(HintFromMatcherEvent.class, new ActionOnEventListener(
{'fraction_non_alphanumeric': 0.08342989571263036, 'fraction_numerical': 0.0, 'mean_word_length': 5.372693726937269, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2149496', 'n_tokens_mistral': 473, 'n_tokens_neox': 453, 'n_words': 77}