<commit_before>import { Config } from "../connection";

const ARANGO_URL = process.env.TEST_ARANGODB_URL || "http://localhost:8529";
const ARANGO_VERSION = Number(
  process.env.ARANGO_VERSION || process.env.ARANGOJS_DEVEL_VERSION || 30400
);

export const config: {
  url: NonNullable<Config["url"]>;
  arangoVersion: NonNullable<Config["arangoVersion"]>;
  loadBalancingStrategy?: Config["loadBalancingStrategy"];
} = ARANGO_URL.includes(",")
  ? {
      url: ARANGO_URL.split(",").filter((s) => Boolean(s)),
      arangoVersion: ARANGO_VERSION,<commit_msg>Default to 3.x latest version for testing<commit_after>import { Config } from "../connection";

const ARANGO_URL = process.env.TEST_ARANGODB_URL || "http://localhost:8529";
const ARANGO_VERSION = Number(
  process.env.ARANGO_VERSION || process.env.ARANGOJS_DEVEL_VERSION || 39999
);

export const config: {
  url: NonNullable<Config["url"]>;
  arangoVersion: NonNullable<Config["arangoVersion"]>;
  loadBalancingStrategy?: Config["loadBalancingStrategy"];
} = ARANGO_URL.includes(",")
  ? {
      url: ARANGO_URL.split(",").filter((s) => Boolean(s)),
      arangoVersion: ARANGO_VERSION,
{'fraction_non_alphanumeric': 0.156195462478185, 'fraction_numerical': 0.016579406631762654, 'mean_word_length': 5.8273809523809526, 'pattern_counts': {'":': 0, '<': 7, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '71205', 'n_tokens_mistral': 392, 'n_tokens_neox': 382, 'n_words': 63}