<commit_before>label.form-label Previous winnings

.form-value
  - if @form_answer.document["queen_award_holder_details"].any?
    ul
      - @form_answer.document["queen_award_holder_details"].each do |win|
        li
          span= "#{win["category"]} #{win["year"]}"
  - else
    p
      em.text-muted No previous winnings added.<commit_msg>bugfix: in admin, previous win was showing the key instead of the value<commit_after>label.form-label Previous winnings

.form-value
  - if @form_answer.document["queen_award_holder_details"].any?
    ul
      - @form_answer.document["queen_award_holder_details"].each do |win|
        li
          span= "#{PreviousWin::CATEGORIES.select{ |key, value| value == win["category"]}.first.first} #{win["year"]}"
  - else
    p
      em.text-muted No previous winnings added.
{'fraction_non_alphanumeric': 0.1325153374233129, 'fraction_numerical': 0.0, 'mean_word_length': 3.5082872928176796, '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': '831641', 'n_tokens_mistral': 267, 'n_tokens_neox': 264, 'n_words': 57}