<commit_before>/**
 * Copyright (c) 2012-2012 Malhar, Inc.
 * All rights reserved.
 */
package com.malhartech.stream;

import static org.junit.Assert.assertTrue;

import com.google.protobuf.ByteString;
import com.malhartech.bufferserver.Buffer.BeginWindow;
import com.malhartech.bufferserver.Buffer.Data;
import com.malhartech.bufferserver.Buffer.Data.DataType;
import com.malhartech.bufferserver.Buffer.EndWindow;
import com.malhartech.dag.EndWindowTuple;
import com.malhartech.dag.StreamContext;
import com.malhartech.dag.Tuple;

/**
 * Bunch of utilities shared between tests.
 */
abstract public class StramTestSupport {

  static Tuple generateTuple(Object payload, long windowId, StreamContext sc) {
    Tuple t = new Tuple(payload);<commit_msg>just rearranged the import statements. Signed-off-by:<NAME> <<EMAIL>><commit_after>/**
 * Copyright (c) 2012-2012 Malhar, Inc.
 * All rights reserved.
 */
package com.malhartech.stream;

import com.malhartech.bufferserver.Buffer.Data;
import com.malhartech.bufferserver.Buffer.Data.DataType;
import com.malhartech.bufferserver.Buffer.EndWindow;
import com.malhartech.dag.EndWindowTuple;
import com.malhartech.dag.StreamContext;
import com.malhartech.dag.Tuple;
import static org.junit.Assert.assertTrue;

/**
 * Bunch of utilities shared between tests.
 */
abstract public class StramTestSupport {

  static Tuple generateTuple(Object payload, long windowId, StreamContext sc) {
    Tuple t = new Tuple(payload);
{'fraction_non_alphanumeric': 0.10594668489405332, 'fraction_numerical': 0.010936431989063569, 'mean_word_length': 5.310344827586207, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3871737', 'n_tokens_mistral': 474, 'n_tokens_neox': 449, 'n_words': 105}