<commit_before>
{{#if this.hasMultipleTiers }}
    <div class="prototype-paid-mix-dropdown">
        <PowerSelect
            @selected={{this.selectedModeOption}}
            @options={{this.modeOptions}}
            @searchEnabled={{false}}
            @onChange={{this.onSwitchMode}}
            @triggerComponent="gh-power-select/trigger"
            @triggerClass="gh-contentfilter-menu-trigger"
            @dropdownClass="gh-contentfilter-menu-dropdown"
            @matchTriggerWidth={{false}}
            as |option|
        >
            {{#if option.name}}{{option.name}}{{else}}<span class="red">Unknown option</span>{{/if}}
        </PowerSelect>
    </div>
{{/if}}

<Dashboard::v5::parts::ChartMetric
    {{did-insert this.loadCharts}}
    @label="Paid mix" />

<div class="gh-dashboard5-chart">
    {{#if this.loading}}
        <div class="gh-dashboard5-chart-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
    {{else}}
        <div class="gh-dashboard5-chart-container">
            <EmberChart
                @type={{this.chartType}}
                @data={{this.chartData}}
                @options={{this.chartOptions}}
                @height={{this.chartHeight}} />
        </div>
    {{/if}}
</div>
<commit_msg>Fixed loading of paid mix chart<commit_after>
{{#if this.hasMultipleTiers }}
    <div class="prototype-paid-mix-dropdown">
        <PowerSelect
            @selected={{this.selectedModeOption}}
            @options={{this.modeOptions}}
            @searchEnabled={{false}}
            @onChange={{this.onSwitchMode}}
            @triggerComponent="gh-power-select/trigger"
            @triggerClass="gh-contentfilter-menu-trigger"
            @dropdownClass="gh-contentfilter-menu-dropdown"
            @matchTriggerWidth={{false}}
            as |option|
        >
            {{#if option.name}}{{option.name}}{{else}}<span class="red">Unknown option</span>{{/if}}
        </PowerSelect>
    </div>
{{/if}}

<Dashboard::v5::parts::ChartMetric
    @label="Paid mix" />

<div class="gh-dashboard5-chart" {{did-insert this.loadCharts}}>
    {{#if this.loading}}
        <div class="gh-dashboard5-chart-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
    {{else}}
        <div class="gh-dashboard5-chart-container">
            <EmberChart
                @type={{this.chartType}}
                @data={{this.chartData}}
                @options={{this.chartOptions}}
                @height={{this.chartHeight}} />
        </div>
    {{/if}}
</div>

{'fraction_non_alphanumeric': 0.17665615141955837, 'fraction_numerical': 0.0031545741324921135, 'mean_word_length': 2.3736702127659575, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '3016875', 'n_tokens_mistral': 743, 'n_tokens_neox': 760, 'n_words': 105}