<commit_before><?php
$items = $this->contents;
if (count($items)) : ?>
<?php $i = 0; ?>
<?php foreach($items as $item) :
$staticBlock = null;
if ($item['type'] == 2) {
    $bl= new Application_Model_Block($item['item_id']);
    $staticBlock = $bl->isStatic();
}
else if ($item['type'] == 0) {
	$audiofile = Application_Model_StoredFile::Recall($item['item_id']);
	$fileUrl = $audiofile->getFileUrl();
}

if (($i < count($items) -1) && ($items[$i+1]['type'] == 0)) {
	$nextAudiofile = Application_Model_StoredFile::Recall($items[$i+1]['item_id']);
	$nextFileUrl = $nextAudiofile->getFileUrl();	
}
?>
    <li class="ui-state-default" id="spl_<?php echo $item["id"] ?>" unqid="<?php echo $item["id"]; ?>">
        <div class="list-item-container">
        
            <?php if ($item['type'] == 0 && $item['exists']):?>
            <div class="big_play" audioFile="<?php echo $item["id"]; ?>" data-mime-type="<?php echo $item["mime"]; ?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php elseif ($item['type'] == 1 && $item['exists']): ?>
            <div class="big_play" data-mime-type="<?php echo $item["mime"]; ?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php elseif ($item['type'] == 2 && $item['exists']): ?>
            <div class="big_play" blockId="<?php echo $item["item_id"]; ?>" blocktype="<?php echo $staticBlock?"static":"dynamic"?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php else:?>
            <div class="big_play ui-state-hover">
                <span class="ui-icon ui-icon-alert"></span>
            </div>
            <?php endif; ?>
            <div class="text-row top"><commit_msg>CC-2301 : fixing changed function name after merging with master.<commit_after><?php
$items = $this->contents;
if (count($items)) : ?>
<?php $i = 0; ?>
<?php foreach($items as $item) :
$staticBlock = null;
if ($item['type'] == 2) {
    $bl= new Application_Model_Block($item['item_id']);
    $staticBlock = $bl->isStatic();
}
else if ($item['type'] == 0) {
	$audiofile = Application_Model_StoredFile::RecallById($item['item_id']);
	$fileUrl = $audiofile->getFileUrl();
}

if (($i < count($items) -1) && ($items[$i+1]['type'] == 0)) {
	$nextAudiofile = Application_Model_StoredFile::RecallById($items[$i+1]['item_id']);
	$nextFileUrl = $nextAudiofile->getFileUrl();	
}
?>
    <li class="ui-state-default" id="spl_<?php echo $item["id"] ?>" unqid="<?php echo $item["id"]; ?>">
        <div class="list-item-container">
        
            <?php if ($item['type'] == 0 && $item['exists']):?>
            <div class="big_play" audioFile="<?php echo $item["id"]; ?>" data-mime-type="<?php echo $item["mime"]; ?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php elseif ($item['type'] == 1 && $item['exists']): ?>
            <div class="big_play" data-mime-type="<?php echo $item["mime"]; ?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php elseif ($item['type'] == 2 && $item['exists']): ?>
            <div class="big_play" blockId="<?php echo $item["item_id"]; ?>" blocktype="<?php echo $staticBlock?"static":"dynamic"?>">
                <span class="ui-icon ui-icon-play"></span>
            </div>
            <?php else:?>
            <div class="big_play ui-state-hover">
                <span class="ui-icon ui-icon-alert"></span>
            </div>
            <?php endif; ?>
            <div class="text-row top">
{'fraction_non_alphanumeric': 0.23294183445190156, 'fraction_numerical': 0.006711409395973154, 'mean_word_length': 2.896514161220044, 'pattern_counts': {'":': 2, '<': 73, '<?xml version=': 0, '>': 79, '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': '7389457', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1159, 'n_words': 231}