Spaces:
Sleeping
Sleeping
| # Author: Liam Grinstead | |
| # Runs GVU-modulated collapse falsifiability formulas and hashes results | |
| import hashlib | |
| from codex.formulas import GVU_FORMULAS | |
| def run_falsifiability(agent): | |
| formula = GVU_FORMULAS.get('Formula_20') | |
| score = formula.evaluate(agent) | |
| hash_val = hashlib.sha512(str(agent).encode()).hexdigest() | |
| return score, hash_val |