Skip to content

ENH: Cleaned up infrastructure and documentation#80

Merged
aylward merged 2 commits into
Project-MONAI:mainfrom
aylward:cleanup
Jul 7, 2026
Merged

ENH: Cleaned up infrastructure and documentation#80
aylward merged 2 commits into
Project-MONAI:mainfrom
aylward:cleanup

Conversation

@aylward

@aylward aylward commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Documentation
    • Substantially refreshed README with a shorter overview, quick start, and updated disclaimers.
    • Reworked docs navigation to prioritize tutorials over examples; updated quickstart/installation/FAQ accordingly.
    • Expanded architecture documentation and tutorial pages with more “inner API usage” content and preview placeholders.
  • Packaging / Release
    • Updated included documentation assets in the package and extended Git LFS coverage for GIFs.
  • CI / Tooling
    • Enabled Git LFS during docs builds.
  • Chores
    • Removed obsolete repo/editor/release-rule files and cleared changelog/examples pages.

Copilot AI review requested due to automatic review settings July 7, 2026 15:11
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9ad3bd30-db99-4d4e-aac0-590ffe6f07f4

📥 Commits

Reviewing files that changed from the base of the PR and between 067bfb2 and ea2f1cb.

📒 Files selected for processing (4)
  • .github/workflows/docs.yml
  • docs/tutorials.rst
  • src/physiotwin4d/__init__.py
  • statistics.md
✅ Files skipped from review due to trivial changes (1)
  • src/physiotwin4d/init.py
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/tutorials.rst
  • statistics.md

Walkthrough

This PR reorients repository guidance, package metadata, docs, tutorials, navigation, and reporting toward personalized physiological digital twins from 3D medical images. It also removes the release guide and several local config/document files, updates Git LFS handling for GIF assets, and refreshes project statistics.

Changes

Documentation and guidance rebrand

Layer / File(s) Summary
Core identity and instructions
.agents/agents/implementation.md, AGENTS.md, CLAUDE.md, .cursor/rules/project-standards.mdc, .vscode/settings.json, pyproject.toml, src/physiotwin4d/__init__.py, docs/cli_scripts/overview.rst, docs/developer/architecture.rst, docs/developer/extending.rst
Repository guidance, package metadata, and module/docstring text are rewritten to use the new physiological digital twin framing, along with updated environment, testing, and data-convention instructions.
README rewrite
README.md
The README is condensed into product overview, documentation, highlights, installation, quick start, contributing, and license sections.
Architecture and tutorials
docs/architecture.rst, docs/tutorials.rst
Architecture docs add workflow coverage, data-flow branches, component boundaries, and PhysicsNeMo surrogate workflows; tutorials add preview placeholders and inner-API walkthroughs for workflows and checkpoints.
Navigation and release docs
docs/README.md, docs/faq.rst, docs/index.rst, docs/installation.rst, docs/quickstart.rst, MANIFEST.in, docs/conf.py, docs/contributing.rst, docs/PYPI_RELEASE_GUIDE.md, docs/changelog.rst, docs/examples.rst, .github/workflows/docs.yml, .gitattributes
Docs navigation and release references are redirected from examples to tutorials, release-guide references are removed, release-guide packaging and Sphinx exclusions are updated, Git LFS is enabled for docs assets, and GIF asset handling is added.
Statistics refresh
statistics.md
The report metrics, dependency and infrastructure tables, test buckets, documentation counts, summary text, and timestamp are refreshed.

Estimated code review effort: 3 (Moderate) | ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the PR’s focus on infrastructure and documentation cleanup.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes the project’s “what is PhysioTwin4D” messaging and streamlines repository/docs infrastructure by removing redundant docs pages and consolidating “examples” guidance into the tutorials-centric documentation site.

Changes:

  • Updates project description across README, package docstring, pyproject.toml, and various docs pages to reflect the “physiological digital twins” framing.
  • Consolidates documentation navigation by removing docs/examples.rst and re-pointing “examples” references to docs/tutorials.rst.
  • Cleans up infra/docs artifacts (removes PyPI release guide doc, drops editor-specific configs, adds LFS tracking for tutorial preview GIF placeholders).

Reviewed changes

Copilot reviewed 27 out of 27 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
statistics.md Updates project stats and narrative to match current scope and repo layout.
src/physiotwin4d/__init__.py Updates package-level description docstring to new framing.
README.md Replaces long README with a tighter overview pointing to hosted docs.
pyproject.toml Updates project.description to match the new framing.
MANIFEST.in Removes packaging include for the removed PyPI release guide doc.
docs/tutorials.rst Expands tutorial cards with “Inner API usage” and adds preview placeholders.
docs/README.md Updates docs tree description to treat tutorials as canonical examples.
docs/quickstart.rst Repoints “examples” navigation to tutorials.
docs/PYPI_RELEASE_GUIDE.md Removes the PyPI release guide document.
docs/installation.rst Repoints “examples” navigation to tutorials.
docs/index.rst Updates landing page messaging and removes examples/changelog entries.
docs/faq.rst Updates “What is PhysioTwin4D?” answer and repoints examples link to tutorials.
docs/examples.rst Removes the examples page (content now conceptually covered by tutorials/docs).
docs/developer/extending.rst Updates positioning language in developer docs.
docs/developer/architecture.rst Updates architecture overview framing language.
docs/contributing.rst Removes references to the deleted PyPI release guide.
docs/conf.py Removes exclusion of PYPI_RELEASE_GUIDE.md since the doc is deleted.
docs/cli_scripts/overview.rst Updates CLI overview framing language.
docs/changelog.rst Removes the changelog page.
docs/assets/example.gif Adds an LFS-managed placeholder asset referenced by tutorials.
docs/architecture.rst Updates architecture narrative and expands workflow list/relationships.
CLAUDE.md Removes some Claude-specific guidance that duplicates AGENTS.md; updates conventions.
AGENTS.md Updates project description and some environment guidance; clarifies labelmap vs mask terminology.
.vscode/settings.json Removes editor settings file from the repo.
.gitattributes Adds Git LFS tracking for docs/assets/*.gif.
.cursor/rules/project-standards.mdc Removes Cursor rules file from the repo.
.agents/agents/implementation.md Updates the implementation agent’s project description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/tutorials.rst
Comment on lines +111 to +122
Preview
.. figure:: assets/example.gif
:alt: Tutorial 1 input preview (placeholder)
:width: 45%

Input (placeholder — a real capture lands in a follow-up PR)

.. figure:: assets/example.gif
:alt: Tutorial 1 output preview (placeholder)
:width: 45%

Output (placeholder — a real capture lands in a follow-up PR)
Comment thread docs/assets/example.gif
Comment on lines +1 to +3
version https://git-lfs.github.com/spec/v1
oid sha256:8b434d88c3681856ef855b6f9d9b9fc9d3096855e955b543f25494db36f48329
size 1196946
Comment thread src/physiotwin4d/__init__.py Outdated
Comment on lines +2 to +3
PhysioTwin4D - Methods, workflows, tutorials, and CLI for creating
personalized physiological digital twins.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
CLAUDE.md (1)

71-73: 📐 Maintainability & Code Quality | 🔵 Trivial

Keep the data-convention bullets aligned with the canonical contract.

The labelmap and transform wording drifts from AGENTS.md: labelmaps are integer-label ITK images, and transforms are composite ITK transforms stored in compressed .hdf files. Mirroring that phrasing here avoids two slightly different instructions for agents.

♻️ Proposed wording
- - Labelmaps: ITK images with integer labels defined by anatomy segmenter used.
- - Masks: ITK binary images
- - Transforms: ITK transforms stored in `.hdf` files with compression
+ - Labelmaps are ITK images with integer labels; keep anatomy group IDs aligned
+   across segmenters.
+ - Masks are binary ITK images.
+ - Transforms are ITK composite transforms stored in compressed `.hdf` files.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CLAUDE.md` around lines 71 - 73, The data-convention bullets in CLAUDE.md
should match the canonical wording used in AGENTS.md. Update the Labelmaps and
Transforms entries so they describe labelmaps as integer-label ITK images and
transforms as composite ITK transforms stored in compressed .hdf files, keeping
the wording aligned with the existing contract.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/tutorials.rst`:
- Around line 341-344: The tutorial paragraph is pointing users to the
lower-level physiotwin4d.vtk_to_usd package instead of the public entry point.
Update the wording in the tutorial to direct readers to ConvertVTKToUSD as the
supported VTK-to-USD interface, and remove or rephrase the mention of advanced
primitives like convert_vtk_file, ConversionSettings, and MaterialData so the
documentation stays focused on the public API.

In `@statistics.md`:
- Line 75: The API reference entry is using the wrong command prefix, so update
the documentation in statistics.md to match repo guidance by replacing the `py
utils/generate_api_map.py` reference with `python utils/generate_api_map.py`.
Make the same correction wherever this API-map command is repeated so readers
are directed to run it from the active venv, and keep the `docs/API_MAP.md`
regeneration guidance aligned with the existing API reference wording.

---

Nitpick comments:
In `@CLAUDE.md`:
- Around line 71-73: The data-convention bullets in CLAUDE.md should match the
canonical wording used in AGENTS.md. Update the Labelmaps and Transforms entries
so they describe labelmaps as integer-label ITK images and transforms as
composite ITK transforms stored in compressed .hdf files, keeping the wording
aligned with the existing contract.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a127b7d9-dbcb-4c70-bc8d-2c7e4289b815

📥 Commits

Reviewing files that changed from the base of the PR and between 9d1c61d and 067bfb2.

⛔ Files ignored due to path filters (1)
  • docs/assets/example.gif is excluded by !**/*.gif
📒 Files selected for processing (26)
  • .agents/agents/implementation.md
  • .cursor/rules/project-standards.mdc
  • .gitattributes
  • .vscode/settings.json
  • AGENTS.md
  • CLAUDE.md
  • MANIFEST.in
  • README.md
  • docs/PYPI_RELEASE_GUIDE.md
  • docs/README.md
  • docs/architecture.rst
  • docs/changelog.rst
  • docs/cli_scripts/overview.rst
  • docs/conf.py
  • docs/contributing.rst
  • docs/developer/architecture.rst
  • docs/developer/extending.rst
  • docs/examples.rst
  • docs/faq.rst
  • docs/index.rst
  • docs/installation.rst
  • docs/quickstart.rst
  • docs/tutorials.rst
  • pyproject.toml
  • src/physiotwin4d/__init__.py
  • statistics.md
💤 Files with no reviewable changes (8)
  • .cursor/rules/project-standards.mdc
  • docs/examples.rst
  • docs/contributing.rst
  • docs/changelog.rst
  • .vscode/settings.json
  • docs/PYPI_RELEASE_GUIDE.md
  • docs/conf.py
  • MANIFEST.in

Comment thread docs/tutorials.rst Outdated
Comment thread statistics.md Outdated
@aylward aylward merged commit b2f3b9d into Project-MONAI:main Jul 7, 2026
10 checks passed
@aylward aylward deleted the cleanup branch July 7, 2026 18:19
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