CoolFace
Modelpublic

IDMedicine/code-graph-trajeval-v1

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
Model Card

SWE-Bench Trajectory Eval Bundle (v1)

Companion artifact for the trajectory-probe downstream eval of the code-graph-v7 encoders (W1, I6, ...).

Contents

  • traj_full_bundle.tar.gz (488 MB) — contains:
  • specs.jsonl: 2456 SWE-Bench Verified agent trajectories harvested from swe-bench-submissions S3 bucket. Fields: instanceid, trajid, repo, base_commit, patches (1 entry = final model patch), resolved.
  • repos/: shallow (--filter=blob:none) clones of the 12 target repos (django, sympy, sphinx, matplotlib, scikit-learn, astropy, xarray, pytest, pylint, requests, seaborn, flask). ~671 MB uncompressed. Blobs pulled lazily per base_commit checkout.
  • graphjepa/: pipeline code (trajectorypipeline, trajectoryrealize, trajectoryprobe, trajectoryharvest) plus scripts/trajectory_full.sh.
  • harvest.log — stdout from the S3 harvester that produced specs.jsonl.

Downstream workflow

bash
tar -xzf traj_full_bundle.tar.gz
rsync -a traj_full/graphjepa/ graphjepa/
mkdir -p outputs/traj_real
cp traj_full/specs.jsonl outputs/traj_real/
mv traj_full/repos outputs/traj_real/repos

# realize (4 sharded workers by repo)
SHARDS=4 bash graphjepa/scripts/trajectory_full.sh
tail -f outputs/traj_real/logs/realize_shard*.log

# merge manifests + probe with each encoder
cat outputs/traj_real/manifest_shard*.jsonl > outputs/traj_real/manifest.jsonl
for NAME in W1_softplus_s0 I6_joint_s0; do
  .venv/bin/python -m graphjepa.trajectory_probe \
    --manifest outputs/traj_real/manifest.jsonl \
    --ckpt outputs/$NAME/ckpt_final.pt \
    --pool mean --split-by repo \
    --output outputs/traj_real/probe_${NAME}.json
done

Provenance

Specs harvested from 5 SWE-Bench Verified submissions:

SubmissionNResolvedRate
20240620sweagentclaude3.5sonnet48516834.6%
20241022toolsclaude-3-5-sonnet-updated48324550.7%
20241028agentless-1.5gpt4o49519439.2%
20241029_OpenHands-CodeAct-2.1-sonnet49326553.8%
20250405_amazon-q-developer-202550033066.0%
total2456120248.9%

500 unique instanceids, 499 unique basecommits (median 5 trajectories per commit — different agents attempting the same task).