ezga_lib_class¶
- class soda_analyzer.ezga_lib_class(h5_source)¶
Inspect EZGA agents, generations, population memberships, and structure payloads.
- Parameters:
h5_source (str or pathlib.Path or h5py.File) – SODA HDF5 filename or an already open file. Only files opened by this view are closed by its
close()method.
- h5¶
Underlying file; borrowed when an open handle was supplied.
- Type:
h5py.File
- exists¶
Whether the file contains an EZGA group.
- Type:
bool
- sage_structure_field_policy¶
Recorded policy for optional SAGE structure payload fields.
- Type:
dict
Notes
Available under the public name
EzgaLibrary;ezga_lib_classremains a compatible name.Tables are loaded when this view is created. Missing optional tables are empty. Call
close()when finished; an externally supplied HDF5 handle remains open.
Methods¶
Close the HDF5 file owned by this library view. |
|
Return the agent IDs present in metadata, commits, or structures. |
|
Return blobs filtered by agent, kind, or active flag. |
|
Read the table prefix covered by a generation commit. |
|
Return generation commits explicitly marked complete. |
|
Return generation commit records matching the supplied filters. |
|
Return generation numbers, restricted to complete commits by default. |
|
Return HISE stage records with optional status filtering. |
|
Return the complete commit with the greatest commit ID and row index. |
|
Return generation population memberships and view flags. |
|
Return matching reactivity IRC path records. |
|
Return structure rejection records for matching generations. |
|
Select EZGA table rows as ordinary dictionaries. |
|
Select EZGA table rows using column filters. |
|
Return optional SAGE structure payloads for matching agents. |
|
Return structure records filtered by their creation metadata. |
|
Read an EZGA table by name or alias. |
|
Read metadata for one EZGA agent. |
|
Read a blob from append-only history or the current-blob table. |
|
Read an IRC path by row index or path ID. |
|
Read optional SAGE structure fields by row index or structure ID. |
|
Read a structure by row index or agent and structure ID. |
|
Summarize EZGA agents, table counts, commits, and optional payload coverage. |
|
Validate optional SAGE payload coverage against the stored field policy. |