palimpzest 0.8.5__py3-none-any.whl → 0.8.6__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.
@@ -755,7 +755,6 @@ class MABExecutionStrategy(SentinelExecutionStrategy):
755
755
 
756
756
  def execute_sentinel_plan(self, plan: SentinelPlan, train_dataset: dict[str, Dataset], validator: Validator) -> SentinelPlanStats:
757
757
  logger.info(f"Executing plan {plan.plan_id} with {self.max_workers} workers")
758
- logger.info(f"Plan Details: {plan}")
759
758
 
760
759
  # initialize plan stats
761
760
  plan_stats = SentinelPlanStats.from_plan(plan)
@@ -58,7 +58,6 @@ class GreedyStrategy(OptimizationStrategy):
58
58
  def get_optimal_plans(self, groups: dict, final_group_id: int, policy: Policy, use_final_op_quality: bool) -> list[PhysicalPlan]:
59
59
  logger.info(f"Getting greedy optimal plans for final group id: {final_group_id}")
60
60
  plans = [self._get_greedy_physical_plan(groups, final_group_id)]
61
- logger.info(f"Greedy optimal plans: {plans}")
62
61
  logger.info(f"Done getting greedy optimal plans for final group id: {final_group_id}")
63
62
 
64
63
  return plans
@@ -137,7 +136,6 @@ class ParetoStrategy(OptimizationStrategy):
137
136
  optimal_plan = optimal_plan if policy.choose(optimal_plan.plan_cost, plan.plan_cost) else plan
138
137
 
139
138
  plans = [optimal_plan]
140
- logger.info(f"Pareto optimal plans: {plans}")
141
139
  logger.info(f"Done getting pareto optimal plans for final group id: {final_group_id}")
142
140
  return plans
143
141
 
@@ -174,7 +172,6 @@ class SentinelStrategy(OptimizationStrategy):
174
172
  def get_optimal_plans(self, groups: dict, final_group_id: int, policy: Policy, use_final_op_quality: bool) -> list[SentinelPlan]:
175
173
  logger.info(f"Getting sentinel optimal plans for final group id: {final_group_id}")
176
174
  plans = [self._get_sentinel_plan(groups, final_group_id)]
177
- logger.info(f"Sentinel optimal plans: {plans}")
178
175
  logger.info(f"Done getting sentinel optimal plans for final group id: {final_group_id}")
179
176
  return plans
180
177
 
@@ -330,12 +330,11 @@ class SentinelPlan(Plan):
330
330
 
331
331
  def _get_str(self, idx: int = 0, indent: int = 0) -> str:
332
332
  indent_str = " " * (indent * 2)
333
- plan_str = ""
334
- for inner_idx, operator in enumerate(self.operator_set):
335
- inner_idx_str = "" if len(self.operator_set) == 1 else f"{inner_idx + 1}."
336
- plan_str += f"{indent_str}{idx}.{inner_idx_str} {str(operator)}\n"
337
- for subplan in self.subplans:
338
- plan_str += subplan._get_str(idx=idx + 1, indent=indent + 1)
333
+ operator = self.operator_set[0]
334
+ inner_idx_str = "" if len(self.operator_set) == 1 else f"1 - {len(self.operator_set)}."
335
+ plan_str = f"{indent_str}{idx}.{inner_idx_str} {str(operator)}\n"
336
+ for subplan in self.subplans:
337
+ plan_str += subplan._get_str(idx=idx + 1, indent=indent + 1)
339
338
 
340
339
  return plan_str
341
340
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: palimpzest
3
- Version: 0.8.5
3
+ Version: 0.8.6
4
4
  Summary: Palimpzest is a system which enables anyone to process AI-powered analytical queries simply by defining them in a declarative language
5
5
  Author-email: MIT DSG Semantic Management Lab <michjc@csail.mit.edu>
6
6
  Project-URL: homepage, https://palimpzest.org
@@ -37,7 +37,7 @@ palimpzest/query/execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
37
37
  palimpzest/query/execution/all_sample_execution_strategy.py,sha256=8a8-eKsndo_edCwIamNgcISLQmTzVSv5vmD6Ogl8a6k,14367
38
38
  palimpzest/query/execution/execution_strategy.py,sha256=XoRVNlJSAgON-NWis9SecFr0B7DlJIm-25u1v5rjvu8,19085
39
39
  palimpzest/query/execution/execution_strategy_type.py,sha256=vRQBPCQN5_aoyD3TLIeW3VPo15mqF-5RBvEXkENz9FE,987
40
- palimpzest/query/execution/mab_execution_strategy.py,sha256=rTiDcDGW1sKgHDMhhvFjHGXnV7L4weYGrGQoeh5q2oE,46337
40
+ palimpzest/query/execution/mab_execution_strategy.py,sha256=YjUZ2qBGvQMVUxi7rQCSU8JKP1RtqhG8Owik8hKB_UU,46292
41
41
  palimpzest/query/execution/parallel_execution_strategy.py,sha256=roZZy7wLcmAwm_ecYvqSJanRaiox3OoNPuXxvRZ5TXg,15710
42
42
  palimpzest/query/execution/single_threaded_execution_strategy.py,sha256=sESji79ytKxth9Tpm02c34Mltw0YiFn4GL5h0MI5Noo,16255
43
43
  palimpzest/query/generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -63,9 +63,9 @@ palimpzest/query/operators/split.py,sha256=oLzwnYb8TNf3XA9TMKEAIw7EIA12wHneaD42B
63
63
  palimpzest/query/optimizer/__init__.py,sha256=COn-okHtnYEyoNFRt3o3SA7jI5Wssx9BUEgfOfP4dOE,2560
64
64
  palimpzest/query/optimizer/cost_model.py,sha256=OldPy-TJdfsQbYRoKlb3yWeKbi15jcldTIUS6BTi9T8,12678
65
65
  palimpzest/query/optimizer/optimizer.py,sha256=BrhljITlFC5S5euA01pv4dzlqxrtKNEt_0DmhRtcMTk,19966
66
- palimpzest/query/optimizer/optimizer_strategy.py,sha256=9YlNGkqwgX0WaV6y8tKOOHVN8kC8GjDI3DttvGW5SYY,10206
66
+ palimpzest/query/optimizer/optimizer_strategy.py,sha256=0foDaBHqQehK_zz6IlDEbNIw-44wxY6LO5H1anJi56Y,10042
67
67
  palimpzest/query/optimizer/optimizer_strategy_type.py,sha256=V-MMHvJdnfZKoUX1xxxwh66q1RjN2FL35IsiT1C62c8,1084
68
- palimpzest/query/optimizer/plan.py,sha256=VIhN7tWT7EoRE9BKYa1qvvOhX7dEaM-aiobByX0qjzg,22900
68
+ palimpzest/query/optimizer/plan.py,sha256=NoCUS_lyZ7LFj15_qpZ_cOFHVkCFMcIn8A7EsNeD57c,22849
69
69
  palimpzest/query/optimizer/primitives.py,sha256=jMMVq37y1tWiPU1lSSKQP9OP-mzkpSxSmUeDajRYYOQ,5445
70
70
  palimpzest/query/optimizer/rules.py,sha256=er8K47L-qdRn0hCra-2PaqxhQEvDwJ7IVzNEszWHJ48,50452
71
71
  palimpzest/query/optimizer/tasks.py,sha256=GCRA4rK6Q8dBGj2FnsRJUk3IdKthNQgiK5lFEu7v0mI,30439
@@ -88,8 +88,8 @@ palimpzest/utils/progress.py,sha256=7gucyZr82udMDZitrrkAOSKHZVljE3R2wv9nf5gA5TM,
88
88
  palimpzest/utils/udfs.py,sha256=LjHic54B1az-rKgNLur0wOpaz2ko_UodjLEJrazkxvY,1854
89
89
  palimpzest/validator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
90
  palimpzest/validator/validator.py,sha256=vasnvAzEv9tDNLGz2X7MpMJBpn8MqSNelQSXk3X6MBs,16002
91
- palimpzest-0.8.5.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
92
- palimpzest-0.8.5.dist-info/METADATA,sha256=RrnXm-PJIQtSDM99iEfr15NIj37EzyZjkXsElXARf78,7048
93
- palimpzest-0.8.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- palimpzest-0.8.5.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
95
- palimpzest-0.8.5.dist-info/RECORD,,
91
+ palimpzest-0.8.6.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
92
+ palimpzest-0.8.6.dist-info/METADATA,sha256=NuqbbYGwNa5VlbFP3d59-1KdXA1LjrfChElaSTkmZBk,7048
93
+ palimpzest-0.8.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
+ palimpzest-0.8.6.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
95
+ palimpzest-0.8.6.dist-info/RECORD,,