Skip to content

Commit

Permalink
Merge branch 'master' into include_deleted_property
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott771 authored Aug 11, 2021
2 parents 65bd528 + 59eced7 commit ead6806
Show file tree
Hide file tree
Showing 109 changed files with 9,120 additions and 968 deletions.
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d7b739f8a313db4ed3894e3221d4cf10
config: c5cbe4a7624d7549079e7846d28d9da6
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions docs/_sources/auto-review.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Using Auto Review
Auto review is currently only available via api call. To use it, the following steps must be performed:

- Submit a document through your workflow
- Retreive the submission
- Retrieve the submission
- Add a flag on each prediction result you wish to Auto Review in the submission to designate if you would like to accept or reject it
- Submit the changes to Review

Expand All @@ -31,7 +31,7 @@ Example usage of Auto Review::
workflow_id=workflow_id, files=["my_file.pdf"]
)
)
# Retreive the submission results
# Retrieve the submission results
submissions = client.call(WaitForSubmissions(submission_ids))
submission = submissions[0]
raw_result = client.call(RetrieveStorageObject(submission.result_file))
Expand Down Expand Up @@ -79,7 +79,7 @@ When submitting changes for a given document using SubmitReview, you can reject

Accepting No Value
==================
Even when all predictions are accepted, a reviewer will still need to manually accept any labels that are empty. However, you can automatically accept empty values for specific lables using the "_no_value" key. Within the model results, set the dictionary key "_no_value" equal to a dictionary containing the name of your model keying to a list of labels. This list of labels should contain all the labels you would like to automatically accept empty values for. Accepted empty labels will appear in review as accepted labels. Please note that you can only auto-accept empty labels that do not contain any predictions. Labels that contain predictions should not be inlcuded in the list of no value labels. In the example below empty labels are only accepted if the specified label is not present in the predictions::
Even when all predictions are accepted, a reviewer will still need to manually accept any labels that are empty. However, you can automatically accept empty values for specific labels using the "_no_value" key. Within the model results, set the dictionary key "_no_value" equal to a dictionary containing the name of your model keying to a list of labels. This list of labels should contain all the labels you would like to automatically accept empty values for. Accepted empty labels will appear in review as accepted labels. Please note that you can only auto-accept empty labels that do not contain any predictions. Labels that contain predictions should not be inlcuded in the list of no value labels. In the example below empty labels are only accepted if the specified label is not present in the predictions::

from indico.queries import (
WorkflowSubmission,
Expand All @@ -93,7 +93,7 @@ Even when all predictions are accepted, a reviewer will still need to manually a
workflow_id=workflow_id, files=["my_file.pdf"]
)
)
# Retreive the submission results
# Retrieve the submission results
submissions = client.call(WaitForSubmissions(submission_ids))
submission = submissions[0]
raw_result = client.call(RetrieveStorageObject(submission.result_file))
Expand Down
4 changes: 2 additions & 2 deletions docs/_sources/docextract_settings.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ Force Render

Setting::

"force_render": True
"force_render": False (default)
"force_render": True (default since IPA 4.7.0)
"force_render": False (default prior to IPA 4.7.0)

Force rendering of the document. Beware of increased computation cost for increased reliability of page rendering.
Only use this setting if you know you’ve got a problem that requires it.
Expand Down
5 changes: 5 additions & 0 deletions docs/_sources/document_report.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*****************
Document Report Metrics
*****************

.. autoclass:: indico.queries.document_report.GetDocumentReport
7 changes: 7 additions & 0 deletions docs/_sources/document_report_types.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**********************
Document Report Metrics Types
**********************

.. automodule:: indico.types.document_report
.. autoclass:: indico.types.document_report.InputFile
.. autoclass:: indico.types.document_report.DocumentReport
2 changes: 2 additions & 0 deletions docs/_sources/examples.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Examples
image-dataset-ex
image-predictions-ex
submission-ex
user-metrics-ex
workflow-metrics-ex
6 changes: 6 additions & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Reference
exports
filters
graphql_queries
user_metrics
workflow-metrics
document_report

**Types**

Expand All @@ -50,3 +53,6 @@ Reference
jobs-type
model-group-type
model-type
user-metrics-types
workflow-metrics-types
document_report_types
6 changes: 6 additions & 0 deletions docs/_sources/user-metrics-ex.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fetching User Metrics
***********************************************************

An example that illustrates how to fetch user metric data.

.. literalinclude:: ../examples/get-user-metrics.py
13 changes: 13 additions & 0 deletions docs/_sources/user-metrics-types.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
***********
User Metrics Types
***********

.. automodule:: indico.types.user_metrics
.. autoclass:: indico.types.user_metrics.AppRoles
.. autoclass:: indico.types.user_metrics.UserDatasets
.. autoclass:: indico.types.user_metrics.UserSummaryCounts
.. autoclass:: indico.types.user_metrics.UserSnapshot
.. autoclass:: indico.types.user_metrics.UserSummary
.. autoclass:: indico.types.user_metrics.DatasetRole
.. autoclass:: indico.types.user_metrics.UserChangelog
.. autoclass:: indico.types.user_metrics.UserChangelogReport
9 changes: 9 additions & 0 deletions docs/_sources/user_metrics.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*****************
User Metrics
*****************

.. autoclass:: indico.queries.usermetrics.GetUserSnapshots
.. autoclass:: indico.queries.usermetrics.GetUserChangelog
.. autoclass:: indico.queries.usermetrics.GetUserSummary
.. autoclass:: indico.queries.usermetrics.GenerateChangelogReport

6 changes: 6 additions & 0 deletions docs/_sources/user_metrics_ex.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fetching User Metrics
***********************************************************

An example that illustrates how to fetch user metric data.

.. literalinclude:: ../examples/get-user-metrics.py
13 changes: 13 additions & 0 deletions docs/_sources/user_metrics_types.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
***********
User Metrics Types
***********

.. automodule:: indico.types.user_metrics
.. autoclass:: indico.types.user_metrics.AppRoles
.. autoclass:: indico.types.user_metrics.UserDatasets
.. autoclass:: indico.types.user_metrics.UserSummaryCounts
.. autoclass:: indico.types.user_metrics.UserSnapshot
.. autoclass:: indico.types.user_metrics.UserSummary
.. autoclass:: indico.types.user_metrics.DatasetRole
.. autoclass:: indico.types.user_metrics.UserChangelog
.. autoclass:: indico.types.user_metrics.UserChangelogReport
6 changes: 6 additions & 0 deletions docs/_sources/workflow-metrics-ex.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fetching Workflow Metrics
***********************************************************

An example that illustrates how to fetch worklow metric data.

.. literalinclude:: ../examples/get-workflow-metrics.py
23 changes: 23 additions & 0 deletions docs/_sources/workflow-metrics-types.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**********************
Workflow Metrics Types
**********************

.. automodule:: indico.types.workflow_metrics
.. autoclass:: indico.types.workflow_metrics.WorkflowMetricsOptions
.. autoclass:: indico.types.workflow_metrics.TimeOnTaskMetric
.. autoclass:: indico.types.workflow_metrics.TimeOnTaskMetrics
.. autoclass:: indico.types.workflow_metrics.DailyTimeOnTaskMetric
.. autoclass:: indico.types.workflow_metrics.SubmissionMetric
.. autoclass:: indico.types.workflow_metrics.DailySubmissionMetric
.. autoclass:: indico.types.workflow_metrics.DailyQueueMetric
.. autoclass:: indico.types.workflow_metrics.QueueMetrics
.. autoclass:: indico.types.workflow_metrics.PredictionMetric
.. autoclass:: indico.types.workflow_metrics.PredictionMetrics
.. autoclass:: indico.types.workflow_metrics.DailyPredictionMetric
.. autoclass:: indico.types.workflow_metrics.StpMetric
.. autoclass:: indico.types.workflow_metrics.DailyStpMetric
.. autoclass:: indico.types.workflow_metrics.ClassStpMetrics
.. autoclass:: indico.types.workflow_metrics.ModelStpMetrics
.. autoclass:: indico.types.workflow_metrics.WorkflowStpMetrics
.. autoclass:: indico.types.workflow_metrics.StraightThroughProcessing
.. autoclass:: indico.types.workflow_metrics.WorkflowMetrics
7 changes: 7 additions & 0 deletions docs/_sources/workflow-metrics.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*****************
Workflow Metrics
*****************

.. autoclass:: indico.queries.workflow_metrics.GetWorkflowMetrics


106 changes: 77 additions & 29 deletions docs/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ ul.search li a {
font-weight: bold;
}

ul.search li div.context {
ul.search li p.context {
color: #888;
margin: 2px 0 0 30px;
text-align: left;
Expand Down Expand Up @@ -277,25 +277,25 @@ p.rubric {
font-weight: bold;
}

img.align-left, .figure.align-left, object.align-left {
img.align-left, figure.align-left, .figure.align-left, object.align-left {
clear: left;
float: left;
margin-right: 1em;
}

img.align-right, .figure.align-right, object.align-right {
img.align-right, figure.align-right, .figure.align-right, object.align-right {
clear: right;
float: right;
margin-left: 1em;
}

img.align-center, .figure.align-center, object.align-center {
img.align-center, figure.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}

img.align-default, .figure.align-default {
img.align-default, figure.align-default, .figure.align-default {
display: block;
margin-left: auto;
margin-right: auto;
Expand All @@ -319,7 +319,8 @@ img.align-default, .figure.align-default {

/* -- sidebars -------------------------------------------------------------- */

div.sidebar {
div.sidebar,
aside.sidebar {
margin: 0 0 0.5em 1em;
border: 1px solid #ddb;
padding: 7px;
Expand Down Expand Up @@ -377,12 +378,14 @@ div.body p.centered {
/* -- content of sidebars/topics/admonitions -------------------------------- */

div.sidebar > :last-child,
aside.sidebar > :last-child,
div.topic > :last-child,
div.admonition > :last-child {
margin-bottom: 0;
}

div.sidebar::after,
aside.sidebar::after,
div.topic::after,
div.admonition::after,
blockquote::after {
Expand Down Expand Up @@ -455,20 +458,22 @@ td > :last-child {

/* -- figures --------------------------------------------------------------- */

div.figure {
div.figure, figure {
margin: 0.5em;
padding: 0.5em;
}

div.figure p.caption {
div.figure p.caption, figcaption {
padding: 0.3em;
}

div.figure p.caption span.caption-number {
div.figure p.caption span.caption-number,
figcaption span.caption-number {
font-style: italic;
}

div.figure p.caption span.caption-text {
div.figure p.caption span.caption-text,
figcaption span.caption-text {
}

/* -- field list styles ----------------------------------------------------- */
Expand Down Expand Up @@ -503,6 +508,63 @@ table.hlist td {
vertical-align: top;
}

/* -- object description styles --------------------------------------------- */

.sig {
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
}

.sig-name, code.descname {
background-color: transparent;
font-weight: bold;
}

.sig-name {
font-size: 1.1em;
}

code.descname {
font-size: 1.2em;
}

.sig-prename, code.descclassname {
background-color: transparent;
}

.optional {
font-size: 1.3em;
}

.sig-paren {
font-size: larger;
}

.sig-param.n {
font-style: italic;
}

/* C++ specific styling */

.sig-inline.c-texpr,
.sig-inline.cpp-texpr {
font-family: unset;
}

.sig.c .k, .sig.c .kt,
.sig.cpp .k, .sig.cpp .kt {
color: #0033B3;
}

.sig.c .m,
.sig.cpp .m {
color: #1750EB;
}

.sig.c .s, .sig.c .sc,
.sig.cpp .s, .sig.cpp .sc {
color: #067D17;
}


/* -- other body styles ----------------------------------------------------- */

Expand Down Expand Up @@ -629,14 +691,6 @@ dl.glossary dt {
font-size: 1.1em;
}

.optional {
font-size: 1.3em;
}

.sig-paren {
font-size: larger;
}

.versionmodified {
font-style: italic;
}
Expand Down Expand Up @@ -766,7 +820,11 @@ div.code-block-caption code {
table.highlighttable td.linenos,
span.linenos,
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none;
user-select: none;
-webkit-user-select: text; /* Safari fallback only */
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
}

div.code-block-caption span.caption-number {
Expand All @@ -781,16 +839,6 @@ div.literal-block-wrapper {
margin: 1em 0;
}

code.descname {
background-color: transparent;
font-weight: bold;
font-size: 1.2em;
}

code.descclassname {
background-color: transparent;
}

code.xref, a code {
background-color: transparent;
font-weight: bold;
Expand Down
7 changes: 6 additions & 1 deletion docs/_static/pygments.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight { background: #f8f8f8; }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
Expand Down
Loading

0 comments on commit ead6806

Please sign in to comment.