Skip to content

Create CASMO5 plugin for fz parametric computing framework - #1

Merged
yannrichet-asnr merged 5 commits into
mainfrom
copilot/create-casmo-code-plugin
Nov 28, 2025
Merged

Create CASMO5 plugin for fz parametric computing framework#1
yannrichet-asnr merged 5 commits into
mainfrom
copilot/create-casmo-code-plugin

Conversation

Copilot AI commented Nov 12, 2025

Copy link
Copy Markdown

Summary

Restructured fz-casmo plugin to match the fz-Model template repository structure.

Changes Made

  • Renamed Localhost_CASMO.json to localhost_CASMO.json (matching template naming)
  • Moved input file to examples/CASMO/input.inp directory structure
  • Added tests/test_plugin.py test suite (matches template structure)
  • Added .github/workflows/ci.yml CI workflow
  • Added example_usage.ipynb Jupyter notebook
  • Simplified README.md to match template style
  • Updated .gitignore to match template
  • Updated LICENSE to match template
  • Fixed variable syntax to use ${variable} format (matching model config)
  • Removed unnecessary extra documentation files

Directory Structure (matches fz-Model template)

fz-casmo/
├── .fz/
│   ├── models/
│   │   └── CASMO.json
│   └── calculators/
│       ├── CASMO.sh
│       └── localhost_CASMO.json
├── .github/
│   └── workflows/
│       └── ci.yml
├── examples/
│   └── CASMO/
│       └── input.inp
├── tests/
│   └── test_plugin.py
├── example_usage.ipynb
├── README.md
├── LICENSE
└── .gitignore
Original prompt

Create a repository for casmo code plugin (see https://www.studsvik.com/key-offerings/nuclear-simulation-software/software-products/casmo5/). See https://github.com/Funz/fz to get details of new fz "model" plugins (mostly files in .fz/models/... and .fz/calculators/...)'
You can use sample output in https://ocw.mit.edu/courses/22-251-systems-analysis-of-the-nuclear-fuel-cycle-fall-2009/1c007f828ad2c16f40e4441efa2cecda_MIT22_251F09_exer01.pdf to get the output table of burnup, k-inf, m2, ...


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 12, 2025 13:47
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Copilot AI changed the title [WIP] Create repository for casmo code plugin Create CASMO5 plugin for fz parametric computing framework Nov 12, 2025
@yannrichet-asnr

Copy link
Copy Markdown
Member

@copilot try mimic as posisble the generic plugin template repo : funz/fz-Model

Copilot AI and others added 2 commits November 28, 2025 16:13
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>

Copilot AI commented Nov 28, 2025

Copy link
Copy Markdown
Author

@copilot try mimic as posisble the generic plugin template repo : funz/fz-Model

Restructured to match fz-Model template in commits 5cb8863 and f9e1b8c:

  • Directory structure: examples/CASMO/, tests/, .github/workflows/
  • Added test_plugin.py, ci.yml, and example_usage.ipynb
  • Renamed to localhost_CASMO.json (lowercase)
  • Fixed variable syntax to use ${var} format
  • Simplified README and removed extra docs

@yannrichet-asnr
yannrichet-asnr marked this pull request as ready for review November 28, 2025 16:21
@yannrichet-asnr
yannrichet-asnr merged commit a1dd968 into main Nov 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants