You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Michael Joyce (JIRA)" <ji...@apache.org> on 2015/02/25 17:38:07 UTC

[jira] [Updated] (CLIMATE-588) Refactor config based evaluation layout

     [ https://issues.apache.org/jira/browse/CLIMATE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Joyce updated CLIMATE-588:
----------------------------------
    Description: 
At the moment all the config evaluation handling is done in a single file. Functionality needs to be separated out into multiple modules for easier integration into other components. At the moment there are three main categories that the code falls into (relevant methods are listed below).

h1. Configuration Parsing
* is_config_valid
* _config_is_well_formed
* _valid_minimal_config
* _contains_unary_metric
* _contains_binary_metric
* _valid_dataset_config_data
* _fetch_built_in_metrics

h1. Evaluation Create
* generate_evaluation_from_config
* _load_dataset
* _prepare_datasets_for_evaluation
* _load_metric

h1. Plot Handling
* plot_from_config
* _draw_contour_plot

h1. Tests

The relevant tests should be factored to match the new code layout as well.

  was:
At the moment all the config evaluation handling is done in a single file. Functionality needs to be separated out into multiple modules for easier integration into other components. At the moment there are three main categories that the code falls into (relevant methods are listed below).

h1. Configuration Parsing
* is_config_valid
* _config_is_well_formed
* _valid_minimal_config
* _contains_unary_metric
* _contains_binary_metric
* _valid_dataset_config_data
* _fetch_built_in_metrics

.h1 Evaluation Create
* generate_evaluation_from_config
* _load_dataset
* _prepare_datasets_for_evaluation
* _load_metric

.h1 Plot Handling
* plot_from_config
* _draw_contour_plot

.h1 Tests

The relevant tests should be factored to match the new code layout as well.


> Refactor config based evaluation layout
> ---------------------------------------
>
>                 Key: CLIMATE-588
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-588
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.5
>            Reporter: Michael Joyce
>            Assignee: Michael Joyce
>             Fix For: 1.0.0
>
>
> At the moment all the config evaluation handling is done in a single file. Functionality needs to be separated out into multiple modules for easier integration into other components. At the moment there are three main categories that the code falls into (relevant methods are listed below).
> h1. Configuration Parsing
> * is_config_valid
> * _config_is_well_formed
> * _valid_minimal_config
> * _contains_unary_metric
> * _contains_binary_metric
> * _valid_dataset_config_data
> * _fetch_built_in_metrics
> h1. Evaluation Create
> * generate_evaluation_from_config
> * _load_dataset
> * _prepare_datasets_for_evaluation
> * _load_metric
> h1. Plot Handling
> * plot_from_config
> * _draw_contour_plot
> h1. Tests
> The relevant tests should be factored to match the new code layout as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)