-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to duplicate scenarios #397
Comments
Extension: mixed rendering (#397)
There is a problem that needs to be clarified for this feature. If in the original scenario, there is some data nodes that has scope <= SCENARIO, we are going to need to duplicate the data.
Please let me know what you think @FlorianJacta |
I propose to reformulate the description of this ticket. Please let me know what you think. What would that feature address Example: Scenario 1: A --> T1 --> B ----> T2 --> D C --/ Scenario 2 as a duplication: A' --> T1 --> B' ----> T2 --> D' C' --/ At the scenario 2 creation, we want the following
Description of the ideal solution |
The objective of this issue is to implement both a technical and functional feature. Functional: From the user's perspective, duplicating a scenario is a logical and valuable action. After conducting an extensive analysis and modifying parameters X, Y, and Z, I run my code to observe the outcomes. If I want to see the impact of altering part of Y, I should be able to resubmit without redoing all my previous work. This process mirrors a common and intuitive workflow, akin to a "Save As" function that allows you to save a current scenario or results and then proceed with further analysis. Technical: We aim to support this workflow while maintaining performance and user-friendliness. With a "Save As" option, it's important that the results aren't lost in the new scenario, and there should be a system to skip redundant operations since this is essentially duplicating a run that's already been completed. I recognize the potential challenges with SQL read/write operations in this context. I don't have a definitive solution at this moment. Perhaps allowing users to select which data nodes to copy could help, but that might complicate the natural workflow I initially envisioned. Ultimately, this feature is more akin to a "Save As" function than anything else. |
@FlorianJacta Thanks, that is more clear. |
Please assign me. I want to work on it |
@AnujSaha0111 Thank you for your help. You are assigned! |
I made a PR related to this issue 7 hours ago, but it is failing, can you please check it |
New Quest!A new Quest has been launched in @Avaiga’s repo. Some loot has been stashed in this issue to reward the solver! 🗡 Comment ⚔️ When you submit a PR, comment Questions? Check out the docs. |
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines. |
This issue has been unassigned automatically because it has been marked as "🥶Waiting for contributor" for more than 14 days with no activity. |
The "Save As" option sounds like the However, the problem with data node new paths and database still persists |
@jrobinAV Should we copy a new scenario by using the current scenario but just save it as a different one under a new id? |
@jrobinAV @FlorianJacta
I have several questions regarding this:
|
Good questions! We want to create new data nodes only for scenario-scoped data nodes. |
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines. |
What would that feature address
I want to duplicate a scenario. That means creating a new scenario and the related entities. The data nodes of the new scenario should have already been written and populated with the same data as the first scenario.
Motivations:
The possibility of starting with a scenario already set up represents an important time saving when many parameters or input data must be set before running a scenario.
When output data nodes of long tasks (for instance, formatting, preprocessing, or training) are already computed in a scenario, we want to duplicate the data and benefit from the task-skipping feature to save computation and time.
Description of the ideal solution
A new Scenario API should be exposed to duplicate a scenario. It should accept the new name and an optional list of data nodes to copy (by default all the scenario-scoped data nodes should be copied)
The text was updated successfully, but these errors were encountered: