<commit_before>%div
  %span.infolabel
    Artist:
  = card.artist

%h5 Links
%div
  - if card.gatherer_link.present?
    %span.infolabel
      %a{href: card.gatherer_link}
        Gatherer
  - if card.magiccards_info_link.present?
    %span.infolabel
      %a{href: card.magiccards_info_link}
        magiccards.info

- if card.rulings.present?
  %h5 Rulings
  .rulings
    - card.rulings.each do |ruling|
      %div
        = ruling["date"]
        = format_oracle_text(ruling["text"])

%h5 Legalities
%ul.legalities
- card.legality_information.to_h.sort.each do |format, status|
  %li
    = format
    &mdash;
    = status<commit_msg>Compact and rearrenge extra card info<commit_after>%div
  %span.infolabel
    Artist:
  = card.artist

%h5 Legalities
%ul.legalities
  - legality = card.legality_information
  - if legality.legal_everywhere?
    %li
      #{card.name} is legal in every format.
  - elsif legality.legal_nowhere?
    %li
      #{card.name} is not legal in any format.
  - else
    - card.legality_information.to_h.sort.each do |format, status|
      %li
        = format
        &mdash;
        = status

- if card.rulings.present?
  %h5 Rulings
  %ul.rulings
    - card.rulings.each do |ruling|
      %li
        = ruling["date"]
        = format_oracle_text(ruling["text"])

%h5 Links
%div
  - if card.gatherer_link.present?
    %span.infolabel
      %a{href: card.gatherer_link}
        Gatherer
  - if card.magiccards_info_link.present?
    %span.infolabel
      %a{href: card.magiccards_info_link}
        magiccards.info
{'fraction_non_alphanumeric': 0.11075129533678757, 'fraction_numerical': 0.0038860103626943004, 'mean_word_length': 2.5599078341013826, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2358193', 'n_tokens_mistral': 582, 'n_tokens_neox': 586, 'n_words': 108}