Skip to content
Merged
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
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Install ruff
run: pip install ruff

- name: Check all files with ruff
- name: Format check with ruff
run: |
ruff check jigsawstack/ --config .github/ruff.toml
ruff format --check jigsawstack/ --config .github/ruff.toml
ruff format jigsawstack/ --config .github/ruff.toml --check

test:
name: Test - ${{ matrix.test-file }}
Expand All @@ -46,7 +46,6 @@ jobs:
- test_translate.py
- test_validate.py
- test_web.py
- test_deep_research.py
- test_ai_scrape.py
- test_vocr.py
steps:
Expand Down
22 changes: 2 additions & 20 deletions tests/test_deep_research.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,11 @@
URL = "https://jigsawstack.com"


# Deep Research Test Cases
DEEP_RESEARCH_TEST_CASES = [
{
"name": "basic_deep_research",
"params": {
"query": "climate change effects",
},
},
{
"name": "technical_deep_research",
"params": {
"query": "quantum computing applications in cryptography",
},
},
{
"name": "deep_research_with_depth",
"params": {
"query": "renewable energy sources",
"depth": 2,
},
},
"params": {"query": "climate change effects", "max_depth": 1},
}
]


Expand All @@ -72,7 +56,6 @@ def test_deep_research(self, test_case):
assert isinstance(result["results"], str)
assert len(result["results"]) > 0

# Check for sources
if "sources" in result:
assert isinstance(result["sources"], list)

Expand All @@ -99,7 +82,6 @@ async def test_deep_research_async(self, test_case):
assert isinstance(result["results"], str)
assert len(result["results"]) > 0

# Check for sources
if "sources" in result:
assert isinstance(result["sources"], list)

Expand Down