@grnsft/if 0.6.0 → 0.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Refactor-migration-guide.md +68 -82
- package/github-processes.md +3 -9
- package/manifests/examples/builtins/coefficient/failure-invalid-config-input-param.yml +2 -4
- package/manifests/examples/builtins/coefficient/failure-output-param-is-null.yaml +1 -3
- package/manifests/examples/builtins/coefficient/success.yml +1 -3
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +1 -2
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +3 -4
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yml +2 -3
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/success.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/region-metadata/failure-missing-column.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/region-metadata/failure-missing-output.yml +2 -2
- package/manifests/examples/builtins/csv-lookup/region-metadata/success-renaming.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/region-metadata/success.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-missing-input-param.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/tdp-finder/success.yml +1 -2
- package/manifests/examples/builtins/divide/failure-invalid-config-denominator.yml +3 -5
- package/manifests/examples/builtins/divide/failure-missing-numerator.yml +2 -4
- package/manifests/examples/builtins/divide/success.yml +2 -2
- package/manifests/examples/builtins/exponent/success.yml +1 -1
- package/manifests/examples/builtins/interpolation/success.yml +1 -1
- package/manifests/examples/builtins/mock-observations/failure-invalid-config-cpu-range.yml +2 -2
- package/manifests/examples/builtins/mock-observations/failure-invalid-memory-utilization-range.yml +1 -1
- package/manifests/examples/builtins/mock-observations/failure-missing-timestamp-from-param.yml +1 -1
- package/manifests/examples/builtins/mock-observations/success.yml +1 -1
- package/manifests/examples/builtins/multiply/failure-input-parameter-is-missing.yml +1 -1
- package/manifests/examples/builtins/multiply/success-with-multiple-inputs.yml +1 -1
- package/manifests/examples/builtins/multiply/success.yml +1 -1
- package/manifests/examples/builtins/regex/failure-missing-input-param.yml +1 -1
- package/manifests/examples/builtins/regex/failure-not-matching-with-regex.yml +2 -2
- package/manifests/examples/builtins/regex/success.yml +1 -1
- package/manifests/examples/builtins/sci/failure-invalid-config-value.yml +3 -4
- package/manifests/examples/builtins/sci/failure-missing-input-param.yml +1 -1
- package/manifests/examples/builtins/sci/success.yml +1 -1
- package/manifests/examples/builtins/sci-embodied/scenario-1.yml +27 -0
- package/manifests/examples/builtins/sci-embodied/scenario-2.yml +37 -0
- package/manifests/examples/builtins/sci-embodied/success.yml +13 -0
- package/manifests/examples/builtins/shell/failure-invalid-command.yml +2 -2
- package/manifests/examples/builtins/shell/success.yml +2 -2
- package/manifests/examples/builtins/subtract/success.yml +1 -1
- package/manifests/examples/builtins/sum/failure-missing-input-param.yml +2 -2
- package/manifests/examples/builtins/sum/failure-missing-output-param.yml +2 -2
- package/manifests/examples/builtins/sum/success.yml +1 -1
- package/manifests/examples/builtins/time-converter/success.yaml +3 -3
- package/manifests/examples/builtins/time-sync/failure-config-start-later-end.yml +10 -12
- package/manifests/examples/builtins/time-sync/{failure-missing-global-config.yml → failure-missing-config.yml} +3 -8
- package/manifests/examples/builtins/time-sync/success.yml +2 -2
- package/manifests/examples/features/regroup/failure-missing-cloud-instance-type.yml +1 -1
- package/manifests/examples/features/regroup/success.yml +1 -1
- package/manifests/examples/pipelines/generics.yml +8 -8
- package/manifests/examples/pipelines/instance-metadata.yml +2 -2
- package/manifests/examples/pipelines/nesting.yml +75 -33
- package/manifests/examples/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml +166 -122
- package/manifests/examples/pipelines/outputs-if-diff/pipeline-with-mocks.yaml +130 -70
- package/manifests/examples/pipelines/pipeline-teads-sci.yml +15 -15
- package/manifests/examples/pipelines/pipeline-with-aggregate.yml +57 -27
- package/manifests/examples/pipelines/pipeline-with-mocks.yml +99 -41
- package/manifests/examples/pipelines/scenario-3.yml +1 -1
- package/manifests/examples/pipelines/scenario-4.yml +5 -5
- package/manifests/examples/pipelines/scenario-5.yml +3 -3
- package/manifests/examples/pipelines/sci.yml +12 -12
- package/manifests/examples/pipelines/teads-curve.yml +10 -10
- package/manifests/examples/pipelines/zeros.yml +23 -23
- package/manifests/outputs/bugs/aggregation-error-wrong-metric.yaml +40 -40
- package/manifests/outputs/bugs/input-error-missing-duration.yaml +1 -1
- package/manifests/outputs/bugs/mock-observations-failure-duration-is-zero.yaml +2 -2
- package/manifests/outputs/bugs/pipeline-error-naming-mismatch.yaml +1 -1
- package/manifests/outputs/bugs/pipeline-error-uninitialized-plugin.yaml +1 -1
- package/manifests/outputs/bugs/pipeline-ordering-error.yaml +6 -6
- package/manifests/outputs/builtins/coefficient/failure-invalid-config-input-param.yaml +2 -2
- package/manifests/outputs/builtins/coefficient/failure-output-param-is-null.yaml +1 -1
- package/manifests/outputs/builtins/coefficient/success.yaml +23 -22
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +76 -0
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yaml +22 -21
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/success.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/failure-missing-column.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/failure-missing-output.yaml +21 -20
- package/manifests/outputs/builtins/csv-lookup/region-metadata/success-renaming.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/success.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/success.yaml +1 -1
- package/manifests/outputs/builtins/divide/failure-invalid-config-denominator.yaml +41 -25
- package/manifests/outputs/builtins/divide/failure-missing-numerator.yaml +32 -23
- package/manifests/outputs/builtins/divide/success-denominator-equal-zero.yaml +2 -2
- package/manifests/outputs/builtins/divide/success.yaml +2 -2
- package/manifests/outputs/builtins/exponent/success.yaml +1 -1
- package/manifests/outputs/builtins/interpolation/interpolation.yaml +1 -1
- package/manifests/outputs/builtins/interpolation/success.yaml +1 -1
- package/manifests/outputs/builtins/mock-observations/failure-invalid-config-cpu-range.yaml +3 -3
- package/manifests/outputs/builtins/mock-observations/failure-invalid-memory-utilization-range.yaml +2 -2
- package/manifests/outputs/builtins/mock-observations/failure-missing-timestamp-from-param.yaml +1 -1
- package/manifests/outputs/builtins/mock-observations/success.yaml +49 -190
- package/manifests/outputs/builtins/multiply/failure-input-parameter-is-missing.yaml +1 -1
- package/manifests/outputs/builtins/multiply/success-with-multiple-inputs.yaml +1 -1
- package/manifests/outputs/builtins/multiply/success.yaml +1 -1
- package/manifests/outputs/builtins/regex/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/regex/failure-not-matching-with-regex.yaml +72 -0
- package/manifests/outputs/builtins/regex/success.yaml +1 -1
- package/manifests/outputs/builtins/sci/failure-invalid-config-value.yaml +22 -23
- package/manifests/outputs/builtins/sci/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/sci/success.yaml +1 -1
- package/manifests/outputs/builtins/sci-embodied/failure-invalid-default-emission-value.yaml +22 -26
- package/manifests/outputs/builtins/sci-embodied/scenario-1.yaml +100 -0
- package/manifests/outputs/builtins/sci-embodied/scenario-2.yaml +101 -0
- package/manifests/outputs/builtins/sci-embodied/success.yaml +44 -20
- package/manifests/outputs/builtins/shell/failure-invalid-command.yaml +2 -2
- package/manifests/outputs/builtins/shell/success.yaml +1 -1
- package/manifests/outputs/builtins/subtract/success.yaml +1 -1
- package/manifests/outputs/builtins/sum/failure-missing-input-param.yaml +2 -2
- package/manifests/outputs/builtins/sum/failure-missing-output-param.yaml +2 -2
- package/manifests/outputs/builtins/sum/success.yaml +1 -1
- package/manifests/outputs/builtins/time-converter/success.yaml +73 -0
- package/manifests/outputs/builtins/time-sync/failure-config-start-later-end.yaml +3 -3
- package/manifests/outputs/builtins/time-sync/failure-missing-config.yaml +74 -0
- package/manifests/outputs/builtins/time-sync/success.yaml +50 -59
- package/manifests/outputs/features/aggregate-failure-invalid-metrics.yaml +1 -1
- package/manifests/outputs/features/aggregate-failure-missing-metric-in-inputs.yaml +1 -1
- package/manifests/outputs/features/aggregate-horizontal.yaml +4 -2
- package/manifests/outputs/features/aggregate-vertical.yaml +4 -2
- package/manifests/outputs/features/aggregate.yaml +4 -2
- package/manifests/outputs/features/regroup/failure-invalid-regroup.yaml +87 -0
- package/manifests/outputs/features/regroup/failure-missing-cloud-instance-type.yaml +87 -0
- package/manifests/outputs/pipelines/cloud-metadata-divide.yaml +2 -2
- package/manifests/outputs/pipelines/generics.yaml +28 -28
- package/manifests/outputs/pipelines/instance-metadata.yaml +14 -14
- package/manifests/outputs/pipelines/nesting.yaml +713 -486
- package/manifests/outputs/pipelines/pipeline-teads-sci.yaml +63 -32
- package/manifests/outputs/pipelines/scenario-4.yaml +105 -0
- package/manifests/outputs/pipelines/sci.yaml +56 -32
- package/manifests/outputs/pipelines/teads-curve.yaml +18 -18
- package/manifests/outputs/pipelines/zeros.yaml +27 -27
- package/package.json +4 -4
- package/src/__mocks__/mock-manifest.yaml +1 -2
- package/src/if-env/config/env-template.yml +1 -2
- package/src/if-run/builtins/coefficient/README.md +41 -17
- package/src/if-run/builtins/copy-param/README.md +28 -8
- package/src/if-run/builtins/csv-lookup/README.md +31 -11
- package/src/if-run/builtins/divide/README.md +34 -12
- package/src/if-run/builtins/exponent/README.md +29 -11
- package/src/if-run/builtins/interpolation/README.md +37 -22
- package/src/if-run/builtins/mock-observations/README.md +27 -7
- package/src/if-run/builtins/multiply/README.md +27 -9
- package/src/if-run/builtins/regex/README.md +31 -11
- package/src/if-run/builtins/sci/README.md +29 -8
- package/src/if-run/builtins/sci-embodied/README.md +76 -75
- package/src/if-run/builtins/shell/README.md +15 -7
- package/src/if-run/builtins/subtract/README.md +28 -11
- package/src/if-run/builtins/sum/README.md +47 -14
- package/src/if-run/builtins/time-converter/README.md +8 -8
- package/src/if-run/builtins/time-sync/README.md +44 -22
- package/.gitmodules +0 -3
- package/build/common/config/index.d.ts +0 -1
- package/build/common/config/index.js +0 -6
- package/build/common/config/strings.d.ts +0 -9
- package/build/common/config/strings.js +0 -17
- package/build/common/lib/load.d.ts +0 -6
- package/build/common/lib/load.js +0 -18
- package/build/common/types/manifest.d.ts +0 -13
- package/build/common/types/manifest.js +0 -3
- package/build/common/util/debug-logger.d.ts +0 -4
- package/build/common/util/debug-logger.js +0 -115
- package/build/common/util/fs.d.ts +0 -20
- package/build/common/util/fs.js +0 -94
- package/build/common/util/helpers.d.ts +0 -15
- package/build/common/util/helpers.js +0 -80
- package/build/common/util/logger.d.ts +0 -5
- package/build/common/util/logger.js +0 -39
- package/build/common/util/validations.d.ts +0 -367
- package/build/common/util/validations.js +0 -141
- package/build/common/util/yaml.d.ts +0 -12
- package/build/common/util/yaml.js +0 -59
- package/build/if-check/config/config.d.ts +0 -6
- package/build/if-check/config/config.js +0 -31
- package/build/if-check/config/index.d.ts +0 -2
- package/build/if-check/config/index.js +0 -8
- package/build/if-check/config/strings.d.ts +0 -11
- package/build/if-check/config/strings.js +0 -15
- package/build/if-check/index.d.ts +0 -2
- package/build/if-check/index.js +0 -98
- package/build/if-check/types/process-args.d.ts +0 -4
- package/build/if-check/types/process-args.js +0 -3
- package/build/if-check/util/args.d.ts +0 -10
- package/build/if-check/util/args.js +0 -56
- package/build/if-check/util/helpers.d.ts +0 -4
- package/build/if-check/util/helpers.js +0 -18
- package/build/if-check/util/npm.d.ts +0 -4
- package/build/if-check/util/npm.js +0 -59
- package/build/if-csv/config/config.d.ts +0 -6
- package/build/if-csv/config/config.js +0 -36
- package/build/if-csv/config/index.d.ts +0 -2
- package/build/if-csv/config/index.js +0 -8
- package/build/if-csv/config/strings.d.ts +0 -3
- package/build/if-csv/config/strings.js +0 -7
- package/build/if-csv/index.d.ts +0 -2
- package/build/if-csv/index.js +0 -63
- package/build/if-csv/types/csv.d.ts +0 -7
- package/build/if-csv/types/csv.js +0 -3
- package/build/if-csv/types/process-args.d.ts +0 -5
- package/build/if-csv/types/process-args.js +0 -3
- package/build/if-csv/util/args.d.ts +0 -12
- package/build/if-csv/util/args.js +0 -47
- package/build/if-csv/util/helpers.d.ts +0 -9
- package/build/if-csv/util/helpers.js +0 -95
- package/build/if-diff/config/config.d.ts +0 -6
- package/build/if-diff/config/config.js +0 -31
- package/build/if-diff/config/index.d.ts +0 -2
- package/build/if-diff/config/index.js +0 -8
- package/build/if-diff/config/strings.d.ts +0 -6
- package/build/if-diff/config/strings.js +0 -10
- package/build/if-diff/index.d.ts +0 -2
- package/build/if-diff/index.js +0 -46
- package/build/if-diff/lib/compare.d.ts +0 -10
- package/build/if-diff/lib/compare.js +0 -56
- package/build/if-diff/lib/load.d.ts +0 -55
- package/build/if-diff/lib/load.js +0 -51
- package/build/if-diff/types/args.d.ts +0 -5
- package/build/if-diff/types/args.js +0 -3
- package/build/if-diff/types/compare.d.ts +0 -7
- package/build/if-diff/types/compare.js +0 -3
- package/build/if-diff/types/process-args.d.ts +0 -4
- package/build/if-diff/types/process-args.js +0 -3
- package/build/if-diff/util/args.d.ts +0 -5
- package/build/if-diff/util/args.js +0 -51
- package/build/if-diff/util/helpers.d.ts +0 -13
- package/build/if-diff/util/helpers.js +0 -75
- package/build/if-env/config/config.d.ts +0 -6
- package/build/if-env/config/config.js +0 -37
- package/build/if-env/config/index.d.ts +0 -2
- package/build/if-env/config/index.js +0 -8
- package/build/if-env/config/strings.d.ts +0 -7
- package/build/if-env/config/strings.js +0 -11
- package/build/if-env/index.d.ts +0 -2
- package/build/if-env/index.js +0 -40
- package/build/if-env/types/if-env.d.ts +0 -8
- package/build/if-env/types/if-env.js +0 -3
- package/build/if-env/types/npm.d.ts +0 -9
- package/build/if-env/types/npm.js +0 -3
- package/build/if-env/types/process-args.d.ts +0 -5
- package/build/if-env/types/process-args.js +0 -3
- package/build/if-env/util/args.d.ts +0 -12
- package/build/if-env/util/args.js +0 -47
- package/build/if-env/util/helpers.d.ts +0 -20
- package/build/if-env/util/helpers.js +0 -94
- package/build/if-env/util/npm.d.ts +0 -24
- package/build/if-env/util/npm.js +0 -126
- package/build/if-merge/config/config.d.ts +0 -6
- package/build/if-merge/config/config.js +0 -43
- package/build/if-merge/config/index.d.ts +0 -2
- package/build/if-merge/config/index.js +0 -8
- package/build/if-merge/config/strings.d.ts +0 -5
- package/build/if-merge/config/strings.js +0 -9
- package/build/if-merge/index.d.ts +0 -2
- package/build/if-merge/index.js +0 -26
- package/build/if-merge/types/process-args.d.ts +0 -6
- package/build/if-merge/types/process-args.js +0 -3
- package/build/if-merge/util/args.d.ts +0 -9
- package/build/if-merge/util/args.js +0 -59
- package/build/if-merge/util/helpers.d.ts +0 -5
- package/build/if-merge/util/helpers.js +0 -83
- package/build/if-run/builtins/coefficient/index.d.ts +0 -2
- package/build/if-run/builtins/coefficient/index.js +0 -67
- package/build/if-run/builtins/copy-param/index.d.ts +0 -2
- package/build/if-run/builtins/copy-param/index.js +0 -70
- package/build/if-run/builtins/csv-lookup/index.d.ts +0 -2
- package/build/if-run/builtins/csv-lookup/index.js +0 -190
- package/build/if-run/builtins/divide/index.d.ts +0 -2
- package/build/if-run/builtins/divide/index.js +0 -80
- package/build/if-run/builtins/exponent/index.d.ts +0 -2
- package/build/if-run/builtins/exponent/index.js +0 -60
- package/build/if-run/builtins/export-log.d.ts +0 -4
- package/build/if-run/builtins/export-log.js +0 -44
- package/build/if-run/builtins/export-yaml.d.ts +0 -4
- package/build/if-run/builtins/export-yaml.js +0 -30
- package/build/if-run/builtins/index.d.ts +0 -16
- package/build/if-run/builtins/index.js +0 -36
- package/build/if-run/builtins/interpolation/index.d.ts +0 -2
- package/build/if-run/builtins/interpolation/index.js +0 -151
- package/build/if-run/builtins/mock-observations/helpers/common-generator.d.ts +0 -3
- package/build/if-run/builtins/mock-observations/helpers/common-generator.js +0 -29
- package/build/if-run/builtins/mock-observations/helpers/rand-int-generator.d.ts +0 -3
- package/build/if-run/builtins/mock-observations/helpers/rand-int-generator.js +0 -48
- package/build/if-run/builtins/mock-observations/index.d.ts +0 -2
- package/build/if-run/builtins/mock-observations/index.js +0 -116
- package/build/if-run/builtins/mock-observations/interfaces/index.d.ts +0 -6
- package/build/if-run/builtins/mock-observations/interfaces/index.js +0 -3
- package/build/if-run/builtins/multiply/index.d.ts +0 -2
- package/build/if-run/builtins/multiply/index.js +0 -59
- package/build/if-run/builtins/regex/index.d.ts +0 -2
- package/build/if-run/builtins/regex/index.js +0 -76
- package/build/if-run/builtins/sci/index.d.ts +0 -2
- package/build/if-run/builtins/sci/index.js +0 -92
- package/build/if-run/builtins/sci-embodied/index.d.ts +0 -2
- package/build/if-run/builtins/sci-embodied/index.js +0 -156
- package/build/if-run/builtins/shell/index.d.ts +0 -2
- package/build/if-run/builtins/shell/index.js +0 -60
- package/build/if-run/builtins/subtract/index.d.ts +0 -2
- package/build/if-run/builtins/subtract/index.js +0 -61
- package/build/if-run/builtins/sum/index.d.ts +0 -2
- package/build/if-run/builtins/sum/index.js +0 -66
- package/build/if-run/builtins/time-converter/config.d.ts +0 -1
- package/build/if-run/builtins/time-converter/config.js +0 -44
- package/build/if-run/builtins/time-converter/index.d.ts +0 -2
- package/build/if-run/builtins/time-converter/index.js +0 -79
- package/build/if-run/builtins/time-sync/index.d.ts +0 -17
- package/build/if-run/builtins/time-sync/index.js +0 -339
- package/build/if-run/config/config.d.ts +0 -9
- package/build/if-run/config/config.js +0 -73
- package/build/if-run/config/index.d.ts +0 -2
- package/build/if-run/config/index.js +0 -8
- package/build/if-run/config/strings.d.ts +0 -64
- package/build/if-run/config/strings.js +0 -76
- package/build/if-run/index.d.ts +0 -2
- package/build/if-run/index.js +0 -63
- package/build/if-run/lib/aggregate.d.ts +0 -15
- package/build/if-run/lib/aggregate.js +0 -123
- package/build/if-run/lib/compute.d.ts +0 -5
- package/build/if-run/lib/compute.js +0 -142
- package/build/if-run/lib/environment.d.ts +0 -5
- package/build/if-run/lib/environment.js +0 -75
- package/build/if-run/lib/exhaust.d.ts +0 -7
- package/build/if-run/lib/exhaust.js +0 -27
- package/build/if-run/lib/explain.d.ts +0 -9
- package/build/if-run/lib/explain.js +0 -43
- package/build/if-run/lib/initialize.d.ts +0 -6
- package/build/if-run/lib/initialize.js +0 -109
- package/build/if-run/lib/regroup.d.ts +0 -5
- package/build/if-run/lib/regroup.js +0 -64
- package/build/if-run/types/aggregation.d.ts +0 -5
- package/build/if-run/types/aggregation.js +0 -6
- package/build/if-run/types/compute.d.ts +0 -29
- package/build/if-run/types/compute.js +0 -3
- package/build/if-run/types/environment.d.ts +0 -18
- package/build/if-run/types/environment.js +0 -3
- package/build/if-run/types/exhaust-plugin-interface.d.ts +0 -7
- package/build/if-run/types/exhaust-plugin-interface.js +0 -3
- package/build/if-run/types/explain.d.ts +0 -10
- package/build/if-run/types/explain.js +0 -3
- package/build/if-run/types/interface.d.ts +0 -3
- package/build/if-run/types/interface.js +0 -6
- package/build/if-run/types/plugin-storage.d.ts +0 -6
- package/build/if-run/types/plugin-storage.js +0 -3
- package/build/if-run/types/process-args.d.ts +0 -25
- package/build/if-run/types/process-args.js +0 -3
- package/build/if-run/types/time-sync.d.ts +0 -17
- package/build/if-run/types/time-sync.js +0 -3
- package/build/if-run/util/aggregation-helper.d.ts +0 -7
- package/build/if-run/util/aggregation-helper.js +0 -47
- package/build/if-run/util/args.d.ts +0 -9
- package/build/if-run/util/args.js +0 -60
- package/build/if-run/util/helpers.d.ts +0 -14
- package/build/if-run/util/helpers.js +0 -57
- package/build/if-run/util/log-memoize.d.ts +0 -3
- package/build/if-run/util/log-memoize.js +0 -19
- package/build/if-run/util/os-checker.d.ts +0 -7
- package/build/if-run/util/os-checker.js +0 -97
- package/build/if-run/util/plugin-storage.d.ts +0 -14
- package/build/if-run/util/plugin-storage.js +0 -34
- package/grafana/IF_GRAFANA_SETUP.md +0 -71
- package/grafana/if_grafana_config.json +0 -370
- package/manifests/examples/builtins/divide/failure-denominator-equal-zero.yml +0 -38
- package/manifests/examples/builtins/interpolation/interpolation.yml +0 -24
- package/manifests/examples/builtins/sci-embodied/failure-invalid-default-emission-value.yml +0 -23
- package/manifests/examples/builtins/sci-embodied/failure-missing-expected-lifespan.yml +0 -23
- package/manifests/examples/pipelines/scenario-1.yml +0 -34
- package/manifests/examples/pipelines/scenario-2.yml +0 -52
- package/manifests/outputs/bugs/sci-embodied-missing-resources-total.yaml +0 -72
- package/manifests/outputs/builtins/sci-embodied/failure-missing-expected-lifespan.yaml +0 -69
- package/manifests/outputs/pipelines/mock-obs-time-sync.yaml +0 -449
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"annotations": {
|
|
3
|
-
"list": [
|
|
4
|
-
{
|
|
5
|
-
"builtIn": 1,
|
|
6
|
-
"datasource": {
|
|
7
|
-
"type": "grafana",
|
|
8
|
-
"uid": "-- Grafana --"
|
|
9
|
-
},
|
|
10
|
-
"enable": true,
|
|
11
|
-
"hide": true,
|
|
12
|
-
"iconColor": "rgba(0, 211, 255, 1)",
|
|
13
|
-
"name": "Annotations & Alerts",
|
|
14
|
-
"type": "dashboard"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"editable": true,
|
|
19
|
-
"fiscalYearStartMonth": 0,
|
|
20
|
-
"graphTooltip": 0,
|
|
21
|
-
"id": 5,
|
|
22
|
-
"links": [],
|
|
23
|
-
"liveNow": false,
|
|
24
|
-
"panels": [
|
|
25
|
-
{
|
|
26
|
-
"datasource": {
|
|
27
|
-
"type": "marcusolsson-csv-datasource",
|
|
28
|
-
"uid": "<SOURCE_ID>"
|
|
29
|
-
},
|
|
30
|
-
"gridPos": {
|
|
31
|
-
"h": 3,
|
|
32
|
-
"w": 18,
|
|
33
|
-
"x": 0,
|
|
34
|
-
"y": 0
|
|
35
|
-
},
|
|
36
|
-
"id": 3,
|
|
37
|
-
"options": {
|
|
38
|
-
"code": {
|
|
39
|
-
"language": "plaintext",
|
|
40
|
-
"showLineNumbers": false,
|
|
41
|
-
"showMiniMap": false
|
|
42
|
-
},
|
|
43
|
-
"content": "<h1 style=\"font-size: 80px;\">\n <span style=\"color: #0071C5;\">Dashboard Title</span> <b>goes here</b>",
|
|
44
|
-
"mode": "html"
|
|
45
|
-
},
|
|
46
|
-
"pluginVersion": "10.1.1",
|
|
47
|
-
"targets": [
|
|
48
|
-
{
|
|
49
|
-
"datasource": {
|
|
50
|
-
"type": "marcusolsson-csv-datasource",
|
|
51
|
-
"uid": "<SOURCE_ID>"
|
|
52
|
-
},
|
|
53
|
-
"decimalSeparator": ".",
|
|
54
|
-
"delimiter": ",",
|
|
55
|
-
"header": true,
|
|
56
|
-
"ignoreUnknown": false,
|
|
57
|
-
"refId": "A",
|
|
58
|
-
"schema": [
|
|
59
|
-
{
|
|
60
|
-
"name": "",
|
|
61
|
-
"type": "string"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"skipRows": 0
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"transparent": true,
|
|
68
|
-
"type": "text"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"datasource": {
|
|
72
|
-
"type": "marcusolsson-csv-datasource",
|
|
73
|
-
"uid": "<SOURCE_ID>"
|
|
74
|
-
},
|
|
75
|
-
"description": "",
|
|
76
|
-
"gridPos": {
|
|
77
|
-
"h": 3,
|
|
78
|
-
"w": 5,
|
|
79
|
-
"x": 19,
|
|
80
|
-
"y": 0
|
|
81
|
-
},
|
|
82
|
-
"id": 2,
|
|
83
|
-
"options": {
|
|
84
|
-
"code": {
|
|
85
|
-
"language": "plaintext",
|
|
86
|
-
"showLineNumbers": false,
|
|
87
|
-
"showMiniMap": false
|
|
88
|
-
},
|
|
89
|
-
"content": "<p style=\"font-size: 8px; color: gray;\">\n <u>Some detailed text</u>:<br> goes here</p>",
|
|
90
|
-
"mode": "html"
|
|
91
|
-
},
|
|
92
|
-
"pluginVersion": "10.1.1",
|
|
93
|
-
"targets": [
|
|
94
|
-
{
|
|
95
|
-
"datasource": {
|
|
96
|
-
"type": "marcusolsson-csv-datasource",
|
|
97
|
-
"uid": "<SOURCE_ID>"
|
|
98
|
-
},
|
|
99
|
-
"decimalSeparator": ".",
|
|
100
|
-
"delimiter": ",",
|
|
101
|
-
"header": true,
|
|
102
|
-
"ignoreUnknown": false,
|
|
103
|
-
"refId": "A",
|
|
104
|
-
"schema": [
|
|
105
|
-
{
|
|
106
|
-
"name": "",
|
|
107
|
-
"type": "string"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"skipRows": 0
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"transparent": true,
|
|
114
|
-
"type": "text"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"datasource": {
|
|
118
|
-
"type": "marcusolsson-csv-datasource",
|
|
119
|
-
"uid": "<SOURCE_ID>"
|
|
120
|
-
},
|
|
121
|
-
"fieldConfig": {
|
|
122
|
-
"defaults": {
|
|
123
|
-
"color": {
|
|
124
|
-
"mode": "palette-classic"
|
|
125
|
-
},
|
|
126
|
-
"custom": {
|
|
127
|
-
"axisCenteredZero": false,
|
|
128
|
-
"axisColorMode": "text",
|
|
129
|
-
"axisLabel": "",
|
|
130
|
-
"axisPlacement": "auto",
|
|
131
|
-
"barAlignment": 0,
|
|
132
|
-
"drawStyle": "line",
|
|
133
|
-
"fillOpacity": 0,
|
|
134
|
-
"gradientMode": "none",
|
|
135
|
-
"hideFrom": {
|
|
136
|
-
"legend": false,
|
|
137
|
-
"tooltip": false,
|
|
138
|
-
"viz": false
|
|
139
|
-
},
|
|
140
|
-
"insertNulls": false,
|
|
141
|
-
"lineInterpolation": "linear",
|
|
142
|
-
"lineWidth": 1,
|
|
143
|
-
"pointSize": 5,
|
|
144
|
-
"scaleDistribution": {
|
|
145
|
-
"type": "linear"
|
|
146
|
-
},
|
|
147
|
-
"showPoints": "auto",
|
|
148
|
-
"spanNulls": false,
|
|
149
|
-
"stacking": {
|
|
150
|
-
"group": "A",
|
|
151
|
-
"mode": "none"
|
|
152
|
-
},
|
|
153
|
-
"thresholdsStyle": {
|
|
154
|
-
"mode": "off"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"mappings": [],
|
|
158
|
-
"thresholds": {
|
|
159
|
-
"mode": "absolute",
|
|
160
|
-
"steps": [
|
|
161
|
-
{
|
|
162
|
-
"color": "green",
|
|
163
|
-
"value": null
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"color": "red",
|
|
167
|
-
"value": 80
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"overrides": []
|
|
173
|
-
},
|
|
174
|
-
"gridPos": {
|
|
175
|
-
"h": 9,
|
|
176
|
-
"w": 24,
|
|
177
|
-
"x": 0,
|
|
178
|
-
"y": 3
|
|
179
|
-
},
|
|
180
|
-
"id": 1,
|
|
181
|
-
"options": {
|
|
182
|
-
"legend": {
|
|
183
|
-
"calcs": [],
|
|
184
|
-
"displayMode": "list",
|
|
185
|
-
"placement": "bottom",
|
|
186
|
-
"showLegend": true
|
|
187
|
-
},
|
|
188
|
-
"tooltip": {
|
|
189
|
-
"mode": "single",
|
|
190
|
-
"sort": "none"
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
"targets": [
|
|
194
|
-
{
|
|
195
|
-
"datasource": {
|
|
196
|
-
"type": "marcusolsson-csv-datasource",
|
|
197
|
-
"uid": "<SOURCE_ID>"
|
|
198
|
-
},
|
|
199
|
-
"decimalSeparator": ".",
|
|
200
|
-
"delimiter": ",",
|
|
201
|
-
"header": true,
|
|
202
|
-
"ignoreUnknown": false,
|
|
203
|
-
"refId": "A",
|
|
204
|
-
"schema": [
|
|
205
|
-
{
|
|
206
|
-
"name": "",
|
|
207
|
-
"type": "string"
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"skipRows": 0
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"title": "Energy [kWh]",
|
|
214
|
-
"transformations": [
|
|
215
|
-
{
|
|
216
|
-
"id": "convertFieldType",
|
|
217
|
-
"options": {
|
|
218
|
-
"conversions": [
|
|
219
|
-
{
|
|
220
|
-
"destinationType": "time",
|
|
221
|
-
"targetField": "timestamp"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"destinationType": "number",
|
|
225
|
-
"targetField": "energy"
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
"fields": {}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"type": "timeseries"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"datasource": {
|
|
236
|
-
"type": "marcusolsson-csv-datasource",
|
|
237
|
-
"uid": "<SOURCE_ID>"
|
|
238
|
-
},
|
|
239
|
-
"fieldConfig": {
|
|
240
|
-
"defaults": {
|
|
241
|
-
"color": {
|
|
242
|
-
"mode": "palette-classic"
|
|
243
|
-
},
|
|
244
|
-
"custom": {
|
|
245
|
-
"axisCenteredZero": false,
|
|
246
|
-
"axisColorMode": "text",
|
|
247
|
-
"axisLabel": "",
|
|
248
|
-
"axisPlacement": "auto",
|
|
249
|
-
"barAlignment": 0,
|
|
250
|
-
"drawStyle": "line",
|
|
251
|
-
"fillOpacity": 0,
|
|
252
|
-
"gradientMode": "none",
|
|
253
|
-
"hideFrom": {
|
|
254
|
-
"legend": false,
|
|
255
|
-
"tooltip": false,
|
|
256
|
-
"viz": false
|
|
257
|
-
},
|
|
258
|
-
"insertNulls": false,
|
|
259
|
-
"lineInterpolation": "linear",
|
|
260
|
-
"lineWidth": 1,
|
|
261
|
-
"pointSize": 5,
|
|
262
|
-
"scaleDistribution": {
|
|
263
|
-
"type": "linear"
|
|
264
|
-
},
|
|
265
|
-
"showPoints": "auto",
|
|
266
|
-
"spanNulls": false,
|
|
267
|
-
"stacking": {
|
|
268
|
-
"group": "A",
|
|
269
|
-
"mode": "none"
|
|
270
|
-
},
|
|
271
|
-
"thresholdsStyle": {
|
|
272
|
-
"mode": "off"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"mappings": [],
|
|
276
|
-
"thresholds": {
|
|
277
|
-
"mode": "absolute",
|
|
278
|
-
"steps": [
|
|
279
|
-
{
|
|
280
|
-
"color": "green",
|
|
281
|
-
"value": null
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"color": "red",
|
|
285
|
-
"value": 80
|
|
286
|
-
}
|
|
287
|
-
]
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"overrides": []
|
|
291
|
-
},
|
|
292
|
-
"gridPos": {
|
|
293
|
-
"h": 8,
|
|
294
|
-
"w": 24,
|
|
295
|
-
"x": 0,
|
|
296
|
-
"y": 12
|
|
297
|
-
},
|
|
298
|
-
"id": 5,
|
|
299
|
-
"options": {
|
|
300
|
-
"legend": {
|
|
301
|
-
"calcs": [],
|
|
302
|
-
"displayMode": "list",
|
|
303
|
-
"placement": "bottom",
|
|
304
|
-
"showLegend": true
|
|
305
|
-
},
|
|
306
|
-
"tooltip": {
|
|
307
|
-
"mode": "single",
|
|
308
|
-
"sort": "none"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"targets": [
|
|
312
|
-
{
|
|
313
|
-
"datasource": {
|
|
314
|
-
"type": "marcusolsson-csv-datasource",
|
|
315
|
-
"uid": "<SOURCE_ID>"
|
|
316
|
-
},
|
|
317
|
-
"decimalSeparator": ".",
|
|
318
|
-
"delimiter": ",",
|
|
319
|
-
"header": true,
|
|
320
|
-
"ignoreUnknown": false,
|
|
321
|
-
"refId": "A",
|
|
322
|
-
"schema": [
|
|
323
|
-
{
|
|
324
|
-
"name": "",
|
|
325
|
-
"type": "string"
|
|
326
|
-
}
|
|
327
|
-
],
|
|
328
|
-
"skipRows": 0
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
"title": "Carbon [gCO2]",
|
|
332
|
-
"transformations": [
|
|
333
|
-
{
|
|
334
|
-
"id": "convertFieldType",
|
|
335
|
-
"options": {
|
|
336
|
-
"conversions": [
|
|
337
|
-
{
|
|
338
|
-
"destinationType": "time",
|
|
339
|
-
"targetField": "timestamp"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"destinationType": "number",
|
|
343
|
-
"targetField": "carbon"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"fields": {}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
],
|
|
350
|
-
"type": "timeseries"
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"refresh": "",
|
|
354
|
-
"schemaVersion": 38,
|
|
355
|
-
"style": "dark",
|
|
356
|
-
"tags": [],
|
|
357
|
-
"templating": {
|
|
358
|
-
"list": []
|
|
359
|
-
},
|
|
360
|
-
"time": {
|
|
361
|
-
"from": "2023-11-02T08:35:31.000Z",
|
|
362
|
-
"to": "2023-11-02T08:35:42.000Z"
|
|
363
|
-
},
|
|
364
|
-
"timepicker": {},
|
|
365
|
-
"timezone": "",
|
|
366
|
-
"title": "IF_dashboard",
|
|
367
|
-
"uid": "",
|
|
368
|
-
"version": 40,
|
|
369
|
-
"weekStart": ""
|
|
370
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
name: divide
|
|
2
|
-
description: denominator is invalid, denominator is
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-metadata:
|
|
7
|
-
path: builtin
|
|
8
|
-
method: CSVLookup
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: >-
|
|
11
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
12
|
-
query:
|
|
13
|
-
instance-class: cloud/instance-type
|
|
14
|
-
output: ["cpu-cores-utilized", "vcpus-allocated"]
|
|
15
|
-
divide:
|
|
16
|
-
method: Divide
|
|
17
|
-
path: "builtin"
|
|
18
|
-
global-config:
|
|
19
|
-
numerator: vcpus-allocated
|
|
20
|
-
denominator: 0
|
|
21
|
-
output: cpu/number-cores
|
|
22
|
-
tree:
|
|
23
|
-
children:
|
|
24
|
-
child:
|
|
25
|
-
pipeline:
|
|
26
|
-
compute:
|
|
27
|
-
- cloud-metadata
|
|
28
|
-
- divide
|
|
29
|
-
config:
|
|
30
|
-
divide:
|
|
31
|
-
defaults:
|
|
32
|
-
cloud/vendor: aws
|
|
33
|
-
cloud/instance-type: m5n.large
|
|
34
|
-
cpu/name: Intel® Core™ i7-1185G7
|
|
35
|
-
inputs:
|
|
36
|
-
- timestamp: 2023-08-06T00:00
|
|
37
|
-
duration: 3600
|
|
38
|
-
cpu/utilization: 80
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: interpolation-demo
|
|
2
|
-
description: simple demo of interpolation plugin
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
interpolation:
|
|
7
|
-
method: Interpolation
|
|
8
|
-
path: "builtin"
|
|
9
|
-
global-config:
|
|
10
|
-
method: linear
|
|
11
|
-
x: [0, 10, 50, 100]
|
|
12
|
-
y: [0.12, 0.32, 0.75, 1.02]
|
|
13
|
-
input-parameter: "cpu/utilization"
|
|
14
|
-
output-parameter: "result"
|
|
15
|
-
tree:
|
|
16
|
-
children:
|
|
17
|
-
child:
|
|
18
|
-
pipeline:
|
|
19
|
-
compute:
|
|
20
|
-
- interpolation
|
|
21
|
-
inputs:
|
|
22
|
-
- timestamp: 2023-07-06T00:00
|
|
23
|
-
duration: 3600
|
|
24
|
-
cpu/utilization: 45
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: sci-embodied
|
|
2
|
-
description: failure with `defaults.device/emissions-embodied` being string instead of number
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
"sci-embodied": # a model that calculates m from te, tir, el, rr and rtor
|
|
7
|
-
method: SciEmbodied
|
|
8
|
-
path: "builtin"
|
|
9
|
-
tree:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
compute:
|
|
14
|
-
- sci-embodied # duration & config -> embodied
|
|
15
|
-
defaults:
|
|
16
|
-
device/emissions-embodied: "fail" # gCO2eq
|
|
17
|
-
time-reserved: 3600 # 1hr in seconds
|
|
18
|
-
device/expected-lifespan: 94608000 # 3 years in seconds
|
|
19
|
-
resources-reserved: 1
|
|
20
|
-
resources-total: 8
|
|
21
|
-
inputs:
|
|
22
|
-
- timestamp: 2023-07-06T00:00
|
|
23
|
-
duration: 3600
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: sci-embodied
|
|
2
|
-
description: missing device/expected-lifespan
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
"sci-embodied": # a model that calculates m from te, tir, el, rr and rtor
|
|
7
|
-
method: SciEmbodied
|
|
8
|
-
path: "builtin"
|
|
9
|
-
tree:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
compute:
|
|
14
|
-
- sci-embodied # duration & config -> embodied
|
|
15
|
-
defaults:
|
|
16
|
-
device/emissions-embodied: 1533.120 # gCO2eq
|
|
17
|
-
time-reserved: 3600 # 1hr in seconds
|
|
18
|
-
#device/expected-lifespan: 94608000 # 3 years in seconds
|
|
19
|
-
resources-reserved: 1
|
|
20
|
-
resources-total: 8
|
|
21
|
-
inputs:
|
|
22
|
-
- timestamp: 2023-07-06T00:00
|
|
23
|
-
duration: 3600
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: demo
|
|
2
|
-
description: demo for observe feat
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
mock-observations:
|
|
7
|
-
kind: plugin
|
|
8
|
-
method: MockObservations
|
|
9
|
-
path: "builtin"
|
|
10
|
-
global-config:
|
|
11
|
-
timestamp-from: 2023-07-06T00:00
|
|
12
|
-
timestamp-to: 2023-07-06T00:01
|
|
13
|
-
duration: 60
|
|
14
|
-
components:
|
|
15
|
-
- cloud/instance-type: A1
|
|
16
|
-
- cloud/instance-type: B1
|
|
17
|
-
generators:
|
|
18
|
-
common:
|
|
19
|
-
region: uk-west
|
|
20
|
-
common-key: common-val
|
|
21
|
-
randint:
|
|
22
|
-
cpu/utilization:
|
|
23
|
-
min: 1
|
|
24
|
-
max: 99
|
|
25
|
-
memory/utilization:
|
|
26
|
-
min: 1
|
|
27
|
-
max: 99
|
|
28
|
-
tree:
|
|
29
|
-
children:
|
|
30
|
-
child:
|
|
31
|
-
pipeline:
|
|
32
|
-
observe:
|
|
33
|
-
- mock-observations
|
|
34
|
-
inputs: null
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
name: regroup demo
|
|
2
|
-
description:
|
|
3
|
-
initialize:
|
|
4
|
-
plugins:
|
|
5
|
-
interpolate:
|
|
6
|
-
method: Interpolation
|
|
7
|
-
path: "builtin"
|
|
8
|
-
global-config:
|
|
9
|
-
method: linear
|
|
10
|
-
x: [0, 10, 50, 100]
|
|
11
|
-
y: [0.12, 0.32, 0.75, 1.02]
|
|
12
|
-
input-parameter: "cpu/utilization"
|
|
13
|
-
output-parameter: "cpu-factor"
|
|
14
|
-
tree:
|
|
15
|
-
children:
|
|
16
|
-
child:
|
|
17
|
-
pipeline:
|
|
18
|
-
observe:
|
|
19
|
-
regroup:
|
|
20
|
-
- cloud/region
|
|
21
|
-
- cloud/instance-type
|
|
22
|
-
inputs:
|
|
23
|
-
- timestamp: 2023-07-06T00:00
|
|
24
|
-
duration: 300
|
|
25
|
-
cloud/instance-type: A1
|
|
26
|
-
cloud/region: uk-west
|
|
27
|
-
cpu/utilization: 99
|
|
28
|
-
- timestamp: 2023-07-06T05:00
|
|
29
|
-
duration: 300
|
|
30
|
-
cloud/instance-type: A1
|
|
31
|
-
cloud/region: uk-west
|
|
32
|
-
cpu/utilization: 23
|
|
33
|
-
- timestamp: 2023-07-06T10:00
|
|
34
|
-
duration: 300
|
|
35
|
-
cloud/instance-type: A1
|
|
36
|
-
cloud/region: uk-west
|
|
37
|
-
cpu/utilization: 12
|
|
38
|
-
- timestamp: 2023-07-06T00:00 # note this time restarts at the start timstamp
|
|
39
|
-
duration: 300
|
|
40
|
-
cloud/instance-type: B1
|
|
41
|
-
cloud/region: uk-west
|
|
42
|
-
cpu/utilization: 11
|
|
43
|
-
- timestamp: 2023-07-06T05:00
|
|
44
|
-
duration: 300
|
|
45
|
-
cloud/instance-type: B1
|
|
46
|
-
cloud/region: uk-west
|
|
47
|
-
cpu/utilization: 67
|
|
48
|
-
- timestamp: 2023-07-06T10:00
|
|
49
|
-
duration: 300
|
|
50
|
-
cloud/instance-type: B1
|
|
51
|
-
cloud/region: uk-west
|
|
52
|
-
cpu/utilization: 1
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
name: sci-embodied
|
|
2
|
-
description: >-
|
|
3
|
-
receiving incorrect error message when running sci-embodied without
|
|
4
|
-
`resources-total` issue
|
|
5
|
-
tags: null
|
|
6
|
-
initialize:
|
|
7
|
-
plugins:
|
|
8
|
-
sci-embodied:
|
|
9
|
-
method: SciEmbodied
|
|
10
|
-
path: builtin
|
|
11
|
-
execution:
|
|
12
|
-
status: fail
|
|
13
|
-
command: >-
|
|
14
|
-
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
15
|
-
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
16
|
-
manifests/outputs/bugs/sci-embodied-missing-resources-total.yml -o
|
|
17
|
-
manifests/outputs/bugs/sci-embodied-missing-resources-total
|
|
18
|
-
environment:
|
|
19
|
-
if-version: 0.4.0
|
|
20
|
-
os: macOS
|
|
21
|
-
os-version: "13.2"
|
|
22
|
-
node-version: 18.14.2
|
|
23
|
-
date-time: 2024-07-01T20:17:30.390Z (UTC)
|
|
24
|
-
dependencies:
|
|
25
|
-
- "@babel/core@7.22.10"
|
|
26
|
-
- "@babel/preset-typescript@7.23.3"
|
|
27
|
-
- "@commitlint/cli@18.6.0"
|
|
28
|
-
- "@commitlint/config-conventional@18.6.0"
|
|
29
|
-
- "@grnsft/if-core@0.0.10"
|
|
30
|
-
|
|
31
|
-
- "@jest/globals@29.7.0"
|
|
32
|
-
- "@types/jest@29.5.8"
|
|
33
|
-
- "@types/js-yaml@4.0.9"
|
|
34
|
-
- "@types/luxon@3.4.2"
|
|
35
|
-
- "@types/node@20.9.0"
|
|
36
|
-
- axios-mock-adapter@1.22.0
|
|
37
|
-
- axios@1.7.2
|
|
38
|
-
- cross-env@7.0.3
|
|
39
|
-
- csv-parse@5.5.6
|
|
40
|
-
- csv-stringify@6.4.6
|
|
41
|
-
- fixpack@4.0.0
|
|
42
|
-
- gts@5.2.0
|
|
43
|
-
- husky@8.0.3
|
|
44
|
-
- jest@29.7.0
|
|
45
|
-
- js-yaml@4.1.0
|
|
46
|
-
- lint-staged@15.2.2
|
|
47
|
-
- luxon@3.4.4
|
|
48
|
-
- release-it@16.3.0
|
|
49
|
-
- rimraf@5.0.5
|
|
50
|
-
- ts-command-line-args@2.5.1
|
|
51
|
-
- ts-jest@29.1.1
|
|
52
|
-
- typescript-cubic-spline@1.0.1
|
|
53
|
-
- typescript@5.2.2
|
|
54
|
-
- winston@3.11.0
|
|
55
|
-
- zod@3.22.4
|
|
56
|
-
error: >-
|
|
57
|
-
InputValidationError: "vcpus-allocated" parameter is required. Error code:
|
|
58
|
-
invalid_union.
|
|
59
|
-
tree:
|
|
60
|
-
children:
|
|
61
|
-
child:
|
|
62
|
-
pipeline:
|
|
63
|
-
compute:
|
|
64
|
-
- sci-embodied
|
|
65
|
-
defaults:
|
|
66
|
-
device/emissions-embodied: 1533.12
|
|
67
|
-
time-reserved: 3600
|
|
68
|
-
device/expected-lifespan: 94608000
|
|
69
|
-
resources-reserved: 1
|
|
70
|
-
inputs:
|
|
71
|
-
- timestamp: 2023-07-06T00:00
|
|
72
|
-
duration: 3600
|