File tree Expand file tree Collapse file tree 2 files changed +4
-23
lines changed
Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Original file line number Diff line number Diff 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 }}
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 :
Original file line number Diff line number Diff line change 3030URL = "https://jigsawstack.com"
3131
3232
33- # Deep Research Test Cases
3433DEEP_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
You can’t perform that action at this time.
0 commit comments