Skip to content

Commit bdcb62d

Browse files
style(comments): fix line length in seed configuration comments
Wrap long comment lines to improve readability and conform to line length guidelines in seed configuration documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7d549a4 commit bdcb62d

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

fusion/core/simulation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,10 @@ def init_iter(
571571
#
572572
# Example configurations:
573573
# - Simple: {"seed": 42} → All components use 42
574-
# - Advanced: {"request_seeds": [1,2,3], "rl_seed": 42} → Traffic varies, RL constant
575-
# - Batch: run_multi_seed_experiment(config, seed_list=[42,43,44]) → Statistical analysis
574+
# - Advanced: {"request_seeds": [1,2,3], "rl_seed": 42}
575+
# → Traffic varies, RL constant
576+
# - Batch: run_multi_seed_experiment(config, seed_list=[42,43,44])
577+
# → Statistical analysis
576578
# ================================================================
577579

578580
# Request generation seed (typically varies per iteration for diverse traffic)

fusion/modules/failures/tests/test_failure_manager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ def failure_manager(sample_topology: nx.Graph) -> FailureManager:
2121
"""Create a FailureManager instance."""
2222
# Note: seed can be configured in multiple ways:
2323
# - Single integer: {"seed": 42} (used here for simple testing)
24-
# - Request seeds list: {"request_seeds": [10, 20, 30]} (per-iteration seeds)
25-
# - Seed list for batch experiments: run_multi_seed_experiment(config, seed_list=[42, 43, 44])
24+
# - Request seeds list: {"request_seeds": [10, 20, 30]} (per-iteration)
25+
# - Seed list for batch: run_multi_seed_experiment(config,
26+
# seed_list=[42, 43, 44])
2627
# See fusion/core/simulation.py:568-590 for seed resolution logic
2728
engine_props = {"seed": 42}
2829
return FailureManager(engine_props, sample_topology)

0 commit comments

Comments
 (0)