<commit_before>import React from 'react';
import { Components, registerComponent } from '../../lib/vulcan-lib';
import { useHover } from '../common/withHover';
import { Link } from '../../lib/reactRouterWrapper';
import { useTagBySlug } from './useTag';
import { linkStyle } from '../linkPreview/PostLinkPreview';

const styles = theme => ({
  link: {
    ...linkStyle(theme),
  },
  linkWithoutDegreeSymbol: {
    ...linkStyle(theme),
    '&:after': {}
  },
  count: {
    color: theme.palette.secondary.main, // grey[500],
    fontSize: ".9em",
    position: "relative",
    marginLeft: 0,
    marginRight: 0
  }
});


const TagHoverPreview = ({href, targetLocation, innerHTML, classes, postCount=3}: {
  href: string,
  targetLocation: any,
  innerHTML: string,
  classes: ClassesType,
  postCount?: number
}) => {
  const { params: {slug} } = targetLocation;<commit_msg>change 3 to 6 for post links<commit_after>import React from 'react';
import { Components, registerComponent } from '../../lib/vulcan-lib';
import { useHover } from '../common/withHover';
import { Link } from '../../lib/reactRouterWrapper';
import { useTagBySlug } from './useTag';
import { linkStyle } from '../linkPreview/PostLinkPreview';

const styles = theme => ({
  link: {
    ...linkStyle(theme),
  },
  linkWithoutDegreeSymbol: {
    ...linkStyle(theme),
    '&:after': {}
  },
  count: {
    color: theme.palette.secondary.main, // grey[500],
    fontSize: ".9em",
    position: "relative",
    marginLeft: 0,
    marginRight: 0
  }
});


const TagHoverPreview = ({href, targetLocation, innerHTML, classes, postCount=6}: {
  href: string,
  targetLocation: any,
  innerHTML: string,
  classes: ClassesType,
  postCount?: number
}) => {
  const { params: {slug} } = targetLocation;
{'fraction_non_alphanumeric': 0.17016449234259784, 'fraction_numerical': 0.009075439591605219, 'mean_word_length': 3.5347043701799485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6957846', 'n_tokens_mistral': 573, 'n_tokens_neox': 559, 'n_words': 137}