This is a simple pair of scripts to help debug/visualize working-memory activation values. The first script (gen_wma.cpp) runs a Soar agent for a fixed number of decisions, outputting working memory at each decision to a specially named file. The second script (aggregate_wma.php) takes these files and produces a CSV file where every working-memory element (columns) has an activation value for every decision (rows). This allows for easy graphing of activation in Excel, for instance.

...