Skip to content
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

Citation Matching always creates unmatched annotation for self cites #5133

Open
flooie opened this issue Feb 22, 2025 · 0 comments
Open

Citation Matching always creates unmatched annotation for self cites #5133

flooie opened this issue Feb 22, 2025 · 0 comments
Assignees

Comments

@flooie
Copy link
Contributor

flooie commented Feb 22, 2025

es_search_db_for_full_citation

This function removes self citations, which is good but because it doesnt find itself we will create an unmatched citation for every opinion.

Im not sure what the right approach is here, but creating an annotation citation no link - as well doesnt seem like the right choice to me.

  must_not = []
  if full_citation.citing_opinion is not None:
      # Eliminate self-cites.
      must_not.append(Q("match", id=full_citation.citing_opinion.pk))
@flooie flooie moved this to Buffer Zone in Case Law Sprint Feb 22, 2025
@flooie flooie moved this from Buffer Zone to Backlog Feb 24 to March 7 in Case Law Sprint Feb 24, 2025
@grossir grossir self-assigned this Feb 24, 2025
@grossir grossir moved this from Backlog Feb 24 to March 7 to In progress in Case Law Sprint Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants