<commit_before>package de.ddb.pdc.answerer.answerers;

import de.ddb.pdc.answerer.Answerer;
import de.ddb.pdc.core.Answer;
import de.ddb.pdc.metadata.DDBItem;

/**
 * Answers the COUNTRY_OF_ORIGIN_EEA question.
 */
public class CountryOfOriginEuropeanEconomicAreaAnswerer implements Answerer {

  /**
   * Answer whether the country that the item was created in is a member of the
   * EEA.
   *
   */
  @Override
  public Answer getAnswer(DDBItem metaData) {
    // FIXME wrong nationality used here<commit_msg>hardcoded origin country for milestone 1<commit_after>package de.ddb.pdc.answerer.answerers;

import de.ddb.pdc.answerer.Answerer;
import de.ddb.pdc.core.Answer;
import de.ddb.pdc.metadata.DDBItem;

/**
 * Answers the COUNTRY_OF_ORIGIN_EEA question.
 */
public class CountryOfOriginEuropeanEconomicAreaAnswerer implements Answerer {

  /**
   * Answer whether the country that the item was created in is a member of the
   * EEA.
   *
   * FIXME there is no nationality-field of the work at the moment
   * FIXME this is mis-using the author-nationality.
   */
  @Override
  public Answer getAnswer(DDBItem metaData) {
    // FIXME wrong nationality used here
{'fraction_non_alphanumeric': 0.08368915456874466, 'fraction_numerical': 0.0008539709649871904, 'mean_word_length': 3.8230452674897117, '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': '5940780', 'n_tokens_mistral': 399, 'n_tokens_neox': 389, 'n_words': 107}