Step 3 · Your first agent task: download the data

~10 min
1 Setup 2 Hello 3 Data 4 Analyze 5 CNN 6 Think

You need a file → give the link to the agent. That's it. No browser, no "save as", no moving files. The agent downloads it, puts it in the right folder, and checks it for you.

The task

Copy this prompt into opencode, press Enter, and watch it work:

I need a dataset for our lab. Download it from this Google Drive link: https://drive.google.com/file/d/1aeAZFJRMhTzIoJNtRxEinKIv2GhUnbSn/view?usp=drive_link Use gdown (pip install gdown if needed). Save it as hsr_waveform_velocity.npz in the current folder. Then verify it loads: print the shape and dtype of "waveforms" and "velocity", and the min/max/mean of the velocity. Tell me in 2 sentences what the data is.

What you should see

> I need a dataset for our lab. Download it from this Google Drive link: ... ▌ ✦ Agent: let me download this file with gdown ... $ pip install gdown $ gdown 1aeAZFJRMhTzIoJNtRxEinKIv2GhUnbSn 100%|██████████████| 117.7M/117.7M [00:25<00:00, 4.79MB/s] ✓ Downloaded and verified: waveforms (25071, 2500) float16 velocity (25071,) float32 60.0 – 97.8 m/s, mean 85.2 → seismic recordings of high-speed trains passing 3 stations.
The agent did three jobs for you: downloaded, verified, summarized. If anything fails, tell it what happened — it fixes itself.

What did you just get?

ArrayShapeMeaning
waveforms(25071, 2500)Seismic trace per station & event (100 Hz, 25 s window: −10 s to +15 s around the train arrival)
velocity(25071,)Train speed label, 60–98 m/s (216–352 km/h)
station / direction(25071,)Station 0–2 (P050, P180, P349) · direction 1/2
idx_train / idx_test(24000,) / (1071,)Fixed split — everyone uses the same, so results are comparable
Link slow or blocked? Ask the agent: "Try the backup link instead: LINK_FROM_INSTRUCTOR".

Think · Can the agent reproduce a whole paper?

This Zenodo record is the reproducibility package of a published paper (the source of your lab data). Its authors claim every figure can be regenerated by running plot.py in each folder. Give the job to your agent and find out.

This is a paper's reproducibility package: https://zenodo.org/records/21492504 It claims all figures can be reproduced by running plot.py in each F* folder. Please: 1. Download the package (a ~1.2 GB zip — use curl, wget, or python requests; the direct link is https://zenodo.org/api/records/21492504/files/paper2scripts.zip/content). 2. Extract it and explore the folder structure. 3. Try to reproduce the F6_amplitude figure by following the package's own instructions. 4. Show me what you did step by step, and tell me honestly: did it fully reproduce? If not, what exactly blocked you and what would be needed to finish?

Think about it

  1. Did the agent reproduce everything? What worked, and what failed?
  2. When it hit an error (missing dependency, a Fortran library, a data path), what did it do — fix, work around, or give up?
  3. What does this tell you about trusting a paper's "fully reproducible" claim — and about checking your own agent's work?
Note: this downloads ~1.2 GB and may take 10+ minutes. It is a stretch task — the agent will likely hit something it cannot fully fix (e.g., a Fortran compiler). That failure is part of the lesson.