Skip to content

Commit

Permalink
docs(builtins): fix aggregation-method description in the plugins r…
Browse files Browse the repository at this point in the history
…eadme files
  • Loading branch information
manushak committed Sep 12, 2024
1 parent 02447e5 commit 2cd92a8
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 51 deletions.
9 changes: 6 additions & 3 deletions src/if-run/builtins/coefficient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ of the parameters of the inputs and outputs

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe parameters of the `output-parameter` of the config. Each parameter has:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)
- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.

### Mapping

Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/copy-param/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameters of the `to` of the config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/csv-lookup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameters in the `output` of the config block. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/divide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameter of the `denominator` of the global config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/exponent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameter of the `output-parameter` of the config. The parameter has the following attributes::
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/interpolation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameters of the `output-parameter` of the config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/mock-observations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the output parameters. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/multiply/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameter of the `output-parameter` of the config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/regex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameters of the `output` of the config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/sci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the `sci` parameter which has the following attributes:

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the output parameter. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Inputs

The parameters included in the `inputs` field in the `manifest` depend entirely on the plugin itself. A typical plugin might expect the following common data to be provided as `inputs`:
Expand Down
10 changes: 6 additions & 4 deletions src/if-run/builtins/subtract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ The `parameter-metadata` section contains information about `description`, `unit

- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `outputs`: describe the parameter of the `output-parameter` of the config. The parameter has the following attributes:
- `description`: description of the parameter
- `unit`: unit of the parameter
- `aggregation-method`: aggregation method of the parameter (it can be `sum`, `avg` or `none`)

- `aggregation-method`: aggregation method object of the parameter
- `time`: this value is used for `horizontal` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
- `component`: this value is used for `vertical` aggregation. It can be of the following values: `sum`, `avg`, `copy`, or `none`.
### Mapping

The `mapping` block is an optional block. It is added in the plugin section and allows the plugin to receive a parameter from the input with a different name than the one the plugin uses for data manipulation. The parameter with the mapped name will not appear in the outputs. It also maps the output parameter of the plugin. The structure of the `mapping` block is:
Expand Down
Loading

0 comments on commit 2cd92a8

Please sign in to comment.