Symptom
h = get(...), then in, regex, and length checks on h, and every single item comes back "not found." No exception.
Cause
get() was returning a (status, body) tuple. in on a tuple is element equality, always False; len() is 2. Every line is syntactically valid, so nothing dies.
Fix
Unpack: status, body = get(...). And don't assume the return schema; print it once, then use it.
Verification
print(type(r), repr(r)[:200])
Same for progress files and aggregation inputs. list(d.items())[:3] to see the value schema first. An aggregation run on an assumed schema returns 0, and 0 gets misread as "no data."