Skip to content

Update documentation for analysis creation - #107

Open
marlenamey wants to merge 2 commits into
PrivateAIM:masterfrom
marlenamey:create-analysis-update
Open

Update documentation for analysis creation#107
marlenamey wants to merge 2 commits into
PrivateAIM:masterfrom
marlenamey:create-analysis-update

Conversation

@marlenamey

@marlenamey marlenamey commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

basiert auf PR #106

Summary by CodeRabbit

  • New Features
    • Added a Demo Instance route with guidance for creating projects, uploading data, connecting data stores, and running the HALTA demo analysis.
  • Documentation
    • Added installation verification steps using a demo analysis.
    • Restructured the analysis guide with clearer navigation and wizard configuration steps.
    • Clarified build, distribution, approval, execution, and result-download workflows.
    • Added guidance for developing custom analyses, including links to demo data and detailed documentation.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The documentation adds a demo-instance guide, updates installation verification, revises the analysis workflow, and changes user sidebar routes.

Changes

Documentation workflows

Layer / File(s) Summary
Analysis workflow documentation
src/guide/user/analysis.md
The guide updates project navigation, analysis creation, wizard configuration, build and distribution steps, execution, approval, and result retrieval.
Demo setup and installation verification
src/guide/user/demo.md, src/guide/deployment/node-installation.md, src/.vitepress/routes/sidebar/user.ts
The new demo guide documents project setup, data-store connectivity, demo analysis execution, and custom analysis development. Installation guidance links to the demo workflow, and the sidebar adds the Demo Instance route.
Sidebar navigation updates
src/.vitepress/routes/sidebar/user.ts
The sidebar reformats Analysis Coding and Local Testing entries and adds the FHIR Queries route.

Estimated code review effort: 2 (Simple) | ~15 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant DemoInstanceGuide
  participant Hub
  User->>DemoInstanceGuide: Follow setup instructions
  DemoInstanceGuide->>Hub: Connect data store and run HALTA demo analysis
  Hub-->>User: Return analysis results
Loading

Possibly related PRs

Suggested reviewers: brucetony

🚥 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 clearly identifies the main change: updating documentation for analysis creation.
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

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/.vitepress/routes/sidebar/user.ts

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.


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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🤖 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 `@src/guide/user/analysis.md`:
- Around line 22-35: Update the documentation around the “Approval,” “Build
Analysis,” “Distribute Analysis,” and “Execution” sections to make approval an
explicit prerequisite before building, either by moving the Approval section
before Step 4 or clearly labeling it as a prerequisite. Revise the Execution
text to state that nodes can start only after approval, a successful build, and
distribution.

In `@src/guide/user/demo.md`:
- Around line 1-19: Remove the Markdown comment-syntax scratchpad at the start
of the guide, including the HTML comment and all reference-definition examples,
so the document begins with Demo Instance workflow content; do not replace it
with unrelated documentation.
- Line 81: Remove the stale TODO comment in the documentation near the
analysis.md reference, since src/guide/user/analysis.md has been updated. Do not
replace it unless there is a specific current, actionable task to record.
- Around line 50-53: Update the preparation step heading and description around
the project workflow so they match the sidebar’s “Submitting a Project Proposal”
terminology and state that a proposal is required before creating an analysis.
Keep the link aligned with the documented proposal-submission workflow, or
explicitly explain when the project becomes available for analysis.
🪄 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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5baa19f4-bccf-4158-80dd-45b18f47f80c

📥 Commits

Reviewing files that changed from the base of the PR and between be7086e and 09ebdd4.

⛔ Files ignored due to path filters (3)
  • src/public/images/ui_images/analysis_distribution.png is excluded by !**/*.png
  • src/public/images/ui_images/analysis_start.png is excluded by !**/*.png
  • src/public/images/ui_images/hub_add_analysis_from_proposal.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • src/.vitepress/routes/sidebar/user.ts
  • src/guide/deployment/node-installation.md
  • src/guide/user/analysis.md
  • src/guide/user/demo.md

Comment on lines +22 to 35
### 4. Build Analysis
Once all nodes have [approved](#approval) the analysis, the **start** button in the **Build** area can be clicked to build the container.
### 5. Distribute Analysis
To distribute the built analysis across the selected nodes, click the **start** button in the **Distribution** area.
[![image](/images/ui_images/analysis_distribution.png)](/images/ui_images/analysis_distribution.png)

## Approval
## Approval
Before the analysis can be built and executed, it must be approved by the nodes you selected during setup.
Refer to the [Admin Guide](../admin/analysis-review) for detailed information on the approval process.

## Execution
Once approved, the analysis is ready for execution:

Node Execution
Each node administrator must manually start the analysis via the node UI. For more details, consult the [Node Guide](../admin/analysis-execution).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Make approval, build, and distribution prerequisites explicit.

Line 23 requires node approval before the build, but the Approval section appears after the Build and Distribution steps. Line 33 then says approval alone makes the analysis ready, although the admin execution guide requires a configured and built image before a node can start it. Move Approval before Step 4 or label it as a prerequisite, and state that execution requires approval, a successful build, and distribution.

🤖 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 `@src/guide/user/analysis.md` around lines 22 - 35, Update the documentation
around the “Approval,” “Build Analysis,” “Distribute Analysis,” and “Execution”
sections to make approval an explicit prerequisite before building, either by
moving the Approval section before Step 4 or clearly labeling it as a
prerequisite. Revise the Execution text to state that nodes can start only after
approval, a successful build, and distribution.

Comment thread src/guide/user/demo.md
Comment on lines +1 to +19
<!---
How to write block comments [you can do anything you want in here]
--->

[comment]: # (How to write line comments [must not contain brackets])

[comment]: # "How to write line comments [must not contain quotations]"

[//]: # (How to write line comments [must not contain brackets])

[//]: # "How to write line comments [must not contain quotations]"

[comment]: <> (How to write line comments [must not contain brackets])

[comment]: <> "How to write line comments [must not contain quotations]"

[//]: <> (How to write line comments [must not contain brackets])

[//]: <> "How to write line comments [must not contain quotations]"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Remove the Markdown comment-syntax scratchpad from the guide.

Lines 1-19 are unrelated to the Demo Instance workflow. They also create unused or duplicate Markdown reference-definition warnings at Lines 5, 7, 13, and 15. Delete this block or move it to contributor documentation.

🧰 Tools
🪛 markdownlint-cli2 (0.23.1)

[warning] 5-5: Link and image reference definitions should be needed
Unused link or image reference definition: "comment"

(MD053, link-image-reference-definitions)


[warning] 7-7: Link and image reference definitions should be needed
Duplicate link or image reference definition: "comment"

(MD053, link-image-reference-definitions)


[warning] 13-13: Link and image reference definitions should be needed
Duplicate link or image reference definition: "comment"

(MD053, link-image-reference-definitions)


[warning] 15-15: Link and image reference definitions should be needed
Duplicate link or image reference definition: "comment"

(MD053, link-image-reference-definitions)

🤖 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 `@src/guide/user/demo.md` around lines 1 - 19, Remove the Markdown
comment-syntax scratchpad at the start of the guide, including the HTML comment
and all reference-definition examples, so the document begins with Demo Instance
workflow content; do not replace it with unrelated documentation.

Source: Linters/SAST tools

Comment thread src/guide/user/demo.md
Comment on lines +50 to +53
### 1. Create a Project in the Hub

To run an analysis, a project must first be created in the Hub. A project defines the scope of the analysis,
including the target nodes, the requested data, and the images to be used. Creating a project is described in detail [here](./project).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Align the preparation step with project-proposal creation.

The sidebar labels /project as Submitting a Project Proposal, and src/guide/user/analysis.md requires a proposal before analysis creation. This step labels the same target Create a Project and does not state that prerequisite. Rename the step to match the linked workflow, or link to the actual project-creation page and explain when the proposal becomes available for analysis.

🧰 Tools
🪛 markdownlint-cli2 (0.23.1)

[warning] 53-53: Link text should be descriptive

(MD059, descriptive-link-text)

🤖 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 `@src/guide/user/demo.md` around lines 50 - 53, Update the preparation step
heading and description around the project workflow so they match the sidebar’s
“Submitting a Project Proposal” terminology and state that a proposal is
required before creating an analysis. Keep the link aligned with the documented
proposal-submission workflow, or explicitly explain when the project becomes
available for analysis.

Comment thread src/guide/user/demo.md
an analysis can be created within the project. Creating an analysis involves selecting the analysis code, the
target nodes, and the entrypoint for the analysis, and is described in detail [here](./analysis).

[//]: # (TODO: update analysis.md, its content is outdated)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Remove the stale TODO about analysis.md.

The TODO says analysis.md is outdated, but this PR updates src/guide/user/analysis.md. Remove the TODO or replace it with a current, actionable task.

🤖 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 `@src/guide/user/demo.md` at line 81, Remove the stale TODO comment in the
documentation near the analysis.md reference, since src/guide/user/analysis.md
has been updated. Do not replace it unless there is a specific current,
actionable task to record.

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.

1 participant