nextmv 0.29.5.dev0__py3-none-any.whl → 0.29.5.dev1__py3-none-any.whl

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.
nextmv/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "v0.29.5.dev.0"
1
+ __version__ = "v0.29.5.dev.1"
@@ -1128,16 +1128,26 @@ class Application:
1128
1128
  f"batch experiment {id} does not exist, input_set_id must be defined to create a new one"
1129
1129
  ) from e
1130
1130
  else:
1131
- runs = [
1132
- BatchExperimentRun(
1133
- instance_id=candidate_instance_id,
1134
- input_set_id=input_set_id,
1135
- ),
1136
- BatchExperimentRun(
1137
- instance_id=baseline_instance_id,
1138
- input_set_id=input_set_id,
1139
- ),
1140
- ]
1131
+ # Get all input IDs from the input set.
1132
+ input_set = self.input_set(input_set_id=input_set_id)
1133
+ if len(input_set.input_ids) == 0:
1134
+ raise ValueError(f"input set {input_set_id} does not contain any inputs")
1135
+ runs = []
1136
+ for input_id in input_set.input_ids:
1137
+ runs.append(
1138
+ BatchExperimentRun(
1139
+ instance_id=candidate_instance_id,
1140
+ input_set_id=input_set_id,
1141
+ input_id=input_id,
1142
+ )
1143
+ )
1144
+ runs.append(
1145
+ BatchExperimentRun(
1146
+ instance_id=baseline_instance_id,
1147
+ input_set_id=input_set_id,
1148
+ input_id=input_id,
1149
+ )
1150
+ )
1141
1151
  batch_experiment_id = self.new_batch_experiment(
1142
1152
  name=name,
1143
1153
  description=description,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextmv
3
- Version: 0.29.5.dev0
3
+ Version: 0.29.5.dev1
4
4
  Summary: The all-purpose Python SDK for Nextmv
5
5
  Project-URL: Homepage, https://www.nextmv.io
6
6
  Project-URL: Documentation, https://nextmv-py.docs.nextmv.io/en/latest/nextmv/
@@ -1,4 +1,4 @@
1
- nextmv/__about__.py,sha256=fH2N4VgXGHNLupMl8aEtSxm93zKJU7HumfTMlmPMKeE,30
1
+ nextmv/__about__.py,sha256=1SVbu68wEsLoHV7PnoKLzsYP7hPdn2-2Yx0-mN6ohaI,30
2
2
  nextmv/__entrypoint__.py,sha256=dA0iwwHtrq6Z9w9FxmxKLoBGLyhe7jWtUAU-Y3PEgHg,1094
3
3
  nextmv/__init__.py,sha256=FsF0pEkOSBuPY5EKu7NsBxro7jswGmOmaw61kZEudXY,1930
4
4
  nextmv/_serialization.py,sha256=JlSl6BL0M2Esf7F89GsGIZ__Pp8RnFRNM0UxYhuuYU4,2853
@@ -12,7 +12,7 @@ nextmv/output.py,sha256=vcBqtP1hJLYyUvfk_vl1Ejbk3q5KxOmlTz4Lnqqnyd0,54141
12
12
  nextmv/cloud/__init__.py,sha256=cGRkIcn1evTdgw7lEH2k4MPTZnq37XIF3ovbuDjUWGI,3914
13
13
  nextmv/cloud/acceptance_test.py,sha256=Bcfdmh2fkPeBx8FDCngeUo2fjV_LhsUdygnzDQCDbYY,26898
14
14
  nextmv/cloud/account.py,sha256=eukiYQha4U2fkIjg4SgdoawKE1kU5G7GPyDJVrn8hHA,6064
15
- nextmv/cloud/application.py,sha256=P5LYXNYlaJYTZiCbJxxG3pvT6KLHS8ZK8HO1R46Lju4,130127
15
+ nextmv/cloud/application.py,sha256=oyeXLUemFGRU3cPu0B3_WTtpzvAch5vR3Mo4gswohKs,130627
16
16
  nextmv/cloud/batch_experiment.py,sha256=Rmcwe1uAVz2kRrAMQqLYC5d__L_IqPXbF__RE3uQTAY,8196
17
17
  nextmv/cloud/client.py,sha256=E0DiUb377jvEnpXlRnfT1PGCI0Jm0lTUoX5VqeU91lk,18165
18
18
  nextmv/cloud/input_set.py,sha256=2dqmf5z-rZjTKwtBRvnUdfPfKv28It5uTCX0C70uP4Y,4242
@@ -31,7 +31,7 @@ nextmv/default_app/requirements.txt,sha256=wRE_HkYYWzCGnYZ2NuatHXul4gCHvU3iUAdsx
31
31
  nextmv/default_app/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  nextmv/default_app/src/main.py,sha256=HlO8UwZbZYiAQyrZDSR_T4NBcwP1gIjdTdwkJP_dn8I,847
33
33
  nextmv/default_app/src/visuals.py,sha256=WYK_YBnLmYo3TpVev1CpoNCuW5R7hk9QIkeCmvMn1Fs,1014
34
- nextmv-0.29.5.dev0.dist-info/METADATA,sha256=JOL30ADklPJ0SrmbxPzQvq1J8x15ETOJJU1H5J6amHg,15831
35
- nextmv-0.29.5.dev0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
36
- nextmv-0.29.5.dev0.dist-info/licenses/LICENSE,sha256=ZIbK-sSWA-OZprjNbmJAglYRtl5_K4l9UwAV3PGJAPc,11349
37
- nextmv-0.29.5.dev0.dist-info/RECORD,,
34
+ nextmv-0.29.5.dev1.dist-info/METADATA,sha256=ZjPhAMSjNH140opVHGm7ifWCR6hND8LGfYm1xH5bhCU,15831
35
+ nextmv-0.29.5.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
36
+ nextmv-0.29.5.dev1.dist-info/licenses/LICENSE,sha256=ZIbK-sSWA-OZprjNbmJAglYRtl5_K4l9UwAV3PGJAPc,11349
37
+ nextmv-0.29.5.dev1.dist-info/RECORD,,