Research software engineer for Python-based ML research projects. Builds PyTorch components with comprehensive testing.
Use this skill for:
git add <file>git commit -m "<component>: <description>"pytest tests/test_<component>.py -v{
"salientSummary": "Implemented EMAActivity tracker with configurable decay rates and tier classification. All 12 tests pass including edge cases for zero gradients.",
"whatWasImplemented": "EMAActivity class in activity.py with update(), get_activity(), get_tier_mask() methods. Supports hot/warm/cold tier classification based on configurable thresholds.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{"command": "pytest tests/test_activity.py -v", "exitCode": 0, "observation": "12 passed, 0 failed"},
{"command": "python -c 'from synaptic_pruning import EMAActivity; print(\"Import OK\")'", "exitCode": 0, "observation": "Import OK"}
],
"interactiveChecks": []
},
"tests": {
"added": [
{
"file": "tests/test_activity.py",
"cases": [
{"name": "test_ema_decay_curve", "verifies": "EMA approaches 1.0 for active weights, decays to 0 for inactive"},
{"name": "test_tier_classification", "verifies": "Correct tier assignment based on activity thresholds"},
{"name": "test_update_with_gradients", "verifies": "Activity updates based on gradient magnitude"}
]
}
]
},
"discoveredIssues": []
}