Use confidence for perceived attribution strength
This commit is contained in:
parent
ddf7898ea2
commit
cc2715643a
8 changed files with 15 additions and 23 deletions
|
|
@ -53,14 +53,15 @@ def validate_inferred_state_variable(obj: Any, path: str) -> None:
|
|||
require(isinstance(obj, dict), f"{path} must be an object")
|
||||
require_keys(
|
||||
obj,
|
||||
["observed_activation", "attributed_disposition", "confidence", "correction_resistance"],
|
||||
["observed_activation", "attributed_disposition", "confidence"],
|
||||
path,
|
||||
)
|
||||
require("mean" not in obj, f"{path}.mean belongs in canonical state, not perceived state")
|
||||
require("plasticity" not in obj, f"{path}.plasticity belongs in canonical state, not perceived state")
|
||||
require("current_activation" not in obj, f"{path}.current_activation should be observed_activation in perceived state")
|
||||
require("certainty" not in obj, f"{path}.certainty should be named confidence in perceived/inferred state")
|
||||
for key in ["observed_activation", "attributed_disposition", "confidence", "correction_resistance"]:
|
||||
require("correction_resistance" not in obj, f"{path}.correction_resistance should be represented through confidence drivers")
|
||||
for key in ["observed_activation", "attributed_disposition", "confidence"]:
|
||||
require_0_1(obj[key], f"{path}.{key}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue