<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
  <bean id="FeedConnection"
        class="com.google.enterprise.connector.pusher.MockFeedConnection">
  </bean>

  <bean id="PusherFactory"
        class="com.google.enterprise.connector.pusher.DocPusherFactory">
    <constructor-arg index="0" ref="FeedConnection" />
  </bean>

  <bean id="LoadManagerFactory"
        class="com.google.enterprise.connector.scheduler.HostLoadManagerFactory">
    <property name="feedConnection" ref="FeedConnection"/>
  </bean>

  <bean id="ConnectorScheduleStore"
        class="com.google.enterprise.connector.persist.MockPersistentStore">
  </bean>

  <bean id="ConnectorStateStore"
        class="com.google.enterprise.connector.persist.MockPersistentStore">
  </bean>

  <bean id="ConnectorConfigStore"
        class="com.google.enterprise.connector.persist.FileStore">
    <property name="typeMap" ref="TypeMap" />
  </bean>

  <bean id="PersistentStore"
        class="com.google.enterprise.connector.persist.HybridPersistentStore">
    <constructor-arg index="0" ref="ConnectorConfigStore"/>
    <constructor-arg index="1" ref="ConnectorScheduleStore"/>
    <constructor-arg index="2" ref="ConnectorStateStore"/>
  </bean>

  <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
    <property name="staticMethod"
              value="com.google.enterprise.connector.instantiator.InstanceInfo.setPersistentStore"/>
    <property name="arguments">
      <list>
        <ref bean="PersistentStore"/>
      </list>
    </property>
  </bean>

  <bean id="ConnectorCoordinatorFactory"
        class="com.google.enterprise.connector.instantiator.ConnectorCoordinatorImplFactory">
    <property name="pusherFactory" ref="PusherFactory" />
    <property name="loadManagerFactory" ref="LoadManagerFactory"/>
    <!-- No connectorPersistentStoreFactory, to avoid lots of config and H2. -->
    <property name="threadPool" ref="ThreadPool" />
    <property name="changeDetector" ref="ChangeDetector"/>
    <property name="clock" ref="Clock"/>
  </bean>

  <bean id="ConnectorCoordinatorMap"
        class="com.google.enterprise.connector.instantiator.ConnectorCoordinatorMap">
    <property name="connectorCoordinatorFactory" ref="ConnectorCoordinatorFactory" />
  </bean>

  <bean id="TypeMap"
        class="com.google.enterprise.connector.instantiator.TypeMap"/>

  <bean id="ChangeListener"
        class="com.google.enterprise.connector.instantiator.ChangeListenerImpl">
    <constructor-arg index="0" ref="TypeMap"/>
    <constructor-arg index="1" ref="ConnectorCoordinatorMap"/>
  </bean>

  <bean id="ChangeDetector"
        class="com.google.enterprise.connector.instantiator.ChangeDetectorImpl">
    <constructor-arg index="0" ref="PersistentStore"/>
    <constructor-arg index="1" ref="ChangeListener"/>
  </bean>

  <bean id="ChangeDetectorTask"
        class="com.google.enterprise.connector.instantiator.ChangeDetectorTask">
    <constructor-arg index="0" ref="ChangeDetector"/>
    <constructor-arg index="1" value="0"/>
    <constructor-arg index="2" value="0"/>
  </bean>

  <bean id="Instantiator"
        class="com.google.enterprise.connector.instantiator.SpringInstantiator">
    <property name="connectorCoordinatorMap" ref="ConnectorCoordinatorMap" />
    <property name="threadPool" ref="ThreadPool" />
    <property name="typeMap" ref="TypeMap" />
    <property name="changeDetectorTask" ref="ChangeDetectorTask" />
  </bean>

  <bean id="ThreadPool"
        class="com.google.enterprise.connector.instantiator.ThreadPool">
    <constructor-arg index="0" type="int" value="5"/>
    <constructor-arg index="1" ref="Clock"/>
  </bean>

  <bean id="Manager"
        class="com.google.enterprise.connector.manager.ProductionManager"><commit_msg>Added back an inadvertently deleted Clock bean.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
  <bean id="FeedConnection"
        class="com.google.enterprise.connector.pusher.MockFeedConnection">
  </bean>

  <bean id="PusherFactory"
        class="com.google.enterprise.connector.pusher.DocPusherFactory">
    <constructor-arg index="0" ref="FeedConnection" />
  </bean>

  <bean id="LoadManagerFactory"
        class="com.google.enterprise.connector.scheduler.HostLoadManagerFactory">
    <property name="feedConnection" ref="FeedConnection"/>
  </bean>

  <bean id="ConnectorScheduleStore"
        class="com.google.enterprise.connector.persist.MockPersistentStore">
  </bean>

  <bean id="ConnectorStateStore"
        class="com.google.enterprise.connector.persist.MockPersistentStore">
  </bean>

  <bean id="ConnectorConfigStore"
        class="com.google.enterprise.connector.persist.FileStore">
    <property name="typeMap" ref="TypeMap" />
  </bean>

  <bean id="PersistentStore"
        class="com.google.enterprise.connector.persist.HybridPersistentStore">
    <constructor-arg index="0" ref="ConnectorConfigStore"/>
    <constructor-arg index="1" ref="ConnectorScheduleStore"/>
    <constructor-arg index="2" ref="ConnectorStateStore"/>
  </bean>

  <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
    <property name="staticMethod"
              value="com.google.enterprise.connector.instantiator.InstanceInfo.setPersistentStore"/>
    <property name="arguments">
      <list>
        <ref bean="PersistentStore"/>
      </list>
    </property>
  </bean>

  <bean id="ConnectorCoordinatorFactory"
        class="com.google.enterprise.connector.instantiator.ConnectorCoordinatorImplFactory">
    <property name="pusherFactory" ref="PusherFactory" />
    <property name="loadManagerFactory" ref="LoadManagerFactory"/>
    <!-- No connectorPersistentStoreFactory, to avoid lots of config and H2. -->
    <property name="threadPool" ref="ThreadPool" />
    <property name="changeDetector" ref="ChangeDetector"/>
    <property name="clock" ref="Clock"/>
  </bean>

  <bean id="ConnectorCoordinatorMap"
        class="com.google.enterprise.connector.instantiator.ConnectorCoordinatorMap">
    <property name="connectorCoordinatorFactory" ref="ConnectorCoordinatorFactory" />
  </bean>

  <bean id="TypeMap"
        class="com.google.enterprise.connector.instantiator.TypeMap"/>

  <bean id="ChangeListener"
        class="com.google.enterprise.connector.instantiator.ChangeListenerImpl">
    <constructor-arg index="0" ref="TypeMap"/>
    <constructor-arg index="1" ref="ConnectorCoordinatorMap"/>
  </bean>

  <bean id="ChangeDetector"
        class="com.google.enterprise.connector.instantiator.ChangeDetectorImpl">
    <constructor-arg index="0" ref="PersistentStore"/>
    <constructor-arg index="1" ref="ChangeListener"/>
  </bean>

  <bean id="ChangeDetectorTask"
        class="com.google.enterprise.connector.instantiator.ChangeDetectorTask">
    <constructor-arg index="0" ref="ChangeDetector"/>
    <constructor-arg index="1" value="0"/>
    <constructor-arg index="2" value="0"/>
  </bean>

  <bean id="Instantiator"
        class="com.google.enterprise.connector.instantiator.SpringInstantiator">
    <property name="connectorCoordinatorMap" ref="ConnectorCoordinatorMap" />
    <property name="threadPool" ref="ThreadPool" />
    <property name="typeMap" ref="TypeMap" />
    <property name="changeDetectorTask" ref="ChangeDetectorTask" />
  </bean>

  <bean id="Clock" class="com.google.enterprise.connector.util.SystemClock" />

  <bean id="ThreadPool"
        class="com.google.enterprise.connector.instantiator.ThreadPool">
    <constructor-arg index="0" type="int" value="5"/>
    <constructor-arg index="1" ref="Clock"/>
  </bean>

  <bean id="Manager"
        class="com.google.enterprise.connector.manager.ProductionManager">
{'fraction_non_alphanumeric': 0.15079767029627753, 'fraction_numerical': 0.0050645733096986575, 'mean_word_length': 4.489228630993746, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 2, '>': 138, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '3517211', 'n_tokens_mistral': 2354, 'n_tokens_neox': 2312, 'n_words': 348}