<commit_before>package org.bimserver.client.tests;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

import org.bimserver.client.BimServerClient;
import org.bimserver.client.json.JsonBimServerClientFactory;
import org.bimserver.interfaces.objects.SProject;
import org.bimserver.interfaces.objects.SRevision;
import org.bimserver.interfaces.objects.SServerInfo;
import org.bimserver.shared.UsernamePasswordAuthenticationInfo;
import org.junit.Test;

public class TestListActivity {
	@Test
	public void test() throws Exception {
		try (JsonBimServerClientFactory factory = new JsonBimServerClientFactory("[address]")) {
			try (BimServerClient client = factory.create(new UsernamePasswordAuthenticationInfo("[un]", "[pw]"))) {
				SServerInfo serverInfo = client.getAdminInterface().getServerInfo();

				Map<Date, SRevision> revisions = new TreeMap<>();
				
				for (SProject sProject : client.getServiceInterface().getAllProjects(true, true)) {
					for (Long roid : sProject.getRevisions()) {
						SRevision revision = client.getServiceInterface().getRevision(roid);
						Date date = revision.getDate();
						revisions.put(date, revision);
					}
				}
				
				DateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd hh:mm");
				for (SRevision revision : revisions.values()) {
					System.out.println(dateFormatter.format(revision.getDate()) + " " + revision.getComment());
				}
			}
		}
		Thread.sleep(1000);
	}
}<commit_msg>another test made somewhat useful<commit_after>package org.bimserver.client.tests;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

import org.bimserver.client.BimServerClient;
import org.bimserver.client.json.JsonBimServerClientFactory;
import org.bimserver.interfaces.objects.SProject;
import org.bimserver.interfaces.objects.SRevision;
import org.bimserver.interfaces.objects.SServerInfo;
import org.bimserver.shared.UsernamePasswordAuthenticationInfo;
import org.junit.Test;

public class TestListActivity {
	@Test
	public void test() throws Exception {
		try (JsonBimServerClientFactory factory = new JsonBimServerClientFactory("http://localhost:8080")) {
			try (BimServerClient client = factory.create(new UsernamePasswordAuthenticationInfo("<EMAIL>", "admin"))) {
				SServerInfo serverInfo = client.getAdminInterface().getServerInfo();
				Map<Date, SRevision> revisions = new TreeMap<>();
				for (SProject sProject : client.getServiceInterface().getAllProjects(true, true)) {
					for (Long roid : sProject.getRevisions()) {
						SRevision revision = client.getServiceInterface().getRevision(roid);
						Date date = revision.getDate();
						revisions.put(date, revision);
					}
				}
				DateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd hh:mm");
				for (SRevision revision : revisions.values()) {
					System.out.println(dateFormatter.format(revision.getDate()) + " " + revision.getComment());
				}
			}
		}
		Thread.sleep(1000);
	}
}
{'fraction_non_alphanumeric': 0.11967479674796748, 'fraction_numerical': 0.003902439024390244, 'mean_word_length': 5.05511811023622, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3229784', 'n_tokens_mistral': 1061, 'n_tokens_neox': 905, 'n_words': 170}