Add falsePositiveScore

This commit is contained in:
Ivan Malison 2024-07-28 02:06:39 -06:00
parent 378878967a
commit e20b68799f
3 changed files with 65 additions and 0 deletions

View File

@ -140,6 +140,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -170,6 +171,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -200,6 +202,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -230,6 +233,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -260,6 +264,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -290,6 +295,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -320,6 +326,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -350,6 +357,7 @@ export type FilterInput =
cueObjectDistance: RangeFilter; cueObjectDistance: RangeFilter;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -380,6 +388,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject: RangeFilter; cueSpeedAfterObject: RangeFilter;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -410,6 +419,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty: RangeFilter; difficulty: RangeFilter;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -440,6 +450,38 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore: RangeFilter;
intendedPocketType?: never;
isDirect?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
kickAngle?: never;
kickDistance?: never;
make?: never;
notFilter?: never;
orFilters?: never;
shotDirection?: never;
spinType?: never;
tags?: never;
targetPocketDistance?: never;
userId?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
bankAngle?: never;
bankDistance?: never;
cueAngleAfterObject?: never;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
cueSpeedAfterObject?: never;
difficulty?: never;
falsePositiveScore?: never;
intendedPocketType: Array<PocketEnum>; intendedPocketType: Array<PocketEnum>;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -470,6 +512,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect: Array<Scalars["Boolean"]["input"]>; isDirect: Array<Scalars["Boolean"]["input"]>;
isLeft?: never; isLeft?: never;
@ -500,6 +543,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft: Array<Scalars["Boolean"]["input"]>; isLeft: Array<Scalars["Boolean"]["input"]>;
@ -530,6 +574,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -560,6 +605,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -590,6 +636,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -620,6 +667,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -650,6 +698,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -680,6 +729,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -710,6 +760,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -740,6 +791,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -770,6 +822,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -800,6 +853,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -830,6 +884,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -860,6 +915,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -890,6 +946,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -920,6 +977,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -950,6 +1008,7 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -1211,6 +1270,7 @@ export type ShotGql = {
createdAt?: Maybe<Scalars["DateTime"]["output"]>; createdAt?: Maybe<Scalars["DateTime"]["output"]>;
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>; cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
endFrame: Scalars["Int"]["output"]; endFrame: Scalars["Int"]["output"];
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>; pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
serializedShotPaths?: Maybe<SerializedShotPathsGql>; serializedShotPaths?: Maybe<SerializedShotPathsGql>;
@ -1511,6 +1571,7 @@ export type GetShotsQuery = {
videoId: number; videoId: number;
startFrame: number; startFrame: number;
endFrame: number; endFrame: number;
falsePositiveScore?: number | null;
createdAt?: any | null; createdAt?: any | null;
updatedAt?: any | null; updatedAt?: any | null;
user?: { __typename?: "UserGQL"; id: number } | null; user?: { __typename?: "UserGQL"; id: number } | null;
@ -2337,6 +2398,7 @@ export const GetShotsDocument = gql`
user { user {
id id
} }
falsePositiveScore
createdAt @include(if: $includeCreatedAt) createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt) updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) { cueObjectFeatures @include(if: $includeCueObjectFeatures) {

View File

@ -20,6 +20,7 @@ query GetShots(
user { user {
id id
} }
falsePositiveScore
createdAt @include(if: $includeCreatedAt) createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt) updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) { cueObjectFeatures @include(if: $includeCueObjectFeatures) {

View File

@ -98,6 +98,7 @@ input FilterInput @oneOf {
cueAngleAfterObject: RangeFilter cueAngleAfterObject: RangeFilter
cueSpeedAfterObject: RangeFilter cueSpeedAfterObject: RangeFilter
spinType: [String!] spinType: [String!]
falsePositiveScore: RangeFilter
} }
input RangeFilter { input RangeFilter {
@ -165,6 +166,7 @@ type ShotGQL {
serializedShotPaths: SerializedShotPathsGQL serializedShotPaths: SerializedShotPathsGQL
user: UserGQL user: UserGQL
annotations: [ShotAnnotationGQL!]! annotations: [ShotAnnotationGQL!]!
falsePositiveScore: Float
} }
""" """