<commit_before>import { action, observable } from 'mobx'
import { GAS_PRICE } from '../utils/constants'
import { gweiToWei, weiToGwei } from '../utils/utils'
import { gasPriceValues } from '../utils/api'

class GasPriceStore {
  @observable slow
  @observable standard
  @observable fast
  @observable instant
  @observable custom
  @observable blockNumber
  @observable blockTime
  @observable health

  constructor () {
    this.slow = {
      id: GAS_PRICE.SLOW.ID,
      price: GAS_PRICE.SLOW.PRICE,
    }
    this.slow.description = function () {
      return `${GAS_PRICE.SLOW.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }

    this.standard = {
      id: GAS_PRICE.NORMAL.ID,
      price: GAS_PRICE.NORMAL.PRICE,
    }
    this.standard.description = function () {
      return `${GAS_PRICE.NORMAL.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }

    this.fast = {
      id: GAS_PRICE.FAST.ID,
      price: GAS_PRICE.FAST.PRICE,
    }
    this.fast.description = function () {
      return `${GAS_PRICE.FAST.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }<commit_msg>Update GasPriceStore attributes<commit_after>import { action, observable } from 'mobx'
import { GAS_PRICE } from '../utils/constants'
import { gweiToWei, weiToGwei } from '../utils/utils'
import { gasPriceValues } from '../utils/api'

class GasPriceStore {
  @observable slow
  @observable standard
  @observable fast
  @observable instant
  @observable custom
  @observable block_number
  @observable block_time
  @observable health

  constructor () {
    this.slow = {
      id: GAS_PRICE.SLOW.ID,
      price: GAS_PRICE.SLOW.PRICE,
    }
    this.slow.description = function () {
      return `${GAS_PRICE.SLOW.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }

    this.standard = {
      id: GAS_PRICE.NORMAL.ID,
      price: GAS_PRICE.NORMAL.PRICE,
    }
    this.standard.description = function () {
      return `${GAS_PRICE.NORMAL.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }

    this.fast = {
      id: GAS_PRICE.FAST.ID,
      price: GAS_PRICE.FAST.PRICE,
    }
    this.fast.description = function () {
      return `${GAS_PRICE.FAST.DESCRIPTION} (${weiToGwei(this.price)} GWei)`
    }
{'fraction_non_alphanumeric': 0.13387978142076504, 'fraction_numerical': 0.0, 'mean_word_length': 3.091247672253259, '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': '3487939', 'n_tokens_mistral': 795, 'n_tokens_neox': 795, 'n_words': 142}