<commit_before>package com.arangodb.example;

import java.util.Map;

import com.arangodb.ArangoCollection;
import com.arangodb.ArangoCursor;
import com.arangodb.ArangoDB;
import com.arangodb.ArangoDBException;
import com.arangodb.entity.BaseDocument;
import com.arangodb.entity.CollectionEntity;
import com.arangodb.util.MapBuilder;
import com.arangodb.velocypack.VPackSlice;

public class FirstProject {

	public static void main(final String[] args) {
		final ArangoDB arangoDB = new ArangoDB.Builder().build();

		// create database
		final String dbName = "mydb";
		try {
			arangoDB.createDatabase(dbName);
			System.out.println("Database created: " + dbName);
		} catch (final ArangoDBException e) {
			System.err.println("Failed to create database: " + dbName + "; " + e.getMessage());
		}

		// create collection
		final String collectionName = "firstCollection";
		try {
			final CollectionEntity myArangoCollection = arangoDB.db(dbName).createCollection(collectionName);
			System.out.println("Collection created: " + myArangoCollection.getName());
		} catch (final ArangoDBException e) {
			System.err.println("Failed to create collection: " + collectionName + "; " + e.getMessage());
		}

		// creating a document
		final BaseDocument myObject = new BaseDocument();
		myObject.setKey("myKey");
		myObject.addAttribute("a", "Foo");<commit_msg>changed firstproject config<commit_after>package com.arangodb.example;

import java.util.Map;

import com.arangodb.ArangoCollection;
import com.arangodb.ArangoCursor;
import com.arangodb.ArangoDB;
import com.arangodb.ArangoDBException;
import com.arangodb.entity.BaseDocument;
import com.arangodb.entity.CollectionEntity;
import com.arangodb.util.MapBuilder;
import com.arangodb.velocypack.VPackSlice;

public class FirstProject {

	public static void main(final String[] args) {
		final ArangoDB arangoDB = new ArangoDB.Builder().user("root").build();

		// create database
		final String dbName = "mydb";
		try {
			arangoDB.createDatabase(dbName);
			System.out.println("Database created: " + dbName);
		} catch (final ArangoDBException e) {
			System.err.println("Failed to create database: " + dbName + "; " + e.getMessage());
		}

		// create collection
		final String collectionName = "firstCollection";
		try {
			final CollectionEntity myArangoCollection = arangoDB.db(dbName).createCollection(collectionName);
			System.out.println("Collection created: " + myArangoCollection.getName());
		} catch (final ArangoDBException e) {
			System.err.println("Failed to create collection: " + collectionName + "; " + e.getMessage());
		}

		// creating a document
		final BaseDocument myObject = new BaseDocument();
		myObject.setKey("myKey");
		myObject.addAttribute("a", "Foo");
{'fraction_non_alphanumeric': 0.1210237659963437, 'fraction_numerical': 0.0, 'mean_word_length': 4.973799126637554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4643328', 'n_tokens_mistral': 906, 'n_tokens_neox': 827, 'n_words': 181}