Download task_014/tests/enhancement_cases.json from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_014/tests/enhancement_cases.json
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_014/tests/enhancement_cases.json
-
curl -L -o enhancement_cases.json https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_014/tests/enhancement_cases.json
1.14 kB
| [ | |
| { | |
| "case_id": "ENHANCED_CASE_1", | |
| "instruction_evidence": "如果缓存未过期,会返回这个缓存并且重设这个缓存的过期时间为最初的过期时间", | |
| "validator": "tests/validate_enhanced_ttl_test.go", | |
| "behavior": "A renewing read returns a live value, extends it past the original deadline, and it later expires after the renewed original TTL." | |
| }, | |
| { | |
| "case_id": "ENHANCED_CASE_2", | |
| "instruction_evidence": "在我获取带有过期时间的缓存时,如果缓存已过期则返回空", | |
| "validator": "tests/validate_enhanced_ttl_test.go", | |
| "behavior": "A renewing read of an already expired entry is a miss and does not revive the entry." | |
| }, | |
| { | |
| "case_id": "ENHANCED_CASE_3", | |
| "instruction_evidence": "普通 TTL `Get` 保持既有过期语义;新增 renew 方法在条目未过期时返回值,并将过期时间重置为最初 TTL;已过期条目必须返回空/未命中,且不能被续期。", | |
| "validator": "tests/validate_enhanced_ttl_test.go", | |
| "behavior": "The original ordinary Get still returns a live TTL entry without renewing its expiration." | |
| } | |
| ] | |