AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

AutoISF plugin prototype

Open ga-zelle opened this issue 1 month ago • 3 comments

According to the hint given in the earlier submission (#3206) this version has AutoISF completely contained in its own plugin.

It represents AutoSF version 3.0 as described in https://github.com/ga-zelle/autoISF/blob/A3.2.0.2_ai3.0/autoISF3.0_Quick_Guide.pdf. However, some functionality was not yet included, namely

  • no dedicated automations
  • no activity monitor based on step counting
  • no home screen adaptations

AutoISF version 3.0.1 is in its final testing. Once verfied it will be added and offers a reduced set of preferences and flatter preference menus.

The code was tested

  • by unit tests of its basic functions. The AutoISF function itself needs more work.
  • test json's were added to ReplayApsResuiltsTest. One test failed due to minor deviation of eventualBG 103 vs. 104. Most likely this was due to unfortunate rounding in determine basal code (js and kt versions).
  • observing test runs and verifying results against my AAPS emulator

A big thank you goes to @Philoul . Not only did he create the plugin structure but he also put in considerable work to align the architecture as much as possible with DynamicISF. This resulted in some code duplication but AutoISF is independent of the remaining code and can be tested and developed independantly.

ga-zelle avatar May 06 '24 22:05 ga-zelle