Fix: rank feature score should be greater than 0. (#8416)

### What problem does this PR solve?

#8414

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-06-23 14:10:13 +08:00
committed by GitHub
parent 794a4102c2
commit 83e23f1e8a

View File

@ -427,6 +427,7 @@ Output:
res = {}
for k, v in obj.items():
try:
if int(v) > 0:
res[str(k)] = int(v)
except Exception:
pass