| chore: remove legacy code, config, and documentation (#806) * delete the legacy code in `realhf` folder * delete the yaml config for the legacy code * delete legacy docs * remove benchmark instructions * remove csrc * refactor: complete legacy code cleanup and API modernization - Migrate functioncall/ imports from realhf to areal - Remove deprecated functions in areal/dataset/__init__.py (get_custom_dataset_legacy and legacy compatibility code) - Remove deprecated method aliases in areal/experimental/openai/client.py (get_completions, get_responses, set_final_reward, export_completions, export_responses) - Update all call sites to use new API methods (get_interaction, set_last_reward, export_interactions) - Delete examples/config_converter.py (legacy config converter) - Delete docs/references/benchmark.md and docs/references/reproduce.md - Update documentation references and fix stale links - Clean up docs/_toc.yml (remove legacy sections) - Update pyproject.toml and AGENTS.md (remove legacy references) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix import --------- Co-authored-by: Claude <noreply@anthropic.com> | 7 个月前 |