ogs.reports¶
Generator¶
Generate all requested reports and write them to output_dir.
Creates a subdirectory named after the pattern (slugified) and puts all reports in that subdirectory for organized storage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pattern
|
PatternIR
|
The pattern to generate reports for. |
required |
output_dir
|
Path
|
Base directory to write reports into. A subdirectory for the pattern will be created here. |
required |
report_types
|
list[str] | None
|
List of report types to generate. Defaults to all. Options: "overview", "contracts", "schema", "state_machine", "checklist", "verification" |
None
|
verification_report
|
VerificationReport | None
|
Optional pre-computed verification report. |
None
|
Returns:
| Type | Description |
|---|---|
list[Path]
|
List of paths to generated report files. |
Source code in packages/gds-games/ogs/reports/generator.py
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | |
Domain Analysis¶
Domain analysis report generator with advanced tag-based insights.
generate_domain_analysis(pattern, tag_key='domain')
¶
Generate a domain analysis report with tag-based insights.