/opt/alt/python311/lib64/python3.11/__pycache__
NameSizeModeActions
abc.cpython-311.opt-1.pyc90540644editdlrm
abc.cpython-311.opt-2.pyc58540644editdlrm
abc.cpython-311.pyc90540644editdlrm
aifc.cpython-311.opt-1.pyc455220644editdlrm
aifc.cpython-311.opt-2.pyc403150644editdlrm
aifc.cpython-311.pyc455220644editdlrm
antigravity.cpython-311.opt-1.pyc12700644editdlrm
antigravity.cpython-311.opt-2.pyc11330644editdlrm
antigravity.cpython-311.pyc12700644editdlrm
argparse.cpython-311.opt-1.pyc1137050644editdlrm
argparse.cpython-311.opt-2.pyc1040020644editdlrm
argparse.cpython-311.pyc1139960644editdlrm
ast.cpython-311.opt-1.pyc1094160644editdlrm
ast.cpython-311.opt-2.pyc1010450644editdlrm
ast.cpython-311.pyc1096770644editdlrm
asynchat.cpython-311.opt-1.pyc119000644editdlrm
asynchat.cpython-311.opt-2.pyc105440644editdlrm
asynchat.cpython-311.pyc119000644editdlrm
asyncore.cpython-311.opt-1.pyc282020644editdlrm
asyncore.cpython-311.opt-2.pyc269970644editdlrm
asyncore.cpython-311.pyc282020644editdlrm
base64.cpython-311.opt-1.pyc280340644editdlrm
base64.cpython-311.opt-2.pyc234340644editdlrm
base64.cpython-311.pyc284600644editdlrm
bdb.cpython-311.opt-1.pyc386870644editdlrm
bdb.cpython-311.opt-2.pyc293420644editdlrm
bdb.cpython-311.pyc386870644editdlrm
bisect.cpython-311.opt-1.pyc37140644editdlrm
bisect.cpython-311.opt-2.pyc24200644editdlrm
bisect.cpython-311.pyc37140644editdlrm
bz2.cpython-311.opt-1.pyc161760644editdlrm
bz2.cpython-311.opt-2.pyc112940644editdlrm
bz2.cpython-311.pyc161760644editdlrm
calendar.cpython-311.opt-1.pyc447540644editdlrm
calendar.cpython-311.opt-2.pyc405230644editdlrm
calendar.cpython-311.pyc447540644editdlrm
cgi.cpython-311.opt-1.pyc438750644editdlrm
cgi.cpython-311.opt-2.pyc353450644editdlrm
cgi.cpython-311.pyc438750644editdlrm
cgitb.cpython-311.opt-1.pyc188950644editdlrm
cgitb.cpython-311.opt-2.pyc173280644editdlrm
cgitb.cpython-311.pyc188950644editdlrm
chunk.cpython-311.opt-1.pyc74400644editdlrm
chunk.cpython-311.opt-2.pyc53360644editdlrm
chunk.cpython-311.pyc74400644editdlrm
cmd.cpython-311.opt-1.pyc206110644editdlrm
cmd.cpython-311.opt-2.pyc152760644editdlrm
cmd.cpython-311.pyc206110644editdlrm
code.cpython-311.opt-1.pyc139150644editdlrm
code.cpython-311.opt-2.pyc87250644editdlrm
code.cpython-311.pyc139150644editdlrm
codecs.cpython-311.opt-1.pyc452580644editdlrm
codecs.cpython-311.opt-2.pyc298990644editdlrm
codecs.cpython-311.pyc452580644editdlrm
codeop.cpython-311.opt-1.pyc77440644editdlrm
codeop.cpython-311.opt-2.pyc47450644editdlrm
codeop.cpython-311.pyc77440644editdlrm
colorsys.cpython-311.opt-1.pyc49650644editdlrm
colorsys.cpython-311.opt-2.pyc43580644editdlrm
colorsys.cpython-311.pyc49650644editdlrm
compileall.cpython-311.opt-1.pyc215990644editdlrm
compileall.cpython-311.opt-2.pyc183650644editdlrm
compileall.cpython-311.pyc215990644editdlrm
configparser.cpython-311.opt-1.pyc718210644editdlrm
configparser.cpython-311.opt-2.pyc568550644editdlrm
configparser.cpython-311.pyc718210644editdlrm
contextlib.cpython-311.opt-1.pyc330660644editdlrm
contextlib.cpython-311.opt-2.pyc269420644editdlrm
contextlib.cpython-311.pyc330830644editdlrm
contextvars.cpython-311.opt-1.pyc3130644editdlrm
contextvars.cpython-311.opt-2.pyc3130644editdlrm
contextvars.cpython-311.pyc3130644editdlrm
copy.cpython-311.opt-1.pyc112010644editdlrm
copy.cpython-311.opt-2.pyc89180644editdlrm
copy.cpython-311.pyc112010644editdlrm
copyreg.cpython-311.opt-1.pyc81600644editdlrm
copyreg.cpython-311.opt-2.pyc73810644editdlrm
copyreg.cpython-311.pyc81940644editdlrm
cProfile.cpython-311.opt-1.pyc90880644editdlrm
cProfile.cpython-311.opt-2.pyc86250644editdlrm
cProfile.cpython-311.pyc90880644editdlrm
crypt.cpython-311.opt-1.pyc58520644editdlrm
crypt.cpython-311.opt-2.pyc52050644editdlrm
crypt.cpython-311.pyc58520644editdlrm
csv.cpython-311.opt-1.pyc200700644editdlrm
csv.cpython-311.opt-2.pyc180520644editdlrm
csv.cpython-311.pyc200700644editdlrm
dataclasses.cpython-311.opt-1.pyc471880644editdlrm
dataclasses.cpython-311.opt-2.pyc435660644editdlrm
dataclasses.cpython-311.pyc472390644editdlrm
datetime.cpython-311.opt-1.pyc981620644editdlrm
datetime.cpython-311.opt-2.pyc903150644editdlrm
datetime.cpython-311.pyc1013500644editdlrm
decimal.cpython-311.opt-1.pyc5570644editdlrm
decimal.cpython-311.opt-2.pyc5570644editdlrm
decimal.cpython-311.pyc5570644editdlrm
difflib.cpython-311.opt-1.pyc816120644editdlrm
difflib.cpython-311.opt-2.pyc483430644editdlrm
difflib.cpython-311.pyc816620644editdlrm
dis.cpython-311.opt-1.pyc366550644editdlrm
dis.cpython-311.opt-2.pyc322980644editdlrm
dis.cpython-311.pyc366950644editdlrm
doctest.cpython-311.opt-1.pyc1126310644editdlrm
doctest.cpython-311.opt-2.pyc775720644editdlrm
doctest.cpython-311.pyc1130200644editdlrm
enum.cpython-311.opt-1.pyc880100644editdlrm
enum.cpython-311.opt-2.pyc785760644editdlrm
enum.cpython-311.pyc880100644editdlrm
filecmp.cpython-311.opt-1.pyc157240644editdlrm
filecmp.cpython-311.opt-2.pyc131060644editdlrm
filecmp.cpython-311.pyc157240644editdlrm
fileinput.cpython-311.opt-1.pyc211820644editdlrm
fileinput.cpython-311.opt-2.pyc157290644editdlrm
fileinput.cpython-311.pyc211820644editdlrm
fnmatch.cpython-311.opt-1.pyc73390644editdlrm
fnmatch.cpython-311.opt-2.pyc61560644editdlrm
fnmatch.cpython-311.pyc74850644editdlrm
fractions.cpython-311.opt-1.pyc292570644editdlrm
fractions.cpython-311.opt-2.pyc221940644editdlrm
fractions.cpython-311.pyc292570644editdlrm
ftplib.cpython-311.opt-1.pyc476610644editdlrm
ftplib.cpython-311.opt-2.pyc375010644editdlrm
ftplib.cpython-311.pyc476610644editdlrm
functools.cpython-311.opt-1.pyc466490644editdlrm
functools.cpython-311.opt-2.pyc400610644editdlrm
functools.cpython-311.pyc466490644editdlrm
genericpath.cpython-311.opt-1.pyc61750644editdlrm
genericpath.cpython-311.opt-2.pyc51440644editdlrm
genericpath.cpython-311.pyc61750644editdlrm
getopt.cpython-311.opt-1.pyc96790644editdlrm
getopt.cpython-311.opt-2.pyc71380644editdlrm
getopt.cpython-311.pyc97460644editdlrm
getpass.cpython-311.opt-1.pyc75270644editdlrm
getpass.cpython-311.opt-2.pyc63590644editdlrm
getpass.cpython-311.pyc75270644editdlrm
gettext.cpython-311.opt-1.pyc242660644editdlrm
gettext.cpython-311.opt-2.pyc235920644editdlrm
gettext.cpython-311.pyc242660644editdlrm
glob.cpython-311.opt-1.pyc111450644editdlrm
glob.cpython-311.opt-2.pyc102040644editdlrm
glob.cpython-311.pyc112230644editdlrm
graphlib.cpython-311.opt-1.pyc109990644editdlrm
graphlib.cpython-311.opt-2.pyc76050644editdlrm
graphlib.cpython-311.pyc110810644editdlrm
gzip.cpython-311.opt-1.pyc337330644editdlrm
gzip.cpython-311.opt-2.pyc294310644editdlrm
gzip.cpython-311.pyc337330644editdlrm
hashlib.cpython-311.opt-1.pyc123520644editdlrm
hashlib.cpython-311.opt-2.pyc113630644editdlrm
hashlib.cpython-311.pyc123520644editdlrm
heapq.cpython-311.opt-1.pyc205900644editdlrm
heapq.cpython-311.opt-2.pyc174990644editdlrm
heapq.cpython-311.pyc205900644editdlrm
hmac.cpython-311.opt-1.pyc114850644editdlrm
hmac.cpython-311.opt-2.pyc90170644editdlrm
hmac.cpython-311.pyc114850644editdlrm
imaplib.cpython-311.opt-1.pyc668450644editdlrm
imaplib.cpython-311.opt-2.pyc545430644editdlrm
imaplib.cpython-311.pyc690640644editdlrm
imghdr.cpython-311.opt-1.pyc78550644editdlrm
imghdr.cpython-311.opt-2.pyc76950644editdlrm
imghdr.cpython-311.pyc78550644editdlrm
imp.cpython-311.opt-1.pyc164740644editdlrm
imp.cpython-311.opt-2.pyc141870644editdlrm
imp.cpython-311.pyc164740644editdlrm
inspect.cpython-311.opt-1.pyc1412920644editdlrm
inspect.cpython-311.opt-2.pyc1159140644editdlrm
inspect.cpython-311.pyc1416620644editdlrm
io.cpython-311.opt-1.pyc50520644editdlrm
io.cpython-311.opt-2.pyc35620644editdlrm
io.cpython-311.pyc50520644editdlrm
ipaddress.cpython-311.opt-1.pyc969240644editdlrm
ipaddress.cpython-311.opt-2.pyc719470644editdlrm
ipaddress.cpython-311.pyc969240644editdlrm
keyword.cpython-311.opt-1.pyc10840644editdlrm
keyword.cpython-311.opt-2.pyc6750644editdlrm
keyword.cpython-311.pyc10840644editdlrm
linecache.cpython-311.opt-1.pyc74600644editdlrm
linecache.cpython-311.opt-2.pyc62710644editdlrm
linecache.cpython-311.pyc74600644editdlrm
locale.cpython-311.opt-1.pyc644150644editdlrm
locale.cpython-311.opt-2.pyc599690644editdlrm
locale.cpython-311.pyc644150644editdlrm
lzma.cpython-311.opt-1.pyc167330644editdlrm
lzma.cpython-311.opt-2.pyc106380644editdlrm
lzma.cpython-311.pyc167330644editdlrm
mailbox.cpython-311.opt-1.pyc1245290644editdlrm
mailbox.cpython-311.opt-2.pyc1190480644editdlrm
mailbox.cpython-311.pyc1246310644editdlrm
mailcap.cpython-311.opt-1.pyc127990644editdlrm
mailcap.cpython-311.opt-2.pyc112650644editdlrm
mailcap.cpython-311.pyc127990644editdlrm
mimetypes.cpython-311.opt-1.pyc261410644editdlrm
mimetypes.cpython-311.opt-2.pyc202050644editdlrm
mimetypes.cpython-311.pyc261410644editdlrm
modulefinder.cpython-311.opt-1.pyc309310644editdlrm
modulefinder.cpython-311.opt-2.pyc300490644editdlrm
modulefinder.cpython-311.pyc310340644editdlrm
netrc.cpython-311.opt-1.pyc99040644editdlrm
netrc.cpython-311.opt-2.pyc96780644editdlrm
netrc.cpython-311.pyc99040644editdlrm
nntplib.cpython-311.opt-1.pyc501760644editdlrm
nntplib.cpython-311.opt-2.pyc388850644editdlrm
nntplib.cpython-311.pyc501760644editdlrm
ntpath.cpython-311.opt-1.pyc306040644editdlrm
ntpath.cpython-311.opt-2.pyc286550644editdlrm
ntpath.cpython-311.pyc306040644editdlrm
nturl2path.cpython-311.opt-1.pyc35040644editdlrm
nturl2path.cpython-311.opt-2.pyc30980644editdlrm
nturl2path.cpython-311.pyc35040644editdlrm
numbers.cpython-311.opt-1.pyc152660644editdlrm
numbers.cpython-311.opt-2.pyc116720644editdlrm
numbers.cpython-311.pyc152660644editdlrm
opcode.cpython-311.opt-1.pyc138680644editdlrm
opcode.cpython-311.opt-2.pyc137270644editdlrm
opcode.cpython-311.pyc138680644editdlrm
operator.cpython-311.opt-1.pyc187750644editdlrm
operator.cpython-311.opt-2.pyc165580644editdlrm
operator.cpython-311.pyc187750644editdlrm
optparse.cpython-311.opt-1.pyc736260644editdlrm
optparse.cpython-311.opt-2.pyc614080644editdlrm
optparse.cpython-311.pyc737320644editdlrm
os.cpython-311.opt-1.pyc490220644editdlrm
os.cpython-311.opt-2.pyc369940644editdlrm
os.cpython-311.pyc490400644editdlrm
pathlib.cpython-311.opt-1.pyc677360644editdlrm
pathlib.cpython-311.opt-2.pyc593030644editdlrm
pathlib.cpython-311.pyc677360644editdlrm
pdb.cpython-311.opt-1.pyc867040644editdlrm
pdb.cpython-311.opt-2.pyc729640644editdlrm
pdb.cpython-311.pyc868240644editdlrm
pickle.cpython-311.opt-1.pyc866510644editdlrm
pickle.cpython-311.opt-2.pyc808360644editdlrm
pickle.cpython-311.pyc869100644editdlrm
pickletools.cpython-311.opt-1.pyc845710644editdlrm
pickletools.cpython-311.opt-2.pyc756570644editdlrm
pickletools.cpython-311.pyc867470644editdlrm
pipes.cpython-311.opt-1.pyc119820644editdlrm
pipes.cpython-311.opt-2.pyc91590644editdlrm
pipes.cpython-311.pyc119820644editdlrm
pkgutil.cpython-311.opt-1.pyc315940644editdlrm
pkgutil.cpython-311.opt-2.pyc249380644editdlrm
pkgutil.cpython-311.pyc315940644editdlrm
platform.cpython-311.opt-1.pyc437370644editdlrm
platform.cpython-311.opt-2.pyc357780644editdlrm
platform.cpython-311.pyc437370644editdlrm
plistlib.cpython-311.opt-1.pyc458050644editdlrm
plistlib.cpython-311.opt-2.pyc433770644editdlrm
plistlib.cpython-311.pyc459550644editdlrm
poplib.cpython-311.opt-1.pyc209840644editdlrm
poplib.cpython-311.opt-2.pyc161680644editdlrm
poplib.cpython-311.pyc209840644editdlrm
posixpath.cpython-311.opt-1.pyc199990644editdlrm
posixpath.cpython-311.opt-2.pyc183700644editdlrm
posixpath.cpython-311.pyc199990644editdlrm
pprint.cpython-311.opt-1.pyc335240644editdlrm
pprint.cpython-311.opt-2.pyc313730644editdlrm
pprint.cpython-311.pyc335790644editdlrm
profile.cpython-311.opt-1.pyc235000644editdlrm
profile.cpython-311.opt-2.pyc205350644editdlrm
profile.cpython-311.pyc239700644editdlrm
pstats.cpython-311.opt-1.pyc418830644editdlrm
pstats.cpython-311.opt-2.pyc390050644editdlrm
pstats.cpython-311.pyc418830644editdlrm
pty.cpython-311.opt-1.pyc84560644editdlrm
pty.cpython-311.opt-2.pyc77000644editdlrm
pty.cpython-311.pyc84560644editdlrm
pyclbr.cpython-311.opt-1.pyc158940644editdlrm
pyclbr.cpython-311.opt-2.pyc128660644editdlrm
pyclbr.cpython-311.pyc158940644editdlrm
pydoc.cpython-311.opt-1.pyc1582610644editdlrm
pydoc.cpython-311.opt-2.pyc1486370644editdlrm
pydoc.cpython-311.pyc1583210644editdlrm
py_compile.cpython-311.opt-1.pyc107900644editdlrm
py_compile.cpython-311.opt-2.pyc74780644editdlrm
py_compile.cpython-311.pyc107900644editdlrm
queue.cpython-311.opt-1.pyc164690644editdlrm
queue.cpython-311.opt-2.pyc122070644editdlrm
queue.cpython-311.pyc164690644editdlrm
quopri.cpython-311.opt-1.pyc104810644editdlrm
quopri.cpython-311.opt-2.pyc94790644editdlrm
quopri.cpython-311.pyc108730644editdlrm
random.cpython-311.opt-1.pyc345400644editdlrm
random.cpython-311.opt-2.pyc274330644editdlrm
random.cpython-311.pyc345400644editdlrm
reprlib.cpython-311.opt-1.pyc96940644editdlrm
reprlib.cpython-311.opt-2.pyc95440644editdlrm
reprlib.cpython-311.pyc96940644editdlrm
rlcompleter.cpython-311.opt-1.pyc90260644editdlrm
rlcompleter.cpython-311.opt-2.pyc63900644editdlrm
rlcompleter.cpython-311.pyc90260644editdlrm
runpy.cpython-311.opt-1.pyc161320644editdlrm
runpy.cpython-311.opt-2.pyc137170644editdlrm
runpy.cpython-311.pyc161320644editdlrm
sched.cpython-311.opt-1.pyc84180644editdlrm
sched.cpython-311.opt-2.pyc54320644editdlrm
sched.cpython-311.pyc84180644editdlrm
secrets.cpython-311.opt-1.pyc28780644editdlrm
secrets.cpython-311.opt-2.pyc18560644editdlrm
secrets.cpython-311.pyc28780644editdlrm
selectors.cpython-311.opt-1.pyc285550644editdlrm
selectors.cpython-311.opt-2.pyc245250644editdlrm
selectors.cpython-311.pyc285550644editdlrm
shelve.cpython-311.opt-1.pyc138890644editdlrm
shelve.cpython-311.opt-2.pyc97420644editdlrm
shelve.cpython-311.pyc138890644editdlrm
shlex.cpython-311.opt-1.pyc147190644editdlrm
shlex.cpython-311.opt-2.pyc142080644editdlrm
shlex.cpython-311.pyc147190644editdlrm
shutil.cpython-311.opt-1.pyc732600644editdlrm
shutil.cpython-311.opt-2.pyc611130644editdlrm
shutil.cpython-311.pyc732600644editdlrm
signal.cpython-311.opt-1.pyc51220644editdlrm
signal.cpython-311.opt-2.pyc49130644editdlrm
signal.cpython-311.pyc51220644editdlrm
site.cpython-311.opt-1.pyc304890644editdlrm
site.cpython-311.opt-2.pyc250480644editdlrm
site.cpython-311.pyc304890644editdlrm
smtpd.cpython-311.opt-1.pyc436810644editdlrm
smtpd.cpython-311.opt-2.pyc410780644editdlrm
smtpd.cpython-311.pyc436810644editdlrm
smtplib.cpython-311.opt-1.pyc539710644editdlrm
smtplib.cpython-311.opt-2.pyc378020644editdlrm
smtplib.cpython-311.pyc541360644editdlrm
sndhdr.cpython-311.opt-1.pyc124420644editdlrm
sndhdr.cpython-311.opt-2.pyc111130644editdlrm
sndhdr.cpython-311.pyc124420644editdlrm
socket.cpython-311.opt-1.pyc456550644editdlrm
socket.cpython-311.opt-2.pyc371220644editdlrm
socket.cpython-311.pyc456990644editdlrm
socketserver.cpython-311.opt-1.pyc370720644editdlrm
socketserver.cpython-311.opt-2.pyc265040644editdlrm
socketserver.cpython-311.pyc370720644editdlrm
sre_compile.cpython-311.opt-1.pyc8290644editdlrm
sre_compile.cpython-311.opt-2.pyc8290644editdlrm
sre_compile.cpython-311.pyc8290644editdlrm
sre_constants.cpython-311.opt-1.pyc8320644editdlrm
sre_constants.cpython-311.opt-2.pyc8320644editdlrm
sre_constants.cpython-311.pyc8320644editdlrm
sre_parse.cpython-311.opt-1.pyc8250644editdlrm
sre_parse.cpython-311.opt-2.pyc8250644editdlrm
sre_parse.cpython-311.pyc8250644editdlrm
ssl.cpython-311.opt-1.pyc736170644editdlrm
ssl.cpython-311.opt-2.pyc627880644editdlrm
ssl.cpython-311.pyc736170644editdlrm
stat.cpython-311.opt-1.pyc55540644editdlrm
stat.cpython-311.opt-2.pyc49480644editdlrm
stat.cpython-311.pyc55540644editdlrm
statistics.cpython-311.opt-1.pyc581590644editdlrm
statistics.cpython-311.opt-2.pyc386260644editdlrm
statistics.cpython-311.pyc584190644editdlrm
string.cpython-311.opt-1.pyc126540644editdlrm
string.cpython-311.opt-2.pyc115550644editdlrm
string.cpython-311.pyc126540644editdlrm
stringprep.cpython-311.opt-1.pyc264710644editdlrm
stringprep.cpython-311.opt-2.pyc262480644editdlrm
stringprep.cpython-311.pyc265430644editdlrm
struct.cpython-311.opt-1.pyc3960644editdlrm
struct.cpython-311.opt-2.pyc3960644editdlrm
struct.cpython-311.pyc3960644editdlrm
subprocess.cpython-311.opt-1.pyc846830644editdlrm
subprocess.cpython-311.opt-2.pyc726980644editdlrm
subprocess.cpython-311.pyc848250644editdlrm
sunau.cpython-311.opt-1.pyc270200644editdlrm
sunau.cpython-311.opt-2.pyc224280644editdlrm
sunau.cpython-311.pyc270200644editdlrm
symtable.cpython-311.opt-1.pyc193230644editdlrm
symtable.cpython-311.opt-2.pyc168420644editdlrm
symtable.cpython-311.pyc195230644editdlrm
sysconfig.cpython-311.opt-1.pyc317000644editdlrm
sysconfig.cpython-311.opt-2.pyc289900644editdlrm
sysconfig.cpython-311.pyc317000644editdlrm
tabnanny.cpython-311.opt-1.pyc129640644editdlrm
tabnanny.cpython-311.opt-2.pyc120360644editdlrm
tabnanny.cpython-311.pyc129640644editdlrm
tarfile.cpython-311.opt-1.pyc1312090644editdlrm
tarfile.cpython-311.opt-2.pyc1170070644editdlrm
tarfile.cpython-311.pyc1312270644editdlrm
telnetlib.cpython-311.opt-1.pyc310950644editdlrm
telnetlib.cpython-311.opt-2.pyc237600644editdlrm
telnetlib.cpython-311.pyc310950644editdlrm
tempfile.cpython-311.opt-1.pyc421740644editdlrm
tempfile.cpython-311.opt-2.pyc355510644editdlrm
tempfile.cpython-311.pyc421740644editdlrm
textwrap.cpython-311.opt-1.pyc195890644editdlrm
textwrap.cpython-311.opt-2.pyc124570644editdlrm
textwrap.cpython-311.pyc196110644editdlrm
this.cpython-311.opt-1.pyc16120644editdlrm
this.cpython-311.opt-2.pyc16120644editdlrm
this.cpython-311.pyc16120644editdlrm
threading.cpython-311.opt-1.pyc692040644editdlrm
threading.cpython-311.opt-2.pyc512410644editdlrm
threading.cpython-311.pyc703270644editdlrm
timeit.cpython-311.opt-1.pyc164680644editdlrm
timeit.cpython-311.opt-2.pyc106500644editdlrm
timeit.cpython-311.pyc164680644editdlrm
token.cpython-311.opt-1.pyc37390644editdlrm
token.cpython-311.opt-2.pyc37070644editdlrm
token.cpython-311.pyc37390644editdlrm
tokenize.cpython-311.opt-1.pyc303040644editdlrm
tokenize.cpython-311.opt-2.pyc264950644editdlrm
tokenize.cpython-311.pyc303740644editdlrm
trace.cpython-311.opt-1.pyc359780644editdlrm
trace.cpython-311.opt-2.pyc330840644editdlrm
trace.cpython-311.pyc359780644editdlrm
traceback.cpython-311.opt-1.pyc486910644editdlrm
traceback.cpython-311.opt-2.pyc387230644editdlrm
traceback.cpython-311.pyc487370644editdlrm
tracemalloc.cpython-311.opt-1.pyc291000644editdlrm
tracemalloc.cpython-311.opt-2.pyc277320644editdlrm
tracemalloc.cpython-311.pyc291000644editdlrm
tty.cpython-311.opt-1.pyc20410644editdlrm
tty.cpython-311.opt-2.pyc19430644editdlrm
tty.cpython-311.pyc20410644editdlrm
types.cpython-311.opt-1.pyc148350644editdlrm
types.cpython-311.opt-2.pyc134240644editdlrm
types.cpython-311.pyc148350644editdlrm
typing.cpython-311.opt-1.pyc1608380644editdlrm
typing.cpython-311.opt-2.pyc1237120644editdlrm
typing.cpython-311.pyc1616710644editdlrm
uu.cpython-311.opt-1.pyc88110644editdlrm
uu.cpython-311.opt-2.pyc85790644editdlrm
uu.cpython-311.pyc88110644editdlrm
uuid.cpython-311.opt-1.pyc328060644editdlrm
uuid.cpython-311.opt-2.pyc251790644editdlrm
uuid.cpython-311.pyc330830644editdlrm
warnings.cpython-311.opt-1.pyc240640644editdlrm
warnings.cpython-311.opt-2.pyc213670644editdlrm
warnings.cpython-311.pyc250770644editdlrm
wave.cpython-311.opt-1.pyc322810644editdlrm
wave.cpython-311.opt-2.pyc257690644editdlrm
wave.cpython-311.pyc323520644editdlrm
weakref.cpython-311.opt-1.pyc349320644editdlrm
weakref.cpython-311.opt-2.pyc316910644editdlrm
weakref.cpython-311.pyc349730644editdlrm
webbrowser.cpython-311.opt-1.pyc328100644editdlrm
webbrowser.cpython-311.opt-2.pyc304600644editdlrm
webbrowser.cpython-311.pyc328360644editdlrm
xdrlib.cpython-311.opt-1.pyc131580644editdlrm
xdrlib.cpython-311.opt-2.pyc126760644editdlrm
xdrlib.cpython-311.pyc131580644editdlrm
zipapp.cpython-311.opt-1.pyc115550644editdlrm
zipapp.cpython-311.opt-2.pyc104030644editdlrm
zipapp.cpython-311.pyc115550644editdlrm
zipfile.cpython-311.opt-1.pyc1190680644editdlrm
zipfile.cpython-311.opt-2.pyc1092990644editdlrm
zipfile.cpython-311.pyc1191190644editdlrm
zipimport.cpython-311.opt-1.pyc296850644editdlrm
zipimport.cpython-311.opt-2.pyc259980644editdlrm
zipimport.cpython-311.pyc298030644editdlrm
_aix_support.cpython-311.opt-1.pyc43800644editdlrm
_aix_support.cpython-311.opt-2.pyc30470644editdlrm
_aix_support.cpython-311.pyc43800644editdlrm
_bootsubprocess.cpython-311.opt-1.pyc44730644editdlrm
_bootsubprocess.cpython-311.opt-2.pyc42430644editdlrm
_bootsubprocess.cpython-311.pyc44730644editdlrm
_collections_abc.cpython-311.opt-1.pyc512290644editdlrm
_collections_abc.cpython-311.opt-2.pyc452090644editdlrm
_collections_abc.cpython-311.pyc512290644editdlrm
_compat_pickle.cpython-311.opt-1.pyc73440644editdlrm
_compat_pickle.cpython-311.opt-2.pyc73440644editdlrm
_compat_pickle.cpython-311.pyc75290644editdlrm
_compression.cpython-311.opt-1.pyc80630644editdlrm
_compression.cpython-311.opt-2.pyc78570644editdlrm
_compression.cpython-311.pyc80630644editdlrm
_markupbase.cpython-311.opt-1.pyc138300644editdlrm
_markupbase.cpython-311.opt-2.pyc134550644editdlrm
_markupbase.cpython-311.pyc140950644editdlrm
_osx_support.cpython-311.opt-1.pyc199390644editdlrm
_osx_support.cpython-311.opt-2.pyc173490644editdlrm
_osx_support.cpython-311.pyc199390644editdlrm
_pydecimal.cpython-311.opt-1.pyc2442740644editdlrm
_pydecimal.cpython-311.opt-2.pyc1641520644editdlrm
_pydecimal.cpython-311.pyc2442740644editdlrm
_pyio.cpython-311.opt-1.pyc1200870644editdlrm
_pyio.cpython-311.opt-2.pyc977120644editdlrm
_pyio.cpython-311.pyc1201520644editdlrm
_py_abc.cpython-311.opt-1.pyc78170644editdlrm
_py_abc.cpython-311.opt-2.pyc66400644editdlrm
_py_abc.cpython-311.pyc78910644editdlrm
_sitebuiltins.cpython-311.opt-1.pyc54370644editdlrm
_sitebuiltins.cpython-311.opt-2.pyc49100644editdlrm
_sitebuiltins.cpython-311.pyc54370644editdlrm
_strptime.cpython-311.opt-1.pyc279210644editdlrm
_strptime.cpython-311.opt-2.pyc242570644editdlrm
_strptime.cpython-311.pyc279210644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-1.pyc631680644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-2.pyc631680644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.pyc631680644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-1.pyc636590644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-2.pyc636590644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.pyc636590644editdlrm
_threading_local.cpython-311.opt-1.pyc92180644editdlrm
_threading_local.cpython-311.opt-2.pyc59090644editdlrm
_threading_local.cpython-311.pyc92180644editdlrm
_weakrefset.cpython-311.opt-1.pyc131530644editdlrm
_weakrefset.cpython-311.opt-2.pyc131530644editdlrm
_weakrefset.cpython-311.pyc131530644editdlrm
__future__.cpython-311.opt-1.pyc49270644editdlrm
__future__.cpython-311.opt-2.pyc28790644editdlrm
__future__.cpython-311.pyc49270644editdlrm
__hello__.cpython-311.opt-1.pyc10910644editdlrm
__hello__.cpython-311.opt-2.pyc10370644editdlrm
__hello__.cpython-311.pyc10910644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/__pycache__/statistics.cpython-311.opt-1.pyc (58159B)
/gYvUdZgdZddlZddlZddlZddlZddlmZddlm Z ddl m Z m Z ddl mZmZddlmZmZmZmZmZmZmZmZdd lmZdd lmZdd lmZmZmZed Z Gd de!Z"dZ#d?dZ$dZ%dZ&dZ'dZ(d@dZ)de*de*de*fdZ+dej,j-zdzZ.e*e/d<de*de*de0fdZ1de*de*de fdZ2d Z3d?d!Z4d"Z5d?d#Z6d$Z7d%Z8d&Z9dAd(Z:d)Z;d*Zd?d0Z?d?d1Z@d?d2ZAd3ZBd4ZCd5ZDed6d7ZEd8d9d:ZFd;ZG ddZJdS)Ba Basic statistics module. This module provides functions for calculating statistics of data, including averages, variance, and standard deviation. Calculating averages -------------------- ================== ================================================== Function Description ================== ================================================== mean Arithmetic mean (average) of data. fmean Fast, floating point arithmetic mean. geometric_mean Geometric mean of data. harmonic_mean Harmonic mean of data. median Median (middle value) of data. median_low Low median of data. median_high High median of data. median_grouped Median, or 50th percentile, of grouped data. mode Mode (most common value) of data. multimode List of modes (most common values of data). quantiles Divide data into intervals with equal probability. ================== ================================================== Calculate the arithmetic mean ("the average") of data: >>> mean([-1.0, 2.5, 3.25, 5.75]) 2.625 Calculate the standard median of discrete data: >>> median([2, 3, 4, 5]) 3.5 Calculate the median, or 50th percentile, of data grouped into class intervals centred on the data values provided. E.g. if your data points are rounded to the nearest whole number: >>> median_grouped([2, 2, 3, 3, 3, 4]) #doctest: +ELLIPSIS 2.8333333333... This should be interpreted in this way: you have two data points in the class interval 1.5-2.5, three data points in the class interval 2.5-3.5, and one in the class interval 3.5-4.5. The median of these data points is 2.8333... Calculating variability or spread --------------------------------- ================== ============================================= Function Description ================== ============================================= pvariance Population variance of data. variance Sample variance of data. pstdev Population standard deviation of data. stdev Sample standard deviation of data. ================== ============================================= Calculate the standard deviation of sample data: >>> stdev([2.5, 3.25, 5.5, 11.25, 11.75]) #doctest: +ELLIPSIS 4.38961843444... If you have previously calculated the mean, you can pass it as the optional second argument to the four "spread" functions to avoid recalculating it: >>> data = [1, 2, 2, 4, 4, 4, 5, 6] >>> mu = mean(data) >>> pvariance(data, mu) 2.5 Statistics for relations between two inputs ------------------------------------------- ================== ==================================================== Function Description ================== ==================================================== covariance Sample covariance for two variables. correlation Pearson's correlation coefficient for two variables. linear_regression Intercept and slope for simple linear regression. ================== ==================================================== Calculate covariance, Pearson's correlation, and simple linear regression for two inputs: >>> x = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> y = [1, 2, 3, 1, 2, 3, 1, 2, 3] >>> covariance(x, y) 0.75 >>> correlation(x, y) #doctest: +ELLIPSIS 0.31622776601... >>> linear_regression(x, y) #doctest: LinearRegression(slope=0.1, intercept=1.5) Exceptions ---------- A single exception is defined: StatisticsError is a subclass of ValueError. ) NormalDistStatisticsError correlation covariancefmeangeometric_mean harmonic_meanlinear_regressionmeanmedianmedian_grouped median_high median_lowmode multimodepstdev pvariance quantilesstdevvarianceNFraction)Decimal)groupbyrepeat) bisect_left bisect_right)hypotsqrtfabsexperftaulogfsum)reduce)mul)Counter namedtuple defaultdict@ceZdZdS)rN)__name__ __module__ __qualname__1/opt/alt/python311/lib64/python3.11/statistics.pyrrsDr1rcd}t}|j}i}|j}t|tD]B\}}||t t |D]\}} |dz }|| d|z|| <Cd|vr |d} n+td|D} tt|t} | | |fS)a_sum(data) -> (type, sum, count) Return a high-precision sum of the given numeric data as a fraction, together with the type to be converted to and the count of items. Examples -------- >>> _sum([3, 2.25, 4.5, -0.5, 0.25]) (, Fraction(19, 2), 5) Some sources of round-off error will be avoided: # Built-in sum returns zero. >>> _sum([1e50, 1, -1e50] * 1000) (, Fraction(1000, 1), 3000) Fractions and Decimals are also supported: >>> from fractions import Fraction as F >>> _sum([F(2, 3), F(7, 5), F(1, 4), F(5, 6)]) (, Fraction(63, 20), 4) >>> from decimal import Decimal as D >>> data = [D("0.1375"), D("0.2108"), D("0.3061"), D("0.0419")] >>> _sum(data) (, Fraction(6963, 10000), 4) Mixed types are currently treated as an error, except that int is allowed. rNc3<K|]\}}t||VdSNr.0dns r2 z_sum..s.@@tq!HQNN@@@@@@r1) setaddgetrtypemap _exact_ratiosumitemsr&_coerceint) datacounttypes types_addpartials partials_gettypvaluesr:r9totalTs r2_sumrPs@ E EEE IH.s0<.s.@@DAq!Q@@@@@@r1c3BK|]\}}t|||zVdSr6rr7s r2r;z_ss..s4DDtq!(1ac""DDDDDDr1)rPr<r=r*rErr?r@rArrBrCr&rD)rFrTrOssdrGrHrI sx_partials sxx_partialsrLrMr:sxsxxr9s ` @r2_ssr\s }<<<<>> _exact_ratio(0.25) (1, 4) x is expected to be an int, Fraction, Decimal or float. Nzcan't convert type 'z' to numerator/denominator) as_integer_ratior_ OverflowError ValueError numerator denominatorr?r-rg)rSris r2rArAs<!!###      : &4y Q]++ QT!WW%5QQQnns 999 A 2A=ct||ur|St|tr|jdkrt} ||S#t $r:t|t r#||j||jz cYSwxYw)z&Convert value to given numeric type T.r4)r?rerErorfrgrrn)valuerOs r2_convertrrMs E{{a !Se/144 qxx  a ! ! 1U_%%%*;(<(<< < < <  s AAB  B negative valuec#FK|D]}|dkrt||VdS)z7Iterate over values, failing if any are less than zero.rN)r)rMerrmsgrSs r2 _fail_negrv_sA  q55!&)) )r1r:mreturncNtj||z}|||z|z|kzS)zFSquare root of n/m, rounded to the nearest integer using round-to-odd.)r`isqrt)r:rwas r2_integer_sqrt_of_frac_rtor|gs. 16A !A r1_sqrt_bit_widthc||z tz dz}|dkrt||d|zz|z}d}nt|d|zz|}d| z}||z S)z1Square root of n/m as a float, correctly rounded.r}rr4) bit_lengthrr|)r:rwqrnros r2_float_sqrt_of_fracrss !,,.. (? :q@AAvv-aa!e<<A  -a26k1== A2g { ""r1c|dkr|stdS| | }}t|t|z }|\}}|}|\}}d|z||zdzz|||z||zzdzzkr|S|}|\} } d|z|| zdzz||| z| |zzdzzkr|S|S)z3Square root of n/m as a Decimal, correctly rounded.rz0.0r})rrrk next_plus next_minus) r:rwrootnrdrplusnpdpminusnmdms r2_decimal_sqrt_of_fracrs   Avv "5>> !rA21 AJJ # ) ) + +D  " " $ $FB >>  D  " " $ $FB1u2zABB 2222 OO  E  # # % %FB1u2zABB 2222 Kr1cxt|\}}}|dkrtdt||z |S)aReturn the sample arithmetic mean of data. >>> mean([1, 2, 3, 4, 4]) 2.8 >>> from fractions import Fraction as F >>> mean([F(3, 7), F(1, 21), F(5, 3), F(1, 3)]) Fraction(13, 21) >>> from decimal import Decimal as D >>> mean([D("0.5"), D("0.75"), D("0.625"), D("0.375")]) Decimal('0.5625') If ``data`` is empty, StatisticsError will be raised. r4z%mean requires at least one data point)rPrrr)rFrOrNr:s r2r r sA t**KAua1uuEFFF EAIq ! !!r1c t|n"#t$rdfd}||}YnwxYw|%t|}std|z S t|}n.#t$r!t |}t|}YnwxYwtt t ||}|krtdt|}|std||z S)zConvert data to floats and compute the arithmetic mean. This runs faster than the mean() function and it always returns a float. If the input dataset is empty, it raises a StatisticsError. >>> fmean([3.5, 4.0, 5.25]) 4.25 rc3BKt|dD] \}|V dS)Nr4)start) enumerate)iterablerSr:s r2rGzfmean..counts<!(!444  1  r1Nz&fmean requires at least one data pointz(data and weights must be the same lengthzsum of weights must be non-zero)lenrgr%rlistr@r')rFweightsrGrN num_weightsnumdenr:s @r2rrs>  II       uT{{T  L!"JKK Kqy#'ll ###w--'ll # s3g&& ' 'CKHIII w--C A?@@@ 9s22A--(BBc tttt|S#t$rt ddwxYw)aYConvert data to floats and compute the geometric mean. Raises a StatisticsError if the input dataset is empty, if it contains a zero, or if it contains a negative value. No special efforts are made to achieve exact results. (However, this may change in the future.) >>> round(geometric_mean([54, 24, 36]), 9) 36.0 zGgeometric mean requires a non-empty dataset containing positive numbersN)r!rr@r$rmr)rFs r2rrs`G5S$(())) GGG<==BF GGs .1A c,t||urt|}d}t|}|dkrtd|dkrQ|O|d}t |t jtfr|dkrt||Std|td|}|}nmt||urt|}t||krtdtdt||D\}}} t||}td t||D\}}} n#t$rYdSwxYw|dkrtd t||z |S) aReturn the harmonic mean of data. The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals of the data. It can be used for averaging ratios or rates, for example speeds. Suppose a car travels 40 km/hr for 5 km and then speeds-up to 60 km/hr for another 5 km. What is the average speed? >>> harmonic_mean([40, 60]) 48.0 Suppose a car travels 40 km/hr for 5 km, and when traffic clears, speeds-up to 60 km/hr for the remaining 30 km of the journey. What is the average speed? >>> harmonic_mean([40, 60], weights=[5, 30]) 56.0 If ``data`` is empty, or any element is less than zero, ``harmonic_mean`` will raise ``StatisticsError``. z.harmonic mean does not support negative valuesr4z.harmonic_mean requires at least one data pointNrzunsupported typez*Number of weights does not match data sizec3K|]}|VdSr6r0)r8ws r2r;z harmonic_mean..s" G Gq G G G G G Gr1c3.K|]\}}|r||z ndVdS)rNr0)r8rrSs r2r;z harmonic_mean..s3PPTQ0q1uuqPPPPPPr1zWeighted sum must be positive)iterrrr isinstancenumbersRealrrgrrPrvzipZeroDivisionErrorrr) rFrrur:rS sum_weights_rOrNrGs r2rrs. DzzTDzz =F D A1uuNOOO aGO G a',0 1 1 01uu%f---H.// /A,, ==G # #7mmG w<<1  !"NOO O G GIgv,F,F G G GGG;v&&PPS$=O=OPPPPP5%% qq zz=>>> K%' + ++s!;E E+*E+ct|}t|}|dkrtd|dzdkr ||dzS|dz}||dz ||zdz S)aBReturn the median (middle value) of numeric data. When the number of data points is odd, return the middle data point. When the number of data points is even, the median is interpolated by taking the average of the two middle values: >>> median([1, 3, 5]) 3 >>> median([1, 3, 5, 7]) 4.0 rno median for empty datar}r4sortedrr)rFr:is r2r r %sr $<>> median_low([1, 3, 5]) 3 >>> median_low([1, 3, 5, 7]) 3 rrr}r4rrFr:s r2rr=s` $<>> median_high([1, 3, 5]) 3 >>> median_high([1, 3, 5, 7]) 5 rrr}rrs r2r r Ss@ $<>> demographics = Counter({ ... 25: 172, # 20 to 30 years old ... 35: 484, # 30 to 40 years old ... 45: 387, # 40 to 50 years old ... 55: 22, # 50 to 60 years old ... 65: 6, # 60 to 70 years old ... }) The 50th percentile (median) is the 536th person out of the 1071 member cohort. That person is in the 30 to 40 year old age group. The regular median() function would assume that everyone in the tricenarian age group was exactly 35 years old. A more tenable assumption is that the 484 members of that age group are evenly distributed between 30 and 40. For that, we use median_grouped(). >>> data = list(demographics.elements()) >>> median(data) 35 >>> round(median_grouped(data, interval=10), 1) 37.5 The caller is responsible for making sure the data points are separated by exact multiples of *interval*. This is essential for getting a correct result. The function does not check this precondition. Inputs may be any numeric type that can be coerced to a float during the interpolation step. rr})loz$Value cannot be converted to a floatr+)rrrrrrfrmrg) rFintervalr:rSrjLcffs r2r r fsV $<>> mode([1, 1, 2, 3, 3, 3, 3, 4]) 3 This also works with nominal (non-numeric) data: >>> mode(["red", "blue", "blue", "red", "green", "red", "red"]) 'red' If there are multiple modes with same frequency, return the first one encountered: >>> mode(['red', 'red', 'green', 'blue', 'blue']) 'red' If *data* is empty, ``mode``, raises StatisticsError. r4rzno mode for empty dataN)r(r most_common IndexErrorr)rFpairss r2rrsi. DJJ   + +A . .EBQx{ BBB677TABs ?Actt|}|sgSt|fd|DS)a.Return a list of the most frequently occurring values. Will return more than one result if there are multiple modes or an empty list if *data* is empty. >>> multimode('aabbbbbbbbcc') ['b'] >>> multimode('aabbbbccddddeeffffgg') ['b', 'd', 'f'] >>> multimode('') [] c&g|] \}}|k |Sr0r0)r8rqrGmaxcounts r2 zmultimode..s' J J JleU8I8IE8I8I8Ir1)r(rmaxrMrC)rFcountsrs @r2rrs\T$ZZ F  6==??##H J J J Jfllnn J J JJr1r exclusive)r:methodc|dkrtdt|}t|}|dkrtd|dkrg|dz }g}td|D]M}t ||z|\}}||||z z||dz|zz|z } || N|S|dkr||dz}g}td|D]b}||z|z}|dkrdn||dz kr|dz n|}||z||zz }||dz ||z z|||zz|z } || c|St d|)aDivide *data* into *n* continuous intervals with equal probability. Returns a list of (n - 1) cut points separating the intervals. Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set *n* to 100 for percentiles which gives the 99 cuts points that separate *data* in to 100 equal sized groups. The *data* can be any iterable containing sample. The cut points are linearly interpolated between data points. If *method* is set to *inclusive*, *data* is treated as population data. The minimum value is treated as the 0th percentile and the maximum value is treated as the 100th percentile. r4zn must be at least 1r}z"must have at least two data points inclusiverzUnknown method: )rrrrangedivmodappendrm) rFr:rldrwresultrrdelta interpolateds r2rrs  1uu4555 $<>> data = [2.75, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5] >>> variance(data) 1.3720238095238095 If you have already calculated the mean of your data, you can pass it as the optional second argument ``xbar`` to avoid recalculating it: >>> m = mean(data) >>> variance(data, m) 1.3720238095238095 This function does not check that ``xbar`` is actually the mean of ``data``. Giving arbitrary values for ``xbar`` may lead to invalid or impossible results. Decimals and Fractions are supported: >>> from decimal import Decimal as D >>> variance([D("27.5"), D("30.25"), D("30.25"), D("34.5"), D("41.75")]) Decimal('31.01875') >>> from fractions import Fraction as F >>> variance([F(1, 6), F(1, 2), F(5, 3)]) Fraction(67, 108) r}z*variance requires at least two data pointsr4r\rrr)rFxbarrOssrTr:s r2rr6sJLdD//KAr1a1uuJKKK B!a%L! $ $$r1c|t||\}}}}|dkrtdt||z |S)a,Return the population variance of ``data``. data should be a sequence or iterable of Real-valued numbers, with at least one value. The optional argument mu, if given, should be the mean of the data. If it is missing or None, the mean is automatically calculated. Use this function to calculate the variance from the entire population. To estimate the variance from a sample, the ``variance`` function is usually a better choice. Examples: >>> data = [0.0, 0.25, 0.25, 1.25, 1.5, 1.75, 2.75, 3.25] >>> pvariance(data) 1.25 If you have already calculated the mean of the data, you can pass it as the optional second argument to avoid recalculating it: >>> mu = mean(data) >>> pvariance(data, mu) 1.25 Decimals and Fractions are supported: >>> from decimal import Decimal as D >>> pvariance([D("27.5"), D("30.25"), D("30.25"), D("34.5"), D("41.75")]) Decimal('24.815') >>> from fractions import Fraction as F >>> pvariance([F(1, 4), F(5, 4), F(1, 2)]) Fraction(13, 72) r4z*pvariance requires at least one data pointr)rFmurOrrTr:s r2rrbsFFdB--KAr1a1uuJKKK BFA  r1ct||\}}}}|dkrtd||dz z }t|trt |j|jSt|j|jS)zReturn the square root of the sample variance. See ``variance`` for arguments and other details. >>> stdev([1.5, 2.5, 2.5, 2.75, 3.25, 4.75]) 1.0810874155219827 r}'stdev requires at least two data pointsr4r\rrerrrnror)rFrrOrrTr:msss r2rrsydD//KAr1a1uuGHHH A,C!WE$S]CODDD s}co > >>r1ct||\}}}}|dkrtd||z }t|trt |j|jSt|j|jS)zReturn the square root of the population variance. See ``pvariance`` for arguments and other details. >>> pstdev([1.5, 2.5, 2.5, 2.75, 3.25, 4.75]) 0.986893273527251 r4z'pstdev requires at least one data pointr)rFrrOrrTr:rs r2rrsudB--KAr1a1uuGHHH q&C!WE$S]CODDD s}co > >>r1c4t|\}}}}|dkrtd||dz z } t|t|j|jfS#t $r1t|t|t|z fcYSwxYw)zFIn one pass, compute the mean and sample standard deviation as floats.r}rr4)r\rrfrrnror_)rFrOrrr:rs r2 _mean_stdevrsYYNAr41uuGHHH A,C4T{{/ sOOOO 444T{{E$KK%))333334s(A8BBc>t|}t||krtd|dkrtdt||z t||z tfdt||D}||dz z S)apCovariance Return the sample covariance of two inputs *x* and *y*. Covariance is a measure of the joint variability of two inputs. >>> x = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> y = [1, 2, 3, 1, 2, 3, 1, 2, 3] >>> covariance(x, y) 0.75 >>> z = [9, 8, 7, 6, 5, 4, 3, 2, 1] >>> covariance(x, z) -7.5 >>> covariance(z, x) -7.5 zDcovariance requires that both inputs have same number of data pointsr}z,covariance requires at least two data pointsc34K|]\}}|z |z zVdSr6r0r8xiyirybars r2r;zcovariance..4AAVRT b4i(AAAAAAr1r4)rrr%r)rSyr:sxyrrs @@r2rrs" AA 1vv{{deee1uuLMMM 77Q;D 77Q;D AAAAAs1ayyAAA A AC !a%=r1ct|}t||krtd|dkrtdt||z t||z tfdt||D}tfd|D}tfd|D} |t ||zz S#t $rtdwxYw)aPearson's correlation coefficient Return the Pearson's correlation coefficient for two inputs. Pearson's correlation coefficient *r* takes values between -1 and +1. It measures the strength and direction of the linear relationship, where +1 means very strong, positive linear relationship, -1 very strong, negative linear relationship, and 0 no linear relationship. >>> x = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> y = [9, 8, 7, 6, 5, 4, 3, 2, 1] >>> correlation(x, x) 1.0 >>> correlation(x, y) -1.0 zEcorrelation requires that both inputs have same number of data pointsr}z-correlation requires at least two data pointsc34K|]\}}|z |z zVdSr6r0rs r2r;zcorrelation..rr1c3,K|]}|z xzVdSr6r0r8rr9rs r2r;zcorrelation..000R$Y!#000000r1c3,K|]}|z xzVdSr6r0)r8rr9rs r2r;zcorrelation..rr1z&at least one of the inputs is constant)rrr%rrr) rSrr:rr[syyr9rrs @@@r2rrs&" AA 1vv{{efff1uuMNNN 77Q;D 77Q;D AAAAAs1ayyAAA A AC 00000a000 0 0C 00000a000 0 0CHT#)__$$ HHHFGGGHs C&&DLinearRegressionslope interceptF) proportionalcp t|}t||krtd|dkrtd|rAtdt||D}td|D}njt||z t||z t fdt||D}t fd|D} ||z }n#t$rtdwxYw|rd n | zz }t || S) aSlope and intercept for simple linear regression. Return the slope and intercept of simple linear regression parameters estimated using ordinary least squares. Simple linear regression describes relationship between an independent variable *x* and a dependent variable *y* in terms of a linear function: y = slope * x + intercept + noise where *slope* and *intercept* are the regression parameters that are estimated, and noise represents the variability of the data that was not explained by the linear regression (it is equal to the difference between predicted and actual values of the dependent variable). The parameters are returned as a named tuple. >>> x = [1, 2, 3, 4, 5] >>> noise = NormalDist().samples(5, seed=42) >>> y = [3 * x[i] + 2 + noise[i] for i in range(5)] >>> linear_regression(x, y) #doctest: +ELLIPSIS LinearRegression(slope=3.09078914170..., intercept=1.75684970486...) If *proportional* is true, the independent variable *x* and the dependent variable *y* are assumed to be directly proportional. The data is fit to a line passing through the origin. Since the *intercept* will always be 0.0, the underlying linear function simplifies to: y = slope * x + noise >>> y = [3 * x[i] + noise[i] for i in range(5)] >>> linear_regression(x, y, proportional=True) #doctest: +ELLIPSIS LinearRegression(slope=3.02447542484..., intercept=0.0) zKlinear regression requires that both inputs have same number of data pointsr}z3linear regression requires at least two data pointsc3&K|] \}}||zV dSr6r0)r8rrs r2r;z$linear_regression../s*33vr227333333r1c3 K|] }||zV dSr6r0)r8rs r2r;z$linear_regression..0s&''r27''''''r1c34K|]\}}|z |z zVdSr6r0rs r2r;z$linear_regression..4s4EERBI"t),EEEEEEr1c3,K|]}|z xzVdSr6r0rs r2r;z$linear_regression..5s044BdNAa'444444r1z x is constantr)rrr%rrr) rSrrr:rr[rrr9rrs @@@r2r r sfL AA 1vv{{klll1uuSTTT533Q33333''Q'''''Aww{Aww{EEEEE3q!99EEEEE44444!44444/c  ///o.../#< )>Dc|dz }t|dkrpd||zz }d|zdz|zdz|zdz|zdz|zd z|zd z|zd z|z}d |zd z|zdz|zdz|zdz|zdz|zdz|zdz}||z }|||zzS|dkr|nd|z }tt| }|dkr^|dz }d|zdz|zdz|zdz|zdz|zdz|zdz|zdz}d|zd z|zd!z|zd"z|zd#z|zd$z|zd%z|zdz}n]|dz }d&|zd'z|zd(z|zd)z|zd*z|zd+z|zd,z|zd-z}d.|zd/z|zd0z|zd1z|zd2z|zd3z|zd4z|zdz}||z }|dkr| }|||zzS)5N?g333333?gQ?g^}o)@gE.kR@g Ul@g*u>l@gN@g"]Ξ@gnC`@gu @giK~j@gv|E@gd|1@gfRr@gu.2@g~y@gn8(E@rrg@g?g鬷ZaI?ggElD?g7\?guSS?g=. @gj%b@gHw@gjRe?g9dh? >g('߿A?g~z ?g@3?gɅ3?g3fRx?gIFl@gt>g*Yn>gESB\T?gN;A+?gUR1?gEF?gPn@g&>@gigtcI,\>gŝI?g*F2v?gC4?gO1?)r rr$)prsigmarrrrrSs r2_normal_dist_inv_cdfrAs CA Aww% q1u 0140145601456115661 156 6 1 1 56 6 1 1 56 6115661140145601456115661 156 6 1 1 56 6 1 1 56 6 #IQY #XX37A c!ffW ACxx G1A51256712567226772 267 7 2 2 67 7 2 2 67 7222A51256712567226772 267 7 2 2 67 7 2 2 67 7 G1A51256712567226772 267 7 2 2 67 7 2 2 67 7223Q61256712567226772 267 7 2 2 67 7 2 2 67 7 c A3ww B U r1)rc*eZdZdZdddZd$dZedZd d d Zd Z d Z dZ d%dZ dZ dZedZedZedZedZedZdZdZdZdZdZdZeZdZeZdZd Zd!Z d"Z!d#Z"d S)&rz(Normal distribution of a random variablez(Arithmetic mean of a normal distributionz+Standard deviation of a normal distribution_mu_sigmarrc|dkrtdt||_t||_dS)zDNormalDist where mu is the mean and sigma is the standard deviation.rzsigma must be non-negativeN)rrfrr)selfrrs r2__init__zNormalDist.__init__s8 3;;!">?? ?99Ell r1c&|t|S)z5Make a normal distribution instance from sample data.)r)clsrFs r2 from_sampleszNormalDist.from_samplesssK%%&&r1N)seedc| tjntj|j|j|jcfdt |DS)z=Generate *n* samples for a given mean and standard deviation.Nc(g|]}Sr0r0)r8rgaussrrs r2rz&NormalDist.samples..s%333Qb%  333r1)randomr Randomrrr)rr:r r rrs @@@r2sampleszNormalDist.samplessV $  &-2E2E2KHdk E333333%((3333r1c|j|jz}|std||jz }t||zd|zz t t |zz S)z4Probability density function. P(x <= X < x+dx) / dxz$pdf() not defined when sigma is zerog)rrrr!rr#)rrSrdiffs r2pdfzNormalDist.pdfs_;, J!"HII I48|4$;$/233d3>6J6JJJr1c|jstdddt||jz |jtzz zzS)z,Cumulative distribution function. P(X <= x)z$cdf() not defined when sigma is zerorr)rrr"r_SQRT2rrSs r2cdfzNormalDist.cdfsF{ J!"HII IcCTX$+2F GHHHIIr1c|dks|dkrtd|jdkrtdt||j|jS)aSInverse cumulative distribution function. x : P(X <= x) = p Finds the value of the random variable such that the probability of the variable being less than or equal to that value equals the given probability. This function is also called the percent point function or quantile function. rrz$p must be in the range 0.0 < p < 1.0z-cdf() not defined when sigma at or below zero)rrrr)rrs r2inv_cdfzNormalDist.inv_cdfsV 88qCxx!"HII I ;#  !"QRR R#Atx===r1rc@fdtdDS)anDivide into *n* continuous intervals with equal probability. Returns a list of (n - 1) cut points separating the intervals. Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set *n* to 100 for percentiles which gives the 99 cuts points that separate the normal distribution in to 100 equal sized groups. c@g|]}|z Sr0)r)r8rr:rs r2rz(NormalDist.quantiles..s)999 QU##999r1r4)r)rr:s``r2rzNormalDist.quantiless+:9999U1a[[9999r1c  t|tstd||}}|j|jf|j|jfkr||}}|j|j}}|r|st d||z }t|j|jz }|s%dt|d|jztzz z S|j|z|j|zz }|j|jzt||z|t||z zzz} || z|z } || z |z } dt| | | | z t| | | | z zz S)aCompute the overlapping coefficient (OVL) between two normal distributions. Measures the agreement between two normal probability distributions. Returns a value between 0.0 and 1.0 giving the overlapping area in the two underlying probability density functions. >>> N1 = NormalDist(2.4, 1.6) >>> N2 = NormalDist(3.2, 2.0) >>> N1.overlap(N2) 0.8035050657330205 z$Expected another NormalDist instancez(overlap() not defined when sigma is zerorr+) rrrgrrrrr r"rrr$r) rotherXYX_varY_vardvrr{bx1x2s r2overlapzNormalDist.overlaps %,, DBCC CU1 Hae !%0 0 0aqAz1:u NE N!"LMM M U] !%!%-  =R3>F#:;<<< < EEMAEEM ) Hqx $rBwc%%-6H6H1H'H"I"I I!er\!er\d15599quuRyy011DrQUU2YY9N4O4OOPPr1cR|jstd||jz |jz S)zCompute the Standard Score. (x - mean) / stdev Describes *x* in terms of the number of standard deviations above or below the mean of the normal distribution. z'zscore() not defined when sigma is zero)rrrrs r2zscorezNormalDist.zscores1{ M!"KLL LDH  ++r1c|jS)z+Arithmetic mean of the normal distribution.rrs r2r zNormalDist.mean xr1c|jS)z,Return the median of the normal distributionr)r*s r2r zNormalDist.median r+r1c|jS)zReturn the mode of the normal distribution The mode is the value x where which the probability density function (pdf) takes its maximum value. r)r*s r2rzNormalDist.modes xr1c|jS)z.Standard deviation of the normal distribution.rr*s r2rzNormalDist.stdevs {r1c |j|jzS)z!Square of the standard deviation.r/r*s r2rzNormalDist.variances{T[((r1ct|tr5t|j|jzt|j|jSt|j|z|jS)ajAdd a constant or another NormalDist instance. If *other* is a constant, translate mu by the constant, leaving sigma unchanged. If *other* is a NormalDist, add both the means and the variances. Mathematically, this works only if the two distributions are independent or if they are jointly normally distributed. rrrrrr#r$s r2__add__zNormalDist.__add__!U b* % % LbfrvouRY /J/JKK K"&2+ry111r1ct|tr5t|j|jz t|j|jSt|j|z |jS)asSubtract a constant or another NormalDist instance. If *other* is a constant, translate by the constant mu, leaving sigma unchanged. If *other* is a NormalDist, subtract the means and add the variances. Mathematically, this works only if the two distributions are independent or if they are jointly normally distributed. r2r3s r2__sub__zNormalDist.__sub__/r5r1c\t|j|z|jt|zS)zMultiply both mu and sigma by a constant. Used for rescaling, perhaps to change measurement units. Sigma is scaled with the absolute value of the constant. rrrr r3s r2__mul__zNormalDist.__mul__=' "&2+ry488';<<>> : : : : Q Q QD , , ,XXXX))X) 2 2 2 2 2 2======---...HH;;; ---PPP%%%&&&&&r1rr6)rs)r)KrT__all__r`rr sys fractionsrdecimalr itertoolsrrbisectrrrrr r!r"r#r$r% functoolsr&operatorr' collectionsr(r)r*rrmrrPr\rbrDrArrrvrEr| float_infomant_digr__annotations__rfrrr rrrr rr r rrrrrrrrrrrr r _statistics ImportErrorrr0r1r2rhshhhT   .  %%%%%%%%,,,,,,,,<<<<<<<<<<<<<<<<<<<<8888888888 c     j   333l&&&&R   444>+++\$3>22Q6666 #3 #3 #5 # # # #SSW<""",####LGGG&5,5,5,5,p+++0   ,&E+E+E+E+PBBB<KKKr;(4(4(4(4(4b)%)%)%)%X&&&&R????$????$ 4 4 4(8HHHB:02HII058>8>8>8>8>|GGGV 0000000   D \&\&\&\&\&\&\&\&\&\&sD!!D)(D)