Update sample_data.py
Browse files- sample_data.py +33 -174
sample_data.py
CHANGED
|
@@ -377,183 +377,42 @@ 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
|
| 381 |
"phases": [
|
| 382 |
{
|
| 383 |
-
"id": "
|
| 384 |
-
"label": "
|
| 385 |
"tasks": [
|
| 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 |
-
"final_level_tasks": [
|
| 417 |
-
{"id": "ft_1_1_1_2_1_1_list_databases", "label": "1.1.1.2.1.1. List Databases"},
|
| 418 |
-
{"id": "ft_1_1_1_2_1_2_api_integration", "label": "1.1.1.2.1.2. API Integration"},
|
| 419 |
-
{"id": "ft_1_1_1_2_1_3_external_feeds", "label": "1.1.1.2.1.3. External Feeds"}
|
| 420 |
-
]
|
| 421 |
-
}
|
| 422 |
-
]
|
| 423 |
-
},
|
| 424 |
-
{
|
| 425 |
-
"id": "ss_task_1_1_1_3_ml_approach",
|
| 426 |
-
"label": "1.1.1.3. ML Approach Selection",
|
| 427 |
-
"sub_sub_subtasks": [
|
| 428 |
-
{
|
| 429 |
-
"id": "sss_task_1_1_1_3_1_algo_research",
|
| 430 |
-
"label": "1.1.1.3.1. Algorithm Research",
|
| 431 |
-
"final_level_tasks": [
|
| 432 |
-
{"id": "ft_1_1_1_3_1_1_supervised_review", "label": "1.1.1.3.1.1. Supervised Review"},
|
| 433 |
-
{"id": "ft_1_1_1_3_1_2_unsupervised_review", "label": "1.1.1.3.1.2. Unsupervised Review"},
|
| 434 |
-
{"id": "ft_1_1_1_3_1_3_rl_consideration", "label": "1.1.1.3.1.3. RL Consideration"}
|
| 435 |
-
]
|
| 436 |
-
}
|
| 437 |
-
]
|
| 438 |
-
}
|
| 439 |
-
]
|
| 440 |
-
}
|
| 441 |
-
]
|
| 442 |
-
},
|
| 443 |
-
{
|
| 444 |
-
"id": "task_1_2_resource_plan",
|
| 445 |
-
"label": "1.2. Resource Planning",
|
| 446 |
-
"subtasks": [
|
| 447 |
-
{
|
| 448 |
-
"id": "subtask_1_2_1_team_assembly",
|
| 449 |
-
"label": "1.2.1. Team Assembly",
|
| 450 |
-
"sub_subtasks": [
|
| 451 |
-
{
|
| 452 |
-
"id": "ss_task_1_2_1_1_data_scientists",
|
| 453 |
-
"label": "1.2.1.1. Data Scientists",
|
| 454 |
-
"sub_sub_subtasks": [
|
| 455 |
-
{
|
| 456 |
-
"id": "sss_task_1_2_1_1_1_identify_leads",
|
| 457 |
-
"label": "1.2.1.1.1. Identify Leads",
|
| 458 |
-
"final_level_tasks": [
|
| 459 |
-
{"id": "ft_1_2_1_1_1_1_hire_ml_engineers", "label": "1.2.1.1.1.1. Hire ML Engineers"},
|
| 460 |
-
{"id": "ft_1_2_1_1_1_2_allocate_researchers", "label": "1.2.1.1.1.2. Allocate Researchers"},
|
| 461 |
-
{"id": "ft_1_2_1_1_1_3_assign_roles", "label": "1.2.1.1.1.3. Assign Roles"}
|
| 462 |
-
]
|
| 463 |
-
}
|
| 464 |
-
]
|
| 465 |
-
},
|
| 466 |
-
{
|
| 467 |
-
"id": "ss_task_1_2_1_2_engineers",
|
| 468 |
-
"label": "1.2.1.2. Software Engineers",
|
| 469 |
-
"sub_sub_subtasks": [
|
| 470 |
-
{
|
| 471 |
-
"id": "sss_task_1_2_1_2_1_backend_devs",
|
| 472 |
-
"label": "1.2.1.2.1. Backend Devs",
|
| 473 |
-
"final_level_tasks": [
|
| 474 |
-
{"id": "ft_1_2_1_2_1_1_recruit_py", "label": "1.2.1.2.1.1. Recruit Python"},
|
| 475 |
-
{"id": "ft_1_2_1_2_1_2_recruit_java", "label": "1.2.1.2.1.2. Recruit Java"},
|
| 476 |
-
{"id": "ft_1_2_1_2_1_3_onboard_team", "label": "1.2.1.2.1.3. Onboard Team"}
|
| 477 |
-
]
|
| 478 |
-
}
|
| 479 |
-
]
|
| 480 |
-
},
|
| 481 |
-
{
|
| 482 |
-
"id": "ss_task_1_2_1_3_domain_experts",
|
| 483 |
-
"label": "1.2.1.3. Domain Experts",
|
| 484 |
-
"sub_sub_subtasks": [
|
| 485 |
-
{
|
| 486 |
-
"id": "sss_task_1_2_1_3_1_consultants",
|
| 487 |
-
"label": "1.2.1.3.1. Consultants",
|
| 488 |
-
"final_level_tasks": [
|
| 489 |
-
{"id": "ft_1_2_1_3_1_1_engage_smes", "label": "1.2.1.3.1.1. Engage SMEs"},
|
| 490 |
-
{"id": "ft_1_2_1_3_1_2_define_ksas", "label": "1.2.1.3.1.2. Define KSAs"},
|
| 491 |
-
{"id": "ft_1_2_1_3_1_3_establish_collab", "label": "1.2.1.3.1.3. Establish Collab."}
|
| 492 |
-
]
|
| 493 |
-
}
|
| 494 |
-
]
|
| 495 |
-
}
|
| 496 |
-
]
|
| 497 |
-
}
|
| 498 |
-
]
|
| 499 |
-
},
|
| 500 |
-
{
|
| 501 |
-
"id": "task_1_3_budget_timeline",
|
| 502 |
-
"label": "1.3. Budget & Timeline",
|
| 503 |
-
"subtasks": [
|
| 504 |
-
{
|
| 505 |
-
"id": "subtask_1_3_1_cost_estim",
|
| 506 |
-
"label": "1.3.1. Cost Estimation",
|
| 507 |
-
"sub_subtasks": [
|
| 508 |
-
{
|
| 509 |
-
"id": "ss_task_1_3_1_1_hardware_costs",
|
| 510 |
-
"label": "1.3.1.1. Hardware Costs",
|
| 511 |
-
"sub_sub_subtasks": [
|
| 512 |
-
{
|
| 513 |
-
"id": "sss_task_1_3_1_1_1_gpu_procurement",
|
| 514 |
-
"label": "1.3.1.1.1. GPU Procurement",
|
| 515 |
-
"final_level_tasks": [
|
| 516 |
-
{"id": "ft_1_3_1_1_1_1_server_purchase", "label": "1.3.1.1.1.1. Server Purchase"},
|
| 517 |
-
{"id": "ft_1_3_1_1_1_2_cloud_compute", "label": "1.3.1.1.1.2. Cloud Compute"},
|
| 518 |
-
{"id": "ft_1_3_1_1_1_3_network_equip", "label": "1.3.1.1.1.3. Network Equip."}
|
| 519 |
-
]
|
| 520 |
-
}
|
| 521 |
-
]
|
| 522 |
-
},
|
| 523 |
-
{
|
| 524 |
-
"id": "ss_task_1_3_1_2_software_costs",
|
| 525 |
-
"label": "1.3.1.2. Software Costs",
|
| 526 |
-
"sub_sub_subtasks": [
|
| 527 |
-
{
|
| 528 |
-
"id": "sss_task_1_3_1_2_1_licensing",
|
| 529 |
-
"label": "1.3.1.2.1. Licensing",
|
| 530 |
-
"final_level_tasks": [
|
| 531 |
-
{"id": "ft_1_3_1_2_1_1_os_licenses", "label": "1.3.1.2.1.1. OS Licenses"},
|
| 532 |
-
{"id": "ft_1_3_1_2_1_2_tool_subscriptions", "label": "1.3.1.2.1.2. Tool Subscriptions"},
|
| 533 |
-
{"id": "ft_1_3_1_2_1_3_framework_fees", "label": "1.3.1.2.1.3. Framework Fees"}
|
| 534 |
-
]
|
| 535 |
-
}
|
| 536 |
-
]
|
| 537 |
-
},
|
| 538 |
-
{
|
| 539 |
-
"id": "ss_task_1_3_1_3_personnel_costs",
|
| 540 |
-
"label": "1.3.1.3. Personnel Costs",
|
| 541 |
-
"sub_sub_subtasks": [
|
| 542 |
-
{
|
| 543 |
-
"id": "sss_task_1_3_1_3_1_salaries",
|
| 544 |
-
"label": "1.3.1.3.1. Salaries",
|
| 545 |
-
"final_level_tasks": [
|
| 546 |
-
{"id": "ft_1_3_1_3_1_1_engineer_salaries", "label": "1.3.1.3.1.1. Engineer Salaries"},
|
| 547 |
-
{"id": "ft_1_3_1_3_1_2_consultant_fees", "label": "1.3.1.3.1.2. Consultant Fees"},
|
| 548 |
-
{"id": "ft_1_3_1_3_1_3_training_budget", "label": "1.3.1.3.1.3. Training Budget"}
|
| 549 |
-
]
|
| 550 |
-
}
|
| 551 |
-
]
|
| 552 |
-
}
|
| 553 |
-
]
|
| 554 |
-
}
|
| 555 |
-
]
|
| 556 |
-
}
|
| 557 |
]
|
| 558 |
}
|
| 559 |
]
|
|
|
|
| 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 Planning",
|
| 381 |
"phases": [
|
| 382 |
{
|
| 383 |
+
"id": "phase_prep",
|
| 384 |
+
"label": "Preparation",
|
| 385 |
"tasks": [
|
| 386 |
+
{"id": "task_id_vision", "label": "Identify Vision"},
|
| 387 |
+
{"id": "task_design_staff", "label": "Design & Staffing"},
|
| 388 |
+
{"id": "task_other_prep_1", "label": "<Other Task>"},
|
| 389 |
+
{"id": "task_other_prep_2", "label": "<Other Task>"},
|
| 390 |
+
{"id": "task_other_prep_3", "label": "<Other Task>"},
|
| 391 |
+
{"id": "task_other_prep_4", "label": "<Other Task>"}
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"id": "phase_plan",
|
| 396 |
+
"label": "Planning",
|
| 397 |
+
"tasks": [
|
| 398 |
+
{"id": "task_cost_analysis", "label": "Cost Analysis"},
|
| 399 |
+
{"id": "task_benefit_analysis", "label": "Benefit Analysis"},
|
| 400 |
+
{"id": "task_risk_assess", "label": "Risk Assessment"},
|
| 401 |
+
{"id": "task_other_plan_1", "label": "<Other Task>"},
|
| 402 |
+
{"id": "task_other_plan_2", "label": "<Other Task>"},
|
| 403 |
+
{"id": "task_other_plan_3", "label": "<Other Task>"}
|
| 404 |
+
]
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"id": "phase_dev",
|
| 408 |
+
"label": "Development",
|
| 409 |
+
"tasks": [
|
| 410 |
+
{"id": "task_change_mgmt", "label": "Change Management"},
|
| 411 |
+
{"id": "task_implementation", "label": "Implementation"},
|
| 412 |
+
{"id": "task_beta_testing", "label": "Beta Testing"},
|
| 413 |
+
{"id": "task_other_dev_1", "label": "<Other Task>"},
|
| 414 |
+
{"id": "task_other_dev_2", "label": "<Other Task>"},
|
| 415 |
+
{"id": "task_other_dev_3", "label": "<Other Task>"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 416 |
]
|
| 417 |
}
|
| 418 |
]
|