The earlier report had no previous-turn rows. This run measures V0, V1, V2, and Flash on the re-extracted corpus and records that the real sample is not representative of the simulated set. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
734 B
Python
26 lines
734 B
Python
"""Gitignored cache directory for the Jev intent research.
|
|
|
|
The 09-19 run stored rows on a Windows path. This machine uses the repo
|
|
`.cache/jev_intent/` directory, which is already gitignored. Set
|
|
`JEV_INTENT_CACHE` to point at an existing cache without writing it into
|
|
the repository.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import os
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parents[2]
|
|
WINDOWS_CACHE = Path(r"G:\Ferti\Jyotisha\.cache\jev_intent")
|
|
|
|
|
|
def cache_dir() -> Path:
|
|
override = os.environ.get("JEV_INTENT_CACHE")
|
|
if override:
|
|
return Path(override)
|
|
local = ROOT / ".cache" / "jev_intent"
|
|
if WINDOWS_CACHE.is_dir() and not local.exists():
|
|
return WINDOWS_CACHE
|
|
return local
|