Skip to content

Conversation

@enrubio
Copy link
Member

@enrubio enrubio commented Nov 17, 2025

This PR adds the comprehensive conflict policy to the JS client. The only difference between this and the NeurIPS policy is that this takes internships into account for conflict detection.

@enrubio enrubio marked this pull request as ready for review November 19, 2025 19:32
@enrubio enrubio requested a review from melisabok November 19, 2025 19:34
@melisabok
Copy link
Member

Thank you, can you increase the package.json version so we can release a new version?

for (const publication of (profile.content?.publications || [])) {
let year = -1;
if (publication.content?.year) {
const convertedYear = parseInt(publication.content.year, 10);
Copy link
Contributor

Choose a reason for hiding this comment

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

how about v2 note

Copy link
Member Author

Choose a reason for hiding this comment

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

How can you tell it's v1 vs v2?

if (nYears) {
const cutoffDate = new Date();
cutoffDate.setFullYear(cutoffDate.getFullYear() - nYears);
cutOffYear = cutoffDate.getFullYear();
Copy link
Contributor

Choose a reason for hiding this comment

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

the year is set in cutoffDate but only the year is used
so i think this logic is equivalent to
current year - nYears

@xkopenreview
Copy link
Contributor

i think getComprehensiveProfileInfo method itself requires unit tests

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.

4 participants