<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<site-settings>

    <posting url="http://post.vivastreet.fr">
        <handlers>
            <!--
            <precode>select = browser.find_element_by_xpath("//*[@name='posting_category_select']")
        Select(select).select_by_value("computers_elec")
        time.sleep(DataElement.FILL_FREEZETIME)</precode>
            -->
            <fieldmap>
                <map xpath="//*[@name='posting_category_select']" type="select" proper="1">category</map>
                <map xpath="//*[@name='searchGeo_text']">postcode</map>
                <map xpath="//*[@name='individual_type']" type="select" proper="1">seller_type</map>
                <map xpath="//*[@name='title']">title</map>
                <map xpath="//*[@name='detail']">description</map>
                <map type="radio">vivastreet_offer_type</map>
                <map xpath="//*[@name='brand']">brand</map>
                <map xpath="//*[@name='price[price]']">price</map>
                <map xpath="//*[@name='user_email']" proper="1">email</map>
                <map xpath="//*[@name='user_password']" proper="1">password</map>
                <map xpath="//*[@name='phone_nbr']">cellphone</map>
            </fieldmap>
            
            <photo xpath="//*[@name='upload_data']" iframe="upload_frame" />
            
            <fieldmap>
                <map xpath="//*[@id='from_partners_yes']" type="checkbox" submit="1">vivastreet_partners</map>    
            </fieldmap>
        </handlers>
        <success xpath='//*[@id="vs_content"]/div[1]/div/div[@class="kiwii-font-xxxlarge kiwii-dark-gray kiwii-font-weight-bold kiwii-margin-ver-xsmall"]' />
    </posting>
</site-settings><commit_msg>Added vehicle specific mapping to vivastreet metadata.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<site-settings>

    <posting url="http://post.vivastreet.fr">
        <handlers>
            <!--
            <precode>select = browser.find_element_by_xpath("//*[@name='posting_category_select']")
        Select(select).select_by_value("computers_elec")
        time.sleep(DataElement.FILL_FREEZETIME)</precode>
            -->
            <fieldmap>
                <map xpath="//*[@name='posting_category_select']" type="select" proper="1">category</map>
                <map xpath="//*[@name='searchGeo_text']">postcode</map>
                <map xpath="//*[@name='title']">title</map>
                <map xpath="//*[@name='detail']">description</map>
                <map type="radio">vivastreet_offer_type</map>
                <map xpath="//*[@name='brand']">brand</map>
                
                <!-- Vehicle spares only -->
                <!--xpath="//*[@id='posting_cat_radio_row']/td[2]/div[2]/div[1]"-->
                <map type="radio" proper="1" >sparepart_subcat</map>
                <!-- Vehicle only -->
                <!--xpath="//*[@id='posting_cat_radio_row']/td[2]/div[1]/div[1]"--> 
                <map type="radio" proper="1">vehicle_subcat</map>
                <map xpath="//*[@name='individual_dealer']" type="select" proper="1">seller_type</map>
                <map xpath="//*[@name='car_model']">brand</map>
                <map xpath="//*[@id='id_year']" type="select">model_year</map>
                <map xpath="//*[@id='id_car_energy']" type="select" proper="1">fuel_category</map>
                <map xpath="//*[@id='id_car_mileage']">mileage</map>
                
                <map xpath="//*[@name='individual_type']" type="select" proper="1">seller_type</map>
                <map xpath="//*[@name='price[price]']">price</map>
                <map xpath="//*[@name='user_email']" proper="1">email</map>
                <map xpath="//*[@name='user_password']" proper="1">password</map>
                <map xpath="//*[@name='phone_nbr']">cellphone</map>
            </fieldmap>
            
            <photo xpath="//*[@name='upload_data']" iframe="upload_frame" max="12"/>
            
            <fieldmap>
                <map xpath="//*[@id='from_partners_yes']" type="checkbox" submit="1">vivastreet_partners</map>    
            </fieldmap>
        </handlers>
        <success xpath='//*[@id="vs_content"]/div[1]/div/div[@class="kiwii-font-xxxlarge kiwii-dark-gray kiwii-font-weight-bold kiwii-margin-ver-xsmall"]' />
    </posting>
</site-settings>
{'fraction_non_alphanumeric': 0.211441647597254, 'fraction_numerical': 0.008695652173913044, 'mean_word_length': 2.339190221543163, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 2, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3480304', 'n_tokens_mistral': 1465, 'n_tokens_neox': 1396, 'n_words': 151}