<commit_before><template>
  <div class="root">
    <header-component></header-component>
    <div class="ui container">
      <div class="hackathons list">
        <h2 class="ui header">
          Hackathons
        </h2>
        <item v-for='hackathon in hacks' :event="hackathon" :key="hackathon.name"></item>
        <div v-if="hacks.length == 0" class="ui text">
          <b>No hackathons? Is there something that we are missing? Please add a hackathon for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
      <div class="conferences list">
        <h2 class="ui header">
          Conferences
        </h2>
        <item v-for='conference in conferences' :event="conference" :key="conference.name"></item>
        <div v-if="conferences.length == 0" class="ui text">
          <b>No conferences? Is there something that we are missing? Please add a conference for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
      <div class="startups list">
        <h2 class="ui header">
          Startup Events
        </h2>
        <item v-for='startup in startups' :event="startup" :key="startup.name"></item>
        <div v-if="startups.length == 0" class="ui text">
          <b>No start ups events? Is there something that we are missing? Please add an event for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
    </div>
    <footer-component></footer-component>
  </div>
</template>
<script>
import Item from './item.vue'
import Header from './header.vue'
import Footer from './footer.vue'

export default {
  Header,
  Footer,
  Item,
  name: 'root',
  data () {
    return {
      hacks: [],
      conferences: [],
      startups: []
    }
  },
  methods: {
    fetchData () {
      var url = 'static/data/' + this.year + '/' + this.month + '/events.json'
      this.$fetch.get(url).then(response => {
        response.json().then(data => {
          var group = this._.groupBy(data, 'type')
          this.hacks = this._.orderBy(group.hackathon, 'start')
          this.startups = this._.orderBy(group.startup, 'start')
          this.conferences = this._.orderBy(group.conferences, 'start')
        })
      })
    }
  },
  created () {
    var date = new Date()
    this.month = (date.getMonth() + 1)
    this.year = (date.getFullYear())
    this.fetchData()
  }
}
</script>
<style scoped>
.list {
  margin-top: 15px;
}
</style>
<commit_msg>display conferences<commit_after><template>
  <div class="root">
    <header-component></header-component>
    <div class="ui container">
      <div class="hackathons list">
        <h2 class="ui header">
          Hackathons
        </h2>
        <item v-for='hackathon in hacks' :event="hackathon" :key="hackathon.name"></item>
        <div v-if="hacks.length == 0" class="ui text">
          <b>No hackathons? Is there something that we are missing? Please add a hackathon for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
      <div class="conferences list">
        <h2 class="ui header">
          Conferences
        </h2>
        <item v-for='conference in conferences' :event="conference" :key="conference.name"></item>
        <div v-if="conferences.length == 0" class="ui text">
          <b>No conferences? Is there something that we are missing? Please add a conference for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
      <div class="startups list">
        <h2 class="ui header">
          Startup Events
        </h2>
        <item v-for='startup in startups' :event="startup" :key="startup.name"></item>
        <div v-if="startups.length == 0" class="ui text">
          <b>No start ups events? Is there something that we are missing? Please add an event for this month <a href="https://github.com/geekyd/Event-Buddy">here</a></b>
        </div>
      </div>
    </div>
    <footer-component></footer-component>
  </div>
</template>
<script>
import Item from './item.vue'
import Header from './header.vue'
import Footer from './footer.vue'

export default {
  Header,
  Footer,
  Item,
  name: 'root',
  data () {
    return {
      hacks: [],
      conferences: [],
      startups: []
    }
  },
  methods: {
    fetchData () {
      var url = 'static/data/' + this.year + '/' + this.month + '/events.json'
      this.$fetch.get(url).then(response => {
        response.json().then(data => {
          var group = this._.groupBy(data, 'type')
          this.hacks = this._.orderBy(group.hackathon, 'start')
          this.startups = this._.orderBy(group.startup, 'start')
          this.conferences = this._.orderBy(group.conference, 'start')
        })
      })
    }
  },
  created () {
    var date = new Date()
    this.month = (date.getMonth() + 1)
    this.year = (date.getFullYear())
    this.fetchData()
  }
}
</script>
<style scoped>
.list {
  margin-top: 15px;
}
</style>

{'fraction_non_alphanumeric': 0.16736401673640167, 'fraction_numerical': 0.004781829049611476, 'mean_word_length': 2.462068965517241, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 107, 'https://': 6, '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': '889303', 'n_tokens_mistral': 1663, 'n_tokens_neox': 1635, 'n_words': 395}