feat(stock-watchlist-agent): support capture --publish (baseline experiment + cost) - #79
Draft
mehulsonowal wants to merge 2 commits into
Draft
Conversation
…blish` The new `ddtrace-experiment capture --publish` runs the real boundary as the baseline experiment (real cost) over declared inputs, so the capture drivers now expose SUBJECT (the experiment name) and INPUTS (the boundary's kwargs, one dataset record each), derived from the same watchlists/tickers the local `generate_traffic()` uses (env overrides honored). No change to local `capture` behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… flow Step-by-step guide to exercise the baseline-with-cost flow end to end: branches, .env config, capture --publish (baseline experiment + dataset + cost), replay --publish (current + compare view), the offline loop, and the backend-coupled things to verify. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Companion demo changes for the ddtrace
capture --publishfeature (DataDog/dd-trace-py#18984, stacked on #18625).capture_watchlists.py,capture_quotes.py,capture_one.py) declareSUBJECT(the experiment name) andINPUTS(the boundary's kwargs, one dataset record each), derived from the same watchlists/tickersgenerate_traffic()uses (env overrides honored).capture --publishreads these to run the real boundary as the baseline experiment.TESTING.md— step-by-step guide for the capture-publish flow (baseline w/ cost + dataset → change → replay + compare view).No change to local
capturebehavior.Testing
See
test-apps/stock-watchlist-agent/TESTING.md. Requires addtracebuild with the capture-publish feature (dd-trace-py#18984). Draft: for testing.🤖 Generated with Claude Code