Skip to content

Commit 3fa8eac

Browse files
committed
Add standard repository documentation and templates
Add comprehensive documentation to complete GitHub repository setup: - CONTRIBUTING.md: Detailed contribution guidelines with development workflow, coding standards, testing guidelines, and pull request process - CODE_OF_CONDUCT.md: Community guidelines based on Contributor Covenant with scientific integrity and clinical responsibility standards - SECURITY.md: Security policy covering vulnerability reporting, medical device considerations, data privacy (HIPAA/GDPR), and compliance - CONTRIBUTORS.md: Contributor recognition with attribution guidelines, acknowledgment of scientific foundations, and contribution types - .github/ISSUE_TEMPLATE/: Four issue templates for structured reporting * bug_report.md: Comprehensive bug reporting template * feature_request.md: Feature request with scientific justification * documentation.md: Documentation improvement template * question.md: Question template with resource checklist * config.yml: Links to discussions and security reporting - .github/PULL_REQUEST_TEMPLATE.md: Comprehensive PR template with testing, validation, documentation, and quality checklists These standard files improve community engagement, establish clear contribution processes, and provide proper attribution for the scientific work underlying this cardiovascular modeling platform.
1 parent 9c1b598 commit 3fa8eac

File tree

10 files changed

+1983
-0
lines changed

10 files changed

+1983
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug or unexpected behavior
4+
title: '[BUG] '
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
## Bug Description
10+
11+
A clear and concise description of what the bug is.
12+
13+
## To Reproduce
14+
15+
Steps to reproduce the behavior:
16+
17+
1. Go to '...'
18+
2. Run command '...'
19+
3. Use parameters '...'
20+
4. See error
21+
22+
## Expected Behavior
23+
24+
A clear and concise description of what you expected to happen.
25+
26+
## Actual Behavior
27+
28+
A clear and concise description of what actually happened.
29+
30+
## Error Messages
31+
32+
```
33+
Paste any error messages, stack traces, or relevant output here
34+
```
35+
36+
## Environment
37+
38+
**System Information:**
39+
- OS: [e.g., Ubuntu 22.04, macOS 14.0, Windows 11]
40+
- Python Version: [e.g., 3.10.5]
41+
- NumPy Version: [e.g., 1.24.0]
42+
- Git Commit/Branch: [e.g., main, commit abc123]
43+
44+
**Optional (if relevant):**
45+
- D Compiler Version: [e.g., ldc2 1.35.0]
46+
- Hardware: [if using Primal Logic Processor or QUANT]
47+
48+
## Code Sample
49+
50+
```python
51+
# Minimal code sample that reproduces the issue
52+
from src.cardiac import VanDerPolOscillator
53+
54+
model = VanDerPolOscillator()
55+
# ... rest of the code
56+
```
57+
58+
## Screenshots
59+
60+
If applicable, add screenshots or plots to help explain the problem.
61+
62+
## Additional Context
63+
64+
Add any other context about the problem here:
65+
- Does this happen consistently or intermittently?
66+
- Did this work in a previous version?
67+
- Any relevant configuration files or parameters?
68+
- Related issues or pull requests?
69+
70+
## Possible Solution
71+
72+
If you have ideas on how to fix the bug, please describe them here.
73+
74+
## Checklist
75+
76+
- [ ] I have searched existing issues to avoid duplicates
77+
- [ ] I am using the latest version of the code
78+
- [ ] I have included all relevant information above
79+
- [ ] I have provided a minimal code sample to reproduce the issue
80+
- [ ] I have included error messages and stack traces

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: GitHub Discussions
4+
url: https://github.com/STLNFTART/Multi-Heart-Model/discussions
5+
about: For general questions, ideas, and community discussions
6+
- name: Documentation
7+
url: https://github.com/STLNFTART/Multi-Heart-Model/tree/main/docs
8+
about: Comprehensive technical documentation and guides
9+
- name: Security Vulnerability
10+
url: https://github.com/STLNFTART/Multi-Heart-Model/security/advisories
11+
about: Report security vulnerabilities privately
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
name: Documentation Improvement
3+
about: Suggest improvements to documentation, tutorials, or examples
4+
title: '[DOCS] '
5+
labels: 'documentation'
6+
assignees: ''
7+
---
8+
9+
## Documentation Issue
10+
11+
**What documentation needs improvement?**
12+
- [ ] README.md
13+
- [ ] API documentation (docstrings)
14+
- [ ] Technical documentation (docs/)
15+
- [ ] Tutorial or example
16+
- [ ] Jupyter notebook
17+
- [ ] CLAUDE.md (developer guide)
18+
- [ ] Other: _______________
19+
20+
**Specific file(s) or section(s):**
21+
- File: `path/to/file.md`
22+
- Section: "Section Name"
23+
- Line numbers (if applicable): Lines 123-145
24+
25+
## Problem Description
26+
27+
**What is unclear, missing, or incorrect?**
28+
A clear and concise description of the documentation issue.
29+
30+
**Current documentation:**
31+
```markdown
32+
# Quote or describe the current documentation
33+
Current text or state...
34+
```
35+
36+
**What's wrong with it:**
37+
- Information is missing
38+
- Explanation is unclear
39+
- Example doesn't work
40+
- Information is outdated
41+
- Contains errors
42+
- Other: _______________
43+
44+
## Suggested Improvement
45+
46+
**What should the documentation say instead?**
47+
48+
```markdown
49+
# Proposed improved version
50+
Your suggested documentation text...
51+
```
52+
53+
**Why is this better?**
54+
Explain how your suggestion improves the documentation.
55+
56+
## Context
57+
58+
**Who would benefit from this improvement?**
59+
- [ ] New users getting started
60+
- [ ] Developers contributing code
61+
- [ ] Researchers using the models
62+
- [ ] Clinical educators
63+
- [ ] Students
64+
- [ ] Other: _______________
65+
66+
**What were you trying to do when you noticed this issue?**
67+
Describe the task or question that led you to notice the documentation problem.
68+
69+
## Examples or References
70+
71+
**Are there good examples elsewhere?**
72+
- Similar documentation from other projects
73+
- Relevant tutorials or guides
74+
- Scientific papers that could be referenced
75+
- Useful diagrams or visualizations
76+
77+
**Links or references:**
78+
- [Example 1](URL)
79+
- [Example 2](URL)
80+
81+
## Scope
82+
83+
**What needs to be updated?**
84+
- [ ] One file/section only
85+
- [ ] Multiple related files
86+
- [ ] Tutorial/example code
87+
- [ ] API docstrings
88+
- [ ] All of the above
89+
90+
**Estimated scope:**
91+
- [ ] Quick fix (typo, clarification)
92+
- [ ] Medium update (rewrite section)
93+
- [ ] Major update (new tutorial, significant rewrite)
94+
95+
## Additional Context
96+
97+
**Screenshots, diagrams, or mockups:**
98+
If applicable, add visual aids to help explain the issue or solution.
99+
100+
**Related issues or PRs:**
101+
- #123
102+
- #456
103+
104+
## Willingness to Contribute
105+
106+
- [ ] I can submit a pull request to fix this
107+
- [ ] I can provide feedback on proposed changes
108+
- [ ] I am reporting the issue but cannot contribute the fix
109+
110+
## Checklist
111+
112+
- [ ] I have identified the specific documentation that needs improvement
113+
- [ ] I have described what's wrong and why it's a problem
114+
- [ ] I have suggested a concrete improvement
115+
- [ ] I have explained who would benefit from this change
116+
- [ ] I have checked for related documentation issues
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
name: Feature Request
3+
about: Suggest a new feature or enhancement
4+
title: '[FEATURE] '
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
## Feature Description
10+
11+
A clear and concise description of the feature you'd like to see.
12+
13+
## Motivation
14+
15+
**What problem does this feature solve?**
16+
Describe the use case or problem this feature would address.
17+
18+
**Why is this important?**
19+
Explain why this feature would be valuable to the project and its users.
20+
21+
## Proposed Solution
22+
23+
**How would this feature work?**
24+
Describe your proposed implementation or approach.
25+
26+
```python
27+
# Example code showing how the feature might be used
28+
from src.new_module import NewFeature
29+
30+
feature = NewFeature(param1=value1)
31+
result = feature.compute()
32+
```
33+
34+
## Alternative Solutions
35+
36+
**Have you considered any alternative approaches?**
37+
Describe any alternative solutions or features you've considered.
38+
39+
## Use Cases
40+
41+
**Who would benefit from this feature?**
42+
- [ ] Clinical educators
43+
- [ ] Researchers
44+
- [ ] Hardware integrators
45+
- [ ] Medical device developers
46+
- [ ] Students
47+
- [ ] Other (please specify)
48+
49+
**Example scenarios where this feature would be useful:**
50+
1. Scenario 1...
51+
2. Scenario 2...
52+
3. Scenario 3...
53+
54+
## Scientific Justification
55+
56+
**Literature Support (if applicable):**
57+
- Does this feature have support in the scientific literature?
58+
- Are there existing implementations in other software?
59+
- What are the validation requirements?
60+
61+
**References:**
62+
- Author et al. (Year). Title. Journal.
63+
- [Link to relevant papers or documentation]
64+
65+
## Implementation Considerations
66+
67+
**What components would be affected?**
68+
- [ ] Core models (cardiac, neural, coupling)
69+
- [ ] Validation framework
70+
- [ ] Autonomic nervous system
71+
- [ ] Organ-on-chip platform
72+
- [ ] Hardware integration
73+
- [ ] Documentation
74+
- [ ] Tests
75+
- [ ] Examples
76+
77+
**Potential challenges:**
78+
- Compatibility with existing code
79+
- Performance considerations
80+
- Validation requirements
81+
- Documentation needs
82+
83+
## Backward Compatibility
84+
85+
**Would this feature break existing code?**
86+
- [ ] Yes, breaking change (requires major version bump)
87+
- [ ] No, fully backward compatible
88+
- [ ] Unsure
89+
90+
If breaking, how could the transition be managed?
91+
92+
## Additional Context
93+
94+
Add any other context, screenshots, diagrams, or mockups about the feature request here.
95+
96+
## Willingness to Contribute
97+
98+
- [ ] I am willing to implement this feature and submit a pull request
99+
- [ ] I can help with testing and validation
100+
- [ ] I can provide scientific review
101+
- [ ] I can help with documentation
102+
- [ ] I am requesting this feature but cannot contribute implementation
103+
104+
## Checklist
105+
106+
- [ ] I have searched existing issues and PRs to avoid duplicates
107+
- [ ] I have clearly described the motivation and use cases
108+
- [ ] I have considered alternative approaches
109+
- [ ] I have thought about backward compatibility
110+
- [ ] I have included relevant scientific references (if applicable)

0 commit comments

Comments
 (0)