<commit_before><% from babel.dates import format_date %>\
{
  "iTotalDisplayRecords": ${response_dict['iTotalDisplayRecords']},
  "iTotalRecords": ${response_dict['iTotalRecords']},
  "sColumns": "${response_dict['sColumns']}",
  "sEcho": ${response_dict['sEcho']},
  "aaData": [
  % for flight in flights:
    [
     % if not date:
     "\
       % if flight.takeoff_time:
         <span title="${flight.takeoff_time.strftime('%d.%m.%Y')}">
           ${format_date(flight.takeoff_time)}
         </span>
       % endif
     ",
     % endif
     ${flight.olc_plus_score},
     "\
       % if flight.pilot:
         <a href=\"/flights/pilot/${flight.pilot_id}\">${flight.pilot}</a>\
       % endif
       % if flight.co_pilot:
         <br /><a href=\"/flights/pilot/${flight.co_pilot_id}\">${flight.co_pilot}</a>\
       % endif
       % if not flight.pilot and not flight.co_pilot:
         [${flight.owner}]\
       % endif
     ",
     "${flight.olc_classic_distance and str(flight.olc_classic_distance/1000)} km",
     % if not club and not pilot:
     "\<commit_msg>templates.flights.list_json: fix date output<commit_after><% from babel.dates import format_date %>\
{
  "iTotalDisplayRecords": ${response_dict['iTotalDisplayRecords']},
  "iTotalRecords": ${response_dict['iTotalRecords']},
  "sColumns": "${response_dict['sColumns']}",
  "sEcho": ${response_dict['sEcho']},
  "aaData": [
  % for flight in flights:
    [
     % if not date:
     "\
       % if flight.takeoff_time:
         <span title=\"${flight.takeoff_time.strftime('%d.%m.%Y')}\">\
           ${format_date(flight.takeoff_time)}\
         </span>\
       % endif
     ",
     % endif
     ${flight.olc_plus_score},
     "\
       % if flight.pilot:
         <a href=\"/flights/pilot/${flight.pilot_id}\">${flight.pilot}</a>\
       % endif
       % if flight.co_pilot:
         <br /><a href=\"/flights/pilot/${flight.co_pilot_id}\">${flight.co_pilot}</a>\
       % endif
       % if not flight.pilot and not flight.co_pilot:
         [${flight.owner}]\
       % endif
     ",
     "${flight.olc_classic_distance and str(flight.olc_classic_distance/1000)} km",
     % if not club and not pilot:
     "\
{'fraction_non_alphanumeric': 0.18073394495412845, 'fraction_numerical': 0.003669724770642202, 'mean_word_length': 2.5930807248764416, 'pattern_counts': {'":': 10, '<': 19, '<?xml version=': 0, '>': 19, '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': '2221183', 'n_tokens_mistral': 812, 'n_tokens_neox': 753, 'n_words': 121}