-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author claiming checks for whether to create a ticket are wrong #467
Comments
@michamos it's not clear for me, for example if I have |
Yes, that's like the last row in the table
Le jeu. 13 juin 2024, 10:19, Harris Tzovanakis ***@***.***> a
écrit :
… @michamos <https://github.com/michamos> it's not clear for me, for
example if I have {Smith, Davis} and {Smith} should we allow claim or not?
—
Reply to this email directly, view it on GitHub
<#467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWC7MPGZDHTIM6DC6V23ZDZHFIYJAVCNFSM6AAAAABHZZCM66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRUHE3DCNJQGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The issue is the name = "Smith"
ParsedName.loads(name)
<HumanName : [
title: ''
first: 'Smith'
middle: ''
last: ''
suffix: ''
nickname: ''
]> |
It's a bit of a corner case, but I think in general last name makes more
sense. I believe we already have some workarounds for this somewhere, as
the query parser handles it as a last name:
https://inspirehep.net/api/search/query-parser?q=a+smith
Le jeu. 13 juin 2024, 10:35, Harris Tzovanakis ***@***.***> a
écrit :
… The issue is the ParsedName when we have just Smith it parsed like a
first name, is it a bug or should we make a special case for that?
name = "Smith"ParsedName.loads(name)
<HumanName : [
title: ''
first: 'Smith'
middle: ''
last: ''
suffix: ''
nickname: ''
]>
—
Reply to this email directly, view it on GitHub
<#467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWC7MPLULZTD4N5AM4SG6DZHFKTXAVCNFSM6AAAAABHZZCM66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRUHE4TSNZRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah right, I forgot the Pink case 😅 We have also this Our parser returns:
and
Which are incompatible, should we handle this case as well? Or it's a mistake in the requirements? |
inspirehep/inspirehep#2403 outlines the approach to claiming papers from a different profile. There is an important distinction of whether users are allowed to claim the papers, or a ticket for a curator should be created instead.
The checks that are implemented are not in line with the requirements however:
curated_relation
field of corresponding author in paper).name.value
andname.name_variants
. ASCII-fication of unicode characters should be performed.Examples:
authors.full_name
)name.value OR name.name_variants
)can_claim
The text was updated successfully, but these errors were encountered: