<commit_before><web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">

	<!-- Remote API on for bulk exports -->
	<servlet>
    	<servlet-name>RemoteApi</servlet-name>
    	<servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class>
	</servlet>

	<servlet-mapping>
    	<servlet-name>RemoteApi</servlet-name>
    	<url-pattern>/remote_api</url-pattern>
	</servlet-mapping>

	<!-- OAuth -->
	<servlet>
		<servlet-name>Logout</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.LogoutServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>Logout</servlet-name>
		<url-pattern>/logout</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>GoogleOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.GoogleOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.google.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.google.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>GoogleOAuth</servlet-name>
		<url-pattern>/google</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>GoogleOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.GoogleOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.google.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.google.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>GoogleOAuthCallback</servlet-name>
		<url-pattern>/google/callback</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>FacebookOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.FacebookOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.fb.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.fb.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>FacebookOAuth</servlet-name>
		<url-pattern>/facebook</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>FacebookOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.FacebookOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.fb.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.fb.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>FacebookOAuthCallback</servlet-name>
		<url-pattern>/facebook/callback</url-pattern>
	</servlet-mapping>
		<servlet>
		<servlet-name>TwitterOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.TwitterOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.tw.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.tw.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>TwitterOAuth</servlet-name>
		<url-pattern>/twitter</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>TwitterOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.TwitterOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.tw.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.tw.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>TwitterOAuthCallback</servlet-name>
		<url-pattern>/twitter/callback</url-pattern>
	</servlet-mapping>
	
	<listener>
		<listener-class>groovyx.gaelyk.GaelykServletContextListener</listener-class>
	</listener>

	<servlet>
		<servlet-name>GroovletServlet</servlet-name>
		<servlet-class>groovyx.gaelyk.GaelykServlet</servlet-class>
		<init-param>
			<param-name>verbose</param-name>
			<!-- Set it to true for more details -->
			<param-value>false</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>TemplateServlet</servlet-name>
		<servlet-class>groovyx.gaelyk.GaelykTemplateServlet</servlet-class>
		<init-param>
			<!-- Remove the default "generated by" messages from the templates -->
			<param-name>generated.by</param-name>
			<param-value>false</param-value>
		</init-param>
		<init-param>
			<param-name>verbose</param-name>
			<!-- Output generation time in the HTML, see source page -->
			<param-value>false</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>

	<filter>
		<filter-name>RoutesFilter</filter-name>
		<filter-class>groovyx.gaelyk.routes.RoutesFilter</filter-class>
	</filter>

	<servlet-mapping>
		<servlet-name>GroovletServlet</servlet-name>
		<url-pattern>*.groovy</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>TemplateServlet</servlet-name>
		<url-pattern>*.gtpl</url-pattern>
	</servlet-mapping>

	<filter-mapping>
		<filter-name>RoutesFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<!-- Uncomment the following security constraint if you want to secure your incoming email endpoint -->
	<!-- Only allow the SDK and administrators to have access to the incoming email endpoint -->

	<security-constraint>
		<web-resource-collection>
			<url-pattern>/_ah/mail/*</url-pattern>
			<url-pattern>/_ah/xmpp/message/chat/</url-pattern>
		</web-resource-collection>
		<auth-constraint>
			<role-name>admin</role-name>
		</auth-constraint>
	</security-constraint>

	<security-constraint>
		<web-resource-collection>
			<url-pattern>/reports</url-pattern>
			<url-pattern>/reports/*</url-pattern>
			<url-pattern>/users</url-pattern>
			<url-pattern>/users/*</url-pattern>
		</web-resource-collection>
		<user-data-constraint>
			<transport-guarantee>CONFIDENTIAL</transport-guarantee>
		</user-data-constraint>
	</security-constraint>
	
	<welcome-file-list>
		<welcome-file>WEB-INF/pages/index.html</welcome-file>
	</welcome-file-list>
</web-app><commit_msg>Fix for welcome page path<commit_after><web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">

	<!-- Remote API on for bulk exports -->
	<servlet>
    	<servlet-name>RemoteApi</servlet-name>
    	<servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class>
	</servlet>

	<servlet-mapping>
    	<servlet-name>RemoteApi</servlet-name>
    	<url-pattern>/remote_api</url-pattern>
	</servlet-mapping>

	<!-- OAuth -->
	<servlet>
		<servlet-name>Logout</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.LogoutServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>Logout</servlet-name>
		<url-pattern>/logout</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>GoogleOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.GoogleOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.google.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.google.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>GoogleOAuth</servlet-name>
		<url-pattern>/google</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>GoogleOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.GoogleOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.google.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.google.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>GoogleOAuthCallback</servlet-name>
		<url-pattern>/google/callback</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>FacebookOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.FacebookOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.fb.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.fb.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>FacebookOAuth</servlet-name>
		<url-pattern>/facebook</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>FacebookOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.FacebookOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.fb.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.fb.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>FacebookOAuthCallback</servlet-name>
		<url-pattern>/facebook/callback</url-pattern>
	</servlet-mapping>
		<servlet>
		<servlet-name>TwitterOAuth</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.TwitterOAuthServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.tw.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.tw.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>TwitterOAuth</servlet-name>
		<url-pattern>/twitter</url-pattern>
	</servlet-mapping>
	<servlet>
		<servlet-name>TwitterOAuthCallback</servlet-name>
		<servlet-class>org.ilrt.nl.oauth.TwitterOAuthCallbackServlet</servlet-class>
		<init-param>
			<param-name>api-key</param-name>
			<param-value>${oauth.tw.api.key}</param-value>
		</init-param>
		<init-param>
			<param-name>api-secret</param-name>
			<param-value>${oauth.tw.api.secret}</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>TwitterOAuthCallback</servlet-name>
		<url-pattern>/twitter/callback</url-pattern>
	</servlet-mapping>
	
	<listener>
		<listener-class>groovyx.gaelyk.GaelykServletContextListener</listener-class>
	</listener>

	<servlet>
		<servlet-name>GroovletServlet</servlet-name>
		<servlet-class>groovyx.gaelyk.GaelykServlet</servlet-class>
		<init-param>
			<param-name>verbose</param-name>
			<!-- Set it to true for more details -->
			<param-value>false</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>TemplateServlet</servlet-name>
		<servlet-class>groovyx.gaelyk.GaelykTemplateServlet</servlet-class>
		<init-param>
			<!-- Remove the default "generated by" messages from the templates -->
			<param-name>generated.by</param-name>
			<param-value>false</param-value>
		</init-param>
		<init-param>
			<param-name>verbose</param-name>
			<!-- Output generation time in the HTML, see source page -->
			<param-value>false</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>

	<filter>
		<filter-name>RoutesFilter</filter-name>
		<filter-class>groovyx.gaelyk.routes.RoutesFilter</filter-class>
	</filter>

	<servlet-mapping>
		<servlet-name>GroovletServlet</servlet-name>
		<url-pattern>*.groovy</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>TemplateServlet</servlet-name>
		<url-pattern>*.gtpl</url-pattern>
	</servlet-mapping>

	<filter-mapping>
		<filter-name>RoutesFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<!-- Uncomment the following security constraint if you want to secure your incoming email endpoint -->
	<!-- Only allow the SDK and administrators to have access to the incoming email endpoint -->

	<security-constraint>
		<web-resource-collection>
			<url-pattern>/_ah/mail/*</url-pattern>
			<url-pattern>/_ah/xmpp/message/chat/</url-pattern>
		</web-resource-collection>
		<auth-constraint>
			<role-name>admin</role-name>
		</auth-constraint>
	</security-constraint>

	<security-constraint>
		<web-resource-collection>
			<url-pattern>/reports</url-pattern>
			<url-pattern>/reports/*</url-pattern>
			<url-pattern>/users</url-pattern>
			<url-pattern>/users/*</url-pattern>
		</web-resource-collection>
		<user-data-constraint>
			<transport-guarantee>CONFIDENTIAL</transport-guarantee>
		</user-data-constraint>
	</security-constraint>
	
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>
</web-app>
{'fraction_non_alphanumeric': 0.18520614389652384, 'fraction_numerical': 0.0006467259498787389, 'mean_word_length': 4.264255319148936, 'pattern_counts': {'":': 0, '<': 545, '<?xml version=': 0, '>': 545, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '14628', 'n_tokens_mistral': 4880, 'n_tokens_neox': 4472, 'n_words': 483}