<commit_before>package org.collectionspace.chain.csp.persistence.services;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;

import org.collectionspace.csp.api.persistence.ExistException;
import org.collectionspace.csp.api.persistence.Storage;
import org.collectionspace.csp.api.persistence.UnderlyingStorageException;
import org.collectionspace.csp.api.persistence.UnimplementedException;
import org.json.JSONException;
import org.json.JSONObject;

public class ServicesIDGenerator implements Storage {
	private Random rnd=new Random();
	private ServicesConnection conn;
	
	private static final Map<String,String> generators=new HashMap<String,String>();
	
	static {
		generators.put("accession-activity","1a67470b-19b1-4ae3-88d4-2a0aa936270e");
		generators.put("objects","9dd92952-c384-44dc-a736-95e435c1759c"); // XXX temporary hack for venus
		generators.put("accession","9dd92952-c384-44dc-a736-95e435c1759c");
		generators.put("archive","70586d30-9dca-4a07-a3a2-1976fe898028");
		generators.put("evaluation","d2d80822-25c7-4c7c-a105-fc40cdb0c50f");<commit_msg>NOJIRA Added archives as synonym for achive.<commit_after>package org.collectionspace.chain.csp.persistence.services;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;

import org.collectionspace.csp.api.persistence.ExistException;
import org.collectionspace.csp.api.persistence.Storage;
import org.collectionspace.csp.api.persistence.UnderlyingStorageException;
import org.collectionspace.csp.api.persistence.UnimplementedException;
import org.json.JSONException;
import org.json.JSONObject;

public class ServicesIDGenerator implements Storage {
	private Random rnd=new Random();
	private ServicesConnection conn;
	
	private static final Map<String,String> generators=new HashMap<String,String>();
	
	static {
		generators.put("accession-activity","1a67470b-19b1-4ae3-88d4-2a0aa936270e");
		generators.put("objects","9dd92952-c384-44dc-a736-95e435c1759c"); // XXX temporary hack for venus
		generators.put("accession","9dd92952-c384-44dc-a736-95e435c1759c");
		generators.put("archive","70586d30-9dca-4a07-a3a2-1976fe898028");
		generators.put("archives","70586d30-9dca-4a07-a3a2-1976fe898028");// XXX temporary hack for venus
		generators.put("evaluation","d2d80822-25c7-4c7c-a105-fc40cdb0c50f");
{'fraction_non_alphanumeric': 0.12146773513285533, 'fraction_numerical': 0.10248840151834669, 'mean_word_length': 6.880398671096345, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3756790', 'n_tokens_mistral': 948, 'n_tokens_neox': 837, 'n_words': 113}