harrrshall/BarunAction-35M main
PYTHON
Verdict: BENIGN
Local reference
Suspicious dependency
Inferred
| 1 |
"""Strict parsing and canonicalization for BarunAction Action IR v1. |
English function-word token "for" |
| 2 |
|
|
| 3 |
This module deliberately uses only the Python standard library. It does not try to |
English function-word token "the" |
| 4 |
recover JSON from prose, Markdown fences, truncate… |
|
| 191:58 |
…utput is not valid UTF-8") from exc |
|
| 192 |
|
|
| 193 |
try: |
|
| 194 |
decoded = json.loads( |
Parses JSON data with Python |
| 195 |
raw, |
|
| 196 |
object_pairs_hook=_reject_duplicate_pairs, |
|
| 197 |
parse_constant=_reject_constant, |
|
| 198 |
… |
|
| 634:60 |
…on IR output.""" |
|
| 635 |
|
|
| 636 |
return validate_action_ir(decode_json_object(raw), schemas) |
|
| 637 |
|
|
| 638 |
|
|
| 639 |
def action_ir_equal(left: ActionIR, right: ActionIR) -> bool: |
|
| 640 |
"""Strict AST equality with the protocol's SERIAL/PARALLEL semantics.""" |
English function-word token "with" |
| 641 |
|
|
| 642 |
if left.decision is not right.decision: |
|
| 643 |
… |
|
Micro-behaviors
| 191:58 |
…utput is not valid UTF-8") from exc |
|
| 192 |
|
|
| 193 |
try: |
|
| 194 |
decoded = json.loads( |
|
| 195 |
raw, |
|
| 196 |
object_pairs_hook=_reject_duplicate_pairs, |
|
| 197 |
parse_constant=_reject_constant, |
|
| 198 |
… |
|
Metadata
| 634:60 |
…on IR output.""" |
|
| 635 |
|
|
| 636 |
return validate_action_ir(decode_json_object(raw), schemas) |
|
| 637 |
|
|
| 638 |
|
|
| 639 |
def action_ir_equal(left: ActionIR, right: ActionIR) -> bool: |
|
| 640 |
"""Strict AST equality with the protocol's SERIAL/PARALLEL semantics.""" |
|
| 641 |
|
|
| 642 |
if left.decision is not right.decision: |
|
| 643 |
… |
|
| 1 |
"""Strict parsing and canonicalization for BarunAction Action IR v1. |
|
| 2 |
|
|
| 3 |
This module deliberately uses only the Python standard library. It does not try to |
|
| 4 |
recover JSON from prose, Markdown fences, truncate… |
|
Identity
| SHA-256 |
563d40afabd03bc81fdd4e2a0bf0224c5f6e9b686ee8f9f868611043d42642c8 |
| Filename |
action_ir.py |
| Package |
harrrshall/BarunAction-35M |
| Version |
main |
| PURL |
pkg:huggingface/harrrshall/BarunAction-35M@main |
Timeline
| First seen |
5 Aug 2026 10:58 UTC |
| First analyzed |
28 Aug 2026 21:37 UTC |
| Last analyzed |
28 Aug 2026 21:37 UTC |
| Last updated |
28 Aug 2026 21:37 UTC |
Labeling
| Label |
unknown |
| Label source |
forager |
| Traits version |
b59b7 |