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

Model - Uniquify sources #373

Closed
2 tasks
mjy opened this issue Apr 4, 2018 · 4 comments
Closed
2 tasks

Model - Uniquify sources #373

mjy opened this issue Apr 4, 2018 · 4 comments
Assignees
Labels
model Issue pertains to an app/model.

Comments

@mjy
Copy link
Member

mjy commented Apr 4, 2018

Create Source methods and specs that produce reasonable results for

  • #similar
  • #identical

May need to subclass specific methods for Verbatim vs. BibTeX.

Should follow similar pattern to #288, but potentially much more complicated given the many more attributes.

@mjy mjy added the model Issue pertains to an app/model. label Apr 4, 2018
@TuckerJD
Copy link
Contributor

TuckerJD commented Apr 9, 2018

Is this to return a scope of similar/identical, or as methods returning Booleans for comparing two specific sources?

@mjy
Copy link
Member Author

mjy commented Apr 9, 2018 via email

@mjy
Copy link
Member Author

mjy commented Apr 12, 2018

Pertinent fast finding with postgres

You can just pass in model.attributes.keys - HOUSEKEEPING_ATTRIBUTES - MODEL_ATTRIBUTES to the latter.

TuckerJD added a commit that referenced this issue May 8, 2018
TuckerJD added a commit that referenced this issue May 8, 2018
TuckerJD added a commit that referenced this issue May 9, 2018
TuckerJD added a commit that referenced this issue May 10, 2018
 ::identical(attr), and ::similar(attr) override IsData version.
@mjy mjy assigned mjy and jlpereira Oct 28, 2020
@mjy
Copy link
Member Author

mjy commented Sep 17, 2024

Closing and cross-referencing #970.

@mjy mjy closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model Issue pertains to an app/model.
Projects
None yet
Development

No branches or pull requests

3 participants