Cyber_analyst-round1 / tests /test_seed_reproducibility.py
Humanlearning's picture
feat: implement core RL training infrastructure, including GRPO training, evaluation utilities, custom environments, and Modal-based execution scripts.
3807ea3
raw
history blame contribute delete
419 Bytes
from .helpers import make_env
def test_same_seed_reproducible_visible_facts():
a = make_env(22)
b = make_env(22)
assert a.state.task_id == b.state.task_id
assert a.state.hidden_facts["owner_invoice_id"] == b.state.hidden_facts["owner_invoice_id"]
assert a.state.hidden_facts["other_invoice_id"] == b.state.hidden_facts["other_invoice_id"]
assert a.state.visible_facts == b.state.visible_facts