Backend Tests on 692/merge by @thiagohora #682
backend_tests.yml
on: pull_request
run-backend-tests
5m 54s
Annotations
32 errors
TracesResourceTest$GetTraceStats.findWithoutUsage:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5200
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e80fa4dc, name=duration, value=PercentageValues[p50=924.859, p90=1228.7794, p99=1318.57924], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@54e32248, name=duration, value=PercentageValues[p50=924.858, p90=1228.7784000000001, p99=1318.57824], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e80fa4dc, name=duration, value=PercentageValues[p50=924.859, p90=1228.7794, p99=1318.57924], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@54e32248, name=duration, value=PercentageValues[p50=924.858, p90=1228.7784000000001, p99=1318.57824], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@54e32248, name=duration, value=PercentageValues[p50=924.858, p90=1228.7784000000001, p99=1318.57824], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@1c1f2793
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterStartTimeLessThanEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5765
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@2124bada, name=duration, value=PercentageValues[p50=299977.846, p90=299977.846, p99=299977.846], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@dbd01444, name=duration, value=PercentageValues[p50=299977.845, p90=299977.845, p99=299977.845], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@2124bada, name=duration, value=PercentageValues[p50=299977.846, p90=299977.846, p99=299977.846], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@dbd01444, name=duration, value=PercentageValues[p50=299977.845, p90=299977.845, p99=299977.845], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@dbd01444, name=duration, value=PercentageValues[p50=299977.845, p90=299977.845, p99=299977.845], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@eb35458
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterFeedbackScoresLessThan__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L7105
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f7b9e93d, name=duration, value=PercentageValues[p50=0.034, p90=0.034, p99=0.034], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5985ee13, name=feedback_score.28G05gvmhU, value=69.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@de8ab12e, name=feedback_score.56rW5TUQwI, value=1234.5678, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4703e6a9, name=feedback_score.Nof_iizRnE, value=86.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bb681cbd, name=feedback_score.YMoboYj6dd, value=70.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@fab6b309, name=feedback_score.uWC1YllkJ5, value=36.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ea35dcb4, name=feedback_score.56rW5TUQwI, value=1234.567800000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cf46ffe1, name=feedback_score.28G05gvmhU, value=69.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@23fc01d1, name=feedback_score.Nof_iizRnE, value=86.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7aee9cb1, name=feedback_score.uWC1YllkJ5, value=36.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a0e1919, name=feedback_score.YMoboYj6dd, value=70.000000000, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f7b9e93d, name=duration, value=PercentageValues[p50=0.034, p90=0.034, p99=0.034], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5985ee13, name=feedback_score.28G05gvmhU, value=69.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@de8ab12e, name=feedback_score.56rW5TUQwI, value=1234.5678, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4703e6a9, name=feedback_score.Nof_iizRnE, value=86.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bb681cbd, name=feedback_score.YMoboYj6dd, value=70.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@fab6b309, name=feedback_score.uWC1YllkJ5, value=36.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ea35dcb4, name=feedback_score.56rW5TUQwI, value=1234.567800000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cf46ffe1, name=feedback_score.28G05gvmhU, value=69.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@23fc01d1, name=feedback_score.Nof_iizRnE, value=86.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7aee9cb1, name=feedback_score.uWC1YllkJ5, value=36.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a0e1919, name=feedback_score.YMoboYj6dd, value=70.000000000, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@70c84b7c
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataContainsString__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6104
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@5f2540a7
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataContainsNull__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6240
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@518c72ad
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterStartTimeLessThan__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5723
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@46a4526, name=duration, value=PercentageValues[p50=299988.712, p90=299988.712, p99=299988.712], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@8ad08897, name=duration, value=PercentageValues[p50=299988.711, p90=299988.711, p99=299988.711], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@46a4526, name=duration, value=PercentageValues[p50=299988.712, p90=299988.712, p99=299988.712], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@8ad08897, name=duration, value=PercentageValues[p50=299988.711, p90=299988.711, p99=299988.711], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@8ad08897, name=duration, value=PercentageValues[p50=299988.711, p90=299988.711, p99=299988.711], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@22dc3d1b
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterFeedbackScoresGreaterThanEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L7055
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cd14ee10, name=feedback_score.6KpEWkWKfJ, value=95.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@52d45042, name=feedback_score.Nd_Pc4VeGF, value=40.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c28629e1, name=feedback_score.dAxExXrSvT, value=66.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@57b51677, name=feedback_score.dHoLrFzDtz, value=71.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a2f1eb24, name=feedback_score.vWNXHzMTzt, value=2345.6789, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7f3ffd61, name=feedback_score.dHoLrFzDtz, value=71.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@36a0c19d, name=feedback_score.Nd_Pc4VeGF, value=40.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ad979e8a, name=feedback_score.dAxExXrSvT, value=66.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4a1b032c, name=feedback_score.6KpEWkWKfJ, value=95.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8ea39638, name=feedback_score.vWNXHzMTzt, value=2345.678900000, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cd14ee10, name=feedback_score.6KpEWkWKfJ, value=95.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@52d45042, name=feedback_score.Nd_Pc4VeGF, value=40.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c28629e1, name=feedback_score.dAxExXrSvT, value=66.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@57b51677, name=feedback_score.dHoLrFzDtz, value=71.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a2f1eb24, name=feedback_score.vWNXHzMTzt, value=2345.6789, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7f3ffd61, name=feedback_score.dHoLrFzDtz, value=71.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@36a0c19d, name=feedback_score.Nd_Pc4VeGF, value=40.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ad979e8a, name=feedback_score.dAxExXrSvT, value=66.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4a1b032c, name=feedback_score.6KpEWkWKfJ, value=95.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8ea39638, name=feedback_score.vWNXHzMTzt, value=2345.678900000, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@7a1202e7
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageLessThanEqual__thenReturnTracesFiltered(String, Field)[1]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6893
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@97da31c
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterWorkspaceName__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5320
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@35f24079, name=duration, value=PercentageValues[p50=0.014, p90=0.023, p99=0.028399999999999998], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@7e8ecad0, name=duration, value=PercentageValues[p50=0.013, p90=0.023, p99=0.0284], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@35f24079, name=duration, value=PercentageValues[p50=0.014, p90=0.023, p99=0.028399999999999998], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@7e8ecad0, name=duration, value=PercentageValues[p50=0.013, p90=0.023, p99=0.0284], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@7e8ecad0, name=duration, value=PercentageValues[p50=0.013, p90=0.023, p99=0.0284], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@6dc8eae5
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterFeedbackScoresLessThanEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L7159
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@795b2fc7, name=duration, value=PercentageValues[p50=0.036, p90=0.036, p99=0.036], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@29ee6828, name=feedback_score.1VdYkQBlN4, value=46.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4a4aca08, name=feedback_score.NLxFHQV5Jf, value=30.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f959c903, name=feedback_score.bqnO5NdnOa, value=77.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7ea858b, name=feedback_score.e9_BxwEtOY, value=76.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c30a6d20, name=feedback_score.mqOChVbF6A, value=1234.5678, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f0cefd76, name=duration, value=PercentageValues[p50=0.035, p90=0.035, p99=0.035], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@23193652, name=feedback_score.1VdYkQBlN4, value=46.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6beedeb6, name=feedback_score.e9_BxwEtOY, value=76.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b5237966, name=feedback_score.NLxFHQV5Jf, value=30.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@36430cbc, name=feedback_score.bqnO5NdnOa, value=77.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ceb598a6, name=feedback_score.mqOChVbF6A, value=1234.567800000, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@795b2fc7, name=duration, value=PercentageValues[p50=0.036, p90=0.036, p99=0.036], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@29ee6828, name=feedback_score.1VdYkQBlN4, value=46.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4a4aca08, name=feedback_score.NLxFHQV5Jf, value=30.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f959c903, name=feedback_score.bqnO5NdnOa, value=77.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7ea858b, name=feedback_score.e9_BxwEtOY, value=76.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c30a6d20, name=feedback_score.mqOChVbF6A, value=1234.5678, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f0cefd76, name=duration, value=PercentageValues[p50=0.035, p90=0.035, p99=0.035], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@23193652, name=feedback_score.1VdYkQBlN4, value=46.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6beedeb6, name=feedback_score.e9_BxwEtOY, value=76.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b5237966, name=feedback_score.NLxFHQV5Jf, value=30.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@36430cbc, name=feedback_score.bqnO5NdnOa, value=77.000000000, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ceb598a6, name=feedback_score.mqOChVbF6A, value=1234.567800000, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f0cefd76, name=duration, value=PercentageValues[p50=0.035, p90=0.035, p99=0.035], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@cbca6d
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterNameEndsWith__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5478
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@4003db85
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageLessThan__thenReturnTracesFiltered(String, Field)[1]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6845
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32d24a8c, name=usage.completion_tokens, value=123.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@2456d75b
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataContainsNumber__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6149
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@43af3c78
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataEqualNull__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6059
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@7ede6e6d
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterStartTimeGreaterThan__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5639
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@84ad047e, name=duration, value=PercentageValues[p50=-300016.59, p90=-300016.59, p99=-300016.59], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb1de400, name=duration, value=PercentageValues[p50=-300016.589, p90=-300016.589, p99=-300016.589], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@84ad047e, name=duration, value=PercentageValues[p50=-300016.59, p90=-300016.59, p99=-300016.59], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb1de400, name=duration, value=PercentageValues[p50=-300016.589, p90=-300016.589, p99=-300016.589], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb1de400, name=duration, value=PercentageValues[p50=-300016.589, p90=-300016.589, p99=-300016.589], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@3cfe639f
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataLessThanNumber__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6447
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@18da3662
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterNameContains__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5516
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@41c0c051
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.findWithUsage:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5166
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@cc51a19d, name=duration, value=PercentageValues[p50=0.014, p90=0.3738000000000001, p99=0.58908], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@9fea875d, name=usage.04gtMILNP9, value=762570977, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e15d615c, name=usage.0IJiNLaYbS, value=1910564081, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4fac1ec4, name=usage.0WWQRNLD9G, value=473511173, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4af184ed, name=usage.167e8ddV5i, value=2041802928, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6efa9a42, name=usage.1QyAVHR7hr, value=411824109, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8f50f1b6, name=usage.2YJzRxl_Tj, value=103754432, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@11cd79c2, name=usage.3eDRo9a0jt, value=1784351179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17d2174e, name=usage.3n7C1ld3E1, value=1554105861, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef172d73, name=usage.5ZuobZzmV2, value=679105625, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@87182d27, name=usage.5vo4C1F60s, value=1699786552, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@942aa620, name=usage.7DrFdumegv, value=958485731, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@953f7602, name=usage.8Gw6eMdRlS, value=1313772131, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@edf1cc52, name=usage.8I1bMCZSXK, value=1.85659829E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2599aba, name=usage.8cbqfVSFUc, value=2.07825722E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1178183e, name=usage.A8UhKooese, value=2105361848, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c5d65ffd, name=usage.AHe5R7Y3KY, value=1656176485, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@99571f60, name=usage.C4htnmqSnT, value=1469503788, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@94c9721e, name=usage.CG4rnu5ESr, value=2090342254, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@669fd7f3, name=usage.DdM0xXNcOl, value=342942542, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6156a64f, name=usage.DfVeSqJPSB, value=1345144239, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e4924cb7, name=usage.DyOfD8a200, value=979639574, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dc6a2f1d, name=usage.E9Pw66cFLh, value=3.4265238E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@76f64510, name=usage.EDpDv3J57P, value=1733302732, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dd106de, name=usage.EuVrSQ7CWZ, value=1547219209, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@caaeba1d, name=usage.FRzowmC8sK, value=605012933, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ea681103, name=usage.Ff9Ef64kdK, value=226806533, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@33861a8e, name=usage.G4SgnM7QBa, value=1694775321, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2db9506, name=usage.Gb_6P6orDF, value=126918621, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7638655, name=usage.Gdfg_RFCQy, value=225819491, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e20fdba6, name=usage.H5nz2U1oCN, value=1552374645, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bb45ce03, name=usage.Ib19D13NR7, value=1373988993, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@52f61bbd, name=usage.Ip_J045Oy2, value=512273772, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@37d61c40, name=usage.JNfDBhmNAr, value=1581750366, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@44231a5d, name=usage.JNjioO_IwC, value=1099202876, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a67f4881, name=usage.JyAzP9qOTr, value=1923423276, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e9879c70, name=usage.KBPhnxb5Id, value=1940426957, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f791b509, name=usage.KgVGCVSW3q, value=475936011, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b6be7a2d, name=usage.KkWfSZcWpv, value=1459198425, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6b3fc28f, name=usage.KqJA2Ay35C, value=1497262879, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5e947f6a, name=usage.KvXC1uQ4bD, value=4.1050758E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a4560eeb, name=usage.LXkL32uzki, value=1.1413282E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6d40a9c6, name=usage.LvgVXspiS4, value=1446443048, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@587ef629, name=usage.LzyGgUey19, value=705539895, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a4ba3d93, name=usage.M2Za_EIsSJ, value=938710424, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@15b7ca07, name=usage.MEp4VMrpbZ, value=591225166, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3a417c82, name=usage.MGzcUzk2id, value=3.9579303E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef5718ab, name=usage.MwUnf0tL5T, value=1.33509274E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8c16ee97, name=usage.PNkCxek1HR, value=461622764, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b040269, name=usage.PXPfDsh8Vl, value=6.172181E+7, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f68cf15b, name=usage.PcJ3r877Ou, value=1999169303, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@852966f, name=usage.QQDtyNPf04, value=65492648, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@385581da, name=usage.QoNEau7TMi, value=652785736, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d3287118, name=usage.Qr00sFpYq4, value=637508696, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2ab6f664, name=usage.QzWpOaQOwQ, value=1498420408, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dd5b101d, name=usage.RMUW1PYMuv, value=611438788, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8a806e81, name=usage.RnO_848_DA, value=1352893297, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3f7437c1, name=usage.RtSGbL8NMc, value=2036181169, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d3885a6e, name=usage.T0BllzpRp1, value=201594243, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@78311ab8, name=usage.T1HbFCEysH, value=388089319, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@798ae6c8, name=usage.TKQYX06cFj, value=1639122336, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17052aca, name=usage.TaYEus0k8o, value=647586869, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5c4e582c, name=usage.UPXT1Vk5sX, value=91304133, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4bb6e158, name=usage.UU879je4Hb, value=689067739, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@279be3bc, name=usage.U_j3yNulEo, value=679123999, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@693c14ec, name=usage.V1URIxGB5C, value=1055852748, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8338303c, name=usage.VHSrYNMKp5, value=1493373375, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4356f740, name=usage.VKrOeorPtM, value=1629822017, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c1523d56, name=usage.VawATIcKxQ, value=1701507431, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@eb874259, name=usage.VqH1nWQY0X, value=390515316, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ce76233c, name=usage.VseCdwpVJ5, value=2122284049, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c57218c, name=usage.VuqmcBvLEb, value=1158741915, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ab01e9a8, name=usage.WG6lFRGwEn, value=1238329201, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@29b7ebf4, name=usage.WYBXnYZcba, value=714673037, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ee2b79cd, name=usage.XCn2aOQeyy, value=1774099636, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@339a5fff, name=usage.XiDcWv8oJa, value=2037378658, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@81916845, name=usage.XsbE8N1Jso, value=1921165268, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a0f1a614, name=usage.YDPaagRmvd, value=55229965, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7bf173d0, name=usage.YrzID8aD9Z, value=2039813936, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@97a1555a, name=usage.ZG7GfvRGDm, value=909325979, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a9ac3af9, name=usage.ZXi8vLuv3_, value=2.5280916E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3dc49c89, name=usage._QpQADo9iC, value=1272681683, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6a796bdf, name=usage._kcwa6loQz, value=1911322254, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5d7cb16c, name=usage.aRoVhaO12A, value=3.6793745E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef6be027, name=usage.aiTpy1X_pw, value=1.0465672E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@39a8bfbd, name=usage.c2IPlM9gZ_, value=171646055, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1a8387c5, name=usage.c6jBnCc1f7, value=1852541958, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2d4ffbb5, name=usage.d2NPpQzZfM, value=179302489, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@871dc166, name=usage.d8s3rHE3QR, value=334676881, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@74f76d54, name=usage.dCHX6Yrm3s, value=849572323, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d607972, name=usage.dP4dU3hPHi, value=1151429211, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7fe6c218, name=usage.dhCjkzeAnF, value=1.82000497E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8068577f, name=usage.e_x3SjPdrZ, value=1329799179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7cd5a9a6, name=usage.eteCZaskmp, value=647739139, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8f1e3d0f, name=usage.fxrRhuMIGH, value=348956759, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a909c1d, name=usage.g7cJ2ExKz8, value=481844242, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@53eeed76, name=usage.gH6pNjZOPa, value=812494061, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bd8f9f52, name=usage.gdj6AbzK3J, value=1065249168, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@99c3800b, name=usage.hHtiBsPGm4, value=548242139, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ebc99e85, name=usage.ilTXkwbTqf, value=2132070015, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3da794e4, name=usage.iphcUaPEZq, value=400464114, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b553f13b, name=usage.j6R5BebU5Z, value=2025018765, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@db15d4db, name=usage.jg7oQ44fGT, value=1719176492, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7a3c645a, name=usage.kfV_MoSj1X, value=182726462, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cd7b8cac, name=usage.kmfPv554sv, value=1781533179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32f553b5, name=usage.ln4qHk8nlN, value=1317087759, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1bff90d1, name=usage.okoqpj4O4x, value=2.3432681E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@caaf0d1e, name=usage.oumNXuhMxv, value=1709438403, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5b2c9786, name=usage.pADCa1uZ6b, value=2026014425, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b369fd34, name=usage.pWzvdqN6UC, value=1998253446, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4eab9db8, name=usage.q4Z7EGRPQN, value=801903975, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3c3f20a8, name=usage.qJTVFJxNPi, value=2056394242, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@368924eb, name=usage.rblkvfZJBC, value=528232095, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@88ecd6a0, name=usage.rsRmGBojVk, value=1685172957, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f0e01f7b, name=usage.sgDy4oN4X6, value=1772848151, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c8222712, name=usage.sixwLPbLn9, value=603675268, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2a03eba, name=usage.t1ZZHIjgaz, value=1904006862, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@25fba0db, name=usage.ukHzdhzLsl, value=1123333996, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@918b0d84, name=usage.v3qqNVESYE, value=933901593, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@81912138, name=usage.wQSrJ5L177, value=1582495947, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3dd40024, name=usage.wqnYrIZiEO, value=1.8772329E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a17c0df2, name=usage.x2K0yVszp4, value=2085680839, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@90bfb39e, name=usage.yFfDM4lMjT, value=253795253, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d54f9902, name=usage.z1dVROY0Wo, value=540643057, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f061f6e7, name=usage.zMQRlS4i9o, value=1029774781, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@48ccacd5, name=usage.zUVwPSCvmy, value=1670868507, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@d793dcf5, name=duration, value=PercentageValues[p50=0.013, p90=0.3728, p99=0.5880799999999999], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4eab9db8, name=usage.q4Z7EGRPQN, value=801903975, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d54f9902, name=usage.z1dVROY0Wo, value=540643057, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@53eeed76, name=usage.gH6pNjZOPa, value=812494061, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3c3f20a8, name=usage.qJTVFJxNPi, value=2056394242, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4356f740, name=usage.VKrOeorPtM, value=1629822017, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5c4e582c, name=usage.UPXT1Vk5sX, value=91304133, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@81912138, name=usage.wQSrJ5L177, value=1582495947, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5d7cb16c, name=usage.aRoVhaO12A, value=3.6793745E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@99571f60, name=usage.C4htnmqSnT, value=1469503788, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@cd7b8cac, name=usage.kmfPv554sv, value=1781533179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5e947f6a, name=usage.KvXC1uQ4bD, value=4.1050758E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17d2174e, name=usage.3n7C1ld3E1, value=1554105861, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1bff90d1, name=usage.okoqpj4O4x, value=2.3432681E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@caaf0d1e, name=usage.oumNXuhMxv, value=1709438403, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7638655, name=usage.Gdfg_RFCQy, value=225819491, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@76f64510, name=usage.EDpDv3J57P, value=1733302732, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@11cd79c2, name=usage.3eDRo9a0jt, value=1784351179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c8222712, name=usage.sixwLPbLn9, value=603675268, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8f50f1b6, name=usage.2YJzRxl_Tj, value=103754432, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@852966f, name=usage.QQDtyNPf04, value=65492648, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8068577f, name=usage.e_x3SjPdrZ, value=1329799179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@97a1555a, name=usage.ZG7GfvRGDm, value=909325979, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef6be027, name=usage.aiTpy1X_pw, value=1.0465672E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6d40a9c6, name=usage.LvgVXspiS4, value=1446443048, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@5b2c9786, name=usage.pADCa1uZ6b, value=2026014425, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@edf1cc52, name=usage.8I1bMCZSXK, value=1.85659829E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@52f61bbd, name=usage.Ip_J045Oy2, value=512273772, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6b3fc28f, name=usage.KqJA2Ay35C, value=1497262879, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@caaeba1d, name=usage.FRzowmC8sK, value=605012933, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ee2b79cd, name=usage.XCn2aOQeyy, value=1774099636, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@88ecd6a0, name=usage.rsRmGBojVk, value=1685172957, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ab01e9a8, name=usage.WG6lFRGwEn, value=1238329201, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7bf173d0, name=usage.YrzID8aD9Z, value=2039813936, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@81916845, name=usage.XsbE8N1Jso, value=1921165268, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6a796bdf, name=usage._kcwa6loQz, value=1911322254, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@953f7602, name=usage.8Gw6eMdRlS, value=1313772131, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@87182d27, name=usage.5vo4C1F60s, value=1699786552, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e9879c70, name=usage.KBPhnxb5Id, value=1940426957, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8a806e81, name=usage.RnO_848_DA, value=1352893297, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef172d73, name=usage.5ZuobZzmV2, value=679105625, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c1523d56, name=usage.VawATIcKxQ, value=1701507431, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ea681103, name=usage.Ff9Ef64kdK, value=226806533, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@798ae6c8, name=usage.TKQYX06cFj, value=1639122336, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b040269, name=usage.PXPfDsh8Vl, value=6.172181E+7, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b6be7a2d, name=usage.KkWfSZcWpv, value=1459198425, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4af184ed, name=usage.167e8ddV5i, value=2041802928, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@44231a5d, name=usage.JNjioO_IwC, value=1099202876, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7cd5a9a6, name=usage.eteCZaskmp, value=647739139, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a0f1a614, name=usage.YDPaagRmvd, value=55229965, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a4560eeb, name=usage.LXkL32uzki, value=1.1413282E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2599aba, name=usage.8cbqfVSFUc, value=2.07825722E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d607972, name=usage.dP4dU3hPHi, value=1151429211, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bd8f9f52, name=usage.gdj6AbzK3J, value=1065249168, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@25fba0db, name=usage.ukHzdhzLsl, value=1123333996, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bb45ce03, name=usage.Ib19D13NR7, value=1373988993, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e15d615c, name=usage.0IJiNLaYbS, value=1910564081, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a17c0df2, name=usage.x2K0yVszp4, value=2085680839, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f68cf15b, name=usage.PcJ3r877Ou, value=1999169303, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@99c3800b, name=usage.hHtiBsPGm4, value=548242139, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3da794e4, name=usage.iphcUaPEZq, value=400464114, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e20fdba6, name=usage.H5nz2U1oCN, value=1552374645, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1178183e, name=usage.A8UhKooese, value=2105361848, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@339a5fff, name=usage.XiDcWv8oJa, value=2037378658, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@693c14ec, name=usage.V1URIxGB5C, value=1055852748, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@15b7ca07, name=usage.MEp4VMrpbZ, value=591225166, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ebc99e85, name=usage.ilTXkwbTqf, value=2132070015, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7a3c645a, name=usage.kfV_MoSj1X, value=182726462, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@eb874259, name=usage.VqH1nWQY0X, value=390515316, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8f1e3d0f, name=usage.fxrRhuMIGH, value=348956759, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3a417c82, name=usage.MGzcUzk2id, value=3.9579303E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a4ba3d93, name=usage.M2Za_EIsSJ, value=938710424, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@587ef629, name=usage.LzyGgUey19, value=705539895, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ce76233c, name=usage.VseCdwpVJ5, value=2122284049, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17052aca, name=usage.TaYEus0k8o, value=647586869, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@39a8bfbd, name=usage.c2IPlM9gZ_, value=171646055, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3dc49c89, name=usage._QpQADo9iC, value=1272681683, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@29b7ebf4, name=usage.WYBXnYZcba, value=714673037, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2db9506, name=usage.Gb_6P6orDF, value=126918621, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@9fea875d, name=usage.04gtMILNP9, value=762570977, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dd5b101d, name=usage.RMUW1PYMuv, value=611438788, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@90bfb39e, name=usage.yFfDM4lMjT, value=253795253, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1a8387c5, name=usage.c6jBnCc1f7, value=1852541958, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f791b509, name=usage.KgVGCVSW3q, value=475936011, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4fac1ec4, name=usage.0WWQRNLD9G, value=473511173, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a9ac3af9, name=usage.ZXi8vLuv3_, value=2.5280916E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@db15d4db, name=usage.jg7oQ44fGT, value=1719176492, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a909c1d, name=usage.g7cJ2ExKz8, value=481844242, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d3885a6e, name=usage.T0BllzpRp1, value=201594243, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@32f553b5, name=usage.ln4qHk8nlN, value=1317087759, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@48ccacd5, name=usage.zUVwPSCvmy, value=1670868507, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c5d65ffd, name=usage.AHe5R7Y3KY, value=1656176485, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8338303c, name=usage.VHSrYNMKp5, value=1493373375, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2ab6f664, name=usage.QzWpOaQOwQ, value=1498420408, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c57218c, name=usage.VuqmcBvLEb, value=1158741915, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f0e01f7b, name=usage.sgDy4oN4X6, value=1772848151, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@94c9721e, name=usage.CG4rnu5ESr, value=2090342254, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f061f6e7, name=usage.zMQRlS4i9o, value=1029774781, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@669fd7f3, name=usage.DdM0xXNcOl, value=342942542, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b369fd34, name=usage.pWzvdqN6UC, value=1998253446, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dd106de, name=usage.EuVrSQ7CWZ, value=1547219209, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2a03eba, name=usage.t1ZZHIjgaz, value=1904006862, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@74f76d54, name=usage.dCHX6Yrm3s, value=849572323, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6efa9a42, name=usage.1QyAVHR7hr, value=411824109, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@385581da, name=usage.QoNEau7TMi, value=652785736, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3f7437c1, name=usage.RtSGbL8NMc, value=2036181169, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@3dd40024, name=usage.wqnYrIZiEO, value=1.8772329E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@33861a8e, name=usage.G4SgnM7QBa, value=1694775321, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e4924cb7, name=usage.DyOfD8a200, value=979639574, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@2d4ffbb5, name=usage.d2NPpQzZfM, value=179302489, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@368924eb, name=usage.rblkvfZJBC, value=528232095, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@78311ab8, name=usage.T1HbFCEysH, value=388089319, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@279be3bc, name=usage.U_j3yNulEo, value=679123999, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@37d61c40, name=usage.JNfDBhmNAr, value=1581750366, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a67f4881, name=usage.JyAzP9qOTr, value=1923423276, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8c16ee97, name=usage.PNkCxek1HR, value=461622764, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dc6a2f1d, name=usage.E9Pw66cFLh, value=3.4265238E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef5718ab, name=usage.MwUnf0tL5T, value=1.33509274E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4bb6e158, name=usage.UU879je4Hb, value=689067739, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d3287118, name=usage.Qr00sFpYq4, value=637508696, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@918b0d84, name=usage.v3qqNVESYE, value=933901593, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@942aa620, name=usage.7DrFdumegv, value=958485731, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@7fe6c218, name=usage.dhCjkzeAnF, value=1.82000497E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@871dc166, name=usage.d8s3rHE3QR, value=334676881, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@b553f13b, name=usage.j6R5BebU5Z, value=2025018765, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6156a64f, name=usage.DfVeSqJPSB, value=1345144239, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd612, name=trace_count, value=5, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@cc51a19d, name=duration, value=PercentageValues[p50=0.014, p90=0.3738000000000001, p99=0.58908], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf790bf, name=input, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d59e, name=output, value=5, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad91c, name=metadata, value=5, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@9fea875d, name=usage.04gtMILNP9, value=762570977, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e15d615c, name=usage.0IJiNLaYbS, value=1910564081, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4fac1ec4, name=usage.0WWQRNLD9G, value=473511173, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@4af184ed, name=usage.167e8ddV5i, value=2041802928, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6efa9a42, name=usage.1QyAVHR7hr, value=411824109, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@8f50f1b6, name=usage.2YJzRxl_Tj, value=103754432, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@11cd79c2, name=usage.3eDRo9a0jt, value=1784351179, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17d2174e, name=usage.3n7C1ld3E1, value=1554105861, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ef172d73, name=usage.5ZuobZzmV2, value=679105625, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@87182d27, name=usage.5vo4C1F60s, value=1699786552, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@942aa620, name=usage.7DrFdumegv, value=958485731, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@953f7602, name=usage.8Gw6eMdRlS, value=1313772131, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@edf1cc52, name=usage.8I1bMCZSXK, value=1.85659829E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2599aba, name=usage.8cbqfVSFUc, value=2.07825722E+9, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1178183e, name=usage.A8UhKooese, value=2105361848, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c5d65ffd, name=usage.AHe5R7Y3KY, value=1656176485, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@99571f60, name=usage.C4htnmqSnT, value=1469503788, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@94c9721e, name=usage.CG4rnu5ESr, value=2090342254, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@669fd7f3, name=usage.DdM0xXNcOl, value=342942542, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@6156a64f, name=usage.DfVeSqJPSB, value=1345144239, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e4924cb7, name=usage.DyOfD8a200, value=979639574, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dc6a2f1d, name=usage.E9Pw66cFLh, value=3.4265238E+8, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@76f64510, name=usage.EDpDv3J57P, value=1733302732, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@dd106de, name=usage.EuVrSQ7CWZ, value=1547219209, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@caaeba1d, name=usage.FRzowmC8sK, value=605012933, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@ea681103, name=usage.Ff9Ef64kdK, value=226806533, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@33861a8e, name=usage.G4SgnM7QBa, value=1694775321, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@d2db9506, name=usage.Gb_6P6orDF, value=126918621, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7638655, name=usage.Gdfg_RFCQy, value=225819491, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e20fdba6, name=usage.H5nz2U1oCN, value=1552374645, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@bb45ce03, name=usage.Ib19D13NR7, value=1373988993, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@52f61bbd, name=usage.Ip_J045Oy2, value=512273772, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@37d61c40, name=usage.JNfDBhmNAr, value=1581750366, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@44231a5d, name=usage.JNjioO_IwC, value=1099202876, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@a67f4881, name=usage.JyAzP9qOTr, value=1923423276, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@e9879c70, name=usage.KBPhnxb5Id, value=1940426957, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@f791b509, name=u
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterTagsContains__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6644
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@7a010b91
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterNameEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5402
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@30cd4293
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataGreaterThanNumber__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6285
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@48f473b2
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageGreaterThan__thenReturnTracesFiltered(String, Field)[1]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6749
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@593a0dab
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageGreaterThan__thenReturnTracesFiltered(String, Field)[2]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6749
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@492edbae, name=duration, value=PercentageValues[p50=0.022, p90=0.022, p99=0.022], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@492edbae, name=duration, value=PercentageValues[p50=0.022, p90=0.022, p99=0.022], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@542b6d3e
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageGreaterThan__thenReturnTracesFiltered(String, Field)[3]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6749
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9b991a9a, name=duration, value=PercentageValues[p50=0.046, p90=0.046, p99=0.046], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@18d6fe58, name=usage.total_tokens, value=456.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@a3f53bb0, name=duration, value=PercentageValues[p50=0.045, p90=0.045, p99=0.045], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@18d6fe58, name=usage.total_tokens, value=456.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9b991a9a, name=duration, value=PercentageValues[p50=0.046, p90=0.046, p99=0.046], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@18d6fe58, name=usage.total_tokens, value=456.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@a3f53bb0, name=duration, value=PercentageValues[p50=0.045, p90=0.045, p99=0.045], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@18d6fe58, name=usage.total_tokens, value=456.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@a3f53bb0, name=duration, value=PercentageValues[p50=0.045, p90=0.045, p99=0.045], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@25e91e86
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterMetadataEqualBoolean__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6014
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@64042c6, name=duration, value=PercentageValues[p50=0.053, p90=0.053, p99=0.053], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb867a20, name=duration, value=PercentageValues[p50=0.052, p90=0.052, p99=0.052], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@64042c6, name=duration, value=PercentageValues[p50=0.053, p90=0.053, p99=0.053], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb867a20, name=duration, value=PercentageValues[p50=0.052, p90=0.052, p99=0.052], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@eb867a20, name=duration, value=PercentageValues[p50=0.052, p90=0.052, p99=0.052], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@776c68bd
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterInputEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5841
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f7b9e93d, name=duration, value=PercentageValues[p50=0.034, p90=0.034, p99=0.034], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@f7b9e93d, name=duration, value=PercentageValues[p50=0.034, p90=0.034, p99=0.034], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@1fba260
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageEqual__thenReturnTracesFiltered(String, Field)[1]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6701
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7f802c4, name=usage.completion_tokens, value=374742661, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7f802c4, name=usage.completion_tokens, value=374742661, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7f802c4, name=usage.completion_tokens, value=374742661, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@c7f802c4, name=usage.completion_tokens, value=374742661, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ec689dfd, name=duration, value=PercentageValues[p50=0.031, p90=0.031, p99=0.031], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@2017176f
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageEqual__thenReturnTracesFiltered(String, Field)[3]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6701
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ca164ef6, name=duration, value=PercentageValues[p50=0.03, p90=0.03, p99=0.03], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17cfea3f, name=usage.total_tokens, value=1329110218, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@bd52301f, name=duration, value=PercentageValues[p50=0.029, p90=0.029, p99=0.029], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17cfea3f, name=usage.total_tokens, value=1329110218, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@ca164ef6, name=duration, value=PercentageValues[p50=0.03, p90=0.03, p99=0.03], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17cfea3f, name=usage.total_tokens, value=1329110218, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@bd52301f, name=duration, value=PercentageValues[p50=0.029, p90=0.029, p99=0.029], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@17cfea3f, name=usage.total_tokens, value=1329110218, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@bd52301f, name=duration, value=PercentageValues[p50=0.029, p90=0.029, p99=0.029], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@3ae17ffa
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterEndTimeEqual__thenReturnTracesFiltered:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L5803
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@67c83ae3
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageGreaterThanEqual__thenReturnTracesFiltered(String, Field)[1]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6797
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@e2bcfd47, name=duration, value=PercentageValues[p50=0.033, p90=0.033, p99=0.033], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@332f39d6, name=usage.completion_tokens, value=456.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9429e60e, name=duration, value=PercentageValues[p50=0.032, p90=0.032, p99=0.032], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@203bd2
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
TracesResourceTest$GetTraceStats.getTraceStats__whenFilterUsageGreaterThanEqual__thenReturnTracesFiltered(String, Field)[2]:
apps/opik-backend/target/test-classes/com/comet/opik/api/resources/v1/priv/TracesResourceTest$GetTraceStats.class#L6797
Expecting actual:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
to be equal to:
[ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
when recursively comparing field by field, but found the following difference:
Top level actual and expected objects differ:
- actual value : [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@c805c872, name=duration, value=PercentageValues[p50=0.021, p90=0.021, p99=0.021], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
- expected value: [ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@317fd526, name=trace_count, value=1, type=COUNT))),
ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE)),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@9cf78fd3, name=input, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@52c7d4b2, name=output, value=1, type=COUNT))),
ProjectStats.CountValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$CountValueStat@8dbad830, name=metadata, value=1, type=COUNT))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@55509c21, name=tags, value=5.0, type=AVG))),
ProjectStats.AvgValueStat(super=ProjectStats.SingleValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$AvgValueStat@1293480e, name=usage.prompt_tokens, value=456.0, type=AVG)))]
The following expected elements were not matched in the actual ArrayList:
[ProjectStats.PercentageValueStat(super=ProjectStats.ProjectStatItem(super=com.comet.opik.api.ProjectStats$PercentageValueStat@9a44c761, name=duration, value=PercentageValues[p50=0.02, p90=0.02, p99=0.02], type=PERCENTAGE))]
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: createdAt, lastUpdatedAt, createdBy, lastUpdatedBy
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- collection order was ignored in all fields in the comparison
- these types were compared with the following comparators:
- com.comet.opik.api.ProjectStats$PercentageValues -> java.util.Comparator$$Lambda/0x00007f98e0ceaf48@4e90bbe6
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- java.math.BigDecimal -> com.comet.opik.api.resources.v1.priv.TracesResourceTest$GetTraceStats$$Lambda/0x00007f98e139d210@664e3509
- java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
|
run-backend-tests
❌ Tests reported 31 failures
|