dominant-strategies / Quai-Macro-Model

GNU General Public License v3.0
1 stars 1 forks source link

Controller Testing Apparatus #265

Open SeanMcOwen opened 3 months ago

SeanMcOwen commented 3 months ago

WIP

Tasks

Resources/Commentary

SeanMcOwen commented 3 months ago

For this: i want to import it from where ever it is stored i want to know what its parameters are and to be able to set them or overwrite them i want to know what its inputs are (whats its domain space) so i can feed it a stream of signals i want to know what its outputs are (whats is codomain space) so i can write some simple metrics and/or make some simple viz

Each component has parameters_used, domain, and codomain as attributes on them. If I create an MSML function that essentially says print out component summary that nicely places them all in, would that work?

From Z: this is directionally correct. and yes i definitely need some way of declaring local wirings -- the main thing one does at this stage of testing is about wiring/rewiring adding things in and looking at how changes in wirings and changing inputs and outputs affects various signal (not so much specific values as relationships between those values).

SeanMcOwen commented 3 months ago

For this: the blocks are parameterized (that is their parameters are set or overriden locally)

SeanMcOwen commented 3 months ago

For this: some input signal sources (with appropriate domains) are declared

Some of these are just boundary action options but are not necessarily signals versus random distribution options

SeanMcOwen commented 3 months ago

For this:

I might be realizing that maybe you are asking for a local wiring builder? I.e. right now wirings get defined in that python file but if you wanted to do on the fly you would do it with multiple lines where you say like:

spaces = [...] spaces = component1(state, params, spaces) spaces = component2(state, params, spaces)

But are you saying you want a local temp kinda builder where you can say,

myWiring = [component1, component2, component3]

then that can be executed, for easier and cleaner GUI of building?

That would end up being an MSML issue that I could build, it's just that given weekly hours > 40 in this spike phase, that does end up taking away from Quai specific time so it is a question of whether I should divert time to there ya know?

SeanMcOwen commented 3 months ago

Maybe even for a summary of component thing add in the mermaid graph to be displayed if we are dealing with a wiring