Skip to content

Commit 5fc79eb

Browse files
authored
Deprecate plagiarism fields in webhooks (#56)
1 parent d6abbd3 commit 5fc79eb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/webhooks/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ <h4 id="preScreenResultShared">preScreenResultShared</h4>
442442
duration: number,
443443
score: number,
444444
maxScore: number | null | undefined,
445-
plagiarismLevel: number,
446-
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
445+
plagiarismLevel: number, // deprecated
446+
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
447447
url: string,
448448
codingScore?: number | null, // deprecated; use versionedCodingScore instead
449449
versionedCodingScore?: {
@@ -471,8 +471,8 @@ <h4 id="preScreenResultShared">preScreenResultShared</h4>
471471
version: 'codingScore2023',
472472
value: 575
473473
},
474-
plagiarismLevel: 0.5,
475-
plagiarismLabel: 'medium',
474+
plagiarismLevel: 0,
475+
plagiarismLabel: '-',
476476
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
477477
}
478478
};</code></pre>
@@ -610,8 +610,8 @@ <h4 id="companyTestSessionFinished">companyTestSessionFinished</h4>
610610
version: 'original' | 'codingScore2023',
611611
value: number,
612612
},
613-
plagiarismLevel: number,
614-
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
613+
plagiarismLevel: number, // deprecated
614+
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
615615
url: string,
616616
}
617617
};</code></pre>
@@ -633,8 +633,8 @@ <h4 id="companyTestSessionFinished">companyTestSessionFinished</h4>
633633
version: 'codingScore2023',
634634
value: 575
635635
},
636-
plagiarismLevel: 0.5,
637-
plagiarismLabel: 'medium',
636+
plagiarismLevel: 0,
637+
plagiarismLabel: '-',
638638
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
639639
}
640640
};</code></pre>
@@ -736,8 +736,8 @@ <h4 id="preScreenResultVerified">preScreenResultVerified</h4>
736736
version: 'original' | 'codingScore2023',
737737
value: number,
738738
},
739-
plagiarismLevel: number,
740-
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-',
739+
plagiarismLevel: number, // deprecated
740+
plagiarismLabel: 'none' | 'low' | 'medium' | 'high' | '-', // deprecated
741741
url: string,
742742
}
743743
};</code></pre>
@@ -759,8 +759,8 @@ <h4 id="preScreenResultVerified">preScreenResultVerified</h4>
759759
version: 'codingScore2023',
760760
value: 575
761761
},
762-
plagiarismLevel: 0.5,
763-
plagiarismLabel: 'medium',
762+
plagiarismLevel: 0,
763+
plagiarismLabel: '-',
764764
url: https://app.codesignal.com/test-result/oH3qeBC38oFsf7qB4?accessToken=A7HnBpab4aD7xm7Kp-iPhk2se5Wnxeg7x9GruANLzn
765765
}
766766
};</code></pre>

0 commit comments

Comments
 (0)