BetterRules / RapuTure

Web site for exploring Legislation as Code rules

Home Page:https://www.rules.nz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetch Openfisca YAML tests and add to Raputure DB

mischa-s opened this issue · comments

  • rake task (unique key = name)
    • new
    • updated
    • deleted
  • basic fetch service
  • Link scenarios and variables
    • map over each bottom layer of YAML inputs and outputs
    • check if it exists as a variable
    • collect all variable ids
    • add to join table variable-scenarios
  • change rubocop Metrics/MethodLength to 20
  • Add rspec tests for scenarios service

Note: We will have duplicate names in open fisca -- but we shouldn't. There's an implied task here of finding incorrect and duplicate test names and fixing them in openfisca.