Skip to content

Commit

Permalink
Merge pull request #71 from nextmv-io/feature/eng-5407-simplify-pytho…
Browse files Browse the repository at this point in the history
…n-community-apps-using-new-sdk-extensions

ENG-5407 Simplify Python scripts with new SDK extensions
  • Loading branch information
sebastian-quintero authored Sep 3, 2024
2 parents e36a7d6 + 9e493ca commit 32b282f
Show file tree
Hide file tree
Showing 82 changed files with 3,219 additions and 4,124 deletions.
7 changes: 6 additions & 1 deletion .nextmv/golden/cost-flow-ortools/inputs/input.json.golden
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"options": {
"duration": 30,
"input": "input.json",
"output": "output.json",
"penalty": 3000
},
"solution": {
"assignments": [
{
Expand Down Expand Up @@ -233,7 +239,6 @@
"number_of_fulfilled_projects": 5,
"number_of_nodes": 12,
"number_of_projects": 5,
"number_of_unfilled_projects": 0,
"number_of_unfulfilled_projects": 0,
"number_of_workers": 3,
"required_time_units": 16,
Expand Down
8 changes: 8 additions & 0 deletions .nextmv/golden/cost-flow-ortools/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ func TestGolden(t *testing.T) {
Key: "$.statistics.run.duration",
Replacement: float64(0.015),
},
{
Key: "$.options.output",
Replacement: "output.json",
},
{
Key: "$.options.input",
Replacement: "input.json",
},
},
DedicatedComparison: []string{
"$.statistics.result.value",
Expand Down
Loading

0 comments on commit 32b282f

Please sign in to comment.