From cc1409b1122d27d824a9bf1ac65f53ad5f185b01 Mon Sep 17 00:00:00 2001 From: Khurdhula-Harshavardhan Date: Wed, 19 Nov 2025 11:31:52 -0800 Subject: [PATCH 1/3] chore: rebase CI/CD to warpbuild runners --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eea9f3..3f4b5cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: ruff-format-check: name: Ruff Format Check - runs-on: ubuntu-latest + runs-on: warp-ubuntu-latest-x64-2x steps: - uses: actions/checkout@v4 @@ -73,7 +73,7 @@ jobs: all-checks-passed: name: All Checks Passed needs: [ruff-format-check, test] - runs-on: ubuntu-latest + runs-on: warp-ubuntu-latest-x64-2x if: always() steps: - name: Verify all checks passed From ffce9a3950a8c94d31a6b943870e54a82f7c3039 Mon Sep 17 00:00:00 2001 From: Khurdhula-Harshavardhan Date: Thu, 20 Nov 2025 17:27:29 -0800 Subject: [PATCH 2/3] chore: udpating test case to use depth 1 and updating ruff command --- .github/workflows/ci.yml | 8 ++++---- tests/test_deep_research.py | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f4b5cb..fc4f107 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: ruff-format-check: name: Ruff Format Check - runs-on: warp-ubuntu-latest-x64-2x + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -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 }} @@ -73,7 +73,7 @@ jobs: all-checks-passed: name: All Checks Passed needs: [ruff-format-check, test] - runs-on: warp-ubuntu-latest-x64-2x + runs-on: ubuntu-latest if: always() steps: - name: Verify all checks passed diff --git a/tests/test_deep_research.py b/tests/test_deep_research.py index ec67775..f1851c7 100644 --- a/tests/test_deep_research.py +++ b/tests/test_deep_research.py @@ -36,19 +36,21 @@ "name": "basic_deep_research", "params": { "query": "climate change effects", + "max_depth":1 }, }, { "name": "technical_deep_research", "params": { "query": "quantum computing applications in cryptography", + "max_depth": 1, }, }, { "name": "deep_research_with_depth", "params": { "query": "renewable energy sources", - "depth": 2, + "max_depth": 2, }, }, ] @@ -70,7 +72,7 @@ def test_deep_research(self, test_case): assert result["success"] assert "results" in result assert isinstance(result["results"], str) - assert len(result["results"]) > 0 + #assert len(result["results"]) > 0 # Check for sources if "sources" in result: From 1df1477e55aed43d3654f52ee9a66a04e855b5d7 Mon Sep 17 00:00:00 2001 From: Khurdhula-Harshavardhan Date: Fri, 28 Nov 2025 09:26:22 -0800 Subject: [PATCH 3/3] chore: drop the test cases for deep research. --- .github/workflows/ci.yml | 1 - tests/test_deep_research.py | 26 +++----------------------- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc4f107..67af11c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/tests/test_deep_research.py b/tests/test_deep_research.py index f1851c7..d9a2e43 100644 --- a/tests/test_deep_research.py +++ b/tests/test_deep_research.py @@ -30,29 +30,11 @@ URL = "https://jigsawstack.com" -# Deep Research Test Cases DEEP_RESEARCH_TEST_CASES = [ { "name": "basic_deep_research", - "params": { - "query": "climate change effects", - "max_depth":1 - }, - }, - { - "name": "technical_deep_research", - "params": { - "query": "quantum computing applications in cryptography", - "max_depth": 1, - }, - }, - { - "name": "deep_research_with_depth", - "params": { - "query": "renewable energy sources", - "max_depth": 2, - }, - }, + "params": {"query": "climate change effects", "max_depth": 1}, + } ] @@ -72,9 +54,8 @@ def test_deep_research(self, test_case): assert result["success"] assert "results" in result assert isinstance(result["results"], str) - #assert len(result["results"]) > 0 + assert len(result["results"]) > 0 - # Check for sources if "sources" in result: assert isinstance(result["sources"], list) @@ -101,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)