Development of OCR-D processors still has and will likely continue to have a fast pace. Often however, improvements in a processor may also break existing workflows. Especially when many different workflow configurations are flying around, it is difficult to keep track manually and adapt them along with component updates.
As a mitigation, workflow-configuration should start supporting version checking in configurations:
When using the static pattern rule, introduce an optional variable VERSION to annotate workflows with the release number at the time of writing the configuration (i.e. when guaranteed to work correctly).
When running a workflow step with the static pattern rule, prior to the actual processing, compare the TOOL's current version with the annotated VERSION and print a warning when the major number is higher.
Seeing such a warning, users can then go and look for the damage done, and either downgrade the processor, or update the workflow configuration (perhaps parameters or dependents, but at least VERSION).
Development of OCR-D processors still has and will likely continue to have a fast pace. Often however, improvements in a processor may also break existing workflows. Especially when many different workflow configurations are flying around, it is difficult to keep track manually and adapt them along with component updates.
As a mitigation,
workflow-configuration
should start supporting version checking in configurations:VERSION
to annotate workflows with the release number at the time of writing the configuration (i.e. when guaranteed to work correctly).TOOL
's current version with the annotatedVERSION
and print a warning when the major number is higher.Seeing such a warning, users can then go and look for the damage done, and either downgrade the processor, or update the workflow configuration (perhaps parameters or dependents, but at least
VERSION
).