build_tools.syllable_walk_web.state =================================== .. py:module:: build_tools.syllable_walk_web.state .. autoapi-nested-parse:: Server-side state for the Pipe-Works Build Tools web application. Holds ephemeral state for pipeline jobs and walker patches. All state is in-memory only — not persisted across restarts. Classes ------- .. autoapisummary:: build_tools.syllable_walk_web.state.PatchState build_tools.syllable_walk_web.state.PipelineJobState build_tools.syllable_walk_web.state.ServerState Module Contents --------------- .. py:class:: PatchState State for one walker patch (A or B). .. py:attribute:: run_id :type: str | None :value: None .. py:attribute:: corpus_type :type: str | None :value: None .. py:attribute:: corpus_dir :type: pathlib.Path | None :value: None .. py:attribute:: syllable_count :type: int :value: 0 .. py:attribute:: walker :type: Any | None :value: None .. py:attribute:: walker_ready :type: bool :value: False .. py:attribute:: loading_stage :type: str | None :value: None .. py:attribute:: load_generation :type: int :value: 0 .. py:attribute:: active_load_generation :type: int | None :value: None .. py:attribute:: loading_error :type: str | None :value: None .. py:attribute:: manifest_ipc_input_hash :type: str | None :value: None .. py:attribute:: manifest_ipc_output_hash :type: str | None :value: None .. py:attribute:: manifest_ipc_verification_status :type: str | None :value: None .. py:attribute:: manifest_ipc_verification_reason :type: str | None :value: None .. py:attribute:: reach_cache_status :type: str | None :value: None .. py:attribute:: reach_cache_ipc_input_hash :type: str | None :value: None .. py:attribute:: reach_cache_ipc_output_hash :type: str | None :value: None .. py:attribute:: reach_cache_ipc_verification_status :type: str | None :value: None .. py:attribute:: reach_cache_ipc_verification_reason :type: str | None :value: None .. py:attribute:: profile_reaches :type: dict[str, Any] | None :value: None .. py:attribute:: annotated_data :type: list[dict] | None :value: None .. py:attribute:: frequencies :type: dict[str, int] | None :value: None .. py:attribute:: walks :type: list[dict] :value: [] .. py:attribute:: candidates :type: list[dict] | None :value: None .. py:attribute:: candidates_path :type: pathlib.Path | None :value: None .. py:attribute:: selections_path :type: pathlib.Path | None :value: None .. py:attribute:: selected_names :type: list[dict] :value: [] .. py:class:: PipelineJobState State for the running pipeline job. .. py:attribute:: job_id :type: str | None :value: None .. py:attribute:: status :type: str :value: 'idle' .. py:attribute:: config :type: dict | None :value: None .. py:attribute:: current_stage :type: str | None :value: None .. py:attribute:: progress_percent :type: int :value: 0 .. py:attribute:: log_lines :type: list[dict] :value: [] .. py:attribute:: output_path :type: pathlib.Path | None :value: None .. py:attribute:: error_message :type: str | None :value: None .. py:attribute:: process :type: Any | None :value: None .. py:class:: ServerState Global server state. .. py:attribute:: patch_a :type: PatchState .. py:attribute:: patch_b :type: PatchState .. py:attribute:: pipeline_job :type: PipelineJobState .. py:attribute:: output_base :type: pathlib.Path .. py:attribute:: sessions_base :type: pathlib.Path | None :value: None .. py:attribute:: corpus_dir_a :type: pathlib.Path | None :value: None .. py:attribute:: corpus_dir_b :type: pathlib.Path | None :value: None .. py:attribute:: walker_session_locks :type: dict[str, dict[str, Any]] .. py:attribute:: walker_session_locks_guard :type: threading.Lock .. py:attribute:: active_session_id :type: str | None :value: None .. py:attribute:: active_session_lock_holder_id :type: str | None :value: None