Skip to content

Conversation

@zhenrongliew
Copy link
Contributor

Added helper functions so that EDSLs do not need to write their own to and from jsons.
Adds encode_json and decode_json methods to the DialectGroup class to and from JSON strings.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
11746 10475 89% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/kirin/ir/group.py 85% 🟢
src/kirin/serialization/jsonserializer.py 90% 🟢
TOTAL 88% 🟢

updated for commit: 55be337 by action🐍

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-11-27 20:16 UTC

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 42.85714% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/kirin/ir/group.py 37.50% 5 Missing ⚠️
src/kirin/serialization/jsonserializer.py 50.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@zhenrongliew zhenrongliew self-assigned this Nov 24, 2025
@kaihsin kaihsin added backport 0.22 C-enhancement Category: This is an enhancement of an existing feature labels Nov 27, 2025
@kaihsin kaihsin merged commit df50bd1 into main Nov 27, 2025
11 of 13 checks passed
@kaihsin kaihsin deleted the dl/json-helper-function branch November 27, 2025 20:15
kaihsin pushed a commit that referenced this pull request Nov 27, 2025
Added helper functions so that EDSLs do not need to write their own to
and from jsons.
Adds `encode_json` and `decode_json` methods to the `DialectGroup` class
to and from JSON strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 0.22 C-enhancement Category: This is an enhancement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants