Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit 2c09f995 authored by Christophe Benz's avatar Christophe Benz

Sync Python generated modules

parent bf217afc
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-52.json" and "chap-52.m"
TAUX1 = TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR - TX_BAR0
TAUX2 = TX_BAR2 - TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR
TAUX3 = TX_BAR3 - TX_BAR2
TAUX4 = TX_BAR4 - TX_BAR3
TAUX5 = TX_BAR5 - TX_BAR4
def DS(x, y, z):
if x in (0, 5) or y in (1, 2) or z in (1, 2):
return max(QFxyz - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QFxyz - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QFxyz - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QFxyz - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QFxyz - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
WTXMARJ = RB51 / NB1 * null(PLAFQF) + NB2 * null(1 - PLAFQF)
TXMARJ = max(positif(WTXMARJ - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR) * TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR, max(positif(WTXMARJ - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR) * TX_BAR2, max(positif(WTXMARJ - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR) * TX_BAR3, max(positif(WTXMARJ - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR) * TX_BAR4, max(positif(WTXMARJ - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR) * TX_BAR5, 0))))) * 1 - positif(present(NRBASE) + present(NRINET) + present(IPTEFP) + present(IPTEFN) + present(PRODOM) + present(PROGUY)) * 1 - null(2 - V_REGCO) * positif(IDRS2 + IPQ1)
def DS06(y):
if y in (1, 2):
return max(QF0(y)6 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF0(y)6 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF0(y)6 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF0(y)6 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF0(y)6 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
def DS5(x, y):
if x in (0, 5) or y in (1, 2):
return max(QF(x, y)5 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF(x, y)5 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF(x, y)5 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF(x, y)5 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF(x, y)5 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
def DS04(y):
if y in (1, 2):
return max(QF0(y)4 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF0(y)4 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF0(y)4 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF0(y)4 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF0(y)4 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
NB1 = NBPT
NB2 = 1 + BOOL_0AM + BOOL_0AZ * V_0AV
def QF06(y):
if y in (1, 2):
return arr(RB06) / NB(y)
else:
raise NotImplementedError()
def QF5(y, z):
if y in (1, 2) or z in (1, 2):
return arr(RB5z) / NBy
else:
raise NotImplementedError()
def QF0(y, z):
if y in (1, 2) or z in (1, 2):
return arr(RB0z) / NBy
else:
raise NotImplementedError()
def QF04(y):
if y in (1, 2):
return arr(RB04) / NB(y)
else:
raise NotImplementedError()
def QF5(x, y):
if x in (0, 5) or y in (1, 2):
return arr(RBx5) / NBy
else:
raise NotImplementedError()
RNIBAR13 = 13465 * positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) + 12353 * 1 - positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * null(NBPT - 1) + 14414 * null(NBPT - 1.25) + 15917 * null(NBPT - 1.5) + 17420 * null(NBPT - 1.75) + 18922 * null(NBPT - 2) + 20425 * null(NBPT - 2.25) + 21928 * null(NBPT - 2.5) + 23581 * positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * 1 - BOOL_0AM + 23431 * 1 - positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * null(NBPT - 2.75) + 24933 * null(NBPT - 3) + 26436 * null(NBPT - 3.25) + 27939 * null(NBPT - 3.5) + 29442 * null(NBPT - 3.75) + 30944 * null(NBPT - 4) + 32447 * null(NBPT - 4.25) + 33950 * null(NBPT - 4.5) + 35453 * null(NBPT - 4.75) + 36955 * null(NBPT - 5) + 38458 * null(NBPT - 5.25) + 39961 * null(NBPT - 5.5) + 41464 * null(NBPT - 5.75) + 42966 * null(NBPT - 6) + 44470 * null(NBPT - 6.25) + 45980 * null(NBPT - 6.5) + 47476 * null(NBPT - 6.75) + 48980 * null(NBPT - 7) + 50480 * null(NBPT - 7.25) + 51985 * null(NBPT - 7.5) + 53487 * null(NBPT - 7.75) + 54990 * null(NBPT - 8) + 56493 * null(NBPT - 8.25) + 57995 * null(NBPT - 8.5) + 59497 * null(NBPT - 8.75) + 61000 * null(NBPT - 9) + 62504 * null(NBPT - 9.25) + 64005 * null(NBPT - 9.5) + 65515 * null(NBPT - 9.75) + 67010 * null(NBPT - 10)
CODMESGOUV = positif(NBPT - 10) + positif(LIG74 + LIGTTPVQ) + null(2 - V_REGCO) + null(4 - V_REGCO) + positif(CESSASSV + CESSASSC + PCAPTAXV + PCAPTAXC + LOYELEV + 0) + positif(IPROP + AVFISCOPTER + IPREP + IPPRICORSE)
MESGOUV = 1 * null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + 2 * positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) * 1 - positif(CODMESGOUV) * 1 - positif(RNIBAR13 - RNI) + 3 * positif(CODMESGOUV + positif(RNIBAR13 - RNI) + 1 - positif(null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + positif(IDRS3 - IDEC + 0) * positif(IDEC + 0)))
MESGOUV2 = 4 * null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + 5 * positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) + 6 * positif(RNIBAR13 - RNI) * 1 - positif(CODMESGOUV) + 7 * positif(CODMESGOUV + 1 - positif(null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) + positif(RNIBAR13 - RNI)))
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-6.json" and "chap-6.m"
NBPT = NSM + NPA + NIN + NSP + NBQAR * 10 / 10
NBPOTE = V_0CF + V_0CH + V_0CR + V_0DJ + V_0DN + V_0DP
NBFOTH = 1 + BOOL_0AM + V_0CF + V_0CH / 2 + V_0CR + V_0DJ + V_0DN
NSM = 1 + BOOL_0AM + V_0AV * min(BOOL_0AZ + EAC + V_0CH + V_0CR, 1) + V_0AV * BOOL_0AZ * V_0AW * 1 - V_0AP * 1 - V_0AF / 2
NPA = PAC - 0.5 * min(PAC, 2)
PAC = EAC + V_0CR
EAC = V_0CF + V_0DJ
NIN = V_0AP + V_0AF + V_0CG + V_0CR * 0.5
NSP = NPS + NSA + NCC
NCC = V_0AS * BOOL_0AM * 1 - positif(V_0AP + V_0AF) * 0.5 * positif(max(AGV + 1 - LIM_AGE_LET_S, AGC + 1 - LIM_AGE_LET_S))
NPS = positif(PAC) * V_0BT * positif(2 - NSM) * 0.5
NSA = 1 - positif(PAC + V_0CH) * min(V_0AG + V_0AL * 1 - positif(V_0AN) * 1 - positif(positif(V_0AW) * positif_ou_nul(AGV - LIM_AGE_LET_S)) + V_0AW * positif(max(AGV + 1 - LIM_AGE_LET_S, AGC + 1 - LIM_AGE_LET_S)), 1) * 1 - V_0AP * positif(2 - NSM) * 0.5
NSA2 = min(1 - positif(PAC + V_0CH) * null(SFUTILE - 14) + null(SFUTILE - 7) + null(SFUTILE - 15) * 1 - positif(NIN) + null(SFUTILE - 7) * BOOL_0AZ * V_0AV, 1) * 0.5
BOOL_0BT = positif(V_0BT + 0) * positif(V_0AC + V_0AD + 0)
NBQAR1 = null(V_0CF + V_0CR + V_0DJ + 0) * 1 / 2 * V_0CH - 2 * positif(V_0CH - 2) + 1 / 4 * positif(V_0CH + 0) + 1 / 4 * positif(V_0CH - 1)
NBQAR2 = null(V_0CF + V_0CR + V_0DJ - 1) * 1 / 2 * V_0CH - 1 * positif(V_0CH - 1) + 1 / 4 * positif(V_0CH + 0)
NBQAR3 = positif_ou_nul(V_0CF + V_0CR + V_0DJ - 2) * 1 / 2 * V_0CH
NBQAR4 = 1 / 4 * V_0CI
NBQART = BOOL_0BT * null(V_0CF + V_0CR + V_0DJ + 0) * 1 / 4 * null(V_0CH - 1) + 1 / 2 * positif_ou_nul(V_0CH - 2)
NBQAR = NBQAR1 + NBQAR2 + NBQAR3 + NBQAR4 + NBQART
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-83.json" and "chap-83.m"
RRFI = RFON + DRCF + max(0, RFMIC - MICFR - RFDANT) * 1 - positif(ART1731BIS) + RFON + DRCF + max(0, RFMIC - MICFR - DEFRF4BD) * positif(ART1731BIS)
RRFIPS = RRFI
MICFR = present(RFMIC) * arr(RFMIC * TX_MICFON / 100)
RMF = max(0, RFMIC - MICFR)
RMFN = max(0, RFMIC - MICFR - RFDANT) * 1 - positif(ART1731BIS) + max(0, RFMIC - MICFR - DEFRF4BD) * positif(ART1731BIS)
RFCD = RFORDI + FONCI + REAMOR
VARRFDORD = min(RFCD, RFDORD)
RFCE = max(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
RFCEAPS = max(0, RFORDI - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFORDI - DEFRF4BB) * positif(ART1731BIS)
RFCEPS = max(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
DFCE = min(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + min(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
RFCF = max(0, RFCE - RFDHIS * 1 - positif(PREM8_11))
RFCFPS = RFCEPS - RFDHIS * 1 - positif(PREM8_11)
RFCFAPS = max(0, RFCEAPS - RFDHIS * 1 - positif(PREM8_11))
DRCF = min(0, RFCE - RFDHIS * 1 - positif(PREM8_11))
VARRFDANT = min(RFCF + RFMIC - MICFR, RFDANT)
RFCG = max(0, RFCF - RFDANT) * 1 - positif(ART1731BIS) + max(0, RFCF - DEFRF4BD) * positif(ART1731BIS)
DFCG = min(0, RFCF - RFDANT) * 1 - positif(ART1731BIS) + min(0, RFCF - DEFRF4BD) * positif(ART1731BIS)
RFON = arr(RFCG * RFORDI / RFCD)
__2REVF = min(arr(RFCG * FONCI / RFCD), RFCG - RFON)
__3REVF = min(arr(RFCG * REAMOR / RFCD), RFCG - RFON - __2REVF)
RFQ = FONCI + REAMOR
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cinr.json" and "chap-cinr.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cmajo.json" and "chap-cmajo.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cor.json" and "chap-cor.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-ctl.json" and "chap-ctl.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-dummy.json" and "chap-dummy.m"
EM7 = somme((min(1, max(0, V_0F(i) + AG_LIMFG - V_ANREV)) for i in interval(0, 7))) + 1 - positif(somme((V_0F(i) for i in interval(0, 7))) + 0) * V_0CF
def IPQPALIM(i, z):
if z in (1, 2) or i in ('V', 'C'):
return ZIPQPALIMiz * PENSALNBi
elif z in (1, 2) or i in interval(1, 4):
return ZIPQPALIMiz * PENSALNBPi
else:
raise NotImplementedError()
def DEC1(z):
if z in (1, 2):
return min(max(arr(SEUIL_DECOTE1 * 1 - BOOL_0AM + SEUIL_DECOTE2 * BOOL_0AM - IDOM1z), 0), IDOM1z) * 1 - V_ANC_BAR + min(max(arr(SEUIL_DECOTEA / 2 - IDOM1z / 2), 0), IDOM1z) * V_ANC_BAR * 1 - V_CNR
else:
raise NotImplementedError()
def PPE_RTA(i):
if i in ('V', 'C'):
return max(0, PPESALi + PPE_RPROi * positif(PPE_RPROi))
elif i in interval(1, 4):
return PPESALi
else:
raise NotImplementedError()
def IPQF5(i):
if i in ('V', 'C') or i in interval(1, 4):
return ZIPQFi5 * COTFi
else:
raise NotImplementedError()
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-inr.json" and "chap-inr.m"
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-majo.json" and "chap-majo.m"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-thr.json" and "chap-thr.m"
HRBTRFR1 = V_BTRFRHR1 * 1 - positif_ou_nul(RFRH1) + RFRH1
HRBTRFR2 = V_BTRFRHR2 * 1 - positif_ou_nul(RFRH2) + RFRH2
HRNBTRFR = positif_ou_nul(V_BTRFRHR1 * 1 - positif(RFRH1) + RFRH1) + positif_ou_nul(V_BTRFRHR2 * 1 - positif(RFRH2) + RFRH2)
HRMOYBTRFR = arr(HRBTRFR1 + HRBTRFR2 / 2)
HRLIM15 = positif_ou_nul(REVKIREHR - 1.5 * HRMOYBTRFR)
HRLIMBTRFR2 = positif_ou_nul(LIMHR1 * 1 + BOOL_0AM - HRBTRFR2)
HRLIMBTRFR1 = positif_ou_nul(LIMHR1 * 1 + BOOL_0AM - HRBTRFR1)
HRCONDTHEO = positif(null(2 - HRNBTRFR) * positif(HRLIM15) * positif(HRLIMBTRFR1 * HRLIMBTRFR2) * 1 - positif(CASECHR + 0))
HRBASEFRAC = arr(REVKIREHR - HRMOYBTRFR / 2)
HRBASELISSE = HRBASEFRAC + HRMOYBTRFR
CHRREEL1 = positif_ou_nul(LIMHRTX1 * 1 + BOOL_0AM - REVKIREHR) * REVKIREHR - LIMHR1 * 1 + BOOL_0AM * TXHR1 / 100 + LIMHR1 * 1 + BOOL_0AM * TXHR1 / 100 * positif(REVKIREHR - LIMHRTX1 * 1 + BOOL_0AM)
CHRREEL2 = max(0, REVKIREHR - LIMHR2 * 1 + BOOL_0AM * TXHR2 / 100)
CHRREELTOT = arr(max(0, CHRREEL1 + CHRREEL2))
CHRTHEO11 = arr(positif_ou_nul(LIMHRTX1 * 1 + BOOL_0AM - HRBASELISSE) * HRBASELISSE - LIMHR1 * 1 + BOOL_0AM * TXHR1 / 100 + LIMHR1 * 1 + BOOL_0AM * TXHR1 / 100 * positif(HRBASELISSE - LIMHRTX1 * 1 + BOOL_0AM))
CHRTHEO21 = arr(max(0, HRBASELISSE - LIMHR2 * 1 + BOOL_0AM * TXHR2 / 100))
CHRTHEOTOT = arr(max(0, CHRTHEO11 + CHRTHEO21) * 2)
BHAUTREV = max(0, REVKIREHR - LIMHR1 * 1 + BOOL_0AM)
CHRAVANT = max(0, min(CHRREELTOT, CHRTHEOTOT)) * HRCONDTHEO + CHRREELTOT * 1 - HRCONDTHEO
CHRTEFF = arr(CHRAVANT * REVKIREHR - TEFFHRC + COD8YJ / REVKIREHR)
CHRAPRES = CHRAVANT * 1 - positif(positif(IPMOND) + positif(INDTEFF)) + CHRTEFF * positif(positif(IPMOND) + positif(INDTEFF))
IHAUTREVT = max(0, CHRAPRES - CICHR)
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-tl.json" and "chap-tl.m"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment