- Write migration plan
- Agent edits in batches
- Tests per batch
Ship a 40-file refactor with a coding agent
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Claude Code was given 9.5 years of Apple Watch and Whoop data and built an ML model that backtested as warning of a prior episode before labs confirmed it.
“Build a thyroid episode warning model from wearable data” is a Life Admin & Home AI agent workflow from Any. It connects Claude Code in 3 steps.
Claude Code was given 9.5 years of Apple Watch and Whoop data and built an ML model that backtested as warning of a prior episode before labs confirmed it.
The poster exported 9.5 years of Apple Watch data through Apple Health plus Whoop data, labeled periods that matched hyperthyroid phases, and gave Claude Code the dataset to build a detector. In comments, they said Claude tried many models for over an hour, landed on XGBoost, engineered 53 features before keeping three resting-heart-rate features, and the poster also held out the most recent episode to manually test the result.
They said the backtest on the held-out episode would have flagged trouble in early August before labs confirmed it at the end of the month. In comments, they framed it as an early-warning prompt to get confirmatory labs, not a diagnosis or automatic medication change.
The thread’s clearest catch is that this depended on nearly a decade of personal wearable history plus hand-labeled flare periods; the model search itself reportedly ran for over an hour.
I've exported my wearable data from [Apple Watch, Whoop, etc.] into [folder path], covering [date range]. Build a model that looks for patterns in [resting heart rate, HRV, sleep, etc.] ahead of past [health event, with dates] and backtest whether it would have warned me early. Finish with a plain-language report of what it found and how reliable it is, and note this is for personal curiosity, not medical advice.
Claude Code was given 9.5 years of Apple Watch and Whoop data and built an ML model that backtested as warning of a prior episode before labs confirmed it.
You need Claude Code.
The guide walks through 3 steps, starting with “What they did”.
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.
Let multiple Git worktrees reuse one build cache via block cloning so parallel agent runs skip redundant rebuilds.
Via Hacker News · suyashsrijan ↗Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges