get_latest_complete_commit¶
- ezga_lib_class.get_latest_complete_commit(agent_id=None, generation=None, stage_index=None)¶
Return the complete commit with the greatest commit ID and row index.
- Parameters:
agent_id (int, optional) – EZGA agent identifier;
Noneselects one latest record across all agents. Default:None.generation (int, optional) – Generation number to select;
Noneleaves it unrestricted. Default:None.stage_index (int, optional) – Stage index to select;
Noneincludes all stages. Default:None.
- Returns:
EzgaGenerationCommit or None – Latest matching complete save record, or
Nonewhen absent. Contains generation, stage, and saved-data boundaries, not population structures.
Notes
Selects records marked complete by greatest
commit_id, using row index to break ties. This does not validate payload integrity or establish search convergence. Supplygenerationto inspect an earlier save.