DebateMind / openenv.yaml
smzuhaib06
Deploy DebateMind Gradio dashboard
ccd25ed
Raw History Blame Contribute Delete
2.18 kB
name: debatemind
version: "1.0.0"
description: "Parliamentary negotiation environment for LLM agent training"
theme: long_horizon_planning
environment:
class: debatemind.environment.ParliamentEnvironment
max_turns: 100
default_turns: 75
training_turns: 30
tools:
- name: search_precedent
description: "Search historical parliamentary precedents"
input_schema:
type: object
properties:
topic: { type: string }
required: [topic]
output_schema:
type: object
properties:
precedents: { type: array, items: { type: string } }
- name: propose_amendment
description: "Propose an amendment to a bill clause"
input_schema:
type: object
properties:
clause_index: { type: integer }
new_text: { type: string }
required: [clause_index, new_text]
output_schema:
type: object
properties:
success: { type: boolean }
amendment: { type: object }
- name: negotiate
description: "Negotiate with a faction"
input_schema:
type: object
properties:
faction_id: { type: string }
offer: { type: object }
required: [faction_id, offer]
output_schema:
type: object
properties:
score: { type: number }
trust_score: { type: number }
- name: read_transcript
description: "Read transcript entries for a turn range"
input_schema:
type: object
properties:
start_turn: { type: integer }
end_turn: { type: integer }
required: [start_turn, end_turn]
output_schema:
type: object
properties:
entries: { type: array, items: { type: object } }
- name: check_vote_tally
description: "Check current projected vote counts with noise"
input_schema:
type: object
properties: {}
output_schema:
type: object
properties:
projections: { type: object }
threshold: { type: number }
reward:
components:
- name: bill_passage
weight: 0.40
- name: coalition_size
weight: 0.20
- name: argument_consistency
weight: 0.30
- name: amendment_quality
weight: 0.10