Skip to content

Commit 48ca7dc

Browse files
Merge pull request #75 from JigsawStack/chore/updates
Chore/updates
2 parents 9d1b511 + 1df1477 commit 48ca7dc

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Install ruff
2222
run: pip install ruff
2323

24-
- name: Check all files with ruff
24+
- name: Format check with ruff
2525
run: |
2626
ruff check jigsawstack/ --config .github/ruff.toml
27-
ruff format --check jigsawstack/ --config .github/ruff.toml
27+
ruff format jigsawstack/ --config .github/ruff.toml --check
2828
2929
test:
3030
name: Test - ${{ matrix.test-file }}
@@ -46,7 +46,6 @@ jobs:
4646
- test_translate.py
4747
- test_validate.py
4848
- test_web.py
49-
- test_deep_research.py
5049
- test_ai_scrape.py
5150
- test_vocr.py
5251
steps:

tests/test_deep_research.py

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,11 @@
3030
URL = "https://jigsawstack.com"
3131

3232

33-
# Deep Research Test Cases
3433
DEEP_RESEARCH_TEST_CASES = [
3534
{
3635
"name": "basic_deep_research",
37-
"params": {
38-
"query": "climate change effects",
39-
},
40-
},
41-
{
42-
"name": "technical_deep_research",
43-
"params": {
44-
"query": "quantum computing applications in cryptography",
45-
},
46-
},
47-
{
48-
"name": "deep_research_with_depth",
49-
"params": {
50-
"query": "renewable energy sources",
51-
"depth": 2,
52-
},
53-
},
36+
"params": {"query": "climate change effects", "max_depth": 1},
37+
}
5438
]
5539

5640

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

75-
# Check for sources
7659
if "sources" in result:
7760
assert isinstance(result["sources"], list)
7861

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

102-
# Check for sources
10385
if "sources" in result:
10486
assert isinstance(result["sources"], list)
10587

0 commit comments

Comments
 (0)