Datasets counts are inflated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Start at kui.sh around line 155 and trace the gxadmin dataset-count entry point. Compare its current dataset query with the examples in the issue, then verify that deleted datasets are excluded from the reported count and validate the result against the provided SQL counts.
Written by the indexing model from the issue text.
Description
The gxadmin dataset-count command used in the script includes deleted datasets:
$ gxadmin query dataset-count 2007-01-01
num_datasets
--------------
6742
$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01'"
count
-------
6742
$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01' and deleted=false"
count
-------
1090
We likely don't want those counted?
- Dominant language
- Shell
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from galaxyproject/kui
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
galaxyproject/kui#5 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
galaxyproject/kui#4 ·
All issues in galaxyproject/kui
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·