Skip to content

Conversation

@breuleux
Copy link
Member

The information collected in PaperInfo can be useful in the collection database, so both data structures are merged. This also simplifies the code a little by removing some indirections.

@breuleux breuleux force-pushed the merge-info branch 2 times, most recently from 3b02b55 to fdccec2 Compare January 27, 2026 18:03
Copy link
Member

@satyaog satyaog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mostly feel we could want to keep the key field in the file regressions

Paper: {"id", "version"},
PaperInfo: {"acquired"},
}
omissions = {Paper: {"id", "version", "key", "info", "score"}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't we want to keep key (and maybe info) in the file regression? Just to make sure we do have something in there as we're using key to filter some papers in the code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I omitted them to minimize regression disruption, because extra fields would pop into regression tests for Paper. But I think you're right.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@breuleux breuleux merged commit 1f9a0e3 into mila-iqia:v3 Jan 27, 2026
2 checks passed
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.

2 participants