Closed baumstern closed 1 month ago
I suspect the duplication arises because a single artifact may be associated with multiple projects. For example, both the protocol-guild
and beaconrunner-ethereum
projects include the beaconrunner
artifact, which is a pattern that appears to be common among other entries as well.
@baumstern yes!
We do, knowingly, have a few repos shared among projects, mostly ones associated with the ethereum
org space (or forks of its repos). However, the artifact metrics should not be double-counted. So I'm glad you found this.
It appears that this issue would also affect the privacy-scaling-explorations
because we index both the org space and some its individual repos.
hey @baumstern - pushing a simple fix now! thanks for your help testing this. separately will need to do some manual cleanup work to handle the repos that are owned by more than one projects.
Which area(s) are affected? (leave empty if unsure)
No response
To Reproduce
run this query:
Describe the Bug
As of July 22, 2024, 12:09 UTC,
int_repo_metrics_by_project
table shows that 100 projects have duplicate entries. The common between this dup entries are that an artifact is belong to multiple project.query result:
see the full query result here.
related issue: https://github.com/opensource-observer/oso/issues/1781
Expected Behavior
no dup