# {py:mod}`ovo.app.components.acceptance_thresholds_components` ```{py:module} ovo.app.components.acceptance_thresholds_components ``` ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`thresholds_and_histograms_component ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.thresholds_and_histograms_component :summary: ``` * - {py:obj}`thresholds_input_component ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.thresholds_input_component :summary: ``` * - {py:obj}`single_threshold_input_component ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.single_threshold_input_component :summary: ``` * - {py:obj}`descriptor_histogram_component ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.descriptor_histogram_component :summary: ``` * - {py:obj}`filter_designs_by_thresholds_cached ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.filter_designs_by_thresholds_cached :summary: ``` * - {py:obj}`accept_designs_dialog ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.accept_designs_dialog :summary: ``` * - {py:obj}`display_current_thresholds ` - ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.display_current_thresholds :summary: ``` ```` ### API ````{py:function} thresholds_and_histograms_component(selected_thresholds: dict[str, ovo.Threshold], all_design_ids: list[str], max_items_row=3) -> dict[str, ovo.Threshold] :canonical: ovo.app.components.acceptance_thresholds_components.thresholds_and_histograms_component ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.thresholds_and_histograms_component ``` ```` ````{py:function} thresholds_input_component(selected_thresholds: dict[str, ovo.Threshold], max_items_row: int = 3) -> dict[str, ovo.Threshold] :canonical: ovo.app.components.acceptance_thresholds_components.thresholds_input_component ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.thresholds_input_component ``` ```` ````{py:function} single_threshold_input_component(threshold: ovo.Threshold, descriptor: ovo.app.utils.cached_db.Descriptor, descriptor_values: pandas.Series | None = None) -> ovo.Threshold :canonical: ovo.app.components.acceptance_thresholds_components.single_threshold_input_component ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.single_threshold_input_component ``` ```` ````{py:function} descriptor_histogram_component(descriptor_values: pandas.Series, descriptor: ovo.app.utils.cached_db.Descriptor, threshold: ovo.Threshold) :canonical: ovo.app.components.acceptance_thresholds_components.descriptor_histogram_component ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.descriptor_histogram_component ``` ```` ````{py:function} filter_designs_by_thresholds_cached(all_design_ids: list[str], thresholds: dict[str, ovo.Threshold]) -> tuple[list[str], dict[str, int]] :canonical: ovo.app.components.acceptance_thresholds_components.filter_designs_by_thresholds_cached ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.filter_designs_by_thresholds_cached ``` ```` ````{py:function} accept_designs_dialog(pools: list[ovo.core.database.Pool], jobs: list[ovo.core.database.DesignJob], all_design_ids: list[str], new_accepted_design_ids: list[str], num_accepted_by_descriptor: dict[str, int], selected_thresholds: dict[str, ovo.Threshold]) :canonical: ovo.app.components.acceptance_thresholds_components.accept_designs_dialog ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.accept_designs_dialog ``` ```` ````{py:function} display_current_thresholds(selected_thresholds: dict[str, ovo.Threshold], all_design_ids: list[str], num_accepted_by_descriptor: dict[str, int]) :canonical: ovo.app.components.acceptance_thresholds_components.display_current_thresholds ```{autodoc2-docstring} ovo.app.components.acceptance_thresholds_components.display_current_thresholds ``` ````