Skip to content

Refactor repository to match fz-Model template#2

Merged
yannrichet-asnr merged 5 commits into
mainfrom
copilot/refactor-repo-to-fz-model
Dec 5, 2025
Merged

Refactor repository to match fz-Model template#2
yannrichet-asnr merged 5 commits into
mainfrom
copilot/refactor-repo-to-fz-model

Conversation

Copilot AI commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Restructures the repository to align with the fz-Model template for consistency across Funz plugins.

Structure changes

  • samples/examples/ with model-specific subdirectories (Cristal-SnKeff/, Cristal-SnNormes/, Cristal-Pij-MC/, CRISTAL-AP2M5/)
  • example_usage.pyexample_usage.ipynb (Jupyter notebook)
  • Localhost_Cristal.jsonlocalhost_Cristal.json (lowercase convention)

New files

  • LICENSE (BSD 3-Clause)
  • tests/test_plugin.py - validates model files, calculator configs, scripts, and example files
  • .github/workflows/ci.yml - JSON validation, shell syntax check, fzi parsing test

Updated

  • README.md - restructured to match template format, updated paths
  • .gitignore - aligned with template
fz-cristal/
├── examples/
│   ├── Cristal-SnKeff/godiva1d.snk
│   ├── Cristal-SnNormes/godiva1d.snn
│   ├── Cristal-Pij-MC/godiva.mor
│   └── CRISTAL-AP2M5/godiva_model.xml
├── .fz/{models,calculators}/
├── tests/test_plugin.py
└── .github/workflows/ci.yml
Original prompt

refactor repository to match template fz-Model


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 5, 2025 13:50
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] Refactor repository to match template fz-Model Refactor repository to match fz-Model template Dec 5, 2025
Copilot AI requested a review from yannrichet-asnr December 5, 2025 13:56
@yannrichet-asnr yannrichet-asnr marked this pull request as ready for review December 5, 2025 14:27
@yannrichet-asnr yannrichet-asnr merged commit b45e6fd into main Dec 5, 2025
3 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