<commit_before><template lang='pug'>
div.activity-map
	div
		a.btn.grey-mint.active
			| Crash
			i.icon-wrench
		a.btn.grey-mint
			| Resource
			i.icon-layers
		a.btn.grey-mint
			| Network
			i.icon-feed
		svg.index
	svg.map
</template>

<script>
module.exports = {
    mounted: function() {
        var me = this;
		me.drawIndex();
		$.get('/api/packageNames', function(data) {
            me.packageName = data.packageNames[0];
			me.draw();
        });
    },
    data: function() {
        return {
            rawData: [],
            packageName: '',
            fetchedPackageName: '',
            status: '-'
        };
    },
    methods: {
		drawIndex: function() {
			// index
			var svg = d3.select(this.$el).select('svg.index');
			console.log(svg);
			var indexGradient = svg.append('defs')<commit_msg>*del debug console log<commit_after><template lang='pug'>
div.activity-map
	div
		a.btn.grey-mint.active
			| Crash
			i.icon-wrench
		a.btn.grey-mint
			| Resource
			i.icon-layers
		a.btn.grey-mint
			| Network
			i.icon-feed
		svg.index
	svg.map
</template>

<script>
module.exports = {
    mounted: function() {
        var me = this;
		me.drawIndex();
		$.get('/api/packageNames', function(data) {
            me.packageName = data.packageNames[0];
			me.draw();
        });
    },
    data: function() {
        return {
            rawData: [],
            packageName: '',
            fetchedPackageName: '',
            status: '-'
        };
    },
    methods: {
		drawIndex: function() {
			// index
			var svg = d3.select(this.$el).select('svg.index');
			var indexGradient = svg.append('defs')
{'fraction_non_alphanumeric': 0.15928659286592867, 'fraction_numerical': 0.0024600246002460025, 'mean_word_length': 2.018552875695733, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1046092', 'n_tokens_mistral': 621, 'n_tokens_neox': 556, 'n_words': 95}