API Bug - spaced_repetition_system_id wrong number

Hi,

Could there be a bug in the /reviews endpoint? It seems to me that spaced_repetition_system_id is erroneously often set to 1 instead of 2.

For example, for my very first review of the seven radical (Aaah, those were the days. So young! So naive…):

{'id': 421703096, 'object': 'review', 'url': 'https://api.wanikani.com/v2/reviews/421703096', 'data_updated_at': '2020-06-14T00:02:59.379614Z', 'data': {'created_at': '2018-11-17T16:14:44.423160Z', 'assignment_id': 119370734, 'subject_id': 4, 'spaced_repetition_system_id': 1, 'starting_srs_stage': 1, 'ending_srs_stage': 1, 'incorrect_meaning_answers': 1, 'incorrect_reading_answers': 0}}

The subjects endpoint correctly returns it as having srs_id 2.

1 Like

In the first two levels there are accelerated SRS intervals. I think this translates into a different spaced_repetition_system_id. This is probably what you observe.

3 Likes

Thank you for your response! But that is the point, it should return srs 2 (the accelerated “startup” one), but it returns srs 1 (the regular one).

2 Likes

In this case we should notify @Viet There seems to be a bug .

2 Likes

My guess is that when they backfilled old reviews with the ID they just set everything to 1

2 Likes