<commit_before>
{% macro yui_css_reset %}
    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/reset/reset-min.css">
{% endmacro %}

{% macro yui_rte_includes %}
<!-- Skin CSS file -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/assets/skins/sam/skin.css">

<!-- Utility Dependencies -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js"></script> 

<!-- Needed for Menus, Buttons and Overlays used in the Toolbar -->
<script src="http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js"></script>
<script src="http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js"></script>
<script src="http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js"></script>

<!-- Source file for Rich Text Editor-->
<script src="http://yui.yahooapis.com/2.3.1/build/editor/editor-beta-min.js"></script>


{% endmacro %}

{% macro yui_button_includes %}
<!-- Core + Skin CSS -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/button/assets/skins/sam/button.css">
<!-- OPTIONAL: Menu Stylesheet (required for creating buttons of type "menu" and "split") -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css">

<!-- Dependencies -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js"></script>

<!-- OPTIONAL: Menu and Container Core (required for creating buttons of type "menu" and "split") -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js"></script>

<!-- Source file -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js"></script>

{% endmacro %}

{% macro yui_rte(id) %}
    <script type="text/javascript">
    var myEditor = new YAHOO.widget.Editor('{{ id }}', {
    handleSubmit: true,
    height: '300px',
    width: '522px',
    dompath: false, //Turns on the bar at the bottom
    animate: true //Animates the opening, closing and moving of Editor windows
    });
    myEditor.render();
    </script>
{% endmacro %}

{% macro yui_submit_button(id) %}
    <script type="text/javascript">
    var oSubmitButton1 = new YAHOO.widget.Button("{{ id }}", { value: "submitbutton1value" });
    </script>
{% endmacro %}<commit_msg>[project @ <EMAIL>-20071130173531-7oqzfbxpgf4tm9am] fighting with sqlite concurrency<commit_after>
{% macro yui_css_reset %}
    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/reset/reset-min.css">
{% endmacro %}

{% macro yui_conn_includes %}
<script src="http://yui.yahooapis.com/2.3.1/build/connection/connection-min.js"></script>
{% endmacro %}

{% macro yui_rte_includes %}
<!-- Skin CSS file -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/assets/skins/sam/skin.css">

<!-- Utility Dependencies -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js"></script> 

<!-- Needed for Menus, Buttons and Overlays used in the Toolbar -->
<script src="http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js"></script>
<script src="http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js"></script>
<script src="http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js"></script>

<!-- Source file for Rich Text Editor-->
<script src="http://yui.yahooapis.com/2.3.1/build/editor/editor-beta-min.js"></script>


{% endmacro %}

{% macro yui_button_includes %}
<!-- Core + Skin CSS -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/button/assets/skins/sam/button.css">
<!-- OPTIONAL: Menu Stylesheet (required for creating buttons of type "menu" and "split") -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css">

<!-- Dependencies -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js"></script>

<!-- OPTIONAL: Menu and Container Core (required for creating buttons of type "menu" and "split") -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js"></script>

<!-- Source file -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js"></script>

{% endmacro %}

{% macro yui_rte(id) %}
    <script type="text/javascript">
    var myEditor = new YAHOO.widget.Editor('{{ id }}', {
    handleSubmit: true,
    height: '300px',
    width: '522px',
    dompath: false, //Turns on the bar at the bottom
    animate: true //Animates the opening, closing and moving of Editor windows
    });
    myEditor.render();
    </script>
{% endmacro %}

{% macro yui_submit_button(id, callback=None) %}
    <script type="text/javascript">
    var {{ id }}_yui_button = new YAHOO.widget.Button("{{ id }}", { value: "submitbutton1value" });
    {% if callback %}
        {{ id }}_yui_button.addListener("click", {{ callback }});
    {% endif %}
    </script>
{% endmacro %}
{'fraction_non_alphanumeric': 0.20774105154992292, 'fraction_numerical': 0.02140777530399041, 'mean_word_length': 4.082680591818973, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '4431004', 'n_tokens_mistral': 2188, 'n_tokens_neox': 2043, 'n_words': 336}