Skip to main content

Module work_graph

Module work_graph 

Source
Expand description

Enriched WBS / PDM Work Graph: Dependencies (FS/SS/FF/SF), Lag, TaskRef, TaskConstraint, ThreePointEstimate, TimeEntry (producing Stage 2 ActivityAndResources records), and post-merge SemanticConflict detection.

Structs§

ThreePointEstimate
Three-point PERT duration/effort estimate in integer minutes.
TimeEntry
Logged time/expense against a work item. Produces a Stage 2 ActivityAndResources record (and NEVER directly mints a payable LifecycleObligation without the 9-stage lifecycle).
WorkDependency
An immutable PDM dependency edge between two tasks.

Enums§

DepKind
Precedence Diagramming Method (PDM) relationship kind.
Lag
Lead/lag offset on a PDM dependency link.
SemanticConflict
Post-merge semantic conflicts detected across a project’s WBS/PDM graph.
TaskConstraint
Scheduling constraint type for CPM/PDM planning.
TaskRef
Reference to a predecessor or successor task — either within the current project or across projects (External).

Functions§

detect_semantic_conflicts
Detect post-merge semantic conflicts (DependencyCycle, ConstraintViolation, Overallocation) across a set of work items and dependencies.
merge_dependencies
Replay-safe, order-independent union of WorkDependency records by stable id (also deduplicating identical (predecessor, successor, kind, lag) tuples).