Update sample_data.py
Browse files- sample_data.py +277 -39
sample_data.py
CHANGED
|
@@ -377,44 +377,282 @@ PROCESS_FLOW_JSON = """
|
|
| 377 |
# New JSON for Work Breakdown Structure (WBS) Diagram - similar to image, but not identical
|
| 378 |
WBS_DIAGRAM_JSON = """
|
| 379 |
{
|
| 380 |
-
"project_title": "AI Project
|
| 381 |
-
"
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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similar to image, but not identical
|
| 378 |
WBS_DIAGRAM_JSON = """
|
| 379 |
{
|
| 380 |
+
"project_title": "AI Development Project",
|
| 381 |
+
"root": {
|
| 382 |
+
"id": "level_1",
|
| 383 |
+
"label": "<Project Title>",
|
| 384 |
+
"children": [
|
| 385 |
+
{
|
| 386 |
+
"id": "level_2_prep",
|
| 387 |
+
"label": "Preparation",
|
| 388 |
+
"children": [
|
| 389 |
+
{
|
| 390 |
+
"id": "level_3_vision",
|
| 391 |
+
"label": "Identify Vision",
|
| 392 |
+
"children": [
|
| 393 |
+
{
|
| 394 |
+
"id": "level_4_analysis",
|
| 395 |
+
"label": "Stakeholder Analysis",
|
| 396 |
+
"children": [
|
| 397 |
+
{
|
| 398 |
+
"id": "level_5_requirements",
|
| 399 |
+
"label": "Requirements Gathering",
|
| 400 |
+
"children": [
|
| 401 |
+
{
|
| 402 |
+
"id": "level_6_validation",
|
| 403 |
+
"label": "Validation Process",
|
| 404 |
+
"children": [
|
| 405 |
+
{
|
| 406 |
+
"id": "level_7_final",
|
| 407 |
+
"label": "Final Documentation"
|
| 408 |
+
}
|
| 409 |
+
]
|
| 410 |
+
}
|
| 411 |
+
]
|
| 412 |
+
}
|
| 413 |
+
]
|
| 414 |
+
}
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"id": "level_3_design",
|
| 419 |
+
"label": "Design and Staffing",
|
| 420 |
+
"children": [
|
| 421 |
+
{
|
| 422 |
+
"id": "level_4_architecture",
|
| 423 |
+
"label": "AI Architecture",
|
| 424 |
+
"children": [
|
| 425 |
+
{
|
| 426 |
+
"id": "level_5_model_selection",
|
| 427 |
+
"label": "Model Selection",
|
| 428 |
+
"children": [
|
| 429 |
+
{
|
| 430 |
+
"id": "level_6_benchmarking",
|
| 431 |
+
"label": "Performance Benchmarking",
|
| 432 |
+
"children": [
|
| 433 |
+
{
|
| 434 |
+
"id": "level_7_optimization",
|
| 435 |
+
"label": "Model Optimization"
|
| 436 |
+
}
|
| 437 |
+
]
|
| 438 |
+
}
|
| 439 |
+
]
|
| 440 |
+
}
|
| 441 |
+
]
|
| 442 |
+
}
|
| 443 |
+
]
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"id": "level_3_other_prep",
|
| 447 |
+
"label": "<Other Task>",
|
| 448 |
+
"children": [
|
| 449 |
+
{
|
| 450 |
+
"id": "level_4_data_prep",
|
| 451 |
+
"label": "Data Preparation",
|
| 452 |
+
"children": [
|
| 453 |
+
{
|
| 454 |
+
"id": "level_5_data_collection",
|
| 455 |
+
"label": "Data Collection",
|
| 456 |
+
"children": [
|
| 457 |
+
{
|
| 458 |
+
"id": "level_6_data_cleaning",
|
| 459 |
+
"label": "Data Cleaning",
|
| 460 |
+
"children": [
|
| 461 |
+
{
|
| 462 |
+
"id": "level_7_data_validation",
|
| 463 |
+
"label": "Data Validation"
|
| 464 |
+
}
|
| 465 |
+
]
|
| 466 |
+
}
|
| 467 |
+
]
|
| 468 |
+
}
|
| 469 |
+
]
|
| 470 |
+
}
|
| 471 |
+
]
|
| 472 |
+
}
|
| 473 |
+
]
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"id": "level_2_planning",
|
| 477 |
+
"label": "Planning",
|
| 478 |
+
"children": [
|
| 479 |
+
{
|
| 480 |
+
"id": "level_3_cost",
|
| 481 |
+
"label": "Cost Analysis",
|
| 482 |
+
"children": [
|
| 483 |
+
{
|
| 484 |
+
"id": "level_4_budget",
|
| 485 |
+
"label": "Budget Planning",
|
| 486 |
+
"children": [
|
| 487 |
+
{
|
| 488 |
+
"id": "level_5_resource_alloc",
|
| 489 |
+
"label": "Resource Allocation",
|
| 490 |
+
"children": [
|
| 491 |
+
{
|
| 492 |
+
"id": "level_6_cost_tracking",
|
| 493 |
+
"label": "Cost Tracking",
|
| 494 |
+
"children": [
|
| 495 |
+
{
|
| 496 |
+
"id": "level_7_budget_review",
|
| 497 |
+
"label": "Budget Review"
|
| 498 |
+
}
|
| 499 |
+
]
|
| 500 |
+
}
|
| 501 |
+
]
|
| 502 |
+
}
|
| 503 |
+
]
|
| 504 |
+
}
|
| 505 |
+
]
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"id": "level_3_benefit",
|
| 509 |
+
"label": "Benefit Analysis",
|
| 510 |
+
"children": [
|
| 511 |
+
{
|
| 512 |
+
"id": "level_4_roi",
|
| 513 |
+
"label": "ROI Calculation",
|
| 514 |
+
"children": [
|
| 515 |
+
{
|
| 516 |
+
"id": "level_5_metrics",
|
| 517 |
+
"label": "Success Metrics",
|
| 518 |
+
"children": [
|
| 519 |
+
{
|
| 520 |
+
"id": "level_6_kpi",
|
| 521 |
+
"label": "KPI Definition",
|
| 522 |
+
"children": [
|
| 523 |
+
{
|
| 524 |
+
"id": "level_7_measurement",
|
| 525 |
+
"label": "Measurement Plan"
|
| 526 |
+
}
|
| 527 |
+
]
|
| 528 |
+
}
|
| 529 |
+
]
|
| 530 |
+
}
|
| 531 |
+
]
|
| 532 |
+
}
|
| 533 |
+
]
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"id": "level_3_risk",
|
| 537 |
+
"label": "Risk Assessment",
|
| 538 |
+
"children": [
|
| 539 |
+
{
|
| 540 |
+
"id": "level_4_risk_id",
|
| 541 |
+
"label": "Risk Identification",
|
| 542 |
+
"children": [
|
| 543 |
+
{
|
| 544 |
+
"id": "level_5_mitigation",
|
| 545 |
+
"label": "Mitigation Strategies",
|
| 546 |
+
"children": [
|
| 547 |
+
{
|
| 548 |
+
"id": "level_6_contingency",
|
| 549 |
+
"label": "Contingency Planning",
|
| 550 |
+
"children": [
|
| 551 |
+
{
|
| 552 |
+
"id": "level_7_risk_monitoring",
|
| 553 |
+
"label": "Risk Monitoring"
|
| 554 |
+
}
|
| 555 |
+
]
|
| 556 |
+
}
|
| 557 |
+
]
|
| 558 |
+
}
|
| 559 |
+
]
|
| 560 |
+
}
|
| 561 |
+
]
|
| 562 |
+
}
|
| 563 |
+
]
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"id": "level_2_development",
|
| 567 |
+
"label": "Development",
|
| 568 |
+
"children": [
|
| 569 |
+
{
|
| 570 |
+
"id": "level_3_change",
|
| 571 |
+
"label": "Change Management",
|
| 572 |
+
"children": [
|
| 573 |
+
{
|
| 574 |
+
"id": "level_4_process",
|
| 575 |
+
"label": "Process Definition",
|
| 576 |
+
"children": [
|
| 577 |
+
{
|
| 578 |
+
"id": "level_5_workflow",
|
| 579 |
+
"label": "Workflow Design",
|
| 580 |
+
"children": [
|
| 581 |
+
{
|
| 582 |
+
"id": "level_6_automation",
|
| 583 |
+
"label": "Process Automation",
|
| 584 |
+
"children": [
|
| 585 |
+
{
|
| 586 |
+
"id": "level_7_monitoring",
|
| 587 |
+
"label": "Process Monitoring"
|
| 588 |
+
}
|
| 589 |
+
]
|
| 590 |
+
}
|
| 591 |
+
]
|
| 592 |
+
}
|
| 593 |
+
]
|
| 594 |
+
}
|
| 595 |
+
]
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"id": "level_3_implementation",
|
| 599 |
+
"label": "Implementation",
|
| 600 |
+
"children": [
|
| 601 |
+
{
|
| 602 |
+
"id": "level_4_deployment",
|
| 603 |
+
"label": "Model Deployment",
|
| 604 |
+
"children": [
|
| 605 |
+
{
|
| 606 |
+
"id": "level_5_integration",
|
| 607 |
+
"label": "System Integration",
|
| 608 |
+
"children": [
|
| 609 |
+
{
|
| 610 |
+
"id": "level_6_api",
|
| 611 |
+
"label": "API Development",
|
| 612 |
+
"children": [
|
| 613 |
+
{
|
| 614 |
+
"id": "level_7_documentation",
|
| 615 |
+
"label": "API Documentation"
|
| 616 |
+
}
|
| 617 |
+
]
|
| 618 |
+
}
|
| 619 |
+
]
|
| 620 |
+
}
|
| 621 |
+
]
|
| 622 |
+
}
|
| 623 |
+
]
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"id": "level_3_testing",
|
| 627 |
+
"label": "Beta Testing",
|
| 628 |
+
"children": [
|
| 629 |
+
{
|
| 630 |
+
"id": "level_4_validation",
|
| 631 |
+
"label": "Model Validation",
|
| 632 |
+
"children": [
|
| 633 |
+
{
|
| 634 |
+
"id": "level_5_performance",
|
| 635 |
+
"label": "Performance Testing",
|
| 636 |
+
"children": [
|
| 637 |
+
{
|
| 638 |
+
"id": "level_6_user_testing",
|
| 639 |
+
"label": "User Acceptance Testing",
|
| 640 |
+
"children": [
|
| 641 |
+
{
|
| 642 |
+
"id": "level_7_release",
|
| 643 |
+
"label": "Release Preparation"
|
| 644 |
+
}
|
| 645 |
+
]
|
| 646 |
+
}
|
| 647 |
+
]
|
| 648 |
+
}
|
| 649 |
+
]
|
| 650 |
+
}
|
| 651 |
+
]
|
| 652 |
+
}
|
| 653 |
+
]
|
| 654 |
+
}
|
| 655 |
+
]
|
| 656 |
+
}
|
| 657 |
}
|
| 658 |
"""
|