What Survives the Next Task? A Python Walkthrough of Agent Self-ImprovementA tool router sends a question about yesterday’s release to a calculator. It sees the failed tool call, tries search, and answers correctly. Now start a fresh task about another recent release. Does t4 min read·ai-coding.hashnode.devNov 4
A Successful Code Repair Can Still Have a Negative AdvantageDebug RLEF advantages with Python: separate rewards, returns, and value baselines, and see why a successful code repair can have a negative advantage.6 min read·ai-coding.hashnode.devOct 22
A Risk Penalty Cannot Fix a Confidently Wrong World ModelImplement a risk-sensitive world-model planner in Python, then test why a larger uncertainty penalty cannot fix a confidently wrong cost estimate.6 min read·ai-coding.hashnode.dev1YOct 18
A World Model Can Lower MSE and Still Choose the Wrong ActionUse Python counterexamples to compare world-model prediction MSE with planning regret, and test action rankings, ties, and decision margins.6 min read·ai-coding.hashnode.dev12KYOct 16
Constitutional AI in Python: Keep the Soft Labels, Not Just the WinnerImplement Constitutional AI preference components in Python: stable soft labels, optional clamping and a pairwise loss, with runnable tests.5 min read·ai-coding.hashnode.devOct 15