<commit_before>%h1= @playlist.name
%p= link_to 'Back to Playlists', playlists_path
%table.table.table-striped
  %tr
    %th #
    %th Track
    %th Artist
    %th Preview
  - @entries.each do |entry|
    %tr
      %td= entry.position
      %td= entry.track.name
      %td= entry.track.artist
      %td
        %audio{controls: 'controls'}
          %source{src: "#{entry.track.preview_url}", type: 'audio/mp3'}<commit_msg>Only show track preview if url exists and don't preload<commit_after>%h1= @playlist.name
%p= link_to 'Back to Playlists', playlists_path
%table.table.table-striped
  %tr
    %th #
    %th Track
    %th Artist
    %th Preview
  - @entries.each do |entry|
    %tr
      %td= entry.position
      %td= entry.track.name
      %td= entry.track.artist
      %td
        - unless (entry.track.preview_url == '')
          %audio{controls: true, preload: 'none'}
            %source{src: "#{entry.track.preview_url}", type: 'audio/mpeg'}
{'fraction_non_alphanumeric': 0.14300736067297581, 'fraction_numerical': 0.0031545741324921135, 'mean_word_length': 2.633587786259542, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3811096', 'n_tokens_mistral': 334, 'n_tokens_neox': 334, 'n_words': 80}