<commit_before>Path = require "path"

module.exports =
	# Options are passed to Sequelize.
	# See http://sequelizejs.com/documentation#usage-options for details
	mysql:
		clsi:
			database: "clsi"
			username: "clsi"
			password: <PASSWORD>
			dialect: "sqlite"
			storage: Path.resolve("db.sqlite")

	path:
		compilesDir:  Path.resolve(__dirname + "/../../../compiles")
		clsiCacheDir: Path.resolve(__dirname + "/../../../cache")
		#synctexBaseDir: (project_id) -> Path.join(@compilesDir, project_id)
		synctexBaseDir: () -> "/compile"

	clsi:
		#strace: true
		#archive_logs: true
		commandRunner: "docker-runner-sharelatex"
		latexmkCommandPrefix: ["/usr/bin/time", "-v"]         # on Linux
		docker:
			image: "texlive-full:2016.1-opt"
			env:
				PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2016/bin/x86_64-linux/"
				HOME: "/tmp"
			modem:
				socketPath: false
			user: "111"

	internal:
		clsi:
			port: 3013
			load_port: 3044
			host: "localhost"

	apis:
		clsi:
			url: "http://localhost:3013"

	smokeTest: false
	project_cache_length_ms: 1000 * 60 * 60 * 24
	parallelFileDownloads:1<commit_msg>update acceptance tests settings to 2017 image<commit_after>Path = require "path"

module.exports =
	# Options are passed to Sequelize.
	# See http://sequelizejs.com/documentation#usage-options for details
	mysql:
		clsi:
			database: "clsi"
			username: "clsi"
			password: <PASSWORD>
			dialect: "sqlite"
			storage: Path.resolve("db.sqlite")

	path:
		compilesDir:  Path.resolve(__dirname + "/../../../compiles")
		clsiCacheDir: Path.resolve(__dirname + "/../../../cache")
		#synctexBaseDir: (project_id) -> Path.join(@compilesDir, project_id)
		synctexBaseDir: () -> "/compile"

	clsi:
		#strace: true
		#archive_logs: true
		commandRunner: "docker-runner-sharelatex"
		latexmkCommandPrefix: ["/usr/bin/time", "-v"]         # on Linux
		docker:
			image: "texlive-full:2017.1-opt"
			env:
				PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2017/bin/x86_64-linux/"
				HOME: "/tmp"
			modem:
				socketPath: false
			user: "111"

	internal:
		clsi:
			port: 3013
			load_port: 3044
			host: "localhost"

	apis:
		clsi:
			url: "http://localhost:3013"

	smokeTest: false
	project_cache_length_ms: 1000 * 60 * 60 * 24
	parallelFileDownloads:1
{'fraction_non_alphanumeric': 0.15859408486926704, 'fraction_numerical': 0.035147878268324044, 'mean_word_length': 3.3954802259887007, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5104944', 'n_tokens_mistral': 1043, 'n_tokens_neox': 858, 'n_words': 171}