-
Notifications
You must be signed in to change notification settings - Fork 1
Description
In my opinion, the current approach for variable naming is a little confusing.
For each input variable of the notebook, an informative name will be generated for the workflow as follows.
The name will start with:
- “I” if it is provided by the user and is not a variable with a primitive type (since those become parameters as explained above);
- “P” if the variable is a parameter;
- “D” if it is already a file in the notebook;
- “V” if the variable is passed from previous cells;
- "O": lacking mention and explanation about it in the paper (see figure below).
The name will then include the ordering number, and finally the name of the variable in the notebook.
For example, the third user-provided input for the fifth notebook cell would be named I.00003.c5.

My suggestion is to use the name of the variable in the notebook and only add a number to this name if there is another variable with the same name (i.e., data will become data2, since there is already a variable named data in the workflow).
Since we are assuming that NiW will create the workflow template automatically, I think the use of "I", "P", "V", "O" and etc, starting the variable name is no longer needed.
Is there any scenario/case that would require the ordering number added to the variable name?