<commit_before><template lang='jade'>
  compass(:direction='direction')
</template>

<script>
  import compass from './compass.vue'

  export default {
    components: {
      compass
    },

    data(){
      return {
        direction: 0
      }
    },

    ready(){
      this.$parent.api.basic.request.push(api => {
        this.direction = api.wind.currentDir.value;
      });
    }
  }
</script>
<commit_msg>wind-section sync with api<commit_after><template lang='jade'>
  compass(:direction='direction')
</template>

<script>
  import compass from './compass.vue'

  export default {
    components: {
      compass
    },

    data(){
      return {
        wind: {
          gust: 0,
          actual: 0
        }
      }
    },

    ready(){
      this.$parent.api.basic.request.push(api => {
        this.wind.actual = api.wind.currentDir.value;
          this.wind.gust = api.wind.gustDir.value;
      });
    }
  }
</script>

{'fraction_non_alphanumeric': 0.1513859275053305, 'fraction_numerical': 0.0031982942430703624, 'mean_word_length': 1.9621451104100947, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '1074002', 'n_tokens_mistral': 303, 'n_tokens_neox': 293, 'n_words': 52}