You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: methods.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,3 +169,29 @@ Sensor codelets should colect data from MIMo and write into memory.
169
169
Processing codelet should process memory objects.
170
170
171
171
Actuator codelet should sent an action based on processed memory.
172
+
173
+
174
+
## CodeletCustomizationChallenges
175
+
176
+
### SensorialCodelet
177
+
-Add confidence and timestamp to sensor readings:GiveValueHolder more semantics: include reading, confidence, and timestamp in a JSONObject.
178
+
179
+
-Simulate noise and occasional dropouts:Allow parameters (noise, dropout probability) via constructor.
180
+
181
+
-InSimpleMind, instantiate sensors with distinct parameters (even without changing the topology).
182
+
183
+
### ProcessingCodelet
184
+
-Apply a moving average filter to smooth sensor values and normalize readings into a 0–1 evidence scale. Convert value to a filtered evidence field — we also keep the composite confidence.
185
+
186
+
-Introduce adaptive thresholds with hysteresis (stable labels).Produces a stable binary label (e.g., “HIGH”/“LOW”) from evidence.
187
+
188
+
-Generate explainable outputs (logs +JSON with multiple fields) and explore how processed evidence changes actuator behavior.
189
+
190
+
### ActuatorCodelet
191
+
-Use a confidence-weighted decision rule (evidence × confidence).Act only when processed confidence supports the decision.
192
+
193
+
-Implement a refractory period to avoid chattering. Avoid repeating identical actions in short time windows.
194
+
195
+
-Store structured action objects in memory (should_act, intensity, reason).Send dual outputs: internal memory + external channel (e.g., socket/log).Compare stable vs. unstable actuator behavior under noisy inputs.
0 commit comments