Skip to content

Commit 08e0488

Browse files
authored
Merge pull request #117 from andriumon/main
0.1.7 (bugfix)
2 parents 9db8b8e + 251ec44 commit 08e0488

7 files changed

Lines changed: 24 additions & 16 deletions

File tree

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ keywords:
3434
- indicators
3535
- fairness
3636
license: MIT
37-
version: 0.1.6
37+
version: 0.1.7

RSFC_REPORT.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Quality Assessment for rsfc v0.1.5
1+
# Quality Assessment for rsfc v0.1.6
22

3-
An automated assessment of the rsfc tool based on the EVERSE software quality indicators, run on 2026-06-29.
3+
An automated assessment of the rsfc tool based on the EVERSE software quality indicators, run on 2026-07-02.
44

55
## General Information
66

77
- **Software:** rsfc
88
- **Repository:** https://github.com/oeg-upm/rsfc
9-
- **Assessment date:** 2026-06-29T07:12:44Z
9+
- **Assessment date:** 2026-07-02T09:15:49Z
1010
- **Total checks:** 41
1111

1212
## Summary
@@ -177,6 +177,7 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in
177177
- **Result:** true
178178
- **Process:** Searches for release tags in the repository
179179
- **Evidence:** These releases were found:
180+
- https://github.com/oeg-upm/rsfc/releases/tag/v0.1.6
180181
- https://github.com/oeg-upm/rsfc/releases/tag/v0.1.5
181182
- https://github.com/oeg-upm/rsfc/releases/tag/v0.1.4
182183
- https://github.com/oeg-upm/rsfc/releases/tag/v0.1.3
@@ -569,9 +570,9 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in
569570
- **Process:** Searches for a file named 'LICENSE' or 'LICENSE.md' in the root of the repository.
570571
- **Evidence:** A license was found in:
571572
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/pyproject.toml
572-
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/CITATION.cff
573-
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/LICENSE
574573
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/codemeta.json
574+
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/LICENSE
575+
- https://raw.githubusercontent.com/oeg-upm/rsfc/main/CITATION.cff
575576
- **Suggestions:** N/A
576577

577578
<a id="software_has_license-https---w3id-org-rsfc-test-rsfc-15-2"></a>
@@ -601,9 +602,8 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in
601602
- **Result:** true
602603
- **Process:** Searches for files and/or directories that mention test in their names. Also, ignores doc and docs directories
603604
- **Evidence:** Files and/or directories that mention test were found at:
604-
- src/rsfc/rsfc_tests
605-
- src/rsfc/rsfc_tests/__init__.py
606-
- src/rsfc/rsfc_tests/rsfc_tests.py
605+
- tests
606+
- tests/test_main.py
607607
- **Suggestions:** N/A
608608

609609
### software_is_containerized
@@ -657,7 +657,7 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in
657657
- **Result:** true
658658
- **Process:** Checks if the software repository has a commits history
659659
- **Evidence:** A commit history was found in:
660-
- https://api.github.com/repos/oeg-upm/rsfc/commits?sha=main&since=2026-03-31T07:12:29.604180+00:00&per_page=100
660+
- https://api.github.com/repos/oeg-upm/rsfc/commits?sha=main&since=2026-04-03T09:15:34.373633+00:00&per_page=100
661661
- **Suggestions:** N/A
662662

663663
<a id="version_control_use-https---w3id-org-rsfc-test-rsfc-17-3"></a>

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
"operatingSystem": "Linux",
4949
"programmingLanguage": "Python",
5050
"relatedLink": "https://github.com/EVERSE-ResearchSoftware/indicators",
51-
"version": "0.1.6",
51+
"version": "0.1.7",
5252
"developmentStatus": "wip"
5353
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "rsfc"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
description = "EVERSE Research Software Fairness Checks"
55
authors = [
66
"Andres Montero <andres.montero.martin@upm.es>",

src/rsfc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

33

4-
__version__ = "0.1.5"
4+
__version__ = "0.1.7"
55

src/rsfc/rsfc_checks/rsfc_checks.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ def test_license_info_in_metadata_files(somef_data):
13691369

13701370
if 'license' in somef_data:
13711371
for item in somef_data['license']:
1372-
sources = item["source"]
1372+
sources = item.get("source", [])
13731373
sources_list = sources if isinstance(sources, list) else [sources]
13741374
for s in sources_list:
13751375
if 'pyproject.toml' in s or 'setup.py' in s or 'node.json' in s or 'pom.xml' in s or 'package.json' in s:
@@ -1583,7 +1583,15 @@ def test_has_contribution_guidelines(somef_data):
15831583
suggest = "N/A"
15841584

15851585
for item in somef_data["contributing_guidelines"]:
1586-
evidence += f'\n\t- {item["source"]}'
1586+
sources = item.get("source", "")
1587+
1588+
if isinstance(sources, list):
1589+
sources = ", ".join(str(s) for s in sources)
1590+
1591+
if sources:
1592+
evidence += f'\n\t- {sources}'
1593+
else:
1594+
evidence += '\n\t- (source not found)'
15871595

15881596
check = ch.Check(constants.INDICATORS_DICT['has_contribution_guidelines'], 'RSFC-21-1', "Repository has contribution guidelines", constants.PROCESS_CONTRIBUTION_GUIDELINES, output, evidence, suggest)
15891597

src/rsfc/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@
544544
'rsfc' : {
545545
'name' : 'RSFC',
546546
'id' : 'https://w3id.org/rsfc/',
547-
'version' : '0.1.6'
547+
'version' : '0.1.7'
548548
}
549549
}
550550

0 commit comments

Comments
 (0)