Skip to content

Commit 22297ee

Browse files
fix(tests): update population fixture to match current schema
1 parent e545439 commit 22297ee

1 file changed

Lines changed: 27 additions & 11 deletions

File tree

tests/test_cli.py

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,23 +124,39 @@ def _setup_study_with_scenario(self, tmp_path):
124124
agent_focus: test agents
125125
126126
grounding:
127-
summary: Test grounding
127+
overall: low
128+
sources_count: 0
129+
strong_count: 0
130+
medium_count: 0
131+
low_count: 2
128132
129133
attributes:
130134
- name: role
131135
type: categorical
132-
distribution:
133-
type: categorical
134-
probabilities:
135-
x: 0.5
136-
y: 0.5
136+
category: population_specific
137+
description: Role in organization
138+
sampling:
139+
strategy: independent
140+
distribution:
141+
type: categorical
142+
options: [x, y]
143+
weights: [0.5, 0.5]
144+
grounding:
145+
level: low
146+
method: estimated
137147
- name: team
138148
type: categorical
139-
distribution:
140-
type: categorical
141-
probabilities:
142-
alpha: 0.5
143-
beta: 0.5
149+
category: population_specific
150+
description: Team membership
151+
sampling:
152+
strategy: independent
153+
distribution:
154+
type: categorical
155+
options: [alpha, beta]
156+
weights: [0.5, 0.5]
157+
grounding:
158+
level: low
159+
method: estimated
144160
145161
sampling_order:
146162
- role

0 commit comments

Comments
 (0)