<commit_before><dom-module id="app-data">
    <template>
        <iron-ajax auto url="[[speakersSource]]" handle-as="json" last-response="{{speakers}}"></iron-ajax>
        <iron-ajax auto url="[[sessionsSource]]" handle-as="json" last-response="{{sessions}}"></iron-ajax>
        <iron-ajax auto url="[[postsSource]]" handle-as="json" last-response="{{posts}}"></iron-ajax>
        <iron-ajax auto url="[[partnersSource]]" handle-as="json" last-response="{{partners}}"></iron-ajax>
        <iron-ajax auto url="[[scheduleSource]]" handle-as="json" last-response="{{_scheduleRaw}}"></iron-ajax>
    </template>
</dom-module>

<script>
    Polymer({
        is: 'app-data',
        properties: {
            speakersSource: {
                type: String,
                value: function(){
                    return '../../data/speakers.json';
                }
            },
            sessionsSource: {
                type: String,
                value: function(){
                    return '../../data/' + window.I18nMsg.lang + '/sessions.json';
                }
            },
            postsSource: {
                type: String,
                value: function(){
                    return '../../data/' + window.I18nMsg.lang + '/blog.json';
                }
            },
            partnersSource: {
                type: String,
                value: '../../data/partners.json'
            },
            scheduleSource: {
                type: String,
                value: function(){
                    return '../../data/' + window.I18nMsg.lang + '/schedule.json';
                }
            },
            speakers: {
                type: Array,
                notify: true
            },<commit_msg>Moved sessions out of i18n folders<commit_after><dom-module id="app-data">
    <template>
        <iron-ajax auto url="[[speakersSource]]" handle-as="json" last-response="{{speakers}}"></iron-ajax>
        <iron-ajax auto url="[[sessionsSource]]" handle-as="json" last-response="{{sessions}}"></iron-ajax>
        <iron-ajax auto url="[[postsSource]]" handle-as="json" last-response="{{posts}}"></iron-ajax>
        <iron-ajax auto url="[[partnersSource]]" handle-as="json" last-response="{{partners}}"></iron-ajax>
        <iron-ajax auto url="[[scheduleSource]]" handle-as="json" last-response="{{_scheduleRaw}}"></iron-ajax>
    </template>
</dom-module>

<script>
    Polymer({
        is: 'app-data',
        properties: {
            speakersSource: {
                type: String,
                value: function(){
                    return '../../data/speakers.json';
                }
            },
            sessionsSource: {
                type: String,
                value: function(){
                    return '../../data/sessions.json';
                }
            },
            postsSource: {
                type: String,
                value: function(){
                    return '../../data/' + window.I18nMsg.lang + '/blog.json';
                }
            },
            partnersSource: {
                type: String,
                value: '../../data/partners.json'
            },
            scheduleSource: {
                type: String,
                value: function(){
                    return '../../data/' + window.I18nMsg.lang + '/schedule.json';
                }
            },
            speakers: {
                type: Array,
                notify: true
            },
{'fraction_non_alphanumeric': 0.16700317277184887, 'fraction_numerical': 0.003461205653302567, 'mean_word_length': 1.376970527758739, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '4535418', 'n_tokens_mistral': 919, 'n_tokens_neox': 889, 'n_words': 161}