Skip to content

Remove rows wrapper from QuickStatements JSON output#193

Merged
physikerwelt merged 2 commits intomainfrom
copilot/omit-rows-from-quickstatements
Feb 25, 2026
Merged

Remove rows wrapper from QuickStatements JSON output#193
physikerwelt merged 2 commits intomainfrom
copilot/omit-rows-from-quickstatements

Conversation

Copy link
Contributor

Copilot AI commented Feb 25, 2026

The QuickStatements JSON output was wrapped in a {"rows": [...]} envelope, which is unnecessary and inconsistent with how the data is consumed downstream.

Changes

  • software_quickstatements.py: build_metadata_json and build_references_json now return list[dict] directly instead of {"rows": list[dict]}
  • Fixture files: sagemath_825_metadata.json and sagemath_825_references.json updated to reflect the new format
  • Tests: Assertions updated from output["rows"][i]output[i]

Before:

{"rows": [{"qP13": "825", "Len": "SageMath", ...}]}

After:

[{"qP13": "825", "Len": "SageMath", ...}]

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: physikerwelt <2777736+physikerwelt@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove specified rows from quickStatements JSON output Remove rows wrapper from QuickStatements JSON output Feb 25, 2026
@physikerwelt physikerwelt marked this pull request as ready for review February 25, 2026 20:51
@physikerwelt physikerwelt merged commit 274f757 into main Feb 25, 2026
2 checks passed
@physikerwelt physikerwelt deleted the copilot/omit-rows-from-quickstatements branch February 25, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants