Chat Bot System Refactoring
Medium · Coding · 60 min
Refactor a monolithic global-state slash-command chatbot into isolated stateful Bot plugins with character-for-character output parity, then decouple cross-bot interactions via an EventBus and add an onion-style middleware pipeline.
This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.
More OpenAI problems
- Infection Spread / Cellular Automata
- GPU Credits / GPU Credit 2
- Social Network / Follow Graph
- Poker Simulation
- Classifier with Noisy Annotators
- Durable Key-Value Store Serialization
- NumPy Puzzle: 1-NN Vectorization → Wx+b Network
- Memory Allocator
- Transformer Bug Hunt
- Distributed Machine Cluster Count and Topology