message: some notest in main
diff: @@ -38,17 +38,18 @@ def run_reward_program(
  Run a reward program as defined in the parameters file
  """
  parameters = json.load(open(parameters_file))
  - run_parameters = parameters["run"]
  # TODO: query smart contract for blob
  rule = blob_to_rule(parameters)
  - results_df = rule.run(run_parameters["payment_cycle"])
  + results_df = rule.run(payment_cycle)
  payment_list = rule.df_to_payment_list(results_df, reward_program_id)
  tree = PaymentTree(payment_list.to_dict("records"), payment_cycle)
  table = tree.as_arrow(payment_cycle)
  pq.write_table(table, Path(output_location) / "results.parquet")
  + # TODO: write s3 rule config
  +
  def cli():
  typer.run(run_reward_program)
  