@@ -118,10 +118,6 @@ class ConstraintMatch(Generic[Score_]):
118
118
def identification_string (self ) -> str :
119
119
return self .constraint_ref .constraint_id
120
120
121
- @property
122
- def indicted_object_list (self ):
123
- return self .indicted_objects
124
-
125
121
def __hash__ (self ) -> int :
126
122
combined_hash = hash (self .constraint_ref )
127
123
combined_hash ^= _safe_hash (self .justification )
@@ -466,7 +462,7 @@ class ConstraintAnalysis(Generic[Score_]):
466
462
but still non-zero constraint weight; non-empty if constraint has matches.
467
463
This is a list to simplify access to individual elements,
468
464
but it contains no duplicates just like `set` wouldn't.
469
- summary : str
465
+ summarize : str
470
466
Returns a diagnostic text
471
467
that explains part of the score quality through the ConstraintAnalysis API.
472
468
match_count : int
@@ -479,7 +475,7 @@ def __init__(self, delegate: '_JavaConstraintAnalysis[Score_]'):
479
475
delegate .constraintRef ()
480
476
481
477
def __str__ (self ):
482
- return self .summary
478
+ return self .summarize
483
479
484
480
@property
485
481
def constraint_ref (self ) -> ConstraintRef :
@@ -512,7 +508,7 @@ def score(self) -> Score_:
512
508
return to_python_score (self ._delegate .score ())
513
509
514
510
@property
515
- def summary (self ) -> str :
511
+ def summarize (self ) -> str :
516
512
return self ._delegate .summarize ()
517
513
518
514
@@ -546,7 +542,7 @@ class ScoreAnalysis:
546
542
constraint_analyses : list[ConstraintAnalysis]
547
543
Individual ConstraintAnalysis instances that make up this ScoreAnalysis.
548
544
549
- summary : str
545
+ summarize : str
550
546
Returns a diagnostic text that explains the solution through the `ConstraintAnalysis` API to identify which
551
547
Constraints cause that score quality.
552
548
The string is built fresh every time the method is called.
@@ -571,7 +567,7 @@ def __init__(self, delegate: '_JavaScoreAnalysis'):
571
567
self ._delegate = delegate
572
568
573
569
def __str__ (self ):
574
- return self .summary
570
+ return self .summarize
575
571
576
572
def __sub__ (self , other ):
577
573
return self .diff (other )
@@ -627,7 +623,7 @@ def constraint_analysis(self, *args) -> ConstraintAnalysis:
627
623
return ConstraintAnalysis (self ._delegate .getConstraintAnalysis (args [0 ], args [1 ]))
628
624
629
625
@property
630
- def summary (self ) -> str :
626
+ def summarize (self ) -> str :
631
627
return self ._delegate .summarize ()
632
628
633
629
@property
0 commit comments