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

Method should_migrate

data/database.py:1779–1782  ·  view source on GitHub ↗

Check if migration should occur based on generation counters

(self)

Source from the content-addressed store, hash-verified

1777 logger.debug(f"Island {idx} generation incremented to {self.island_generations[idx]}")
1778
1779 def should_migrate(self) -> bool:
1780 """Check if migration should occur based on generation counters"""
1781 max_generation = max(self.island_generations)
1782 return (max_generation - self.last_migration_generation) >= self.migration_interval
1783
1784 def migrate_programs(self) -> None:
1785 """

Callers 1

run_evolutionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected