You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
serialization_parsing: the contract says JSON/YAML/XML/CSV/protobuf, the Python rule matches only pickle/marshal/literal_eval (0 of 72,044 functions fire, 699 call a codec) #8882
bugUnintended behavior or logic failure in the engineclaim:melekcore-engineModifications to the central physics and parsing enginepriority: mediumpythonPython-specific runtime or environment optimizations
The contract for serialization_parsing (gitgalaxy/standards/signal_contracts.py, declared) is:
A call that encodes to or decodes from a structured interchange format -- JSON, XML, YAML, CSV, protocol buffers, a marshal or unmarshal -- at its invocation
The Python rule matches only pickle.load(s), pickle.Unpickler, marshal.load(s) and ast.literal_eval (the unsafe subset). So arch_serialization fires in 0 of 72,044 functions of GitGalaxy's own Python code, while a parser sees an encode or decode call in 699 of them (json.dumps 978 call sites, json.loads 416, yaml.safe_load 105, json.load 54, json.dump 30, ...).
Reproduce
importjsondefencode(x):
returnjson.dumps(x) # arch_serialization == 0, the contract says it countsdefdecode(s):
returnjson.loads(s) # 0
Expected
Either the rule covers the contract (JSON, XML, YAML, CSV, protobuf and marshal/pickle, per language's own libraries) or the contract is narrowed to what the rule does and a separate family is named for benign interchange. This also settles question 1 in #8862: the contract already says JSON counts.
Notes
Only Python was measured. The other languages' serialization_parsing rules have not been scored; the keyword-family grid (#8876) shows them as untested. The Python rule's comment calls the family unsafe deserialization, so the code and the contract disagree about what the family is for.
Part of #8863. Time the change (CPU seconds on keyword-rosetta and language-crucible); rosetta:rebless-owed if counts move; add the cases above as a test.
Claimed by promoter-bot host melek, lease renewed 2026-11-21T13:38Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.
bugUnintended behavior or logic failure in the engineclaim:melekcore-engineModifications to the central physics and parsing enginepriority: mediumpythonPython-specific runtime or environment optimizations
Activity
squid-protocol commentedon Nov 21, 2026
Claimed by promoter-bot host
melek, lease renewed 2026-11-21T13:38Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:meleklabel.python serialization_parsing: cover the contract's JSON/YAML/XML/CSV/…