Atelier des rouesLab FR
Objects/Documentation

verifier23.py

Three-law decisions · verifier23.py

Download ↓
"""Standard-library audit of the phase's finite decision certificates."""
from fractions import Fraction as F
from itertools import combinations
from pathlib import Path
import json
from commun23 import reserved,common_law
from cellules22 import experiment
from verifier21 import check,table
from fusions23 import PAIRS,LO,HI,curves,value,signed,cross,positive,evaluate


def rd(name):return json.loads(Path(__file__).with_name(name+'.json').read_bytes())


def event(q,y,k):return sum(max(F(0),a-k*b) for a,b in zip(q,y))

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.