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
Python: state_danger misses subprocess.check_output; arch_globals misses global statements #8865
bugUnintended behavior or logic failure in the engineclaim:melekcore-engineModifications to the central physics and parsing enginepriority: mediumpythonPython-specific runtime or environment optimizations
Two more Python families that fall short of what they name, found by the new family-validity tool (#8864) on GitGalaxy's own 72,044 Python functions. Same class as #8857-#8861, filed once.
state_danger (high-risk execution) misses subprocess.check_output and check_call. The rule lists subprocess.(call|Popen|run). check_output is called in 540 functions of the engine's own code and none score. Recall 0.56, precision 0.79 over 503 functions the oracle sees. Precision is below the bar too, so the over-count side needs a look as well.
arch_globals misses global / nonlocal statements. The family reads os.environ, sys.argv, sys.path; a function that rebinds module state with global scores 0 (480 functions). Recall 0.51, precision 1.00 over 988 functions.
Reproduce
importsubprocessSTATE=0defruns():
returnsubprocess.check_output(["ls"]) # state_danger == 0, should be > 0defmutates():
globalSTATESTATE+=1# arch_globals == 0, should be > 0
Expected
state_danger > 0 for the check_output / check_call forms (and say in the PR what the precision side found). arch_globals > 0 for functions that declare global or nonlocal, if "globals" is meant to include rebinding module state: a definition call, so answer it in #8862 first.
Part of #8863. Time every keyword 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-21T17:51Z. 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-21T17:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:meleklabel.Regenerate docs_read_by_tests.txt after merging main (Part of #8865)
Python: high_risk_execution counts subprocess.check_output/check_call (…