File size: 1,118 Bytes
e918a5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

"""
Pathway Analysis Environment for OpenEnv.

A toy computational-biology environment where an agent identifies the
activated signaling pathway from synthetic omics data.

Example:
    >>> from pathway_analysis_env import PathwayEnv, PathwayAction
    >>>
    >>> with PathwayEnv(base_url="http://localhost:8000") as client:
    ...     result = client.reset()
    ...     result = client.step(PathwayAction(action_type="inspect_dataset"))
    ...     result = client.step(PathwayAction(action_type="run_differential_expression"))
    ...     result = client.step(PathwayAction(action_type="run_pathway_enrichment"))
    ...     result = client.step(PathwayAction(action_type="submit_answer", hypothesis="MAPK signaling"))
"""

from .client import PathwayEnv
from .models import PathwayAction, PathwayObservation, PathwayState

__all__ = ["PathwayEnv", "PathwayAction", "PathwayObservation", "PathwayState"]