# zeta2 cli: Export retrieval stats data frame \(\#40145\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1bd34e0db0d321531cd22854411dd0a225d20824)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1bd34e0db0d321531cd22854411dd0a225d20824

Requested commit: 1bd34e0db0d321531cd22854411dd0a225d20824

Commit: 1bd34e0db0d321531cd22854411dd0a225d20824

Tree: f76bac71085ea5c27dca6488f61a5b2384f5b61e

Author: Agus Zubiaga

Committer: GitHub

## Message

```
zeta2 cli: Export retrieval stats data frame (#40145)

Retrieval stats will now use polars to build a big data frame for
references with the cartesian product of LSP declarations and retrieved
declaration candidates (with all their score components) and rebuilds
the stats summary on top of it.

This data frame is written to a `.parquet` file, which we can load into
advanced analytics tools (such as Metabase), so we can explore our
scoring distributions and find ways to improve retrieval, and then train
the decision tree.

Release Notes:

- N/A
```

## Parents

- [ce696c18ed7ee26f5dda159860b887c1f195ad41](https://git.cafe/gitcafe/zed/commit/ce696c18ed7ee26f5dda159860b887c1f195ad41?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1bd34e0db0d321531cd22854411dd0a225d20824?format=markdown)
