Script
The script is designed to analyze and visualize data from an agent-based simulation, focusing on metrics such as alignment, coherence, cooperation, and environmental stress. It includes preprocessing steps to clean the dataset, apply jitter to reduce clustering effects, and subsample for clarity. The script generates pairplots to explore relationships between key variables, highlights patterns of collective behavior, and examines phase transitions in the system. Additionally, it provides tools to create violin plots for visualizing distributions and captures insights into the emergent dynamics of artificial agents under varying environmental and systemic conditions. This script is particularly useful for studying adaptive behaviors and alignment in simulated societies, offering parallels to real-world AI systems