File: content/manuals/ai/model-runner/examples.md
Issue
The GitHub Actions workflow example contains a duplicated step. The workflow has two nearly identical steps that both pull and test a model:
- First occurrence (around line 50):
- name: Pull the provided model and run it
run: |
MODEL="${{ github.event.inputs.test_model || 'ai/smollm2:360M-Q4_K_M' }}"
echo "Testing with model: $MODEL"
# Test model pull
echo "Pulling model..."
sudo docker model pull "$MODEL"
...
- Second occurrence (around line 75):
- name: Test model pull and run
run: |
MODEL="${{ github.event.inputs.test_model || 'ai/smollm2:360M-Q4_K_M' }}"
echo "Testing with model: $MODEL"
# Test model pull
echo "Pulling model..."
sudo docker model pull "$MODEL"
...
Both steps have identical content and pull/test the same model.
Why this matters
A reader copying this workflow will have a non-functional or inefficient workflow that:
- Pulls the same model twice unnecessarily
- Runs the same tests twice
- Wastes CI/CD time and resources
- May cause confusion about which step is the "correct" one
This appears to be a copy-paste error during documentation creation.
Suggested fix
Remove one of the duplicate steps. Based on the step names and workflow structure, keep the second occurrence ("Test model pull and run") and remove the first one ("Pull the provided model and run it"), as the second one appears to be the intended comprehensive test step.
Alternatively, if both steps serve different purposes, they should be clearly differentiated with different names and different test scenarios.
Found by nightly documentation quality scanner
File:
content/manuals/ai/model-runner/examples.mdIssue
The GitHub Actions workflow example contains a duplicated step. The workflow has two nearly identical steps that both pull and test a model:
Both steps have identical content and pull/test the same model.
Why this matters
A reader copying this workflow will have a non-functional or inefficient workflow that:
This appears to be a copy-paste error during documentation creation.
Suggested fix
Remove one of the duplicate steps. Based on the step names and workflow structure, keep the second occurrence ("Test model pull and run") and remove the first one ("Pull the provided model and run it"), as the second one appears to be the intended comprehensive test step.
Alternatively, if both steps serve different purposes, they should be clearly differentiated with different names and different test scenarios.
Found by nightly documentation quality scanner