<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>
    <!-- The DriverConfiguration Bean.  This is the only bean required -->
    <bean name="DriverConfiguration"
          class="org.apache.pluto.driver.config.impl.DriverConfigurationImpl">
      <constructor-arg><ref bean="PropertyConfigService"/></constructor-arg>
      <constructor-arg><ref bean="PortletRegistryService"/></constructor-arg>
      <constructor-arg><ref bean="RenderConfigService"/></constructor-arg>
    </bean>

    <bean name="PropertyConfigService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>
    <bean name="PortletRegistryService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>
    <bean name="RenderConfigService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>
</beans><commit_msg>updating configuration to match refactoring in driver; now utilizing spring for container services as well as portal services<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>
    <!-- The DriverConfiguration Bean.  This is the only bean required -->
    <bean name="DriverConfiguration"
          class="org.apache.pluto.driver.config.impl.DriverConfigurationImpl">
      <constructor-arg><ref bean="PropertyConfigService"/></constructor-arg>
      <constructor-arg><ref bean="PortletRegistryService"/></constructor-arg>
      <constructor-arg><ref bean="RenderConfigService"/></constructor-arg>

      <!-- Container Services -->
      <constructor-arg><ref bean="PortalCallbackService"/></constructor-arg>
      <constructor-arg><ref bean="PortletPreferencesService"/></constructor-arg>
    </bean>

    <bean name="PropertyConfigService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>
    <bean name="PortletRegistryService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>
    <bean name="RenderConfigService"
          class="org.apache.pluto.driver.services.impl.resource.ResourceServicesImpl"
          singleton="true">
    </bean>

    <!-- Container Services -->
    <bean name="PortalCallbackService"
          class="org.apache.pluto.driver.services.container.PortalCallbackServiceImpl"
          singleton="true">
    </bean>

    <bean name="PortletPreferencesService"
          class="org.apache.pluto.driver.services.container.PortletPreferencesServiceImpl"
          singleton="true">
    </bean>

</beans>
{'fraction_non_alphanumeric': 0.14388243335611756, 'fraction_numerical': 0.002050580997949419, 'mean_word_length': 3.5309597523219813, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 2, '>': 59, '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': '5631268', 'n_tokens_mistral': 813, 'n_tokens_neox': 789, 'n_words': 124}