Skip to content

Commit 8a0519c

Browse files
feat: redesign ShopOps into tool-driven multi-case operations benchmark
1 parent 219b98a commit 8a0519c

30 files changed

Lines changed: 2217 additions & 1738 deletions

README.md

Lines changed: 167 additions & 226 deletions
Large diffs are not rendered by default.

__init__.py

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,65 @@
1-
# Copyright (c) Meta Platforms, Inc. and affiliates.
2-
# All rights reserved.
3-
#
4-
# This source code is licensed under the BSD-style license found in the
5-
# LICENSE file in the root directory of this source tree.
1+
"""ShopOps environment package exports."""
62

7-
"""Shopops Environment."""
8-
9-
# Allow importing this module both as a package (relative imports)
10-
# and as a top-level module (pytest sometimes imports repo-root __init__.py).
113
if __package__:
124
from .client import ShopopsEnv
135
from .models import (
146
ActionType,
7+
BusinessMetrics,
8+
CarrierStatus,
9+
CasePriority,
10+
CaseStatus,
1511
CaseType,
12+
CaseView,
1613
CustomerTier,
17-
DeliveryStatus,
1814
EscalationReason,
15+
EvidenceStatus,
1916
FraudSignal,
20-
IssueSeverity,
21-
ItemCategory,
17+
OrderStatus,
18+
QueueItemView,
19+
Resources,
2220
ShopopsAction,
2321
ShopopsObservation,
22+
ToolResult,
2423
)
2524
else:
2625
from client import ShopopsEnv
2726
from models import (
2827
ActionType,
28+
BusinessMetrics,
29+
CarrierStatus,
30+
CasePriority,
31+
CaseStatus,
2932
CaseType,
33+
CaseView,
3034
CustomerTier,
31-
DeliveryStatus,
3235
EscalationReason,
36+
EvidenceStatus,
3337
FraudSignal,
34-
IssueSeverity,
35-
ItemCategory,
38+
OrderStatus,
39+
QueueItemView,
40+
Resources,
3641
ShopopsAction,
3742
ShopopsObservation,
43+
ToolResult,
3844
)
3945

4046
__all__ = [
41-
"ShopopsAction",
42-
"ShopopsObservation",
43-
"ShopopsEnv",
4447
"ActionType",
48+
"BusinessMetrics",
49+
"CarrierStatus",
50+
"CasePriority",
51+
"CaseStatus",
4552
"CaseType",
53+
"CaseView",
4654
"CustomerTier",
47-
"DeliveryStatus",
4855
"EscalationReason",
56+
"EvidenceStatus",
4957
"FraudSignal",
50-
"IssueSeverity",
51-
"ItemCategory",
58+
"OrderStatus",
59+
"QueueItemView",
60+
"Resources",
61+
"ShopopsAction",
62+
"ShopopsEnv",
63+
"ShopopsObservation",
64+
"ToolResult",
5265
]
232 Bytes
Binary file not shown.
194 Bytes
Binary file not shown.

__pycache__/eval.cpython-310.pyc

479 Bytes
Binary file not shown.

__pycache__/eval.cpython-314.pyc

1.23 KB
Binary file not shown.

__pycache__/models.cpython-310.pyc

3.34 KB
Binary file not shown.

__pycache__/models.cpython-314.pyc

4.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)