<commit_before>const FixedHeaderTable = {
  methods: {
    updateFixedHeaderTableHeight () {
      const height = window.innerHeight
      const initialTableHeight = 800
      const minHeight = 300
      const offset = 120
      const requiredTableHeight = height - offset

      if (requiredTableHeight < initialTableHeight && requiredTableHeight > minHeight) {
        document.querySelector('.fixed-header .v-table__overflow').style.maxHeight = `${requiredTableHeight}px`
      }
    },
    fixedHeaderTableOnMount () {
      // call in mounted
      if (typeof window !== 'undefined') {
        this.updateFixedHeaderTableHeight()<commit_msg>rework table resizing<commit_after>const FixedHeaderTable = {
  methods: {
    updateFixedHeaderTableHeight () {
      const height = window.innerHeight
      const minHeight = 300
      const offset = 100
      const requiredTableHeight = height - offset

      if (requiredTableHeight > minHeight) {
        document.querySelector('.fixed-header .v-table__overflow').style.maxHeight = `${requiredTableHeight}px`
      }
    },
    fixedHeaderTableOnMount () {
      // call in mounted
      if (typeof window !== 'undefined') {
        this.updateFixedHeaderTableHeight()
{'fraction_non_alphanumeric': 0.0951599671862182, 'fraction_numerical': 0.012305168170631665, 'mean_word_length': 3.053156146179402, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '3078829', 'n_tokens_mistral': 324, 'n_tokens_neox': 308, 'n_words': 70}