Skip to content

Commit 9ed6be7

Browse files
committed
DSPy Code is Live!
0 parents  commit 9ed6be7

File tree

141 files changed

+48847
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+48847
-0
lines changed

.github/CODEOWNERS

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Code Owners
2+
# These owners will be automatically requested for review when someone opens a pull request.
3+
# More info: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
4+
5+
# Default owners for everything in the repo
6+
* @Shashikant86
7+
8+
# Core package code
9+
/dspy_code/ @Shashikant86
10+
11+
# CI/CD workflows
12+
/.github/ @Shashikant86
13+
14+
# Documentation
15+
/docs/ @Shashikant86
16+
*.md @Shashikant86
17+
18+
# Configuration files
19+
pyproject.toml @Shashikant86
20+
.pre-commit-config.yaml @Shashikant86
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
assignees: []
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for reporting a bug! Please fill out the sections below to help us understand and fix the issue.
12+
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: A clear and concise description of the bug.
18+
placeholder: What went wrong?
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: steps
24+
attributes:
25+
label: Steps to Reproduce
26+
description: Detailed steps to reproduce the behavior.
27+
placeholder: |
28+
1. Run command '...'
29+
2. Enter '...'
30+
3. See error
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: expected
36+
attributes:
37+
label: Expected Behavior
38+
description: What did you expect to happen?
39+
placeholder: Expected behavior
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: actual
45+
attributes:
46+
label: Actual Behavior
47+
description: What actually happened?
48+
placeholder: Actual behavior
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
id: logs
54+
attributes:
55+
label: Error Logs
56+
description: If applicable, paste relevant error messages or logs.
57+
render: shell
58+
placeholder: Paste error logs here
59+
60+
- type: textarea
61+
id: environment
62+
attributes:
63+
label: Environment
64+
description: Please provide your environment details.
65+
value: |
66+
- OS: [e.g., Ubuntu 22.04, macOS 14.0, Windows 11]
67+
- Python version: [e.g., 3.10.5]
68+
- DSPy Code version: [e.g., 0.1.0]
69+
- DSPy version: [e.g., 3.0.4]
70+
- Installation method: [e.g., pip, uv, source]
71+
validations:
72+
required: true
73+
74+
- type: textarea
75+
id: additional
76+
attributes:
77+
label: Additional Context
78+
description: Add any other context about the problem.
79+
placeholder: Screenshots, related issues, attempted solutions, etc.
80+
81+
- type: checkboxes
82+
id: checks
83+
attributes:
84+
label: Checklist
85+
options:
86+
- label: I have searched existing issues to avoid duplicates
87+
required: true
88+
- label: I have provided all requested information
89+
required: true
90+
- label: I am using the latest version of DSPy Code
91+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💬 GitHub Discussions
4+
url: https://github.com/SuperagenticAI/dspy-code/discussions
5+
about: Ask questions, share ideas, and discuss with the community
6+
- name: 📚 Documentation
7+
url: https://dspy-code.super-agentic.ai
8+
about: Read the full documentation
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Documentation Issue
2+
description: Report missing, incorrect, or unclear documentation
3+
title: "[Docs]: "
4+
labels: ["documentation", "triage"]
5+
assignees: []
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for helping improve our documentation!
12+
13+
- type: dropdown
14+
id: type
15+
attributes:
16+
label: Documentation Type
17+
description: What kind of documentation issue is this?
18+
options:
19+
- Missing documentation
20+
- Incorrect documentation
21+
- Unclear/confusing documentation
22+
- Typo or formatting issue
23+
- Example doesn't work
24+
- Other
25+
validations:
26+
required: true
27+
28+
- type: input
29+
id: location
30+
attributes:
31+
label: Documentation Location
32+
description: Where is the documentation issue? (URL or file path)
33+
placeholder: https://dspy-code.super-agentic.ai/guide/...
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: issue
39+
attributes:
40+
label: Issue Description
41+
description: What is wrong with the documentation?
42+
placeholder: Describe the issue...
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: suggestion
48+
attributes:
49+
label: Suggested Improvement
50+
description: How should the documentation be improved?
51+
placeholder: I suggest...
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: additional
57+
attributes:
58+
label: Additional Context
59+
description: Add any other context about the documentation issue.
60+
61+
- type: checkboxes
62+
id: checks
63+
attributes:
64+
label: Checklist
65+
options:
66+
- label: I have searched existing issues to avoid duplicates
67+
required: true
68+
- label: I am willing to submit a PR to fix this
69+
required: false
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement", "triage"]
5+
assignees: []
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for suggesting a new feature! Please describe your idea below.
12+
13+
- type: textarea
14+
id: problem
15+
attributes:
16+
label: Problem Statement
17+
description: Is your feature request related to a problem? Please describe.
18+
placeholder: I'm frustrated when...
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: solution
24+
attributes:
25+
label: Proposed Solution
26+
description: Describe the solution you'd like.
27+
placeholder: I would like to...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: Alternatives Considered
35+
description: Describe any alternative solutions or features you've considered.
36+
placeholder: I also thought about...
37+
38+
- type: textarea
39+
id: use-case
40+
attributes:
41+
label: Use Case
42+
description: Describe how this feature would be used.
43+
placeholder: |
44+
As a [type of user], I want to [do something] so that [benefit].
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: examples
50+
attributes:
51+
label: Example Usage
52+
description: Show how you envision using this feature.
53+
render: python
54+
placeholder: |
55+
# Example code or command
56+
dspy-code /new-command
57+
58+
- type: dropdown
59+
id: priority
60+
attributes:
61+
label: Priority
62+
description: How important is this feature to you?
63+
options:
64+
- Nice to have
65+
- Would improve my workflow
66+
- Critical for my use case
67+
validations:
68+
required: true
69+
70+
- type: textarea
71+
id: additional
72+
attributes:
73+
label: Additional Context
74+
description: Add any other context, screenshots, or examples about the feature request.
75+
76+
- type: checkboxes
77+
id: checks
78+
attributes:
79+
label: Checklist
80+
options:
81+
- label: I have searched existing issues to avoid duplicates
82+
required: true
83+
- label: This feature aligns with the project's goals
84+
required: true
85+
- label: I would be willing to contribute to this feature
86+
required: false

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2
2+
updates:
3+
# GitHub Actions updates
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
commit-message:
10+
prefix: "chore(deps)"
11+
include: "scope"
12+
labels:
13+
- "dependencies"
14+
- "github-actions"
15+
reviewers:
16+
- "Shashikant86"
17+
open-pull-requests-limit: 5
18+
19+
# Python dependencies updates
20+
- package-ecosystem: "pip"
21+
directory: "/"
22+
schedule:
23+
interval: "weekly"
24+
day: "monday"
25+
commit-message:
26+
prefix: "chore(deps)"
27+
include: "scope"
28+
labels:
29+
- "dependencies"
30+
- "python"
31+
reviewers:
32+
- "Shashikant86"
33+
open-pull-requests-limit: 10
34+
allow:
35+
- dependency-type: "all"
36+
ignore:
37+
# Ignore major version updates for stable packages
38+
- dependency-name: "dspy"
39+
update-types: ["version-update:semver-major"]

.github/pull_request_template.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
## Description
2+
3+
<!-- Provide a clear and concise description of your changes -->
4+
5+
## Type of Change
6+
7+
<!-- Mark the relevant option with an "x" -->
8+
9+
- [ ] 🐛 Bug fix (non-breaking change that fixes an issue)
10+
- [ ] ✨ New feature (non-breaking change that adds functionality)
11+
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
12+
- [ ] 📝 Documentation update
13+
- [ ] 🎨 Code style/formatting
14+
- [ ] ♻️ Refactoring (no functional changes)
15+
- [ ] ✅ Test updates
16+
- [ ] 🔧 Build/CI updates
17+
18+
## Related Issues
19+
20+
<!-- Link to related issues. Use "Fixes #123" to auto-close issues when PR is merged -->
21+
22+
Fixes #
23+
Relates to #
24+
25+
## Changes Made
26+
27+
<!-- List the specific changes you made -->
28+
29+
-
30+
-
31+
-
32+
33+
## Testing
34+
35+
<!-- Describe how you tested your changes -->
36+
37+
- [ ] Added new tests
38+
- [ ] Updated existing tests
39+
- [ ] All tests pass locally
40+
- [ ] Manual testing performed
41+
42+
### Test Commands
43+
44+
```bash
45+
# Commands you ran to test
46+
pytest tests/
47+
```
48+
49+
## Checklist
50+
51+
<!-- Mark completed items with an "x" -->
52+
53+
- [ ] My code follows the project's style guidelines
54+
- [ ] I have performed a self-review of my code
55+
- [ ] I have commented my code where necessary
56+
- [ ] I have updated the documentation accordingly
57+
- [ ] My changes generate no new warnings or errors
58+
- [ ] I have added tests that prove my fix/feature works
59+
- [ ] New and existing tests pass locally
60+
- [ ] I have updated CHANGELOG.md (if applicable)
61+
- [ ] I have run pre-commit hooks (`pre-commit run --all-files`)
62+
63+
## Screenshots (if applicable)
64+
65+
<!-- Add screenshots to help explain your changes -->
66+
67+
## Additional Notes
68+
69+
<!-- Any additional information that reviewers should know -->
70+
71+
## Reviewer Notes
72+
73+
<!-- Specific areas you'd like reviewers to focus on -->
74+
75+
---
76+
77+
By submitting this PR, I confirm that:
78+
- [ ] I have read the [Contributing Guide](../CONTRIBUTING.md)
79+
- [ ] My contribution is original or properly attributed
80+
- [ ] I agree to license my contribution under the MIT License

0 commit comments

Comments
 (0)