<commit_before><?php
$addresses = $this->getAddress();
$attributes = $this->getAddressAttribute();
?>
<section class="section address">
    <h4 class="title"><?php echo $this->translate('Shipping Address') ?></h4>
    <?php if(count($addresses) !== 1 && count($addresses) !== 0): ?>
    <div class="cell more panel-group" id="accordion" role="tablist" aria-multiselectable="true">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
            <?php echo $this->translate('More Address') ?><span class="fa fa-angle-down fa-1"></span>
        </a>
    </div>
    <?php endif;?>
    <ul class="list panel-collapse collapse" id="collapseOne" role="tabpanel" aria-labelledby="headingOne">
        <?php foreach ($addresses as $address): ?>
            <li data-id="<?php echo $address->getId() ?>" data-json='<?php echo json_encode($address->toArray()) ?>'  >
                <input type="radio" name="shipping_address_id" id="shipping-address-<?php echo $address->getId() ?>" value="<?php echo $address->getId() ?>"<?php if ($address->getId() === $this->getCurrenctAddress() || count($addresses) === 1): ?> checked="checked"<?php endif ?> />
                <label for="shipping-address-<?php echo $address->getId() ?>">
                    <?php echo $address->display() ?>
                </label>
                <p>
                    <?php if ($address->getId() === $this->getCurrenctAddress() || count($addresses) === 1): ?>
                        <span class="default"><?php echo $this->translate('Default Address') ?></span>
                    <?php else: ?>
                        <span class="default"><?php echo $this->translate('Set as Default') ?></span>
                    <?php endif; ?>
                    <span class="fa fa-edit edit"><a href="javascript:void(0);" class="edit"><?php echo $this->translate('Edit') ?></a></span>
                    <span class="fa fa-trash-o delete"><a href="<?php echo $this->getBaseUrl('checkout/order/deleteaddress/') ?>" class="delete" data-method="delete" data-params="csrf=<?php echo $this->getCsrfKey() ?>&id=<?php echo $address->getId() ?>"><?php echo $this->translate('Delete') ?></a></span>
                </p>
            </li>         
        <?php endforeach ?>
    </ul>
    <template id="tmpl-address-list">
        <li data-id="{id}" data-json='{json}'>
            <input type="radio" name="shipping_address_id" id="shipping-address-{id}" value="{id}" />
            <label for="shipping-address-{id}">
                {content}
            </label>
            <a href="javascript:void(0);" class="edit"><?php echo $this->translate('Edit') ?></a><commit_msg>peach test<commit_after><?php
$addresses = $this->getAddress();
$attributes = $this->getAddressAttribute();
?>
<section class="section address">
    <h4 class="title"><?php echo $this->translate('Shipping Address') ?></h4>
    <?php if(count($addresses) !== 1 && count($addresses) !== 0): ?>
    <div class="cell more panel-group" id="accordion" role="tablist" aria-multiselectable="true">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
            <?php echo $this->translate('More Address') ?><span class="fa fa-angle-down fa-1"></span>
        </a>
    </div>
    <?php endif;?>
    <ul class="list panel-collapse collapse in" id="collapseOne" role="tabpanel" aria-labelledby="headingOne">
        <?php foreach ($addresses as $address): ?>
            <li data-id="<?php echo $address->getId() ?>" data-json='<?php echo json_encode($address->toArray()) ?>'  >
                <input type="radio" name="shipping_address_id" id="shipping-address-<?php echo $address->getId() ?>" value="<?php echo $address->getId() ?>"<?php if ($address->getId() === $this->getCurrenctAddress() || count($addresses) === 1): ?> checked="checked"<?php endif ?> />
                <label for="shipping-address-<?php echo $address->getId() ?>">
                    <?php echo $address->display() ?>
                </label>
                <p>
                    <?php if ($address->getId() === $this->getCurrenctAddress() || count($addresses) === 1): ?>
                        <span class="default"><?php echo $this->translate('Default Address') ?></span>
                    <?php else: ?>
                        <span class="default"><?php echo $this->translate('Set as Default') ?></span>
                    <?php endif; ?>
                    <span class="fa fa-edit edit"><a href="javascript:void(0);" class="edit"><?php echo $this->translate('Edit') ?></a></span>
                    <span class="fa fa-trash-o delete"><a href="<?php echo $this->getBaseUrl('checkout/order/deleteaddress/') ?>" class="delete" data-method="delete" data-params="csrf=<?php echo $this->getCsrfKey() ?>&id=<?php echo $address->getId() ?>"><?php echo $this->translate('Delete') ?></a></span>
                </p>
            </li>         
        <?php endforeach ?>
    </ul>
    <template id="tmpl-address-list">
        <li data-id="{id}" data-json='{json}'>
            <input type="radio" name="shipping_address_id" id="shipping-address-{id}" value="{id}" />
            <label for="shipping-address-{id}">
                {content}
            </label>
            <a href="javascript:void(0);" class="edit"><?php echo $this->translate('Edit') ?></a>
{'fraction_non_alphanumeric': 0.21262458471760798, 'fraction_numerical': 0.0033222591362126247, 'mean_word_length': 2.8845878136200716, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 173, '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': '5001136', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1580, 'n_words': 331}