<commit_before><head>
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
    <%= stylesheet_link_tag "home_style.css" %>
</head>


<body>
    
    <div id="flash"><% if flash[:notice] %><div class="notice"><%= flash[:notice] %></div><% end %></div>
    
    <div id="header">
        Welcome to the Giving Game!
    </div>
    
    <div id="text-container" class="container">
    <h3><strong>What is a Giving Game?</strong></h3>

    <p class="lead">
    In a Giving Game, participants learn about a few pre-selected charities, think 
    about and discuss their relative merits, and choose which charity will get a 
    real donation (which is typically sponsored by an outside party). Thus, they are 
    forced to grapple with a donation decision structured to raise critical issues 
    about what it means give well, knowing their choices will have real world 
    consequences. This model makes it easy to learn about effective charitable 
    giving.
    </p>

    <h4><b>Why Philanthropy Education is Needed</b></h4>

    <div id="em-container">
        <p class='text-center'><em>How did you first learn about giving to charity?</em></p>
    </div>

    <p>
    For most people, that’s a trick question. Learning about philanthropy in any 
    sort of structured way is rare. It’s much more common for people to accumulate 
    up bits and pieces of information, or misinformation, about giving over time. 
    The result can be a personal “giving philosophy” which itself has never been 
    given much thought.
    </p>

    <p>
    This thoughtless approach carries over to the way many donors actually give, at 
    a tremendous cost to the people whose lives could be improved by more effective
    giving. Only 35% of donors conduct any research before making their gifts!
    </p>

    <p>
    Even more troubling, the minority of donors who do perform research don’t do so
    in a way that’s likely to help them give with more impact. Half of those people 
    spend an hour or less, generally on the website of the charity they’re 
    considering. The most sought after piece of information is the charity’s 
    “overhead ratio”, despite the fact that this metric has been roundly rejected 
    as a measure of charitable effectiveness.
    </p>
    
    <p>
    Essentially, donors either don’t do research or they merely try to validate 
    that a charity has no glaring red flags before giving. A mere 3% of donors 
    researches the relative performance of multiple nonprofits.
    </p>
    
    <p>
    In fact, few donors- just one in six- even consider maximum impact to be their 
    primary motivation. Given this situation, nonprofits have little incentive 
    to report, or even measure, their social impact. This is turn makes it harder 
    on donors looking for quality information to find what they’re looking for. 
    Philanthropy education offers the possibility of turning this negative feedback
    loop into a positive one.
    </p>
    
    <p>
    The purpose of our Giving Games program is to help create this sort of cultural
    change by teaching people about charity in an environment specially tailored to
    promote thoughtful, impactful, and generous giving.
    </p>
    </div>

    
    <div id="container" class="container">
        <div class="row">
            <div class="col-sm-8 col-md-offset-2">
                <div class="col-sm-4">
                    <div><%= link_to 'Play Tutorial', tutorial_game_path, class:'btn btn-default btn-sm', id:'home_tutorial'%></div>
                </div>
                <div class="col-sm-4">
                    <div><%= link_to 'Play a giving game', play_index_path, class:'btn btn-default btn-sm' %></div>
                </div>
                <div class="col-sm-4">
                    <div><%= link_to 'Create a new giving game', new_game_path, class:'btn btn-default btn-sm' %></div>
                </div>                
            </div>
        </div>
    </div>
</body><commit_msg>add fontawesome icon to home page buttons<commit_after><head>
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
    <%= stylesheet_link_tag "home_style.css" %>
</head>


<body>
    
    <div id="flash"><% if flash[:notice] %><div class="notice"><%= flash[:notice] %></div><% end %></div>
    
    <div id="header">
        Welcome to the Giving Game!
    </div>
    
    <div id="text-container" class="container">
    <h3><strong>What is a Giving Game?</strong></h3>

    <p class="lead">
    In a Giving Game, participants learn about a few pre-selected charities, think 
    about and discuss their relative merits, and choose which charity will get a 
    real donation (which is typically sponsored by an outside party). Thus, they are 
    forced to grapple with a donation decision structured to raise critical issues 
    about what it means give well, knowing their choices will have real world 
    consequences. This model makes it easy to learn about effective charitable 
    giving.
    </p>

    <h4><b>Why Philanthropy Education is Needed</b></h4>

    <div id="em-container">
        <p class='text-center'><em>How did you first learn about giving to charity?</em></p>
    </div>

    <p>
    For most people, that’s a trick question. Learning about philanthropy in any 
    sort of structured way is rare. It’s much more common for people to accumulate 
    up bits and pieces of information, or misinformation, about giving over time. 
    The result can be a personal “giving philosophy” which itself has never been 
    given much thought.
    </p>

    <p>
    This thoughtless approach carries over to the way many donors actually give, at 
    a tremendous cost to the people whose lives could be improved by more effective
    giving. Only 35% of donors conduct any research before making their gifts!
    </p>

    <p>
    Even more troubling, the minority of donors who do perform research don’t do so
    in a way that’s likely to help them give with more impact. Half of those people 
    spend an hour or less, generally on the website of the charity they’re 
    considering. The most sought after piece of information is the charity’s 
    “overhead ratio”, despite the fact that this metric has been roundly rejected 
    as a measure of charitable effectiveness.
    </p>
    
    <p>
    Essentially, donors either don’t do research or they merely try to validate 
    that a charity has no glaring red flags before giving. A mere 3% of donors 
    researches the relative performance of multiple nonprofits.
    </p>
    
    <p>
    In fact, few donors- just one in six- even consider maximum impact to be their 
    primary motivation. Given this situation, nonprofits have little incentive 
    to report, or even measure, their social impact. This is turn makes it harder 
    on donors looking for quality information to find what they’re looking for. 
    Philanthropy education offers the possibility of turning this negative feedback
    loop into a positive one.
    </p>
    
    <p>
    The purpose of our Giving Games program is to help create this sort of cultural
    change by teaching people about charity in an environment specially tailored to
    promote thoughtful, impactful, and generous giving.
    </p>
    </div>

    
    <div id="container" class="container">
        <div class="row">
            <div class="col-sm-8 col-md-offset-2">
                <div class="col-sm-4">
                    <a class="btn btn-default btn-sm" href="tutorial_game" id="home_tutorial">
                        <i class="fa fa-graduation-cap" aria-hidden="true"></i>
                        <span style="padding-left: 5px">Play Tutorial</span>
                    </a>
                </div>
                <div class="col-sm-4">
                    <a class="btn btn-default btn-sm" href="play_index">
                        <i class="fa fa-child" aria-hidden="true"></i>
                        <span style="padding-left: 5px">Play a giving game</span>
                    </a>
                </div>
                <div class="col-sm-4">
                    <a class="btn btn-default btn-sm" href="new_game">
                        <i class="fa fa-plus-circle" aria-hidden="true"></i>
                        <span style="padding-left: 5px">Create a giving game</span>
                    </a>
                </div>             
            </div>
        </div>
    </div>
</body>
{'fraction_non_alphanumeric': 0.09070666822922771, 'fraction_numerical': 0.003164186101019571, 'mean_word_length': 2.483265306122449, 'pattern_counts': {'":': 0, '<': 144, '<?xml version=': 0, '>': 144, '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': '2335329', 'n_tokens_mistral': 2382, 'n_tokens_neox': 2231, 'n_words': 1008}