<commit_before>var AddAnalysisOptionModel = require('./add-analysis-option-model');

module.exports = function (analysisDefinitionNodeModel) {
  var models = [];

  var areaOfInfluence = _t('components.modals.add-analysis.options.sub-titles.area-of-influence');

  // Buffer
  models.push(
    new AddAnalysisOptionModel({
      title: _t('components.modals.add-analysis.options.buffer.title'),
      desc: _t('components.modals.add-analysis.options.buffer.desc'),
      sub_title: areaOfInfluence,
      node_attrs: {
        type: 'buffer',
        source_id: analysisDefinitionNodeModel.id,
        radio: 123
      }
    })
  );

  // Trade-area
  models.push(
    new AddAnalysisOptionModel({
      title: _t('components.modals.add-analysis.options.trade-area.title'),
      desc: _t('components.modals.add-analysis.options.trade-area.desc'),
      sub_title: areaOfInfluence,
      node_attrs: {
        type: 'trade-area',
        source_id: analysisDefinitionNodeModel.id,
        kind: 'drive',
        time: 300
      }
    })
  );

  return models;
};<commit_msg>Make the buffer radio be big enough to change points visually<commit_after>var AddAnalysisOptionModel = require('./add-analysis-option-model');

module.exports = function (analysisDefinitionNodeModel) {
  var models = [];

  var areaOfInfluence = _t('components.modals.add-analysis.options.sub-titles.area-of-influence');

  // Buffer
  models.push(
    new AddAnalysisOptionModel({
      title: _t('components.modals.add-analysis.options.buffer.title'),
      desc: _t('components.modals.add-analysis.options.buffer.desc'),
      sub_title: areaOfInfluence,
      node_attrs: {
        type: 'buffer',
        source_id: analysisDefinitionNodeModel.id,
        radio: 300
      }
    })
  );

  // Trade-area
  models.push(
    new AddAnalysisOptionModel({
      title: _t('components.modals.add-analysis.options.trade-area.title'),
      desc: _t('components.modals.add-analysis.options.trade-area.desc'),
      sub_title: areaOfInfluence,
      node_attrs: {
        type: 'trade-area',
        source_id: analysisDefinitionNodeModel.id,
        kind: 'drive',
        time: 300
      }
    })
  );

  return models;
};
{'fraction_non_alphanumeric': 0.1302367941712204, 'fraction_numerical': 0.00546448087431694, 'mean_word_length': 2.972875226039783, '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': '3115218', 'n_tokens_mistral': 702, 'n_tokens_neox': 666, 'n_words': 108}