View README.md

rewind history, extracting data and observations for openai

 2315  ./mk-time-series monitor/glucose.json | tee mega-log-glucose.json
 2316  head mega-log-glucose.json 
 2327  cat mega-log-glucose.json | json -a hash
 2328  cat mega-log-glucose.json | json -a hash | wc -l
View new-predict-reports.json
[
{
"type": "alias",
"name": "rm-warmup",
"rm-warmup": {
"command": "! bash -c \"rm -f model.json monitor/clock.json > /dev/null\""
}
},
{
"type": "alias",
View diabetes.py
import gym
from gym import spaces
from gym.utils import seeding
import numpy as np
from openapscontrib.predict import predict
class DiabetesEnv(gym.Env):
metadata = {
View w-mmtune.json
{"type": "alias", "preflight": {"command": "! bash -c \"(echo PREFLIGHT ) && openaps mmtune && openaps warmup 2>&1 >/dev/null && grep -q T monitor/clock.json && echo PREFLIGHT OK || openaps fail-warmup\""}, "name": "preflight"}
View mk-time-series
#!/bin/bash
# oref0-predict/oref0.json
INPUT=$1
TEST_EXEC="if (Array.isArray(this)) { process.exit(1); }"
git log \
--format="format:%h %aI %s" \
-n 100 --follow -- $INPUT \
| while read hash iso subject ; do
spec=$hash:$INPUT
View openaps.ini
[vendor "openapscontrib.timezones"]
path = .
module = openapscontrib.timezones
[device "tz"]
vendor = openapscontrib.timezones
extra = tz.ini
[report "selected-demo.json"]
use = select
View bewest-aliases.json
[
{
"type": "alias",
"name": "rm-warmup",
"rm-warmup": {
"command": "! bash -c \"rm -f model.json monitor/clock.json > /dev/null\""
}
},
{
"type": "alias",
View laptop-fs-tab.txt
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=537348b3-1a2b-4660-864a-90b682f4986b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
View calibrations.json
[
{
"slope": 896.2810042779373,
"system_time": "2016-05-26T06:44:02",
"scale": 1.0,
"decay": 1.0417335910913732,
"display_time": "2016-05-26T00:46:53",
"subrecords": [
{
"applied": "2016-05-26T06:39:01",
View cal_set.txt
0000 0xb2 0x93 0xea 0x0d 0xfd 0x3f 0xea 0x0d .....?..
0008 0x37 0xbe 0x2b 0x7f 0x3f 0x02 0x8c 0x40 7.+.?..@
0010 0x02 0x61 0x17 0x8b 0x1c 0x98 0xde 0x40 .a.....@
0018 0x00 0x00 0x00 0x00 0x00 0x00 0xf0 0x3f .......?
0020 0x03 0x06 0x09 0x05 0x1d 0x8e 0xd7 0xf0 ........
0028 0xaa 0xf0 0x3f 0x02 0xec 0x91 0xea 0x0d ..?.....
0030 0x59 0x00 0x00 0x00 0x70 0xc3 0x01 0x00 Y...p...
0038 0x85 0x92 0xea 0x0d 0x00 0x4c 0x92 0xea .....L..
0040 0x0d 0x62 0x00 0x00 0x00 0xa0 0xc1 0x01 .b......
0048 0x00 0xb1 0x93 0xea 0x0d 0x00 0x00 0x00 ........