57a09d96dacfd8c0c1581a78d4f93ab8813987c5,pfnopt/storages/rdb.py,TrialModel,TrialModel_1,#,51

Before Change


    state = Column(Enum(State))
    value = Column(Float)
    user_attributes_json = Column(String(255))
    system_attributes_json = Column(String(255))

    study = orm.relationship(StudyModel)

After Change


    state = Column(Enum(State), default=State.RUNNING)
    value = Column(Float)
    user_attributes_json = Column(String(255))
    datetime_start = Column(
        DateTime(timezone=True), default=datetime.utcnow)
    datetime_complete = Column(
        DateTime(timezone=True), default=datetime.utcnow, onupdate=datetime.utcnow)

    study = orm.relationship(StudyModel)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pfnet/optuna
Commit Name: 57a09d96dacfd8c0c1581a78d4f93ab8813987c5
Time: 2018-04-19
Author: sano@preferred.jp
File Name: pfnopt/storages/rdb.py
Class Name: TrialModel
Method Name: TrialModel_1


Project Name: OpenMined/Grid
Commit Name: 3445b5d800148a4a9f252ecbdf4cd54b2fbdf3c8
Time: 2021-03-14
Author: sachinkumar04428@gmail.com
File Name: apps/domain/src/main/core/database/environment/environment.py
Class Name: Environment
Method Name: Environment_1


Project Name: ANSSI-FR/SecuML
Commit Name: 671bde26dc98619355d0005e56c856c6b885c923
Time: 2019-09-03
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/exp/tools/db_tables.py
Class Name: DatasetsAlchemy
Method Name: DatasetsAlchemy_1