<commit_before>package DDG::Goodie::MagicEightBall;
# ABSTRACT: provides a random answer just like a magic eight ball

use DDG::Goodie;
use strict;

zci answer_type => "magic_eight_ball";
zci is_cached   => 1;

name "MagicEightBall";
description "provides a random answer just like a magic eight ball";
primary_example_queries "magic eight ball is it going to rain today", "magic 8 ball should I wear red today?";
secondary_example_queries "are you actually helpful magic eight ball";
category "random";
topics "trivia";
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/MagicEightBall.pm";
attribution github => ["jlbaez", "<NAME>"];

triggers startend => "magic eight ball", "magic 8 ball", "magic eight-ball", "magic 8-ball", "magic 8ball";

handle remainder => sub {
    return unless $_;

    #These are the standard responses found in a magic eight ball
    my @eightBallresponses = ("It is certain",
        "It is decidedly so",
        "Without a doubt",
        "Yes, definitely",<commit_msg>changed trigger startend to start<commit_after>package DDG::Goodie::MagicEightBall;
# ABSTRACT: provides a random answer just like a magic eight ball

use DDG::Goodie;
use strict;

zci answer_type => "magic_eight_ball";
zci is_cached   => 1;

name "MagicEightBall";
description "provides a random answer just like a magic eight ball";
primary_example_queries "magic eight ball is it going to rain today", "magic 8 ball should I wear red today?";
secondary_example_queries "magic eight-ball are you actually helpful";
category "random";
topics "trivia";
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/MagicEightBall.pm";
attribution github => ["jlbaez", "<NAME>"];

triggers start => "magic eight ball", "magic 8 ball", "magic eight-ball", "magic 8-ball", "magic 8ball";

handle remainder => sub {
    return unless $_;

    #These are the standard responses found in a magic eight ball
    my @eightBallresponses = ("It is certain",
        "It is decidedly so",
        "Without a doubt",
        "Yes, definitely",
{'fraction_non_alphanumeric': 0.10909957122439257, 'fraction_numerical': 0.004764173415912339, 'mean_word_length': 4.660377358490566, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '1762675', 'n_tokens_mistral': 683, 'n_tokens_neox': 623, 'n_words': 234}