Files
wehub-resource-sync 7a0da7932b
OSV-Scanner (Scheduled) / scan-scheduled (push) Failing after 0s
Create Release / test-gate (push) Has been cancelled
Create Release / release-gate (push) Has been cancelled
Create Release / ci-gate (push) Has been cancelled
Create Release / version-check (push) Has been cancelled
Create Release / e2e-test-gate (push) Has been cancelled
Create Release / responsive-test-gate (push) Has been cancelled
Create Release / compat-test-gate (push) Has been cancelled
Create Release / compose-integration-gate (push) Has been cancelled
Create Release / vulture-gate (push) Has been cancelled
Create Release / build (push) Has been cancelled
Create Release / provenance (push) Has been cancelled
Create Release / prerelease-docker (push) Has been cancelled
Create Release / publish-docker (push) Has been cancelled
Create Release / create-release (push) Has been cancelled
Create Release / cleanup-changelog (push) Has been cancelled
Create Release / trigger-pypi (push) Has been cancelled
Create Release / monitor-pypi (push) Has been cancelled
Create Release / Clean up orphan prerelease tags and signatures (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [research-form] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [research-metrics] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [research-workflow] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [settings-core] (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [history-news] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [library] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [link-analytics] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [chat-core] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [chat-lifecycle] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [error-benchmark] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [settings-pages] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) (push) Has been cancelled
Docker Tests (Consolidated) / Accessibility Tests (push) Has been cancelled
Docker Tests (Consolidated) / LLM Unit Tests (push) Has been cancelled
Docker Tests (Consolidated) / LLM Example Tests (push) Has been cancelled
Docker Tests (Consolidated) / Production Image Smoke Test (push) Has been cancelled
Docker Tests (Consolidated) / Infrastructure Tests (push) Has been cancelled
OSSF Scorecard / OSSF Security Scorecard Analysis (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [mobile] (push) Has been cancelled
Backwards Compatibility / Verify Encryption Constants (push) Has been cancelled
Backwards Compatibility / PyPI Version Compatibility (push) Has been cancelled
Backwards Compatibility / Database Migration Tests (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Docker Tests (Consolidated) / detect-changes (push) Has been cancelled
Docker Tests (Consolidated) / Build Test Image (push) Has been cancelled
Docker Tests (Consolidated) / All Pytest Tests + Coverage (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [accessibility] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [api-crud] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [auth-login] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [auth-pages] (push) Has been cancelled
Docker Tests (Consolidated) / UI Tests (Puppeteer) [auth-register] (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:08:55 +08:00

3.3 KiB

BrowseComp Benchmark for Local Deep Research

This document explains how to run the BrowseComp benchmark with Local Deep Research.

Overview

BrowseComp is a benchmark created by OpenAI to evaluate models on their ability to understand complex questions that may require browsing the web for answers. The questions in BrowseComp often involve multiple criteria that must be satisfied by a single answer.

The benchmark questions are initially provided in an encrypted format, which requires decryption using a "canary" field in the dataset.

Running the Benchmark

We've created a script called browsecomp_fixed.py in the root directory that properly decrypts the BrowseComp questions and runs them through Local Deep Research.

Basic Usage

python /path/to/browsecomp_fixed.py --examples 5 --iterations 3 --questions 3

Parameters

  • --examples: Number of examples to run (default: 5)
  • --iterations: Number of search iterations per query (default: 1)
  • --questions: Questions per iteration (default: 1)
  • --search-tool: Search tool to use (default: "searxng")
  • --output-dir: Directory to save results (default: "browsecomp_results")

Performance Tips

BrowseComp questions are challenging and may require more thorough search strategies:

  1. Use more iterations: Increasing the number of iterations allows the system to refine its understanding of the question and explore different aspects.

    python browsecomp_fixed.py --iterations 5
    
  2. Increase questions per iteration: More questions means more angles to explore.

    python browsecomp_fixed.py --questions 5
    
  3. Try different search engines: Some search engines might perform better for certain types of questions.

    python browsecomp_fixed.py --search-tool wikipedia
    
  4. Combine parameters for best results:

    python browsecomp_fixed.py --examples 10 --iterations 3 --questions 3 --search-tool searxng
    

Understanding the Results

The script saves results in the output directory with the following files:

  • browsecomp_[timestamp]_results.jsonl: Raw results from the benchmark
  • browsecomp_[timestamp]_evaluation.jsonl: Evaluation of the results by a grader model

The script will also print a summary with:

  • Overall accuracy
  • Number of correct answers
  • Average processing time

How It Works

  1. The script loads the BrowseComp dataset
  2. For each example, it decrypts the problem and correct answer using the "canary" field
  3. It runs the decrypted question through LDR's search system
  4. It extracts the answer from LDR's response
  5. A grader evaluates whether the extracted answer matches the correct answer

Improving Benchmark Performance

To improve performance on the BrowseComp benchmark:

  1. Optimize parameters for more thorough search (more iterations and questions)
  2. Use search engines that provide more relevant results for complex queries
  3. Consider pre-processing or reformulating the questions to better match search engine capabilities
  4. Experiment with different search strategies in LDR's configuration

Technical Details

The decryption process uses a simple XOR cipher with a key derived from the canary value using SHA-256. This matches the approach used in the original BrowseComp evaluation script.