{'fraction_non_alphanumeric': 0.02598752598752599, 'fraction_numerical': 0.0010395010395010396, 'mean_word_length': 5.253246753246753, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Java Library Implementation of the Gold-Food Economic Model in Repast and MASON

We present a robust, extensible Java library for agent-based economic simulations. The economic model is based on the two-commodity, auction-mediated computational market described in Steiglitz et al. [8]. We implement the library on top of both the Repast and MASON agent-based Java toolkits, and compare these toolkits in terms of their feature set, documentation, execution speed, and flexibility. Though these toolkits represent distinct attempts at creating general-purpose environments for agent-based simulations, we find that their design differences are insignificant with respect to their use in our specific agent-based model, and we argue that Repast is the more appropriate toolkit for our application. Finally, we validate the correctness of our implementations by utilizing the libraries to reproduce the results from work based on the original simulation program.