llm_simpy

Research Compendium for exploring the ability of LLMs to generate SimPy models and streamlit interfaces.

https://github.com/pythonhealthdatascience/llm_simpy

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary
Last synced: 4 months ago · JSON representation

Repository

Research Compendium for exploring the ability of LLMs to generate SimPy models and streamlit interfaces.

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created about 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.md

Licence: MIT Python 3.10+ DOI

Research Compendium: Replicating Simulations in Python using Generative AI

This repository serves as a research compendium for the paper:

Monks, T., Harper, A., & Heather, A. (2025). Unlocking the Potential of Past Research: Using Generative AI to Reconstruct Healthcare Simulation Models. Preprint. https://doi.org/10.48550/arXiv.2503.21646.

A research compendium is collection of all the digital materials relevant to the study. In this case, it includes a description of the aims and models, as well the STRESS reports for each model, the full model code and testing, logs of all the prompts used and experiences working with the LLMs, analysis of the results, and more!

This has been structured into a book which is hosted on GitHub pages and can be viewed at: https://pythonhealthdatascience.github.io/llm_simpy

The final models and their streamlit applications can be viewed at: https://github.com/pythonhealthdatascience/llmsimpymodels


👥 Authors

  • Thomas Monks    ORCID: Monks

  • Alison Harper    ORCID: Harper

  • Amy Heather    ORCID: Heather


🌐 Creating the environment

The project uses conda to manage dependencies. Navigate your terminal to the directory containing the code

conda env create -f binder/environment.yml

This will create a conda environment called gen_simpy. To activate:

conda activate gen_simpy


🖥️ Viewing the jupyter book locally

Once in the gen_simpy environment, navigate to the top level directory of the code repository in your terminal and issue the following command:

jb build .

This will build the HTML book locally on your machine. The terminal will display a URL link that you can use to point your browser at the HTML.


📝 Citation

Please cite the archived repository:

bibtex @software{llm_simpy, author = {Monks, Thomas and Harper, Alison and Heather, Amy}, title = {Using Large Language Models to support researchers reproduce and reuse unpublished health care discrete-event simulation computer models: a feasibility and pilot study in Python }, month = mar, year = 2025, publisher = {Zenodo}, version = {v0.1.0}, doi = {10.5281/zenodo.15090961}, url = {https://doi.org/10.5281/zenodo.15090961}, }

You can also cite this GitHub repository as:

Thomas Monks, Alison Harper, and Amy Heather. Using Large Language Models to support researchers reproduce and reuse unpublished health care discrete-event simulation computer models: a feasibility and pilot study in Python. https://github.com/pythonhealthdatascience/llm_simpy.

A CITATION.cff file is also provided.


Funding

This project was developed as part of the project STARS: Sharing Tools and Artefacts for Reproducible Simulations. It is supported by the Medical Research Council [grant number MR/Z503915/1].

Owner

  • Name: pythonhealthdatascience
  • Login: pythonhealthdatascience
  • Kind: organization

GitHub Events

Total
  • Issues event: 2
  • Delete event: 7
  • Issue comment event: 2
  • Push event: 10
  • Pull request event: 5
  • Create event: 3
Last Year
  • Issues event: 2
  • Delete event: 7
  • Issue comment event: 2
  • Push event: 10
  • Pull request event: 5
  • Create event: 3

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 1
  • Total pull requests: 13
  • Average time to close issues: 25 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.15
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 10
  • Average time to close issues: 25 days
  • Average time to close pull requests: 1 day
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.2
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • amyheather (3)
Pull Request Authors
  • TomMonks (10)
  • amyheather (6)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels

Dependencies

binder/environment.yml pypi
  • pygount ==1.8.0