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

Fix a small bug in the pattern creation #1396

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

joka921
Copy link
Member

@joka921 joka921 commented Jul 11, 2024

There was a bug in the pattern creation when the first or last triple of a group of triples with the same subject was an "ignored" triple (where the predicate should not contribute towards the pattern). This is now fixed and tested and the code also became simpler.

TODO<joka921>
Add a unit test that would have caught this bug.
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.15%. Comparing base (14d6e1c) to head (5a261e9).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1396      +/-   ##
==========================================
+ Coverage   89.06%   89.15%   +0.09%     
==========================================
  Files         328      332       +4     
  Lines       29294    29499     +205     
  Branches     3262     3291      +29     
==========================================
+ Hits        26090    26301     +211     
+ Misses       2054     2051       -3     
+ Partials     1150     1147       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

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

1-1 with Johannes, some changes

Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

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

Another round

Copy link

sonarcloud bot commented Jul 15, 2024

@hannahbast hannahbast changed the title Fix a small bug in the pattern creation. Fix a small bug in the pattern creation Jul 18, 2024
@hannahbast hannahbast merged commit 2b8dd19 into ad-freiburg:master Jul 18, 2024
20 checks passed
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.

None yet

2 participants