[Go to site: main page, start]

OBJECT

CodingSolution

Solution submitted to a coding question.

link GraphQL Schema definition

1type CodingSolution implements TaskSolution {
2
3id: ID!
4
5plagiarismLabel: PlagiarismLabel @deprecated( reason: "Use integrityReport.solutionSimilarity.score on TestSessionTaskResult instead" )
6
7# Files submitted as a solution. For company tests and interviews, this includes
8# the question's
9# hidden and read-only files.
10#
11# - Cost complexity: 2
12#
13# Arguments
14# editableOnly: Return only the files the candidate could edit,
15# where isReadOnly is false.
16sources(editableOnly: Boolean): [SolutionSource]!
17
18# A standalone URL to the solution.
19#
20# - Cost complexity: 1
21url: String!
22
23# Name of the execution environment or testing tool the solution ran with, such as
24# `py3` or
25# `mocha`. Null when the question doesn't use one.
26executionEnvironment: String
27
28# Test case outcomes. Null when no test cases ran, for example on ungraded
29# question types, compile
30# errors or older submissions.
31testCases: TestCaseResults
32
33}

link Required by

This element is not required by anyone