Index / Computing / Software and applications development and analysis
APIShift Env
Space · yaswanth169/APISHIFT
Migrate code across real API breaking changes by directing specialists to diff, patch, test and write a rollback plan, then submit.
Good for
- training manager policies with GRPO
- anti-reward-hacking design
Reward
- How it is scored
- Programmatic check
- Signal
- Graded, 0 to 1
Weighted sum of breaking-change F1, patch template correctness, backward-compatibility test pass rate, rollback completeness and simplicity, minus 0.10 without rollback; clamped to (0.01,0.99).
How to run it
1. From the cardcopied from the publisher's own instructions
PYTHONPATH=. python examples/quickstart.py
2. Run the Space locallyevery Space is a Docker image or app you can clone
git clone https://huggingface.co/spaces/yaswanth169/APISHIFT cd APISHIFT
The Space also runs live on the Hub; open it to see the API it serves.
Framework documentation: OpenEnv.
Evidence
Qwen2.5-7B LoRA Manager trained with GRPO is reported to improve; adversarial red-team tests exist.
As reported by the publisher. We have not reproduced it.