Compare commits

..

3 Commits

Author SHA1 Message Date
b40f1c9e87 Merge branch 'master' into kat/create-get-video-for-clip-calculation
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-07-30 00:59:48 -06:00
64593f09b7 Add include_on_none in range filter 2024-07-29 17:21:09 -06:00
e20b68799f Add falsePositiveScore 2024-07-28 02:06:39 -06:00
3 changed files with 67 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;
@ -1170,6 +1229,7 @@ export type QueryGetVideosArgs = {
export type RangeFilter = { export type RangeFilter = {
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>; greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
includeOnNone?: Scalars["Boolean"]["input"];
lessThan?: InputMaybe<Scalars["Float"]["input"]>; lessThan?: InputMaybe<Scalars["Float"]["input"]>;
}; };
@ -1211,6 +1271,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 +1572,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;
@ -2366,6 +2428,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,11 +98,13 @@ input FilterInput @oneOf {
cueAngleAfterObject: RangeFilter cueAngleAfterObject: RangeFilter
cueSpeedAfterObject: RangeFilter cueSpeedAfterObject: RangeFilter
spinType: [String!] spinType: [String!]
falsePositiveScore: RangeFilter
} }
input RangeFilter { input RangeFilter {
lessThan: Float = null lessThan: Float = null
greaterThanEqualTo: Float = null greaterThanEqualTo: Float = null
includeOnNone: Boolean! = false
} }
enum PocketEnum { enum PocketEnum {
@ -165,6 +167,7 @@ type ShotGQL {
serializedShotPaths: SerializedShotPathsGQL serializedShotPaths: SerializedShotPathsGQL
user: UserGQL user: UserGQL
annotations: [ShotAnnotationGQL!]! annotations: [ShotAnnotationGQL!]!
falsePositiveScore: Float
} }
""" """