<commit_before>import { Components, registerComponent } from '../../lib/vulcan-lib';
import React from 'react';
import { AnalyticsContext } from "../../lib/analyticsEvents";

const Home2 = () => {
  const { RecentDiscussionFeed, HomeLatestPosts, RecommendationsAndCurated, AnalyticsInViewTracker, FrontpageReviewPhase } = Components

  return (
      <AnalyticsContext pageContext="homePage">
        <React.Fragment>
          <FrontpageReviewPhase />
          <AnalyticsInViewTracker
              eventProps={{inViewType: "latestPosts"}}
              observerProps={{threshold:[0, 0.5, 1]}}
          >
              <HomeLatestPosts />
          </AnalyticsInViewTracker>
          <RecommendationsAndCurated configName="frontpage" />
          <AnalyticsContext pageSectionContext="recentDiscussion"><commit_msg>Add frontpage widget<commit_after>import { Components, registerComponent } from '../../lib/vulcan-lib';
import React from 'react';
import { AnalyticsContext } from "../../lib/analyticsEvents";

const Home2 = () => {
  const { RecentDiscussionFeed, HomeLatestPosts, RecommendationsAndCurated, AnalyticsInViewTracker, FrontpageReviewPhase, BookFrontpageWidget } = Components

  return (
      <AnalyticsContext pageContext="homePage">
        <React.Fragment>
          <BookFrontpageWidget />
          <FrontpageReviewPhase />
          <AnalyticsInViewTracker
              eventProps={{inViewType: "latestPosts"}}
              observerProps={{threshold:[0, 0.5, 1]}}
          >
              <HomeLatestPosts />
          </AnalyticsInViewTracker>
          <RecommendationsAndCurated configName="frontpage" />
          <AnalyticsContext pageSectionContext="recentDiscussion">
{'fraction_non_alphanumeric': 0.11411764705882353, 'fraction_numerical': 0.0058823529411764705, 'mean_word_length': 3.1386861313868613, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 22, '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': '1207280', 'n_tokens_mistral': 458, 'n_tokens_neox': 437, 'n_words': 81}