Repository Verification Reference
This reference is for source verification and framework maintenance, not a required onboarding step. Start with the application examples from Choose a Framework. These commands run repository checks; they are not application examples.
Configure toolchains and native backends using Setup. Offline contracts, preset reports, exhaustive enumeration checks and native optimization are different. Zero tests or skipped tests do not establish success.
BPP1D
Kotlin: bounded integer enumeration
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-bpp1d/bpp1d-application -am test -T 0.75C `
"-Dtest=Bpp1dTest" "-Dsurefire.failIfNoSpecifiedTests=false"Rust: packing verification
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp1d --lib packing_verifies_demands_inventory_materials_and_exact_coordinates -- --nocapture# Working directory: ospf-rust; requires the SCIP integration
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp1d --features "scip,scip-bundled" --lib scip_native_milp_optimal_lp_duals_and_inventory_seed_recovery -- --nocaptureApplication usage: BPP1D first lesson.
BPP2D
Kotlin: sheet-type candidates
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-bpp2d/bpp2d-application -am test -T 0.75C `
"-Dtest=MixedSheetTypeContractTest" "-Dsurefire.failIfNoSpecifiedTests=false"Rust: candidates and geometry
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp2d --test layer_generation_contract multi_sheet_request_generates_per_type -- --nocapture
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp2d --test packing_contract -- --nocapture# Working directory: ospf-kotlin; requires Gurobi
mvn -B -ntp -pl ospf-kotlin-framework-bpp2d/bpp2d-application -am test -T 0.75C `
-Pgurobi-cg-test "-Dtest=GurobiColumnGeneration2DTest#gurobiSolvesRectanglePacking" `
"-Dsurefire.failIfNoSpecifiedTests=false"# Working directory: ospf-rust; offline generation, not native optimization
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp2d --test layer_generation_contract kerf_reaches_every_rectangle_generator -- --nocaptureApplication usage: BPP2D first lesson.
BPP3D
Kotlin: solving workflow test
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-bpp3d/bpp3d-application -am test -T 0.75C `
"-Dtest=ColumnGenerationAlgorithmTest#algorithmShouldCompleteLpSpAddColumnAndFinalMilpFlow" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: input conversion and placement record reading
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp3d --lib application_service_replays_generated_layer_traces_to_render -- --nocaptureKotlin: minimal Gurobi assembly
# Working directory: ospf-kotlin; requires Gurobi
mvn -B -ntp -pl ospf-kotlin-framework-bpp3d/bpp3d-application -am test -T 0.75C `
-Pgurobi-cg-test "-Dtest=GurobiColumnGenerationTest#applicationServiceShouldWorkWithGurobiDelegateAndPackingAnalyzer" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: SCIP CSV integration check
# Working directory: ospf-rust; requires SCIP integration, without async
cargo +nightly-2026-08-01 test -p ospf-rust-framework-bpp3d --features "serde,scip,scip-bundled" --lib csv_materialized_runs_real_scip_backend_smoke -- --nocaptureApplication usage: BPP3D first lesson.
CSP1D
Kotlin: application test with a simulated solver
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-csp1d/csp1d-application -am test -T 0.75C `
"-Dtest=Csp1dApplicationAcceptanceTest#milpShouldSolveRollDemandWithoutDownstreamDependency" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: registration and heuristic extraction
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-csp1d --test csp1d_migration milp_solver_surface_registers_context_and_extracts_results -- --nocapture# Working directory: ospf-kotlin; requires Gurobi
mvn -B -ntp -pl ospf-kotlin-framework-csp1d/csp1d-application -am test -T 0.75C `
-Pgurobi-cg-test "-Dtest=Csp1dColumnGenerationRealSolverTest#milpDirectSolveWorksOnRealSolver" `
"-Dsurefire.failIfNoSpecifiedTests=false"# Working directory: ospf-rust; offline domain contract
cargo +nightly-2026-08-01 test -p ospf-rust-framework-csp1d --test csp1d_migration product_demand_legacy_helpers_and_domain_flags_match_kotlin -- --nocaptureApplication usage: CSP1D first lesson.
CSP2D
Kotlin: generation, assembly and recovery
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-csp2d/csp2d-application -am test -T 0.75C `
"-Dtest=Csp2dApplicationContractTest" "-Dsurefire.failIfNoSpecifiedTests=false"Rust: default heuristic coverage
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-csp2d --test master_problem_contract milp_path_covers_demand -- --nocapture# Working directory: ospf-kotlin; requires Gurobi
mvn -B -ntp -pl ospf-kotlin-framework-csp2d/csp2d-application -am test -T 0.75C `
-Pgurobi-cg-test "-Dtest=GurobiCsp2dTest#sheetFreeform" `
"-Dsurefire.failIfNoSpecifiedTests=false"# Working directory: ospf-rust; offline geometry contract
cargo +nightly-2026-08-01 test -p ospf-rust-framework-csp2d --test cutting_geometry_contract vertical_cut_removes_kerf -- --nocapture# Working directory: ospf-rust; offline assignment contract
cargo +nightly-2026-08-01 test -p ospf-rust-framework-csp2d --test sheet_assignment_contract coil_accumulates_segment_height -- --nocaptureApplication usage: CSP2D first lesson.
GANTT
Kotlin: exclude one candidate
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-gantt-scheduling/gantt-scheduling-application -am test -T 0.75C `
"-Dtest=ActivitySchedulingApplicationServiceTest#externalConstraintChangesOptimalChoiceWithoutModifyingApplication" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: application and extension
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-gantt-scheduling --lib activity_application_single_call_extension_and_zero_column_solution -- --nocaptureKotlin: SCIP modes and precedence
# Working directory: ospf-kotlin; requires JSCIP/SCIP
mvn -B -ntp -pl ospf-kotlin-framework-gantt-scheduling/gantt-scheduling-application -am test -T 0.75C `
-Pgantt-scip-integration-tests `
"-Dtest=ActivitySchedulingNativeIntegrationTest#actualMilpChoosesFlexibleMachineAndPrecedenceFeasibleOrder" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: SCIP finite candidates
# Working directory: ospf-rust; requires SCIP integration, without async
cargo +nightly-2026-08-01 test -p ospf-rust-framework-gantt-scheduling --features "scip,scip-bundled" --lib activity_native_scip_flexible_job_shop -- --nocapture# Working directory: ospf-rust; finite enumeration/domain checks, not a native backend
cargo +nightly-2026-08-01 test -p ospf-rust-framework-gantt-scheduling --lib activity_joint_phases_half_open_and_mid_activity_calendar_oracle -- --nocaptureApplication usage: GANTT first lesson.
NETWORK
Kotlin: register and extract a known solution
# Working directory: ospf-kotlin
mvn -B -ntp -pl ospf-kotlin-framework-network-scheduling/network-scheduling-domain-flow-context -am test -T 0.75C `
"-Dtest=FlowContextTest#knownTransshipmentOptimumAndParallelServicesAreExtractedByIdentity" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: bounded integer-flow enumeration check
# Working directory: ospf-rust
cargo +nightly-2026-08-01 test -p ospf-rust-framework-network-scheduling --lib heterogeneous_commodities_steps_cost_overrides_and_resources_match_oracle -- --nocaptureKotlin: SCIP four-node flow
# Working directory: ospf-kotlin; requires JSCIP/SCIP
mvn -B -ntp -pl ospf-kotlin-framework-network-scheduling/network-scheduling-domain-flow-context -am test -T 0.75C `
-Pscip-integration-tests "-Dtest=ScipMinCostFlowIntegrationTest" `
"-Dsurefire.failIfNoSpecifiedTests=false"Rust: SCIP standalone services
# Working directory: ospf-rust; requires SCIP integration
cargo +nightly-2026-08-01 test -p ospf-rust-framework-network-scheduling --features "scip,scip-bundled" --lib scip_standalone_flow_and_generalized_flow_execute_real_backend_and_extract_domain_results -- --nocapture# Working directory: ospf-rust; finite integer enumeration and result checks, not native solving
cargo +nightly-2026-08-01 test -p ospf-rust-framework-network-scheduling --lib shared_resource_can_make_an_otherwise_feasible_flow_infeasible -- --nocaptureApplication usage: NETWORK first lesson.
Additional Source Reading
These links check individual API behavior and compatibility, not application usage.
BPP1D
Read the Kotlin contracts and Rust contracts for extensions and stock. They are not native execution records for this new input.
BPP2D
See complete factories and calls in the Kotlin mixed-sheet contract and Rust generation contract. Read generationProducesColumnsForEverySheetType / multi_sheet_request_generates_per_type and the cost helpers. A cost helper alone does not enable an application objective; wire it into the actual model.
Check actual orientation, exact counts, sheet identity, bounds and overlap rather than only the renderer. See the Rust packing contracts for geometry and remnant conventions.
BPP3D
See Kotlin MixedBinObjectivesTest and Rust limits tests for local coefficients, identity and metrics. They do not prove global optimality of this exercise.
CSP1D
See Kotlin ProductDemandModelTest and Rust migration tests. Read demandDomainShouldBeDrivenByQuantityUnitInsteadOfMode and Rust's helper contract before contribution calculations. Compatibility test datasets may simplify units; do not copy such simplifications into production density data.
Kotlin's Csp1dDomainPolicyTest demonstrates material/machine policies with simulated rules, not a complete capacity solve. Rust's domain_policy_context_exposes_kotlin_contribution_for_helper in the migration tests shows the plan context received by policies.
CSP2D
These are actual inputs/assertions in the Rust cutting geometry test, not an optimization run.
The Rust assignment test asserts three coil segments, zero sheets and total length 12. Kotlin's separate coilProblemRecoversConsumedLength checks positive consumedLength and counts sheetCount as 1 in its test dataset. Do not translate these count fields directly across languages. Define sheets, coil segments, pattern types and consumed length before normalizing business output.
GANTT
This is Kotlin's resourceCalendarAndMidActivityCapacityDropAreNotMissed in ActivitySchedulingContextTest. Half-open intervals matter: a 4 h start does not occupy [3,4).
Rust's scheduling contracts use a different joint-resource test dataset:
NETWORK
The Rust flow contracts contain the complete input and reject a supplied vector that violates the resource.
Kotlin's commodityServiceCostsAvailabilityAndCrossArcResourceAreJointlyEnforced uses bulk=2 and parcel=1, total shared usage 3 and cost 8. It is a different registration/preset-vector extraction test dataset, not native optimization of the first scenario.