<commit_before>import { all, spread } from 'axios';
import uniq from 'lodash/uniq';

import { fetchVIIRSAlerts, fetchVIIRSLatest } from 'services/analysis-cached';

import getWidgetProps from './selectors';

export default {
  widget: 'firesAlertsCumulative',
  title: 'Cumulative Fire Alerts in {location}',
  large: true,
  categories: ['summary', 'fires'],
  settingsConfig: [
    {
      key: 'forestType',
      label: 'Forest Type',
      type: 'select',
      placeholder: 'All tree cover',
      clearable: true
    },
    {
      key: 'landCategory',
      label: 'Land Category',
      type: 'select',
      placeholder: 'All categories',
      clearable: true,
      border: true
    },
    {
      key: 'dataset',
      label: 'fires dataset',
      type: 'select'
    },
    {
      key: 'compareYear',
      label: 'Compare with the same period in',
      placeholder: 'None',
      type: 'compare-select',
      clearable: true,
      border: true
    },
    {
      key: 'confidence',
      label: 'Confidence level',
      type: 'select',
      clearable: false,
      border: true,
      options: [{ label: 'All', value: '' }, { label: 'High', value: 'h' }]
    }
  ],<commit_msg>Add info icons to confidence in cumulative widget<commit_after>import { all, spread } from 'axios';
import uniq from 'lodash/uniq';

import { fetchVIIRSAlerts, fetchVIIRSLatest } from 'services/analysis-cached';

import getWidgetProps from './selectors';

export default {
  widget: 'firesAlertsCumulative',
  title: 'Cumulative Fire Alerts in {location}',
  large: true,
  categories: ['summary', 'fires'],
  settingsConfig: [
    {
      key: 'forestType',
      label: 'Forest Type',
      type: 'select',
      placeholder: 'All tree cover',
      clearable: true
    },
    {
      key: 'landCategory',
      label: 'Land Category',
      type: 'select',
      placeholder: 'All categories',
      clearable: true,
      border: true
    },
    {
      key: 'dataset',
      label: 'fires dataset',
      type: 'select'
    },
    {
      key: 'compareYear',
      label: 'Compare with the same period in',
      placeholder: 'None',
      type: 'compare-select',
      clearable: true,
      border: true
    },
    {
      key: 'confidence',
      label: 'Confidence level',
      type: 'select',
      clearable: false
    }
  ],
{'fraction_non_alphanumeric': 0.13576017130620985, 'fraction_numerical': 0.0, 'mean_word_length': 2.512781954887218, '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': '4334449', 'n_tokens_mistral': 730, 'n_tokens_neox': 711, 'n_words': 205}