diff --git a/CITATION.cff b/CITATION.cff index e185cdc..b419e3c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -34,4 +34,4 @@ keywords: - indicators - fairness license: MIT -version: 0.1.6 +version: 0.1.7 diff --git a/RSFC_REPORT.md b/RSFC_REPORT.md index d71eebc..699a1b8 100644 --- a/RSFC_REPORT.md +++ b/RSFC_REPORT.md @@ -1,12 +1,12 @@ -# Quality Assessment for rsfc v0.1.5 +# Quality Assessment for rsfc v0.1.6 -An automated assessment of the rsfc tool based on the EVERSE software quality indicators, run on 2026-06-29. +An automated assessment of the rsfc tool based on the EVERSE software quality indicators, run on 2026-07-02. ## General Information - **Software:** rsfc - **Repository:** https://github.com/oeg-upm/rsfc -- **Assessment date:** 2026-06-29T07:12:44Z +- **Assessment date:** 2026-07-02T09:15:49Z - **Total checks:** 41 ## Summary @@ -177,6 +177,7 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in - **Result:** true - **Process:** Searches for release tags in the repository - **Evidence:** These releases were found: + - https://github.com/oeg-upm/rsfc/releases/tag/v0.1.6 - https://github.com/oeg-upm/rsfc/releases/tag/v0.1.5 - https://github.com/oeg-upm/rsfc/releases/tag/v0.1.4 - 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 - **Process:** Searches for a file named 'LICENSE' or 'LICENSE.md' in the root of the repository. - **Evidence:** A license was found in: - https://raw.githubusercontent.com/oeg-upm/rsfc/main/pyproject.toml - - https://raw.githubusercontent.com/oeg-upm/rsfc/main/CITATION.cff - - https://raw.githubusercontent.com/oeg-upm/rsfc/main/LICENSE - https://raw.githubusercontent.com/oeg-upm/rsfc/main/codemeta.json + - https://raw.githubusercontent.com/oeg-upm/rsfc/main/LICENSE + - https://raw.githubusercontent.com/oeg-upm/rsfc/main/CITATION.cff - **Suggestions:** N/A @@ -601,9 +602,8 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in - **Result:** true - **Process:** Searches for files and/or directories that mention test in their names. Also, ignores doc and docs directories - **Evidence:** Files and/or directories that mention test were found at: - - src/rsfc/rsfc_tests - - src/rsfc/rsfc_tests/__init__.py - - src/rsfc/rsfc_tests/rsfc_tests.py + - tests + - tests/test_main.py - **Suggestions:** N/A ### software_is_containerized @@ -657,7 +657,7 @@ An automated assessment of the rsfc tool based on the EVERSE software quality in - **Result:** true - **Process:** Checks if the software repository has a commits history - **Evidence:** A commit history was found in: - - https://api.github.com/repos/oeg-upm/rsfc/commits?sha=main&since=2026-03-31T07:12:29.604180+00:00&per_page=100 + - https://api.github.com/repos/oeg-upm/rsfc/commits?sha=main&since=2026-04-03T09:15:34.373633+00:00&per_page=100 - **Suggestions:** N/A diff --git a/codemeta.json b/codemeta.json index 49b1207..2618e64 100644 --- a/codemeta.json +++ b/codemeta.json @@ -48,6 +48,6 @@ "operatingSystem": "Linux", "programmingLanguage": "Python", "relatedLink": "https://github.com/EVERSE-ResearchSoftware/indicators", - "version": "0.1.6", + "version": "0.1.7", "developmentStatus": "wip" } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 863af21..b96c2b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rsfc" -version = "0.1.6" +version = "0.1.7" description = "EVERSE Research Software Fairness Checks" authors = [ "Andres Montero ", diff --git a/src/rsfc/__init__.py b/src/rsfc/__init__.py index f74d521..f9c1b31 100644 --- a/src/rsfc/__init__.py +++ b/src/rsfc/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -__version__ = "0.1.5" +__version__ = "0.1.7" diff --git a/src/rsfc/rsfc_checks/rsfc_checks.py b/src/rsfc/rsfc_checks/rsfc_checks.py index d680a93..39cad4b 100644 --- a/src/rsfc/rsfc_checks/rsfc_checks.py +++ b/src/rsfc/rsfc_checks/rsfc_checks.py @@ -1369,7 +1369,7 @@ def test_license_info_in_metadata_files(somef_data): if 'license' in somef_data: for item in somef_data['license']: - sources = item["source"] + sources = item.get("source", []) sources_list = sources if isinstance(sources, list) else [sources] for s in sources_list: 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): suggest = "N/A" for item in somef_data["contributing_guidelines"]: - evidence += f'\n\t- {item["source"]}' + sources = item.get("source", "") + + if isinstance(sources, list): + sources = ", ".join(str(s) for s in sources) + + if sources: + evidence += f'\n\t- {sources}' + else: + evidence += '\n\t- (source not found)' check = ch.Check(constants.INDICATORS_DICT['has_contribution_guidelines'], 'RSFC-21-1', "Repository has contribution guidelines", constants.PROCESS_CONTRIBUTION_GUIDELINES, output, evidence, suggest) diff --git a/src/rsfc/utils/constants.py b/src/rsfc/utils/constants.py index 3b7c355..0509e08 100644 --- a/src/rsfc/utils/constants.py +++ b/src/rsfc/utils/constants.py @@ -544,7 +544,7 @@ 'rsfc' : { 'name' : 'RSFC', 'id' : 'https://w3id.org/rsfc/', - 'version' : '0.1.6' + 'version' : '0.1.7' } }