Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic links in README
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (0.4%) to scientific vocabulary
Last synced: 7 months ago
·
JSON representation
·
Repository
Just some exercises
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created about 1 year ago
· Last pushed about 1 year ago
Metadata Files
Citation
Owner
- Name: Gabriele Rosati
- Login: gabri1997
- Kind: user
- Location: Castelnovo Monti (RE)
- Repositories: 8
- Profile: https://github.com/gabri1997
Computer Science Engineering Student at the University of Modena and Reggio Emilia - Artificial Intelligence Eng. Curriculum
Citation (Citations.py)
"""
Given an array of integers citations where citations[i] is the number of citations a researcher received for their ith paper,
return the researcher's h-index.
"""
def hIndex(citations):
"""
:type citations: List[int]
:rtype: int
"""
citations.sort(reverse=True) # Ordiniamo le citazioni in ordine decrescente
h_index = 0
for i in range(len(citations)):
if citations[i] >= i + 1:
h_index = i + 1
else:
break
return h_index
if __name__ == '__main__':
citations = [3,0,6,1,5,5,5]
h_index = hIndex(citations)
print(h_index)