From 1248ec987bed9b822bc4c806e3cf6096b399ae7f Mon Sep 17 00:00:00 2001
From: asun852 <181750412+asun852@users.noreply.github.com>
Date: Wed, 29 Jan 2025 13:59:54 -0500
Subject: [PATCH] Deprecate plagiarism fields in webhooks
---
docs/webhooks/index.html | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/webhooks/index.html b/docs/webhooks/index.html
index 8e7a64e..35e4710 100644
--- a/docs/webhooks/index.html
+++ b/docs/webhooks/index.html
@@ -442,8 +442,8 @@
preScreenResultShared
duration: number,
score: number,
maxScore: number | null | undefined,
- plagiarismLevel: number,
- plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
+ plagiarismLevel: number, // deprecated
+ plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
url: string,
codingScore?: number | null, // deprecated; use versionedCodingScore instead
versionedCodingScore?: {
@@ -471,8 +471,8 @@ preScreenResultShared
version: 'codingScore2023',
value: 575
},
- plagiarismLevel: 0.5,
- plagiarismLabel: 'medium',
+ plagiarismLevel: 0,
+ plagiarismLabel: '-',
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
}
};
@@ -610,8 +610,8 @@ companyTestSessionFinished
version: 'original' | 'codingScore2023',
value: number,
},
- plagiarismLevel: number,
- plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
+ plagiarismLevel: number, // deprecated
+ plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
url: string,
}
};
@@ -633,8 +633,8 @@ companyTestSessionFinished
version: 'codingScore2023',
value: 575
},
- plagiarismLevel: 0.5,
- plagiarismLabel: 'medium',
+ plagiarismLevel: 0,
+ plagiarismLabel: '-',
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
}
};
@@ -736,8 +736,8 @@ preScreenResultVerified
version: 'original' | 'codingScore2023',
value: number,
},
- plagiarismLevel: number,
- plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
+ plagiarismLevel: number, // deprecated
+ plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
url: string,
}
};
@@ -759,8 +759,8 @@ preScreenResultVerified
version: 'codingScore2023',
value: 575
},
- plagiarismLevel: 0.5,
- plagiarismLabel: 'medium',
+ plagiarismLevel: 0,
+ plagiarismLabel: '-',
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
}
};