This code encapsulates the ModelRunner tiling logic inside a new TilingStrategy abstraction. The baseline implementation has been packaged inside VariableTileTilingStrategy and integrated into the ModelRunner class defined in app.py. There should be no functional differences introduced with this PR and the current suite of integration tests have been run successfully without update. This change sets the stage for future updates to the tiling strategy to deliver fixed tile sizes to the model endpoints.
Checklist
Before you submit a pull request, please make sure you have the following:
[x] Code changes are compact and well-structured to facilitate easy review
[x] Changes are documented in the README.md and other relevant documentation pages
[x] PR title and description accurately reflect the changes and are detailed enough for historical tracking
[x] PR contains tests that cover all new code and the code has been manual tested
[x] All new dependencies are declared (if any), and no unnecessary libraries are added
[x] Performance impacts (if any) of the changes are evaluated and documented
[x] Security implications of the changes (if any) are reviewed and addressed
This code encapsulates the ModelRunner tiling logic inside a new TilingStrategy abstraction. The baseline implementation has been packaged inside VariableTileTilingStrategy and integrated into the ModelRunner class defined in app.py. There should be no functional differences introduced with this PR and the current suite of integration tests have been run successfully without update. This change sets the stage for future updates to the tiling strategy to deliver fixed tile sizes to the model endpoints.
Checklist
Before you submit a pull request, please make sure you have the following:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.