0209review: firm risk component + 2way interation on n_max_trial and cap_limit_level

This commit is contained in:
Ethan Hao
2026-02-09 20:54:52 -08:00
parent 208b36114f
commit 492e5db7f2
26 changed files with 2233 additions and 57 deletions

4
orm.py
View File

@@ -22,7 +22,7 @@ with open('conf_db_prefix.yaml') as file:
db_name_prefix = dct_conf_db_prefix['db_name_prefix']
str_login = 'mysql://{}:{}@{}:{}/{}'.format(dct_conf_db['user_name'],
str_login = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(dct_conf_db['user_name'],
dct_conf_db['password'],
dct_conf_db['address'],
dct_conf_db['port'],
@@ -82,6 +82,8 @@ class Sample(Base):
is_done_flag = Column(Integer, nullable=False)
computer_name = Column(String(64), nullable=True)
ts_done = Column(DateTime(timezone=True), onupdate=func.now())
ts_start = Column(DateTime(timezone=True), nullable=True)
elapsed_seconds = Column(DECIMAL(10, 2), nullable=True)
stop_t = Column(Integer, nullable=True)
g_firm = Column(Text(4294000000), nullable=True)