CoolFace
Datasetpublic

ByteDance-Seed/EdgeBench

Overview EdgeBench is a benchmark of 134 real-world tasks for evaluating how autonomous AI agents learn from real-world environments. Instead of measuring one-shot performance, EdgeBench places agents in executable task environments with realistic, multi-level feedback and lets them iterate for 12+ hours per task — tracking the full trajectory of improvement, not just the final score. We publicly release 51 tasks… See the full description on the dataset page: https://huggingface.co/datasets/ByteDance-Seed/EdgeBench.

sourceHugging Facecc-by-4.0updated 2mo agoView on Hugging Face
84likes7.5kdownloads
ann_vector_search_qps.json31 linesDownload Raw Back to root
1{2  "task_id": "ann_vector_search_qps",3  "name": "Ann Vector Search Qps",4  "category": "Systems & Software Engineering",5  "base_image": "python310",6  "platform": "linux/amd64",7  "internet": false,8  "cwd": "/home/workspace/ann-benchmarks",9  "submit_paths": [10    "ann_benchmarks/algorithms/custom/"11  ],12  "work": {13    "image_tag": "74bf3ba9a919",14    "specs_dir": "/home/workspace/ann-benchmarks",15    "agent_query": "## Role\n\nYou are an expert in approximate nearest neighbor (ANN) search. Your job is to maximize **QPS** (queries per second) on the SIFT-1M dataset (1M × 128-d vectors, 10K queries) under the ann-benchmarks framework, while keeping **Recall@10 ≥ 0.95**.\n\n---\n\n## Repository Layout\n\n- `run.py` — evaluation driver (already present)\n- `ann_benchmarks/algorithms/` — algorithm plugins; each algorithm subclasses `BaseANN` and registers in its own `config.yml`\n- `ann_benchmarks/algorithms/custom/` — **your** slot; contains a baseline `module.py` (brute-force numpy) and a `config.yml` naming the algorithm `custom`\n- `data/sift-128-euclidean.hdf5` — dataset (pre-downloaded, contains `train` and `test` arrays)\n\n---\n\n## What To Do\n\n1. Read `README.md`, `ann_benchmarks/algorithms/README.md`, and look at existing algorithms (e.g. `ann_benchmarks/algorithms/faiss/`) for reference implementations.\n2. Improve `ann_benchmarks/algorithms/custom/module.py` — implement a faster `fit()` + `query()` using FAISS (`faiss-cpu` is pre-installed) or a custom implementation. Keep the class name `Custom` and the module path `ann_benchmarks.algorithms.custom`.\n3. You may tune hyperparameters via `ann_benchmarks/algorithms/custom/config.yml` (IVF nlist, HNSW M/efConstruction, PQ subquantizers, etc.).\n4. For local runs after each change:\n   ```bash\n   python run.py --local --algorithm custom --dataset sift-128-euclidean -k 10 --runs 1 --run-disabled\n   ```\n   The benchmark prints QPS and recall metrics to the console. Use these to track your progress.\n\n---\n\n## Optimization Directions (suggestions)\n\n- IVF bucketing (nlist, nprobe)\n- HNSW (M, ef, efConstruction)\n- Product Quantization (subquantizers, bits)\n- Two-level routing (IVF-HNSW, IVF-PQ)\n- Early termination on candidate scan\n- Multi-threaded search (omp_set_num_threads)\n\nGLM-5.1 reference: 3108 QPS → 21472 QPS (6.9×) over 655 iterations.\n\n---\n\n## Scoring Integrity (CRITICAL)\n\nThe evaluation system independently measures query latency and verifies search results against the ground truth. Your score is determined by the actual search performance of your algorithm.\n\nYou must NOT:\n- Read or access ground truth data (the `neighbors` dataset) during query execution\n- Override timing attributes or manipulate benchmark measurements (e.g., via `get_additional()`)\n- Monkey-patch the `time` module or any benchmark framework internals\n- Attempt to fabricate or inflate scores through any means other than legitimate algorithmic improvements\n\nAny attempt to manipulate scores will result in score=0 and the submission marked as hack.\n\n---\n\n## Rules\n\n- Keep the algorithm name `custom` and leave its config discoverable via `python run.py --list-algorithms`\n- Do NOT modify `run.py` or any file outside `ann_benchmarks/algorithms/custom/`\n- Recall@10 < 0.95 on a config makes that config invalid (score = 0)\n- Final score is the **highest QPS** among valid (recall-passing) configs\n"16  },17  "judge": {18    "image_tag": "9171f6b6de41",19    "eval_cmd": "cd /home/workspace/ann-benchmarks && python3 /tmp/eval_ann_search.py",20    "eval_timeout": 7800,21    "parser": "score_sum",22    "score_direction": "maximize",23    "selection": "score_first",24    "rescale": {25      "kind": "log_max",26      "baseline": 3108.0,27      "expert": 21472.028    }29  }30}31