colrev.process.status.StatusStats

class colrev.process.status.StatusStats(**data)[source]

Bases: BaseModel

Data class for status statistics.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Methods

get_active_metadata_operation_info

Get active metadata operation info (convenience function for status printing).

get_active_operations

Get the active processing functions.

get_active_pdf_operation_info

Get active PDF operation info (convenience function for status printing).

get_operation_in_progress

Get the operation currently in progress.

get_priority_operations

Get the priority operations.

get_transitioned_records

Get the transitioned records.

Attributes

atomic_steps

nr_curated_records

perc_curated

md_duplicates_removed

currently

overall

completed_atomic_steps

completeness_condition

nr_incomplete

nr_origins

screening_statistics

origin_states_dict

get_active_metadata_operation_info()[source]

Get active metadata operation info (convenience function for status printing).

Return type:

str

get_active_operations()[source]

Get the active processing functions.

Return type:

list

get_active_pdf_operation_info()[source]

Get active PDF operation info (convenience function for status printing).

Return type:

str

get_operation_in_progress(*, transitioned_records)[source]

Get the operation currently in progress.

Return type:

set

get_priority_operations()[source]

Get the priority operations.

Return type:

list

get_transitioned_records(review_manager)[source]

Get the transitioned records.

Return type:

list[Dict]