Skip to content

Conversation

@breuleux
Copy link
Member

  • Refactor some of the paper finding logic into a Finder class
  • Add a timeout to all requests

if mem_col.find_paper(pinfo.paper):

if found := find.find(pinfo.paper):
found.value.add(pinfo)
Copy link
Member

Choose a reason for hiding this comment

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

Is scored automatically updated here or is there another operation that needs to be done? Something like the following?

Suggested change
found.value.add(pinfo)
found.value.add(pinfo)
found.score = work.focuses.score(found.value.current)

Comment on lines +35 to +41
sim = quick_author_similarity(au1, au2)
if sim >= 0.8:
return same_title
else:
logging.warning(
f"Title match but low author similarity ({sim:.2f}) for paper '{p.title}': {au1} vs {au2}"
)
Copy link
Member

Choose a reason for hiding this comment

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

in which case do we have a matching title but wouldn't want to return a paper?

@satyaog satyaog mentioned this pull request Oct 1, 2025
Merged
@satyaog
Copy link
Member

satyaog commented Oct 2, 2025

Closing as superseded by #95

@satyaog satyaog closed this Oct 2, 2025
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