Merge branch 'agent-behavior-loader-developemen' into feat-strong-learning-implementation-with-data-contamination

This commit is contained in:
Daniel Alves Rösel
2026-01-31 10:08:59 +01:00
committed by GitHub
25 changed files with 1205 additions and 117 deletions

View File

@@ -18,8 +18,6 @@ try:
except ImportError:
lib_make_state_repr = None
lib_transition_histogram = None
print("lib no includable")
class BehaviorModel:
@@ -226,7 +224,7 @@ if __name__ == "__main__":
agent_model = AgentBehaviorModel(agent_dir)
agent_mdp = agent_model.build_MDP()
print(agent_mdp)
print(f"AGENT... Built MDP: {agent_mdp['num_states']} states, "
f"{sum(len(t) for t in agent_mdp['transitions'].values())} transitions")
if not agent_mdp['states']:
@@ -235,8 +233,6 @@ if __name__ == "__main__":
human_evt = aggregate_event_transitions(human_mdp)
agent_evt = aggregate_event_transitions(agent_mdp)
print(agent_evt)
common = set(human_evt.keys()) & set(agent_evt.keys())