<commit_before>extends ../../../components/main_layout/templates/index

block head
  include artwork-meta

block locals
  assetPackage = 'auction_lots'

block body
  #auction-results-page.main-layout-container
    .garamond-alert-info
      em Note:&nbsp;
      | Auction results are an experimental feature with limited data. Have feedback?&nbsp;
      a.auction-lots-feedback-link.faux-underline Let us know.

    header.artist-header
      h1.avant-garde-header-center
        | Auction Results for
        a( href="/artist/#{artwork.get('artist').id}")  #{artwork.get('artist').name},&nbsp;
        a( href="/artwork/#{artwork.id}" ) #{artwork.get('title')}&nbsp;
        | (#{artwork.get('date')})

    .auction-lots-table-header
      .auction-lots-left
        span.auction-lots-sub-header Work on Artsy

    table.auction-lots-table
      thead
        tr
          th Title
          th Year
          th Medium
          th Size
          if artwork.get('price')
            th Price
      tbody
        tr.auction-lot
          td
            .auction-lot-title-container
              a( href="/artwork/#{artwork.id}" )
                img.auction-lot-image( src!= artwork.defaultImageUrl(), alt= artwork.get('title') )
              .auction-lot-title
                a( href="/artwork/#{artwork.id}" )
                  em= artwork.get('title')
                a.auction-lot-details-link(
                  href="/artwork/#{artwork.id}"
                ) Go to work
          td= artwork.get('date')
          td.auction-lot-medium= artwork.get('medium')
          td
            = artwork.get('dimensions').in
            br
            = artwork.get('dimensions').cm
          if artwork.get('price')
            td= artwork.get('price')

    .auction-lots-table-header
      .auction-lots-left
        span.auction-lots-sub-header Comparable auction results

      .auction-lots-right
        span Order:
        .bordered-pulldown.is-disabled
          .bordered-pulldown-toggle
            | Most similar

    include ./auction_lots_table
<commit_msg>Fix dimensions display<commit_after>extends ../../../components/main_layout/templates/index

block head
  include artwork-meta

block locals
  assetPackage = 'auction_lots'

block body
  #auction-results-page.main-layout-container
    .garamond-alert-info
      em Note:&nbsp;
      | Auction results are an experimental feature with limited data. Have feedback?&nbsp;
      a.auction-lots-feedback-link.faux-underline Let us know.

    header.artist-header
      h1.avant-garde-header-center
        | Auction Results for
        a( href="/artist/#{artwork.get('artist').id}")  #{artwork.get('artist').name},&nbsp;
        a( href="/artwork/#{artwork.id}" ) #{artwork.get('title')}&nbsp;
        | (#{artwork.get('date')})

    .auction-lots-table-header
      .auction-lots-left
        span.auction-lots-sub-header Work on Artsy

    table.auction-lots-table
      thead
        tr
          th Title
          th Year
          th Medium
          th Size
          if artwork.get('price')
            th Price
      tbody
        tr.auction-lot
          td
            .auction-lot-title-container
              a( href="/artwork/#{artwork.id}" )
                img.auction-lot-image( src!= artwork.defaultImageUrl(), alt= artwork.get('title') )
              .auction-lot-title
                a( href="/artwork/#{artwork.id}" )
                  em= artwork.get('title')
                a.auction-lot-details-link(
                  href="/artwork/#{artwork.id}"
                ) Go to work
          td= artwork.get('date')
          td.auction-lot-medium= artwork.get('medium')
          td
            != artwork.superscriptFractions(artwork.get('dimensions').in)
            br
            != artwork.expressAsMetric(artwork.get('dimensions').cm)
          if artwork.get('price')
            td= artwork.get('price')

    .auction-lots-table-header
      .auction-lots-left
        span.auction-lots-sub-header Comparable auction results

      .auction-lots-right
        span Order:
        .bordered-pulldown.is-disabled
          .bordered-pulldown-toggle
            | Most similar

    include ./auction_lots_table

{'fraction_non_alphanumeric': 0.12696148359486448, 'fraction_numerical': 0.00047551117451260106, 'mean_word_length': 1.8215962441314555, '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': '5923469', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1266, 'n_words': 226}