Spaces:
Sleeping
Sleeping
Download scripted/__init__.py from QuantumTransformer/CounterFeint: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/spaces/QuantumTransformer/CounterFeint/resolve/main/scripted/__init__.py
- Command line
-
hf download hf://spaces/QuantumTransformer/CounterFeint/scripted/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/QuantumTransformer/CounterFeint/resolve/main/scripted/__init__.py
1.2 kB
| """ | |
| Scripted baseline policies for the CounterFeint FraudArena. | |
| Each policy takes a role observation (dict from the WebSocket payload) and | |
| returns a role-specific Pydantic action. They are deterministic, dependency- | |
| free, and safe to use in CI or as opponents during self-play warmup. | |
| Policies: | |
| fraudster.ScriptedFraudster fixed 2-propose / end_turn / commit sequence | |
| fraudster.ReactiveFraudster adapts category + slot based on verdicts seen | |
| fraudster.GibberishFraudster low-plausibility adversary (negative control) | |
| investigator.ScriptedInvestigator one-investigate-then-verdict heuristic | |
| auditor.HeuristicAuditor rule-based flags + derived scores (Phase 1) | |
| Replaced by graders/auditor_track_{a,b}.py | |
| in Phase 2. | |
| """ | |
| from .auditor import HeuristicAuditor | |
| from .fraudster import ( | |
| GibberishFraudster, | |
| ReactiveFraudster, | |
| ScriptedFraudster, | |
| ) | |
| from .investigator import ScriptedInvestigator | |
| __all__ = [ | |
| "GibberishFraudster", | |
| "HeuristicAuditor", | |
| "ReactiveFraudster", | |
| "ScriptedFraudster", | |
| "ScriptedInvestigator", | |
| ] | |