# Discrepancy in versioning between Numerai database and NumerAPI?

**URL:** <https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168>\
**Category:** Tournament\
**Created:** [March 29, 2022, 9:19am UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168 "2022-03-29T09:19:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![perfect\_fit](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/perfect_fit/32/2527_2.png) [@perfect\_fit](https://forum.numer.ai/u/perfect_fit)\
**Post date:** [March 29, 2022, 9:19am UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/1 "2022-03-29T09:19:07Z")

</div>

The new [v4 version data announcement](http://forum.numer.ai/t/v4-tournament-data-announcement/5163) looks great! However, it refers to legacy data (310 features) as “v2”, while [in NumerAPI it is referred to as v1](https://github.com/uuazed/numerapi/blob/1f64b1e1910a4cba2481736f0c8a7e5690b13195/numerapi/numerapi.py#L564). The 1050+ features dataset is referred to version 2 in NumerAPI, so v4 would be version 3 in NumerAPI?

Am I missing something or is there a discrepancy between how the Numerai team does versioning and how NumerAPI is structured?

Currently, the API changes are breaking pipelines, so it would be great to have clarity on this.

 ![breaking_numerai_api_example](https://canada1.discourse-cdn.com/flex009/uploads/numerai/original/2X/7/74aecd03dfae2017e3345367bcc8cbf4083e52b2.png)

---

<div class="post-metadata">

**Author:** ![master\_key](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/master_key/32/3343_2.png) [@master\_key](https://forum.numer.ai/u/master_key)\
**Post date:** [March 29, 2022, 5:30pm UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/2 "2022-03-29T17:30:50Z")

</div>

Looking into this now and will get it sorted and reply here, thank you!

---

<div class="post-metadata">

**Author:** ![perfect\_fit](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/perfect_fit/32/2527_2.png) [@perfect\_fit](https://forum.numer.ai/u/perfect_fit)\
**Post date:** [March 29, 2022, 5:39pm UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/3 "2022-03-29T17:39:33Z")

</div>

Awesome, thank you for the heads up!

---

<div class="post-metadata">

**Author:** ![ark](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/ark/32/3156_2.png) [@ark](https://forum.numer.ai/u/ark)\
**Post date:** [March 29, 2022, 6:23pm UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/4 "2022-03-29T18:23:24Z")

</div>

Hey, apologies that your pipeline broke.

In reference to the error you reported:  
Can you provide the NumerAPI code snippet that is throwing this error? AFAIK all of our example predictions and example models are able to download data normally.

In reference to versioning:  
The version you’re referencing is the submission endpoint version not the dataset version. We did, however, recently remove the need for a version argument, so it doesn’t matter what you give NumerAPI during upload. I’ll work on a PR to remove this version argument so it stops causing confusion.

---

<div class="post-metadata">

**Author:** ![perfect\_fit](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/perfect_fit/32/2527_2.png) [@perfect\_fit](https://forum.numer.ai/u/perfect_fit)\
**Post date:** [March 31, 2022, 3:24am UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/5 "2022-03-31T03:24:31Z")

</div>

Hey, thanks for the message. I see now that the error occurs from an assert statement my side. I assert that the filename is in `NumerAPI().list_datasets()`, which breaks because of the v2 and v3 prefixes. Can download files without this assert.

Thanks for the heads up on the submission versioning! So for downloading the version arguments are aligned (v2 = legacy dataset, v3 = 1050+ features dataset)?

---

<div class="post-metadata">

**Author:** ![ark](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/ark/32/3156_2.png) [@ark](https://forum.numer.ai/u/ark)\
**Post date:** [March 31, 2022, 9:16pm UTC](https://forum.numer.ai/t/discrepancy-in-versioning-between-numerai-database-and-numerapi/5168/6 "2022-03-31T21:16:58Z")

</div>

There’s no version argument for downloading, just the filename prefixed with `v2/` for legacy and `v3/` for current. `v4/` will be listed upon the v4 data release!
