<commit_before>package peergos.server.tests;

import org.junit.BeforeClass;
import org.junit.Test;
import peergos.server.Builder;
import peergos.server.Main;
import peergos.server.util.Args;
import peergos.server.util.Logging;
import peergos.shared.Crypto;
import peergos.shared.NetworkAccess;
import peergos.shared.user.App;
import peergos.shared.user.UserContext;
import peergos.shared.user.fs.FileWrapper;

import java.net.URL;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.Random;
import java.util.logging.Logger;
import java.util.stream.Collectors;

public class WriterTest {
    private static Args args = UserTests.buildArgs();
    private static Random random = new Random();
    private static final Crypto crypto = Main.initCrypto();
    private NetworkAccess network = null;
    private UserContext emailBridgeContext = null;
    private static final String emailBridgeUsername = "bridge";
    private static final String emailBridgePassword = "<PASSWORD>";
    private static final String url = "http://localhost:" + args.getArg("port");
    private static final boolean isPublicServer = false;<commit_msg>Don't use ipfs in test<commit_after>package peergos.server.tests;

import org.junit.BeforeClass;
import org.junit.Test;
import peergos.server.Builder;
import peergos.server.Main;
import peergos.server.util.Args;
import peergos.server.util.Logging;
import peergos.shared.Crypto;
import peergos.shared.NetworkAccess;
import peergos.shared.user.App;
import peergos.shared.user.UserContext;
import peergos.shared.user.fs.FileWrapper;

import java.net.URL;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.Random;
import java.util.logging.Logger;
import java.util.stream.Collectors;

public class WriterTest {
    private static Args args = UserTests.buildArgs().with("useIPFS", "false");
    private static Random random = new Random();
    private static final Crypto crypto = Main.initCrypto();
    private NetworkAccess network = null;
    private UserContext emailBridgeContext = null;
    private static final String emailBridgeUsername = "bridge";
    private static final String emailBridgePassword = "<PASSWORD>";
    private static final String url = "http://localhost:" + args.getArg("port");
    private static final boolean isPublicServer = false;
{'fraction_non_alphanumeric': 0.10153721682847897, 'fraction_numerical': 0.0, 'mean_word_length': 5.0464547677261615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4029226', 'n_tokens_mistral': 721, 'n_tokens_neox': 716, 'n_words': 194}