Skip to content

It is possible to create breaking policies #2798

@anth-volk

Description

@anth-volk

Do the following:

  • Go into the param editor
  • Find a param that has one consistent default value into perpetuity (e.g., IRS income tax bracket 1)
  • Click inside the value setter
  • Hit Enter

This will create a policy that is an exact duplicate of current law, but encode as below:

{"status": "ok", "message": null, "result": {"id": 42986, "country_id": "us", "label": null, "api_version": "0.601.1", "policy_json": {"gov.irs.income.bracket.rates.1": {}}, "policy_hash": "fRRAN4rD7YhzIQwrAV7nejrO8hHkpj6/xdR1R7gu8+0="}}

You'll note no value has been set for the param. I'm not sure how the API would execute this, but it may be breaking. At the least, any API behavior is unexpected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions