asreview.state.SQLiteState.query_top_ranked

SQLiteState.query_top_ranked(n)[source]

Get the top ranked records from the ranking table.

Get the top n instances from the pool according to the last ranking. Add the model data to the results table.

Parameters

n (int) – Number of instances.

Returns

list – List of record_ids of the top n ranked records.