A computing system for providing to a plurality of subjects medication dosing guidance recommendations for a dose of insulin medicament to achieve a predetermined blood glucose target range of a subject to treat a diabetes mellitus condition using a multi-function dose guidance algorithm comprising a plurality of functions, wherein each respective function in the plurality of functions is associated with a corresponding container class, and wherein the computing system comprises one or more processors and a memory, the memory comprising: - instructions that, when executed by the one or more processors, perform a method responsive to receiving a medication dose guidance request from a subject in the plurality of subjects, the method comprising the steps of: (i) identifying a plurality of function requests required to satisfy the medication dose guidance request, wherein a function request in the plurality of function requests is executable by a corresponding function in the plurality of functions, (ii) using an encoder module to embed, for each respective function request in the plurality of function requests, the respective function request and associated input data into a container of the container class associated with the function corresponding to the respective function request, (iii) collecting, for each respective function request in the plurality of function requests, a function result from the container that executed the respective function request, thereby obtaining a plurality of function results, and (iv) providing a medication dose guidance recommendation using the plurality of function results, wherein: - a composite resource requirement for the containers of a given container class is evaluated on a recurring basis, - when the composite resource requirement for the containers of the given container class satisfies a resource allocation threshold associated with the given container class, one or more additional containers of the given container class is added and permitted to accept function requests from the encoder module that match the given container class, - when the composite resource requirement for the containers of the given container class satisfies a second resource allocation threshold associated with the given container class, one or more containers of the given container class is removed and no longer permitted to accept function requests from the encoder module, - the medication dose guidance request is for a dose of insulin medicament, and - the dose of an insulin medicament is to achieve a predetermined blood glucose target range of a subject to treat a diabetes mellitus condition. - instructions that, when executed by the one or more processors, perform a method responsive to receiving a medication dose guidance request from a subject in the plurality of subjects, the method comprising the steps of: (i) identifying a plurality of function requests required to satisfy the medication dose guidance request, wherein a function request in the plurality of function requests is executable by a corresponding function in the plurality of functions, (ii) using an encoder module to embed, for each respective function request in the plurality of function requests, the respective function request and associated input data into a container of the container class associated with the function corresponding to the respective function request, (iii) collecting, for each respective function request in the plurality of function requests, a function result from the container that executed the respective function request, thereby obtaining a plurality of function results, and (iv) providing a medication dose guidance recommendation using the plurality of function results, (i) identifying a plurality of function requests required to satisfy the medication dose guidance request, wherein a function request in the plurality of function requests is executable by a corresponding function in the plurality of functions, (ii) using an encoder module to embed, for each respective function request in the plurality of function requests, the respective function request and associated input data into a container of the container class associated with the function corresponding to the respective function request, (iii) collecting, for each respective function request in the plurality of function requests, a function result from the container that executed the respective function request, thereby obtaining a plurality of function results, and (iv) providing a medication dose guidance recommendation using the plurality of function results, - a composite resource requirement for the containers of a given container class is evaluated on a recurring basis, - when the composite resource requirement for the containers of the given container class satisfies a resource allocation threshold associated with the given container class, one or more additional containers of the given container class is added and permitted to accept function requests from the encoder module that match the given container class, - when the composite resource requirement for the containers of the given container class satisfies a second resource allocation threshold associated with the given container class, one or more containers of the given container class is removed and no longer permitted to accept function requests from the encoder module, - the medication dose guidance request is for a dose of insulin medicament, and - the dose of an insulin medicament is to achieve a predetermined blood glucose target range of a subject to treat a diabetes mellitus condition.