Add ABIDES arena#104
Open
Muhtasham wants to merge 3 commits into
Open
Conversation
54128a6 to
bbc23f7
Compare
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.
Summary
abides-sim/abidesc4bf157678928934417aba6073eb0651aeaf6d15, constrain Python dependencies, and pinpipin the arena imageabides_agent.py, example config, arena docs, and unit coverageRuntime Behavior
ORDER_EXECUTEDmessages plus final exchange price, not from mutable submitted-agentholdingsCRASH_SCOREwithout stalling the whole roundfrom helper import XworkCRASH_SCOREwithout crashing other playersHardening
TradingAgentbefore executing the submitted modulevalidation_timeoutandplayer_timeoutconfig knobsabides_results.jsonhandling from neutral0.0ties toCRASH_SCOREwith error detailsself.kernel.agentsVerification
uv run pre-commit run --files codeclash/arenas/abides/abides.py codeclash/arenas/abides/runtime/run_abides.py tests/arenas/test_abides.py configs/examples/ABIDES__dummy__r1__s2.yaml docs/reference/arenas/abides.md codeclash/arenas/abides/runtime/README.mduv run pytest -q tests/arenas/test_abides.py-> 9 passeduv run pytest -q tests/arenas-> 192 passeduv run pytest -q-> 194 passeduv run mkdocs builddocker build -t codeclash/abides -f codeclash/arenas/abides/ABIDES.Dockerfile .uv run python main.py configs/examples/ABIDES__dummy__r1__s2.yaml -o "$SMOKE_DIR"status: "ok"details and scores of-1736.0for the dummy agentsself.holdings["CASH"] = 10**18scored0.0, confirming scoring ignores mutable submitted-agent holdingsfrom helper import MyAgentscored normally-1000000.0with a timeout detailNote:
uv run mkdocs build --strictis still blocked by pre-existing docs warnings aboutREADME.md/nav entries; normalmkdocs buildpasses.