ZahirJS commited on
Commit
9ba23b1
·
verified ·
1 Parent(s): d321b13

Update sample_data.py

Browse files
Files changed (1) hide show
  1. sample_data.py +111 -109
sample_data.py CHANGED
@@ -377,114 +377,116 @@ 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 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_design",
395
- "label": "Design and Staffing",
396
- "children": [
397
- {
398
- "id": "level_5_task1",
399
- "label": "<Other Task>",
400
- "children": [
401
- {
402
- "id": "level_6_task1",
403
- "label": "<Other Task>",
404
- "children": [
405
- {
406
- "id": "level_7_task1",
407
- "label": "<Other Task>"
408
- }
409
- ]
410
- }
411
- ]
412
- }
413
- ]
414
- }
415
- ]
416
- }
417
- ]
418
- },
419
- {
420
- "id": "level_2_planning",
421
- "label": "Planning",
422
- "children": [
423
- {
424
- "id": "level_3_cost",
425
- "label": "Cost Analysis",
426
- "children": [
427
- {
428
- "id": "level_4_benefit",
429
- "label": "Benefit Analysis",
430
- "children": [
431
- {
432
- "id": "level_5_risk",
433
- "label": "Risk Assessment",
434
- "children": [
435
- {
436
- "id": "level_6_task2",
437
- "label": "<Other Task>",
438
- "children": [
439
- {
440
- "id": "level_7_task2",
441
- "label": "<Other Task>"
442
- }
443
- ]
444
- }
445
- ]
446
- }
447
- ]
448
- }
449
- ]
450
- }
451
- ]
452
- },
453
- {
454
- "id": "level_2_development",
455
- "label": "Development",
456
- "children": [
457
- {
458
- "id": "level_3_change",
459
- "label": "Change Management",
460
- "children": [
461
- {
462
- "id": "level_4_implementation",
463
- "label": "Implementation",
464
- "children": [
465
- {
466
- "id": "level_5_testing",
467
- "label": "Beta Testing",
468
- "children": [
469
- {
470
- "id": "level_6_task3",
471
- "label": "<Other Task>",
472
- "children": [
473
- {
474
- "id": "level_7_task3",
475
- "label": "<Other Task>"
476
- }
477
- ]
478
- }
479
- ]
480
- }
481
- ]
482
- }
483
- ]
484
- }
485
- ]
486
- }
487
- ]
488
- }
 
489
  }
 
490
  """
 
377
  # New JSON for Work Breakdown Structure (WBS) Diagram - similar to image, but not identical
378
  WBS_DIAGRAM_JSON = """
379
  {
380
+ "project_title": "AI Model Development Project",
381
+ "phases": [
382
+ {
383
+ "id": "phase_prep",
384
+ "label": "Preparation",
385
+ "tasks": [
386
+ {
387
+ "id": "task_1_1_vision",
388
+ "label": "Identify Vision",
389
+ "subtasks": [
390
+ {
391
+ "id": "subtask_1_1_1_design_staff",
392
+ "label": "Design & Staffing",
393
+ "sub_subtasks": [
394
+ {
395
+ "id": "ss_task_1_1_1_1_env_setup",
396
+ "label": "Environment Setup",
397
+ "sub_sub_subtasks": [
398
+ {
399
+ "id": "sss_task_1_1_1_1_1_lib_install",
400
+ "label": "Install Libraries",
401
+ "final_level_tasks": [
402
+ {"id": "ft_1_1_1_1_1_1_data_access", "label": "Grant Data Access"}
403
+ ]
404
+ }
405
+ ]
406
+ }
407
+ ]
408
+ }
409
+ ]
410
+ },
411
+ {"id": "task_other_prep_1", "label": "Define Resources"},
412
+ {"id": "task_other_prep_2", "label": "Initial Data Fetch"},
413
+ {"id": "task_other_prep_3", "label": "Toolchain Setup"},
414
+ {"id": "task_other_prep_4", "label": "Kick-off Meeting"}
415
+ ]
416
+ },
417
+ {
418
+ "id": "phase_plan",
419
+ "label": "Planning",
420
+ "tasks": [
421
+ {
422
+ "id": "task_2_1_cost_analysis",
423
+ "label": "Cost Analysis",
424
+ "subtasks": [
425
+ {
426
+ "id": "subtask_2_1_1_benefit_analysis",
427
+ "label": "Benefit Analysis",
428
+ "sub_subtasks": [
429
+ {
430
+ "id": "ss_task_2_1_1_1_risk_assess",
431
+ "label": "AI Risk Assessment",
432
+ "sub_sub_subtasks": [
433
+ {
434
+ "id": "sss_task_2_1_1_1_1_model_selection",
435
+ "label": "Model Selection",
436
+ "final_level_tasks": [
437
+ {"id": "ft_2_1_1_1_1_1_data_strategy", "label": "Data Strategy"}
438
+ ]
439
+ }
440
+ ]
441
+ }
442
+ ]
443
+ }
444
+ ]
445
+ },
446
+ {"id": "task_other_plan_1", "label": "Evaluation Plan"},
447
+ {"id": "task_other_plan_2", "label": "Deployment Plan"},
448
+ {"id": "task_other_plan_3", "label": "Compliance Check"},
449
+ {"id": "task_other_plan_4", "label": "Ethical Review"},
450
+ {"id": "task_other_plan_5", "label": "Roadmap Finalization"}
451
+ ]
452
+ },
453
+ {
454
+ "id": "phase_dev",
455
+ "label": "Development",
456
+ "tasks": [
457
+ {
458
+ "id": "task_3_1_change_mgmt",
459
+ "label": "Data Preprocessing",
460
+ "subtasks": [
461
+ {
462
+ "id": "subtask_3_1_1_implementation",
463
+ "label": "Feature Engineering",
464
+ "sub_subtasks": [
465
+ {
466
+ "id": "ss_task_3_1_1_1_beta_testing",
467
+ "label": "Model Training",
468
+ "sub_sub_subtasks": [
469
+ {
470
+ "id": "sss_task_3_1_1_1_1_other_task",
471
+ "label": "Model Evaluation",
472
+ "final_level_tasks": [
473
+ {"id": "ft_3_1_1_1_1_1_hyperparam_tune", "label": "Hyperparameter Tuning"}
474
+ ]
475
+ }
476
+ ]
477
+ }
478
+ ]
479
+ }
480
+ ]
481
+ },
482
+ {"id": "task_other_dev_1", "label": "Version Control"},
483
+ {"id": "task_other_dev_2", "label": "API Development"},
484
+ {"id": "task_other_dev_3", "label": "Integration Testing"},
485
+ {"id": "task_other_dev_4", "label": "Documentation"},
486
+ {"id": "task_other_dev_5", "label": "User Acceptance Testing"}
487
+ ]
488
+ }
489
+ ]
490
  }
491
+
492
  """