Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bioinformatics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,5 @@ body:
required: false
- label: I can provide additional biological data if needed
required: false


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,5 @@ body:
required: true
- label: I am willing to help test the fix
required: false


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ contact_links:
- name: Security Vulnerability
url: https://github.com/DeepCritical/DeepCritical/security/advisories/new
about: Report a security vulnerability privately.


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,5 @@ body:
required: true
- label: I am willing to help write or improve the documentation
required: false


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,5 @@ body:
required: false
- label: I am willing to help test this feature
required: false


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,5 @@ body:
required: true
- label: I am willing to help test performance improvements
required: false


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,5 @@ body:
required: true
- label: I am willing to help improve documentation based on the answer
required: false


2 changes: 2 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,5 @@ We thank the security research community for helping keep DeepCritical secure. S

**Last Updated**: 2024-01-01
**Version**: 1.0


2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ updates:
labels:
- "dependencies"
- "docker"


2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,5 @@ flows:

## Reviewer Notes
<!-- Any specific areas you'd like reviewers to focus on -->


2 changes: 2 additions & 0 deletions .github/repository-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,5 @@ secrets:
description: "Serper API key for web search"
- name: "CODECOV_TOKEN"
description: "Codecov token for coverage reporting"


51 changes: 18 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: CI
name: CI/CD Pipeline

env:
UV_VERSION: "latest"
PYTHON_VERSION: "3.11"

on:
push:
branches: [ main, develop ]
branches: [ main, dev ]
pull_request:
branches: [ main, develop ]

env:
PYTHON_VERSION: "3.10"
UV_VERSION: "latest"
branches: [ main, dev ]

jobs:
lint:
Expand Down Expand Up @@ -36,12 +36,11 @@ jobs:
run: uv run ruff format --check .

test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: [3.10, 3.11, 3.12]

steps:
- name: Checkout code
uses: actions/checkout@v5
Expand All @@ -51,18 +50,20 @@ jobs:
with:
version: ${{ env.UV_VERSION }}

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --dev

- name: Run tests
run: uv run pytest tests/ -v --cov=DeepResearch --cov-report=xml
- name: Test with pytest
run: |
uv run pytest --cov=DeepResearch --cov-report=xml --cov-report=html

- name: Upload coverage to Codecov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
Expand Down Expand Up @@ -126,10 +127,9 @@ jobs:
path: bandit-report.json

build:
name: Build Package
runs-on: ubuntu-latest
needs: [lint, test, integration-test]
needs: test

steps:
- name: Checkout code
uses: actions/checkout@v5
Expand All @@ -152,19 +152,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/

all-checks:
name: All Checks Passed
runs-on: ubuntu-latest
needs: [lint, test, integration-test, security, build]
if: always()

steps:
- name: Check all jobs
run: |
if [[ "${{ needs.lint.result }}" != "success" || "${{ needs.test.result }}" != "success" || "${{ needs.integration-test.result }}" != "success" || "${{ needs.build.result }}" != "success" ]]; then
echo "One or more checks failed"
exit 1
fi
echo "All checks passed!"
path: dist/
2 changes: 2 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ jobs:
target: minor
merge-method: squash
merge-commit-message: 'chore(deps): ${{ github.event.pull_request.title }}'


2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@ jobs:
run: |
echo "Conda-forge upload not yet implemented"
# This would require a conda-forge feedstock


4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ example
.cursor
outputs
docs
tests

# Python
__pycache__/
Expand Down Expand Up @@ -69,6 +70,9 @@ multirun/
outputs/
*.log

# GitHub Actions
.github/workflows/ci.yml

# OS
.DS_Store
.DS_Store?
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ See [SECURITY.md](SECURITY.md) for security policy and vulnerability reporting.
## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.


2 changes: 2 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,5 @@ For answers to common questions about this code of conduct, see the FAQ at [http
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations


2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,3 +394,5 @@ Contributors will be recognized in:
- GitHub contributors page

Thank you for contributing to DeepCritical! πŸš€


3 changes: 3 additions & 0 deletions DeepResearch/src/agents/agent_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,3 +467,6 @@ def _synthesize_results(self, result: Any, user_input: str) -> str:






3 changes: 3 additions & 0 deletions DeepResearch/src/agents/deep_agent_implementations.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,3 +502,6 @@ def create_agent_orchestrator(agent_types: List[str] = None) -> AgentOrchestrato






Loading
Loading