<commit_before><?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
	"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

	<context-param>
		<param-name>arcpath</param-name>
		<param-value>/tmp/wayback/arcs</param-value>
		<description>
			Directory where ARC files are found (possibly where Heritrix writes them.)
			This directory must exist.
		</description>
	</context-param>



	<!-- ReplayUI Configuration -->
	
	<context-param>
		<param-name>replayui.class</param-name>
		<param-value>org.archive.wayback.rawreplayui.RawReplayUI</param-value>
		<description>Class that implements ReplayUI for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>replayui.jsppath</param-name>
		<param-value>jsp/ReplayUI</param-value>
		<description>
			RawReplayUI specific path to jsp pages. relative to webapp/
		</description>
	</context-param>



	<!-- QueryUI Configuration -->
	
	<context-param>
		<param-name>queryui.class</param-name>
		<param-value>org.archive.wayback.simplequeryui.SimpleQueryUI</param-value>
		<description>Class that implements QueryUI for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>queryui.jsppath</param-name>
		<param-value>jsp/QueryUI</param-value>
		<description>
			SimpleQueryUI specific path to jsp pages. relative to webapp/
		</description>
	</context-param>



	<!-- ResourceStore Configuration -->
	
	<context-param>
		<param-name>resourcestore.class</param-name>
		<param-value>org.archive.wayback.localresourcestore.LocalARCResourceStore</param-value>
		<description>Class that implements ResourceStore for this Wayback</description>
	</context-param>



	<!-- ResourceIndex Configuration -->
	
	<context-param>
		<param-name>resourceindex.class</param-name>
		<param-value>org.archive.wayback.localbdbresourceindex.LocalBDBResourceIndex</param-value>
		<description>Class that implements ResourceIndex for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>resourceindex.indexpath</param-name>
		<param-value>/tmp/wayback/index</param-value>
		<description>
			LocalBDBResourceIndex specific directory to store the BDB files.
			Directory must exists.
		</description>
	</context-param>

	<context-param>
		<param-name>resourceindex.dbname</param-name>
		<param-value>DB1</param-value>
		<description>
			LocalBDBResourceIndex specific name for BDB database
		</description>
	</context-param>

	<context-param>
		<param-name>indexpipeline.workpath</param-name>
		<param-value>/tmp/wayback/pipeline</param-value>
		<description>
			LocalBDBResourceIndex specific directory to store flag files and temporary index data.
		</description>
	</context-param>

	<context-param>
		<param-name>indexpipeline.runpipeline</param-name>
		<param-value>1</param-value>
		<description>
			if set to '1' then a background indexing thread will automatically update the BDB
			index when new ARC files are noticed in the 'arcpath' directory.
		</description>
	</context-param>

<!--
	<context-param>
		<param-name></param-name>
		<param-value></param-value>
		<description></description>
	</context-param>
-->



	<!-- Replay Servlet Configuration -->

    <servlet>
	    <servlet-name>ReplayServlet</servlet-name>
    	<servlet-class>org.archive.wayback.servletglue.WBReplayUIServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>ReplayServlet</servlet-name>
		<url-pattern>/replay</url-pattern>
	</servlet-mapping>
	
	<!-- Replay Filter Configuration -->

	<filter>
		<filter-name>RetrievalFilter</filter-name>
		<filter-class>org.archive.wayback.servletglue.RequestFilter</filter-class><commit_msg>TWEAK: switched to JSReplayUI<commit_after><?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
	"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

	<context-param>
		<param-name>arcpath</param-name>
		<param-value>/tmp/wayback/arcs</param-value>
		<description>
			Directory where ARC files are found (possibly where Heritrix writes them.)
			This directory must exist.
		</description>
	</context-param>



	<!-- ReplayUI Configuration -->
	
	<context-param>
		<param-name>replayui.class</param-name>
<!--
		<param-value>org.archive.wayback.rawreplayui.RawReplayUI</param-value>
-->
		<param-value>org.archive.wayback.jsreplayui.JSReplayUI</param-value>
		<description>Class that implements ReplayUI for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>replayui.jsppath</param-name>
		<param-value>jsp/ReplayUI</param-value>
		<description>
			RawReplayUI specific path to jsp pages. relative to webapp/
		</description>
	</context-param>



	<!-- QueryUI Configuration -->
	
	<context-param>
		<param-name>queryui.class</param-name>
		<param-value>org.archive.wayback.simplequeryui.SimpleQueryUI</param-value>
		<description>Class that implements QueryUI for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>queryui.jsppath</param-name>
		<param-value>jsp/QueryUI</param-value>
		<description>
			SimpleQueryUI specific path to jsp pages. relative to webapp/
		</description>
	</context-param>



	<!-- ResourceStore Configuration -->
	
	<context-param>
		<param-name>resourcestore.class</param-name>
		<param-value>org.archive.wayback.localresourcestore.LocalARCResourceStore</param-value>
		<description>Class that implements ResourceStore for this Wayback</description>
	</context-param>



	<!-- ResourceIndex Configuration -->
	
	<context-param>
		<param-name>resourceindex.class</param-name>
		<param-value>org.archive.wayback.localbdbresourceindex.LocalBDBResourceIndex</param-value>
		<description>Class that implements ResourceIndex for this Wayback</description>
	</context-param>

	<context-param>
		<param-name>resourceindex.indexpath</param-name>
		<param-value>/tmp/wayback/index</param-value>
		<description>
			LocalBDBResourceIndex specific directory to store the BDB files.
			Directory must exists.
		</description>
	</context-param>

	<context-param>
		<param-name>resourceindex.dbname</param-name>
		<param-value>DB1</param-value>
		<description>
			LocalBDBResourceIndex specific name for BDB database
		</description>
	</context-param>

	<context-param>
		<param-name>indexpipeline.workpath</param-name>
		<param-value>/tmp/wayback/pipeline</param-value>
		<description>
			LocalBDBResourceIndex specific directory to store flag files and temporary index data.
		</description>
	</context-param>

	<context-param>
		<param-name>indexpipeline.runpipeline</param-name>
		<param-value>1</param-value>
		<description>
			if set to '1' then a background indexing thread will automatically update the BDB
			index when new ARC files are noticed in the 'arcpath' directory.
		</description>
	</context-param>


	<!-- Replay Servlet Configuration -->

    <servlet>
	    <servlet-name>ReplayServlet</servlet-name>
    	<servlet-class>org.archive.wayback.servletglue.WBReplayUIServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>ReplayServlet</servlet-name>
		<url-pattern>/replay</url-pattern>
	</servlet-mapping>
	
	<!-- Replay Filter Configuration -->

	<filter>
		<filter-name>RetrievalFilter</filter-name>
		<filter-class>org.archive.wayback.servletglue.RequestFilter</filter-class>
{'fraction_non_alphanumeric': 0.1404709748083242, 'fraction_numerical': 0.0024644030668127055, 'mean_word_length': 4.399113082039912, 'pattern_counts': {'":': 0, '<': 243, '<?xml version=': 2, '>': 243, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '91207', 'n_tokens_mistral': 2560, 'n_tokens_neox': 2340, 'n_words': 428}