Conversation
Optimise an online cache replacement (eviction) policy against a real Meta kvcache trace published by CacheLib for CacheBench, scored by hit rate at a fixed capacity and compared against CacheLib's default LRU. The evaluator replays the submission on a frozen held-out trace of the same family, enforces the frozen canonical protocol (FE-BATCH-JSON-STDIO-V1), checks causality and the offline optimum bound, and prints exactly one JSON object. The unified eval_command writes that object to metrics.json, which is the file task=unified reads; the traces ship verbatim (sha256-checked) via a task-local .gitignore negation and .gitattributes.
🤖 AI Code Review (gemini-3-flash-preview)🇬🇧 English Analysis1. Executive Summary
2. AI Content Analysis
3. Engineering & Economic Assessment
4. Quality Assurance
5. Security & Privacy Check
🇨🇳 中文分析1. 摘要
2. AI 成分分析
3. 工程与经济评估
4. 质量保证
5. 安全与隐私检查
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This benchmark is a test task for an agent that automatically evaluates and merges engineering tasks.
The task is to optimize an online cache replacement policy using a real-world Meta kvcache workload published through CacheLib. The goal is to improve cache hit rate under a fixed cache capacity, with CacheLib’s LRU policy serving as the baseline.
The agent must produce a valid policy that performs better than the baseline on a frozen held-out trace from the same workload family. The evaluator enforces online, causal decisions and checks the result against the offline-optimal hit-rate bound, enabling a reproducible assessment of the agent’s engineering solution.