neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
Simulate API failures, throttling, and chaos — all from your command line.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Dev Proxy is an API simulator that helps you test how your app handles errors, throttling, and slow responses, without changing a single line of code. Dev Proxy is a command-line tool that works on any platform. Because it intercepts network requests, it works with any language, framework, and API.
Dev Proxy is open source and free to use.
You test the happy path. Your users get the rest. What if the APIs you use fail or throttle you? Will your app lose your customers' data? How do you test for this? Simulating API failures is hard. You end up writing code that you won't be shipping or worse: not testing at all. That's why we built Dev Proxy, to simulate API errors so that you can easily test your app without changing your code.
With Dev Proxy you:
Install Dev Proxy using the command for your operating system.
Windows (after the installation finishes, open a new terminal):
winget install DevProxy.DevProxy --silent
macOS:
brew tap dotnet/dev-proxy
brew install dev-proxy
Linux (after the installation finishes, run the source command the installer prints, or open a new terminal):
bash -c "$(curl -sL https://aka.ms/devproxy/setup.sh)"
Dev containers and GitHub Codespaces (installs Dev Proxy and trusts its certificate in the container, see the Feature's docs):
"features": {
"ghcr.io/dotnet/dev-proxy/dev-proxy:1": {}
}
Download the preset for the API your app calls, and start Dev Proxy with it:
devproxy config get github-rate-limiting
devproxy --config-file "~dataFolder/configs/github-rate-limiting/.devproxy/devproxyrc.json"
| API | Preset |
|---|---|
| GitHub | github-rate-limiting |
| OpenAI | openai-throttling |
| Anthropic | anthropic-throttling |
| Microsoft Graph | microsoft-graph-rate-limiting |
The first time you start Dev Proxy, trust its certificate so that it can intercept HTTPS requests. On Linux, you need to trust the certificate manually. Our tutorial walks you through these steps.
Then, run your app as usual. It keeps calling the real API URLs, and Dev Proxy simulates the API's rate limits and errors. Find presets for other APIs in the samples gallery.
This project is supported by the .NET Foundation.