MCPcopy Create free account
hub / github.com/FareedKhan-dev/ai-long-task / set_current_island

Method set_current_island

data/database.py:1762–1765  ·  view source on GitHub ↗

Set which island is currently being evolved

(self, island_idx: int)

Source from the content-addressed store, hash-verified

1760
1761 # Island management methods
1762 def set_current_island(self, island_idx: int) -> None:
1763 """Set which island is currently being evolved"""
1764 self.current_island = island_idx % len(self.islands)
1765 logger.debug(f"Switched to evolving island {self.current_island}")
1766
1767 def next_island(self) -> int:
1768 """Move to the next island in round-robin fashion"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected