Skip to content

clean up AggStats#27

Merged
kmike merged 1 commit intomainfrom
stats-cleanup
Jul 29, 2022
Merged

clean up AggStats#27
kmike merged 1 commit intomainfrom
stats-cleanup

Conversation

@kmike
Copy link
Collaborator

@kmike kmike commented Jul 29, 2022

  • n_results is renamed to n_success;
  • n_extracted_queries is removed, because it's always the same as
    n_results (i.e. n_success);
  • n_input_queries is removed: it wasn't really a number of input queries,
    (it was a number of processed queries), and it can be computed
    from other stats: success + fatal errors;
  • added a short comment which explains each stat value

This is technically backwards incompatible, but it shouldn't affect scrapy-zyte-api (until scrapy-plugins/scrapy-zyte-api#33 is merged).

Fixes #23.

* n_results is renamed to n_success;
* n_extracted_queries is removed, because it's always the same as
  n_results (i.e. n_success);
* n_input_queries is removed: it wasn't really a number of input queries,
  (it was a number of processed queries), and it can be computed
  from other stats: success + fatal errors;
* added a short comment which explains each stat value
@kmike kmike merged commit aaa49ea into main Jul 29, 2022
@wRAR wRAR deleted the stats-cleanup branch April 5, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate AggStats.n_query_responses

2 participants