File size: 1,719 Bytes
26bf1c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6c69a9a
26bf1c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6c69a9a
 
 
 
 
 
 
 
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "openenv-counterfeint"
version = "0.1.0"
description = "CounterFeint — Ad Fraud Investigation Environment for OpenEnv. Real-world ad fraud detection and investigation simulation."
requires-python = ">=3.11"
dependencies = [
    "openenv-core[core]>=0.2.3",
    "fastapi>=0.115.0",
    "pydantic>=2.0.0",
    "uvicorn[standard]>=0.24.0",
    "websockets>=13.0",
    "requests>=2.31.0",
    "faker==33.1.0",
    "networkx>=3.2",
    "openai>=1.0.0",
    "python-dotenv>=1.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-cov>=4.0.0",
    "pytest-asyncio>=0.23.0",
    # matplotlib is dev-only — used by counterfeint.eval_suite to render
    # eval_plot.png for the README. Keeping it out of runtime deps keeps
    # the Docker image slim (~30MB saved).
    "matplotlib>=3.8.0",
]

[project.scripts]
server = "counterfeint.server.app:main"

[tool.setuptools]
include-package-data = true
packages = [
    "counterfeint",
    "counterfeint.server",
    "counterfeint.data",
    "counterfeint.graders",
    "counterfeint.scripted",
    "counterfeint.agents",
]

[tool.setuptools.package-dir]
"counterfeint" = "."
"counterfeint.server" = "server"
"counterfeint.data" = "data"
"counterfeint.graders" = "graders"
"counterfeint.scripted" = "scripted"
"counterfeint.agents" = "agents"

[tool.setuptools.package-data]
"counterfeint.data" = ["real_world_test_set.json"]
"counterfeint.server" = [
    "static/*.html",
    "static/*.css",
    "static/*.js",
    "static/*.svg",
    "static/*.png",
    "static/*.ico",
]