<commit_before>{% extends "site_base.html" %}
{% load i18n links_tags laws_tags common_visual_elements activity_tags pagination_tags pingback_tags trackback_tags backlinks_tags absurl cache video hlp %}
{% load static from staticfiles %}
{% block extratitle %}{{ object.name }}{% endblock %}
{% block keywords %}{{ object.name }}{% endblock %}
{% block extrajs %}
    <script src="{% static "js/ok-watch.js" %}"></script>
    <script src="{% static "js/d3.js" %}"></script>
    <script src="{% static "js/mk-pie.js" %}?v=2"></script>
    <script type="text/javascript">
        $(function() {
            var MKPieChart= window.MKPieChart;

            // init agenda-pie charts
            $('.agenda-pie').each(function () {
                var data = $(this).data(),
                    pie_data = [], k;

                for ( k in data ) {
                    pie_data.push({type : k, votes : data[k]});
                }

                new MKPieChart(this, {
                    width       : 90,
                    height      : 89,<commit_msg>Order arcs in pie according to design<commit_after>{% extends "site_base.html" %}
{% load i18n links_tags laws_tags common_visual_elements activity_tags pagination_tags pingback_tags trackback_tags backlinks_tags absurl cache video hlp %}
{% load static from staticfiles %}
{% block extratitle %}{{ object.name }}{% endblock %}
{% block keywords %}{{ object.name }}{% endblock %}
{% block extrajs %}
    <script src="{% static "js/ok-watch.js" %}"></script>
    <script src="{% static "js/d3.js" %}"></script>
    <script src="{% static "js/mk-pie.js" %}?v=2"></script>
    <script type="text/javascript">
        $(function() {
            var MKPieChart= window.MKPieChart;

            // init agenda-pie charts
            $('.agenda-pie').each(function () {
                var data = $(this).data(),
                    pie_order = ['for', 'noVote', 'abstain', 'against'],
                    pie_data = [], k;

                for ( k in data ) {
                    pie_data.push({type : k, votes : data[k]});
                }
                pie_data.sort(function (a, b) {
                    return pie_order.indexOf(a.type) - pie_order.indexOf(b.type);
                });
                new MKPieChart(this, {
                    width       : 90,
                    height      : 89,
{'fraction_non_alphanumeric': 0.15378079864061173, 'fraction_numerical': 0.006796941376380629, 'mean_word_length': 1.969735182849937, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '225080', 'n_tokens_mistral': 760, 'n_tokens_neox': 676, 'n_words': 166}