```coffeescript
fs = require('fs')
_  = require('underscore')

class EdeIndicatorator
  constructor: (indicatorType, indicatorCode) ->
    indicatorType = indicatorType.toLowerCase()

    @indicatorDefinition = JSON.parse(
      fs.readFileSync("./definitions/#{indicatorType}_indicator_definitions.json", 'UTF8')
    )[indicatorCode]

  indicatorate: (data) ->
    unless data?
      throw new Error("No data to indicatorate")

    valueField = @indicatorDefinition.valueField

    outputRows = []

    for row in data
      value = row[valueField]
      continue unless value?
      text = @calculateIndicatorText(value)
      outputRows.push(_.extend(row, text: text))

    return outputRows

  calculateIndicatorText: (value) ->
    value = parseFloat(value)
    ranges = @indicatorDefinition.ranges

    for range in ranges
      return range.message if value > range.minValue

    return "Error: Value #{value} outside expected range"

module.exports = EdeIndicatorator
```

Fix relative path broken by module move
user
```coffeescript
fs = require('fs')
_  = require('underscore')

class EdeIndicatorator
  constructor: (indicatorType, indicatorCode) ->
    indicatorType = indicatorType.toLowerCase()

    @indicatorDefinition = JSON.parse(
      fs.readFileSync(
        "#{__dirname}/../definitions/#{indicatorType}_indicator_definitions.json", 'UTF8'
      )
    )[indicatorCode]

  indicatorate: (data) ->
    unless data?
      throw new Error("No data to indicatorate")

    valueField = @indicatorDefinition.valueField

    outputRows = []

    for row in data
      value = row[valueField]
      continue unless value?
      text = @calculateIndicatorText(value)
      outputRows.push(_.extend(row, text: text))

    return outputRows

  calculateIndicatorText: (value) ->
    value = parseFloat(value)
    ranges = @indicatorDefinition.ranges

    for range in ranges
      return range.message if value > range.minValue

    return "Error: Value #{value} outside expected range"

module.exports = EdeIndicatorator
```
assistant