@posthog Code's Autoresearch mode is probably the coolest feature I've shipped.
You can spawn a cloud task that runs an autonomous loop of experimentation. You pick a metric, it instruments the codebase to measure that metric, establishes a baseline, and at each iteration it does some change in order to maximize/minimize that metric. If it improves, it keeps it, otherwise it is discarded.
Big shoutout to everyone who's built PostHog Code and all of its infrastructure, this feature is largely standing on the shoulder of giants.