<commit_before>/*
 *  Copyright (c) 2012 Malhar, Inc.
 *  All Rights Reserved.
 */
package com.malhartech.dag;

import org.apache.hadoop.conf.Configuration;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public interface Component<T1 extends Configuration, T2 extends Context> extends Sink
{
  /*
   * if the Component is capable of taking only 1 input, call it INPUT.
   * if the Component is capable of providing only 1 output, call it OUTPUT.
   */
  public static final String INPUT = "input";
  public static final String OUTPUT = "output";

  public void setup(T1 config) throws FailedOperationException;

  public void activate(T2 context);

  public void deactivate();

  public void teardown();

  public Sink connect(String port, Sink sink); // connect to output port
}<commit_msg>performance test stresses the systemcontinually<commit_after>/*
 *  Copyright (c) 2012 Malhar, Inc.
 *  All Rights Reserved.
 */
package com.malhartech.dag;

import org.apache.hadoop.conf.Configuration;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public interface Component<T1 extends Configuration, T2 extends Context> extends Sink
{
  /*
   * if the Component is capable of taking only 1 input, call it INPUT.
   * if the Component is capable of providing only 1 output, call it OUTPUT.
   */
  public static final String INPUT = "input";
  public static final String OUTPUT = "output";

  public void setup(T1 config) throws FailedOperationException;

  public void activate(T2 context);

  public void deactivate();

  public void teardown();

  public Sink connect(String port, Sink sink);
}
{'fraction_non_alphanumeric': 0.09644670050761421, 'fraction_numerical': 0.012690355329949238, 'mean_word_length': 3.867283950617284, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6198324', 'n_tokens_mistral': 470, 'n_tokens_neox': 442, 'n_words': 180}