Spaces:
Sleeping
Sleeping
File size: 720 Bytes
f0023cf fe76d3d f0023cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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.
from typing import List
# FIX: Import the OpenEnv base classes instead of BaseModel
from openenv.core.env_server import Action, Observation
class AuditorAction(Action):
# Decisions for each anomaly in the batch: 0=Pass, 1=Investigate, 2=Flag
decisions: List[int]
class AuditorObservation(Observation):
# This is the (batch_size, 4) matrix Samarth will send
# Features: [time_elapsed, price_delta, missing_freq, risk_score]
features: List[List[float]]
message: str = "Batch processed" |