compass.utilities.finalize.save_run_meta#

save_run_meta(dirs, tech, start_date, end_date, num_jurisdictions_searched, num_jurisdictions_found, total_cost, models)[source]#

Write out meta information about ordinance collection run

Parameters:
  • dirs (Directories) – Directories instance containing information about the output directories used for the run.

  • tech ({"wind", "solar"}) – Technology that was the target of the run.

  • start_date, end_date (datetime) – datetime instances representing the start and end dates, respectively.

  • num_jurisdictions_searched, num_jurisdictions_found (int) – Total number of jurisdictions that were searched and actually found, respectively.

  • total_cost (float) – Total cost of the processing, in $.

  • models (dict) – Dictionary mapping task names (from LLMTasks) to OpenAIConfig instances used for the run.

Returns:

run_time (float) – Total processing run-time, in seconds.