<commit_before><?php
	$order = array('fullCitation');
?>

@if($ro->citations)
<button class="citation">Cite</button>
<div id="citation" class="hide">

    @foreach($order as $o)
	    @foreach($ro->citations as $citation)
            @if($citation['type']==$o)
                <h5>Full Citation:</h5>
	            <p>{{$citation['value']}}</p>

            @endif
	    @endforeach
    @endforeach

    @foreach($ro->citations as $citation)
        @if(!in_array($citation['type'], $order))
            <h5>Citation (Metadata):</h5>
            <p>
            {{$citation['contributors']}}
            ({{$citation['date']}}): {{$citation['title']}}.
            {{$citation['publisher']}}.
            {{$citation['identifier_type']}} :{{$citation['identifier']}}
             <br /><a href="{{$citation['identifierResolved']['href']}}">{{$citation['identifier']}}</a>
            @if($citation['url'])
                <br /><a href="{{$citation['url']}}">{{$citation['url']}}</a>
            @endif
            </p>
        @endif
    @endforeach
</div>

<button class="export">Export</button>
<div id="export" class="hide">
    @foreach($ro->citations as $citation)
    <p>{{$citation['endNote']}}</p>
    @endforeach
</div>

@endif<commit_msg>added coins span to view<commit_after><?php
	$order = array('fullCitation');
?>

@if($ro->citations)
<button class="citation">Cite</button>
<div id="citation" class="hide">

    @foreach($order as $o)
	    @foreach($ro->citations as $citation)
            @if($citation['type']==$o)
                <h5>Full Citation:</h5>
	            <p>{{$citation['value']}}</p>

            @endif
	    @endforeach
    @endforeach

    @foreach($ro->citations as $citation)
    {{$citation['coins']}}
        @if(!in_array($citation['type'], $order))
            <h5>Citation (Metadata):</h5>
            <p>
            {{$citation['contributors']}}
            ({{$citation['date']}}): {{$citation['title']}}.
            {{$citation['publisher']}}.
            {{$citation['identifier_type']}} :{{$citation['identifier']}}
             <br /><a href="{{$citation['identifierResolved']['href']}}">{{$citation['identifier']}}</a>
            @if($citation['url'])
                <br /><a href="{{$citation['url']}}">{{$citation['url']}}</a>
            @endif
            </p>
        @endif
    @endforeach
</div>

<button class="export">Export</button>
<div id="export" class="hide">
    @foreach($ro->citations as $citation)
    <p>{{$citation['endNote']}}</p>

    @endforeach
</div>

@endif
{'fraction_non_alphanumeric': 0.23508494666139865, 'fraction_numerical': 0.0031608060055314103, 'mean_word_length': 2.762258543833581, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 61, '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': '262961', 'n_tokens_mistral': 861, 'n_tokens_neox': 769, 'n_words': 124}