Summary
This package currently contains three workflows: QualificationWorkflow, MeanModelWorkflow, and PopulationWorkflow.
MeanModelWorkflow and PopulationWorkflow will be migrated to the ospsuite reporting framework (package: ospsuite.ReportingFramework). For these two workflows we need proper lifecycle management including a reliable stop operation.
QualificationWorkflow currently uses plots based on TLF. All these plots must be replaced by equivalents from ospsuite.plots. Some plot functions live in ospsuite-R and call TLF internally; those helpers must replaced to use the ospsuite-R plotfunction which use ospsuite.plots.
Goals
- Add lifecycle management with a
stop action for MeanModelWorkflow and PopulationWorkflow.
- Replace all
TLF-based plots used by QualificationWorkflow with ospsuite.plots equivalents.
- Replace plot helper functions in
ospsuite-R that depend on TLF so they use ospsuite.plots.
- Provide tests and documentation for the changes.
Scope
- Replace plotting code only for
QualificationWorkflow (no change to the workflow logic unless required to support new plotting API).
- Implement lifecycle
stop in MeanModelWorkflow and PopulationWorkflow so they can be cleanly halted when replaced by ospsuite reporting.
- Update helper functions in
ospsuite.R used by other parts of the package.
Tasks (checklist)
Summary
This package currently contains three workflows:
QualificationWorkflow,MeanModelWorkflow, andPopulationWorkflow.MeanModelWorkflowandPopulationWorkflowwill be migrated to the ospsuite reporting framework (package:ospsuite.ReportingFramework). For these two workflows we need proper lifecycle management including a reliablestopoperation.QualificationWorkflowcurrently uses plots based onTLF. All these plots must be replaced by equivalents fromospsuite.plots. Some plot functions live inospsuite-Rand callTLFinternally; those helpers must replaced to use theospsuite-Rplotfunction which useospsuite.plots.Goals
stopaction forMeanModelWorkflowandPopulationWorkflow.TLF-based plots used byQualificationWorkflowwithospsuite.plotsequivalents.ospsuite-Rthat depend onTLFso they useospsuite.plots.Scope
QualificationWorkflow(no change to the workflow logic unless required to support new plotting API).stopinMeanModelWorkflowandPopulationWorkflowso they can be cleanly halted when replaced by ospsuite reporting.ospsuite.Rused by other parts of the package.Tasks (checklist)
stopoperation that halts in-progress computation and releases resourcesstop(simulate long-running tasks, resource cleanup)PopulationWorkflowstopoperation and tests (same as above)QualificationWorkflowthat callTLFospsuite.plotsequivalents (or required transformations)ospsuite.Rhelper plot functionsTLFcalls withospsuite.plotsor refactor to delegate toospsuite.plotsTLFcalls inQualificationWorkflowplots withospsuite.plotsMeanModelWorkflowandPopulationWorkfloware handled via the ospsuite reporting framework and support lifecyclestopQualificationWorkflownow usesospsuite.plots