Skip to content

Instantly share code, notes, and snippets.

@YoukaiCat
Created July 5, 2021 16:34
Show Gist options
  • Save YoukaiCat/a31a1acabb877f66c6880cc452aab9c0 to your computer and use it in GitHub Desktop.
Save YoukaiCat/a31a1acabb877f66c6880cc452aab9c0 to your computer and use it in GitHub Desktop.
{"t":{"$date":"2021-07-05T19:18:29.629+03:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify--sslDisabledProtocols 'none'"}
{"t":{"$date":"2021-07-05T19:18:29.639+03:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2021-07-05T19:18:29.641+03:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2021-07-05T19:18:29.641+03:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":7382,"port":27017,"dbPath":"/home/parsee/poptimizer/db","architecture":"64-bit","host":"freeopt1"}}
{"t":{"$date":"2021-07-05T19:18:29.641+03:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.6","gitVersion":"72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7","openSSLVersion":"OpenSSL 1.1.1d 10 Sep 2019","modules":[],"allocator":"tcmalloc","environment":{"distmod":"debian10","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2021-07-05T19:18:29.641+03:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"PRETTY_NAME=\"Debian GNU/Linux 10 (buster)\"","version":"Kernel 4.19.0-16-cloud-amd64"}}}
{"t":{"$date":"2021-07-05T19:18:29.641+03:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"localhost"},"storage":{"dbPath":"/home/parsee/poptimizer/db","directoryPerDB":true}}}}
{"t":{"$date":"2021-07-05T19:18:29.645+03:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/home/parsee/poptimizer/db","storageEngine":"wiredTiger"}}
{"t":{"$date":"2021-07-05T19:18:29.645+03:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
{"t":{"$date":"2021-07-05T19:18:29.645+03:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=256M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
{"t":{"$date":"2021-07-05T19:18:30.337+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:337804][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}}
{"t":{"$date":"2021-07-05T19:18:30.371+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:371434][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}}
{"t":{"$date":"2021-07-05T19:18:30.540+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:540615][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 1/67898624 to 2/256"}}
{"t":{"$date":"2021-07-05T19:18:30.611+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:611363][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}}
{"t":{"$date":"2021-07-05T19:18:30.640+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:640193][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}}
{"t":{"$date":"2021-07-05T19:18:30.689+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:689380][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
{"t":{"$date":"2021-07-05T19:18:30.689+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:689584][7382:0x7f7543550140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
{"t":{"$date":"2021-07-05T19:18:30.690+03:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1625501910:690565][7382:0x7f7543550140], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0)"}}
{"t":{"$date":"2021-07-05T19:18:30.720+03:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1075}}
{"t":{"$date":"2021-07-05T19:18:30.720+03:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
{"t":{"$date":"2021-07-05T19:18:30.723+03:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
{"t":{"$date":"2021-07-05T19:18:30.725+03:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2021-07-05T19:18:30.728+03:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
{"t":{"$date":"2021-07-05T19:18:30.728+03:00"},"s":"W", "c":"CONTROL", "id":22178, "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
{"t":{"$date":"2021-07-05T19:18:30.728+03:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":1024,"recommendedMinimum":64000},"tags":["startupWarnings"]}
{"t":{"$date":"2021-07-05T19:18:30.750+03:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
{"t":{"$date":"2021-07-05T19:18:30.759+03:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/home/parsee/poptimizer/db/diagnostic.data"}}
{"t":{"$date":"2021-07-05T19:18:30.764+03:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
{"t":{"$date":"2021-07-05T19:18:30.764+03:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}}
{"t":{"$date":"2021-07-05T19:18:30.765+03:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
{"t":{"$date":"2021-07-05T19:18:30.934+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56280","connectionId":1,"connectionCount":1}}
{"t":{"$date":"2021-07-05T19:18:30.934+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:56280","client":"conn1","doc":{"driver":{"name":"PyMongo|Motor","version":"3.11.4|2.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0|asyncio"}}}
{"t":{"$date":"2021-07-05T19:18:30.936+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56282","connectionId":2,"connectionCount":2}}
{"t":{"$date":"2021-07-05T19:18:30.937+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:56282","client":"conn2","doc":{"driver":{"name":"PyMongo|Motor","version":"3.11.4|2.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0|asyncio"}}}
{"t":{"$date":"2021-07-05T19:18:30.938+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56284","connectionId":3,"connectionCount":3}}
{"t":{"$date":"2021-07-05T19:18:30.939+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:56284","client":"conn3","doc":{"driver":{"name":"PyMongo|Motor","version":"3.11.4|2.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0|asyncio"}}}
INFO:EventBus:DateCheckRequired(timestamp=datetime.datetime(2021, 7, 5, 16, 18, 31, 605662))
{"t":{"$date":"2021-07-05T19:18:31.909+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56286","connectionId":4,"connectionCount":4}}
{"t":{"$date":"2021-07-05T19:18:31.910+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:56286","client":"conn4","doc":{"driver":{"name":"PyMongo","version":"3.11.4"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0"}}}
{"t":{"$date":"2021-07-05T19:18:31.924+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56288","connectionId":5,"connectionCount":5}}
{"t":{"$date":"2021-07-05T19:18:31.926+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:56288","client":"conn5","doc":{"driver":{"name":"PyMongo","version":"3.11.4"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0"}}}
{"t":{"$date":"2021-07-05T19:18:31.935+03:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:56290","connectionId":6,"connectionCount":6}}
{"t":{"$date":"2021-07-05T19:18:31.936+03:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"127.0.0.1:56290","client":"conn6","doc":{"driver":{"name":"PyMongo","version":"3.11.4"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.19.0-16-cloud-amd64"},"platform":"CPython 3.9.5.final.0"}}}
INFO:EventBus:DateCheckRequired(timestamp=datetime.datetime(2021, 7, 5, 16, 18, 32, 7116))
Имеется 60 организмов из 60
INFO:EventBus:DateCheckRequired(timestamp=datetime.datetime(2021, 7, 5, 16, 18, 32, 27756))
***2021-07-02: Шаг эволюции — 1***
LLH - (2.1533, 2.6196, 2.7246)
IR - (0.0006, 0.3890, 1.0252)
Максимум оценок - 3
Фактор - 100.00%
Родитель:
LLH — 2.6374: 2.6341, 2.6406
IR — 0.3914
Timer — 46
Data: {'batch_size': 344.9084789058378, 'history_days': 47.054707517211256, 'ticker_on': -0.2183448030095032, 'day_of_year_on': -0.8201781755183433, 'day_of_period_on': -0.37462095133400974, 'prices_on': -0.6889757693524616, 'dividends_on': -0.39956845880126, 'turnover_on': 0.005674067888851608, 'average_turnover_on': -0.6787456720936038, 'rvi_on': -0.4634100457172381, 'mcftrr_on': 0.23813297203967876, 'imoex_on': 0.6629279765279519, 'ticker_type_on': 0.21519170916114727, 'usd_on': 0.3967472056116439, 'open_on': -0.4498714605397376, 'high_on': -0.4693882117804822, 'low_on': -0.9001009850854129}
Model: {'start_bn': 0.10426220938518682, 'kernels': 3.6601407225251217, 'sub_blocks': 3.497538184380739, 'gate_channels': 4.834030806929659, 'residual_channels': 6.6163045794867745, 'skip_channels': 4.410953471832398, 'end_channels': 4.304888514501044, 'mixture_size': 2.335099219183601}
Optimizer: {'betas': 0.9989981951083013, 'eps': 1.816492762790674e-08, 'weight_decay': 0.07093247647430877}
Scheduler: {'max_lr': 0.0033352587769832653, 'epochs': 1.3009451335129518, 'pct_start': 0.30018825880745137, 'anneal_strategy': -0.7247583332435878, 'base_momentum': 0.850878217611427, 'max_momentum': 0.9503828258142707, 'div_factor': 271.80283513062017, 'final_div_factor': 68158.20716460019}
Добыча:
LLH — 2.1533: 1.6489, 2.6577
IR — 0.7077
Timer — 64
Data: {'batch_size': 451.5668570332746, 'history_days': 85.68187709241305, 'ticker_on': 0.2642539766450029, 'day_of_year_on': -0.1688367374252869, 'day_of_period_on': 0.28119283047574767, 'prices_on': -0.1480930466451268, 'dividends_on': 0.7910132259421951, 'turnover_on': 0.4634174168367164, 'average_turnover_on': 0.6081510080618164, 'rvi_on': 0.08802916455535739, 'mcftrr_on': -0.1450752322808696, 'imoex_on': -0.01566053954695365, 'ticker_type_on': 0.41158998434929156, 'usd_on': -0.631088546573152, 'open_on': 0.5993585182862721, 'high_on': 0.49136024945647927, 'low_on': 0.8365851367449288}
Model: {'start_bn': 0.6556644169041445, 'kernels': 4.230346696565634, 'sub_blocks': 2.4489567415135776, 'gate_channels': 7.397559279446261, 'residual_channels': 5.846023404607841, 'skip_channels': 4.606595321687011, 'end_channels': 4.92645696190525, 'mixture_size': 3.4349451771943906}
Optimizer: {'betas': 0.9989968996505859, 'eps': 1.655919851151642e-08, 'weight_decay': 0.004771295361300392}
Scheduler: {'max_lr': 0.0033654226063436843, 'epochs': 1.9599576106338539, 'pct_start': 0.29933468259116347, 'anneal_strategy': 0.6389922025418024, 'base_momentum': 0.8501121479166849, 'max_momentum': 0.9504405158624986, 'div_factor': 134.28184086702177, 'final_div_factor': 74628.37309209113}
Родитель нападает на добычу:
Traceback (most recent call last):
File "/home/parsee/poptimizer/./poptimizer/__main__.py", line 37, in <module>
app(prog_name="poptimizer")
File "/home/parsee/miniconda3/lib/python3.9/site-packages/typer/main.py", line 214, in __call__
return get_command(self)(*args, **kwargs)
File "/home/parsee/miniconda3/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/parsee/miniconda3/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/parsee/miniconda3/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/parsee/miniconda3/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/parsee/miniconda3/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/parsee/miniconda3/lib/python3.9/site-packages/typer/main.py", line 497, in wrapper
return callback(**use_params) # type: ignore
File "/home/parsee/poptimizer/./poptimizer/__main__.py", line 12, in evolve
ev.evolve()
File "/home/parsee/poptimizer/poptimizer/evolve/evolve.py", line 70, in evolve
if self._prey_killed(parent, prey):
File "/home/parsee/poptimizer/poptimizer/evolve/evolve.py", line 148, in _prey_killed
_, p_value = stats.ttest_ind(
TypeError: ttest_ind() got an unexpected keyword argument 'permutations'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment