Prediction site¶
These schemas specify how the prediction site is configured and how the data used by the visualization is formatted. The Prediction API makes use of these schemas as well as some metadata schemas.
Prediction branches¶
branches¶
type |
object |
|||||
properties |
||||||
|
type |
array |
||||
items |
type |
object |
||||
properties |
||||||
|
Name of a branch. Only branches which start with the organization name and a dash are available on an endpoint for a specific organization (with this part stripped), while a combined endpoint has a subset of the other branches (not matching any of the known organizations). |
|||||
type |
string |
|||||
pattern |
^[-_0-9a-zA-Z]+$ |
|||||
|
type |
object |
||||
properties |
||||||
|
Description of the branch. |
|||||
oneOf |
type |
string |
||||
type |
null |
|||||
|
Number of milliseconds that the latest prediction run for this branch took. |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
|
Number of milliseconds since the UNIX epoch (January 1, 1970 at 00:00:00) at the moment that the latest prediction run for this branch started. |
|||||
type |
integer |
|||||
minimum |
0 |
Prediction site configuration¶
config-prediction-site¶
type |
object |
||
properties |
|||
|
type |
string |
|
format |
uri-reference |
||
|
type |
string |
|
pattern |
^[a-zA-Z]{2,3}(-.*)?$ |
||
|
|||
|
type |
string |
|
format |
uri-reference |
||
|
oneOf |
type |
object |
properties |
|||
|
|||
|
|||
|
oneOf |
type |
object |
properties |
|||
|
|||
|
|||
|
type |
string |
|
format |
uri-reference |
||
|
type |
string |
|
format |
uri-reference |
||
|
type |
string |
|
format |
uri-reference |
||
|
type |
string |
|
format |
uri-reference |
||
|
type |
string |
|
format |
uri |
||
|
type |
string |
|
format |
uri-reference |
||
allOf |
branches_filter¶
type |
string |
format |
regex |
branches_alter¶
type |
string |
format |
regex |
Prediction model configuration¶
https://gros.liacs.nl/schema/prediction-site/configuration.json |
configuration¶
type |
object |
||||
properties |
|||||
|
type |
object |
|||
properties |
|||||
|
Expression of the label used as target output in the model. |
||||
type |
string |
||||
|
type |
array |
|||
items |
Name of a feature used as part of the expression for the target output label. |
||||
type |
string |
||||
|
type |
object |
|||
patternProperties |
|||||
|
type |
object |
|||
properties |
|||||
|
Expression that is used to assign the generated feature. |
||||
type |
string |
||||
|
type |
array |
|||
items |
Feature used in an assignment of another generated feature. |
||||
type |
string |
||||
|
type |
array |
|||
items |
Identifier of an organization whose projects and sprints are used in the data set. |
||||
type |
string |
||||
|
type |
array |
|||
items |
Name of a feature used as input for the model. |
||||
type |
string |
||||
|
type |
array |
|||
items |
Name of a column of the data set used as metadata. |
||||
type |
string |
||||
|
Identifier of the model used. |
||||
type |
string |
||||
|
Treshold at which a label value is converted to a binary classification, if provided. |
||||
oneOf |
type |
number |
|||
type |
null |
||||
|
Whether input values were weighted to produce values at similar scales as input for the model. |
||||
type |
boolean |
||||
|
Whether the data set was resampled (some sample sprints provided more often) in order to create proportionally balanced subsets with normal distributions of the target label, when provided in batches to the model. |
||||
type |
boolean |
||||
|
Earliest date and time of the sprints included in the data set that this model was trained/tested/validated on. |
||||
type |
string |
||||
format |
date-time |
||||
|
Latest date and time of the sprints included in the data set that this model was trained/tested/validated on. |
||||
type |
string |
||||
format |
date-time |
Prediction files¶
files¶
type |
object |
||
properties |
|||
|
type |
object |
|
properties |
|||
|
type |
array |
|
items |
file¶
type |
object |
|
properties |
||
|
Kind of the file.
|
|
type |
string |
|
enum |
dir, file |
|
|
MIME type of the file. |
|
type |
string |
|
pattern |
^[a-z-]+/[a-z-]+$ |
|
|
Filename of the file. |
|
type |
string |
Sprint prediction¶
https://gros.liacs.nl/schema/prediction-site/sprint_prediction.json |
sprint_prediction¶
type |
object |
|||
properties |
||||
|
Classification or estimation label for the sprint from the model. |
|||
type |
integer |
|||
|
oneOf |
Reliability of the predicted label for the sprint according to the estimator model. |
||
type |
number |
|||
maximum |
1.0 |
|||
minimum |
0.0 |
|||
type |
null |
|||
|
oneOf |
Chance that the sprint will receive a negative classification after all, based on internal activations of the estimator model but with external normalized scale. |
||
type |
number |
|||
maximum |
1.0 |
|||
minimum |
0.0 |
|||
type |
null |
|||
|
oneOf |
type |
object |
|
patternProperties |
||||
|
type |
number |
||
type |
null |
|||
|
Details on sprints that the model detected to be closest to the sprint. |
|||
oneOf |
type |
array |
||
items |
||||
type |
null |
|||
|
||||
|
Information about the age of data retrieved from originating systems. |
|||
type |
object |
|||
patternProperties |
||||
|
||||
allOf |
sprint¶
type |
object |
||
properties |
|||
|
Identifier of the project which the sprint that is being labeled is from. |
||
type |
string |
||
|
Internal identifier of the project. |
||
oneOf |
type |
string |
|
type |
integer |
||
minimum |
1 |
||
|
Identifier of the sprint. |
||
type |
integer |
||
minimum |
1 |
||
|
Internal identifier of the sprint |
||
type |
integer |
||
minimum |
1 |
||
|
Identifier of the Scrum board in the issue tracker where the sprint is found. |
||
oneOf |
type |
integer |
|
minimum |
1 |
||
type |
null |
||
|
Name of the sprint. |
||
type |
string |
||
|
The moment that the sprint starts. |
||
|
The moment that the sprint ends. |
||
|
List of feature names that are applicable to the sprint. |
||
type |
array |
||
items |
type |
string |
analogy¶
type |
object |
|
properties |
||
|
Labels of the nearby sprint. |
|
type |
integer |
|
allOf |
features¶
type |
object |
||
patternProperties |
|||
|
oneOf |
type |
number |
type |
null |
datetime¶
type |
string |
pattern |
^[1-9][0-9][0-9][0-9]-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) [0-9][0-9]:[0-9][0-9]:[0-9][0-9]$ |
Prediction sprint list¶
prediction-sprints¶
Sprints for which a prediction is available. |
|||
type |
array |
||
items |
type |
object |
|
properties |
|||
|
The name of the sprint. |
||
type |
string |
||
|
The sequential number of the sprint in the project’s lifespan. |
||
type |
integer |
||
minimum |
1 |
||
|
Identifier of the sprint. |
||
type |
integer |
||
minimum |
1 |