Skip to content

Commit

Permalink
Merge pull request #177 from IndicoDataSolutions/frank.workflow-strea…
Browse files Browse the repository at this point in the history
…ms-update

Frank.workflow streams update
  • Loading branch information
franknovak authored Jan 19, 2024
2 parents 1edbdae + f645243 commit 696bf56
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions indico_toolkit/indico_wrapper/workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import time
from typing import List, Union
import io
from os import PathLike
from typing import List, Union, Dict
from indico import IndicoClient, IndicoRequestError
from indico.queries import (
Submission,
Expand Down Expand Up @@ -42,17 +44,25 @@ def get_workflow(self, workflow_id: int) -> Workflow:
return self.client.call(GetWorkflow(workflow_id))

def submit_documents_to_workflow(
self, workflow_id: int, pdf_filepaths: List[str]
self,
workflow_id: int,
*,
files: Union[List[Union[str, PathLike]], None] = None,
streams: Union[Dict[str, io.BufferedIOBase], None] = None,
) -> List[int]:
"""
Args:
workflow_id (int): Workflow to submit to
pdf_filepaths (List[str]): Path to local documents you would like to submit
streams (Dict[str, io.BufferedIOBase]): List of filename keys mapped to streams
for upload.
Returns:
List[int]: List of unique and persistent identifier for each submission.
"""
return self.client.call(
WorkflowSubmission(workflow_id=workflow_id, files=pdf_filepaths)
WorkflowSubmission(
workflow_id=workflow_id, files=files, streams=streams
)
)

def get_ondoc_ocr_from_etl_url(self, etl_url: str) -> OnDoc:
Expand Down Expand Up @@ -160,9 +170,19 @@ def _create_result(self, submission: Union[Submission, int]):
return self.get_storage_object(job.result)

def submit_submission_review(
self, submission_id: int, updated_predictions: dict, wait: bool = True
self,
submission_id: int,
updated_predictions: dict,
wait: bool = True,
force_complete: bool = False,
):
job = self.client.call(SubmitReview(submission_id, changes=updated_predictions))
job = self.client.call(
SubmitReview(
submission_id,
changes=updated_predictions,
force_complete=force_complete,
)
)
if wait:
job = self.client.call(JobStatus(job.id, wait=True))
return job
Expand Down

5 comments on commit 696bf56

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Indico Toolkit Coverage Report
FileStmtsMissCoverMissing
indico_toolkit
   client.py11555%19–29
   errors.py20670%7, 12, 17, 22, 27, 32
   retry.py16944%17–26
indico_toolkit/association
   association.py351946%13–16, 20, 24, 31–34, 39–41, 44, 51, 58, 62–64
   extracted_tokens.py584129%18, 35–48, 61–74, 78, 82, 88, 93–94, 97–104, 107–109
   line_items.py927222%37–41, 45, 66–78, 91–104, 113–129, 137–140, 146–155, 158–160, 163–167, 171–175, 179–182
   positioning.py1189024%16, 31–44, 59–70, 85–91, 106–131, 139–150, 158–168, 188–201, 227–240, 249–257, 261–263, 267–269, 276, 280, 284, 288
   splitting.py151033%24–41
indico_toolkit/auto_populate
   populator.py1099315%31–33, 81–348
   types.py38976%13, 19–22, 29–32
indico_toolkit/auto_review
   auto_review_functions.py594819%14–17, 28–35, 46–52, 63–69, 81–94, 105–109, 120–124
   auto_reviewer.py191237%26–28, 31–33, 53–55, 58–60
indico_toolkit/highlighter
   highlighter.py12910618%37–42, 50, 79–110, 127–146, 172–215, 218–234, 237–239, 242–248, 254–259, 265, 293–307
indico_toolkit/indico_wrapper
   dataset.py331845%17, 20, 26–31, 40–43, 57, 67–75, 81, 87–104, 107–108
   doc_extraction.py342429%23–27, 40–54, 57, 64–72
   download.py502942%22, 45–56, 66–68, 84–87, 97–104, 111, 135, 147, 150–167
   indico_wrapper.py321553%30, 57–59, 73, 76, 79, 83, 107–115
   modelop.py453522%41, 53–192
   reviewer.py271448%17–18, 27, 37–43, 46–52, 55
   workflow.py825138%37, 44, 62, 76–81, 84, 96–101, 104, 109, 114, 140–161, 167–168, 177–186, 194, 209, 217, 226–229
indico_toolkit/metrics
   compare_ground_truth.py665517%13–19, 25–30, 36–62, 65–69, 72–76, 85–112
   compare_models.py633938%34–41, 49–60, 74–80, 102–114, 125, 128, 134, 137–142, 146, 150, 154, 157–159
   metrics.py1189718%34–37, 40–52, 66–86, 109–134, 160–183, 195–196, 215–237, 243–252, 277–300, 303, 308
   plotting.py15660%8–9, 27, 47, 66, 80
indico_toolkit/ocr
   customocr_object.py231630%14, 21–29, 36–41
   ondoc_object.py411856%16, 23, 30, 37, 44, 51, 55, 59, 63, 67, 75–92
   standard_object.py22768%14, 21, 28, 35, 42, 50, 54
indico_toolkit/pipelines
   file_processing.py905638%16–19, 37–47, 58–70, 73–74, 82–89, 93–94, 98, 102, 106, 110, 114, 118, 122, 128–131, 134–139, 142–147, 151–153
   pdf_manipulation.py331652%14–18, 31–32, 45–47, 55–56, 59, 62–63, 69
indico_toolkit/snapshots
   snapshot.py15512519%31–42, 50–62, 73–85, 91–94, 102–103, 109–114, 129–158, 167–171, 183–199, 213–223, 233–246, 252, 259–264, 269–272, 277, 280–288, 291–297, 300–304, 307–308, 311, 315, 319
indico_toolkit/staggered_loop
   metrics.py4784398%25–27, 41–45, 59–62, 76–79, 93–96, 114–115, 132–151, 172–222, 250–290, 308, 326–328, 347–349, 369–387, 403–407, 436–450, 474–488, 518–530, 552–565, 597–609, 633–637, 719–821, 839, 862–868, 888–902, 922, 947–958, 984–1002, 1024–1029, 1053–1060, 1101–1226, 1273–1433
   queries.py770%1–43
   staggered_loop.py24120017%42–57, 78–80, 83–106, 109–148, 159–175, 196–223, 250–292, 299–306, 314–327, 380–438, 452–505, 527–534, 537–551, 567–656, 665–681, 695–702, 711–715, 718–721, 724–726, 729–731
   staggered_loop_recruiter.py564912%11–178
indico_toolkit/structure
   create_structure.py674730%30, 49–93, 114–130, 139–141, 173–211, 214, 217, 222
   queries.py19668%29, 35, 65, 71, 91, 101
indico_toolkit/types
   classification.py431760%14, 18, 22, 26, 32, 36, 41–47, 61, 65, 69, 75, 79
   extractions.py1158030%15–16, 23–26, 30, 39–48, 54–61, 67–70, 74–76, 82–84, 90–96, 102, 107, 111–114, 121, 127, 131, 137–144, 151, 157–159, 165–173, 176, 179, 182, 199–207
   predictions.py13746%19–27
   workflow_object.py844645%19–20, 23–24, 29, 36–40, 47–53, 60–69, 73–79, 86–93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133
TOTAL2813203928% 

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 4 🔥 1.723s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Indico Toolkit Coverage Report
FileStmtsMissCoverMissing
indico_toolkit
   client.py11555%19–29
   errors.py20670%7, 12, 17, 22, 27, 32
   retry.py16944%17–26
indico_toolkit/association
   association.py351946%13–16, 20, 24, 31–34, 39–41, 44, 51, 58, 62–64
   extracted_tokens.py584129%18, 35–48, 61–74, 78, 82, 88, 93–94, 97–104, 107–109
   line_items.py927222%37–41, 45, 66–78, 91–104, 113–129, 137–140, 146–155, 158–160, 163–167, 171–175, 179–182
   positioning.py1189024%16, 31–44, 59–70, 85–91, 106–131, 139–150, 158–168, 188–201, 227–240, 249–257, 261–263, 267–269, 276, 280, 284, 288
   splitting.py151033%24–41
indico_toolkit/auto_populate
   populator.py1099315%31–33, 81–348
   types.py38976%13, 19–22, 29–32
indico_toolkit/auto_review
   auto_review_functions.py594819%14–17, 28–35, 46–52, 63–69, 81–94, 105–109, 120–124
   auto_reviewer.py191237%26–28, 31–33, 53–55, 58–60
indico_toolkit/highlighter
   highlighter.py12910618%37–42, 50, 79–110, 127–146, 172–215, 218–234, 237–239, 242–248, 254–259, 265, 293–307
indico_toolkit/indico_wrapper
   dataset.py331845%17, 20, 26–31, 40–43, 57, 67–75, 81, 87–104, 107–108
   doc_extraction.py342429%23–27, 40–54, 57, 64–72
   download.py502942%22, 45–56, 66–68, 84–87, 97–104, 111, 135, 147, 150–167
   indico_wrapper.py321553%30, 57–59, 73, 76, 79, 83, 107–115
   modelop.py453522%41, 53–192
   reviewer.py271448%17–18, 27, 37–43, 46–52, 55
   workflow.py825138%37, 44, 62, 76–81, 84, 96–101, 104, 109, 114, 140–161, 167–168, 177–186, 194, 209, 217, 226–229
indico_toolkit/metrics
   compare_ground_truth.py665517%13–19, 25–30, 36–62, 65–69, 72–76, 85–112
   compare_models.py633938%34–41, 49–60, 74–80, 102–114, 125, 128, 134, 137–142, 146, 150, 154, 157–159
   metrics.py1189718%34–37, 40–52, 66–86, 109–134, 160–183, 195–196, 215–237, 243–252, 277–300, 303, 308
   plotting.py15660%8–9, 27, 47, 66, 80
indico_toolkit/ocr
   customocr_object.py231630%14, 21–29, 36–41
   ondoc_object.py411856%16, 23, 30, 37, 44, 51, 55, 59, 63, 67, 75–92
   standard_object.py22768%14, 21, 28, 35, 42, 50, 54
indico_toolkit/pipelines
   file_processing.py905638%16–19, 37–47, 58–70, 73–74, 82–89, 93–94, 98, 102, 106, 110, 114, 118, 122, 128–131, 134–139, 142–147, 151–153
   pdf_manipulation.py331652%14–18, 31–32, 45–47, 55–56, 59, 62–63, 69
indico_toolkit/snapshots
   snapshot.py15512519%31–42, 50–62, 73–85, 91–94, 102–103, 109–114, 129–158, 167–171, 183–199, 213–223, 233–246, 252, 259–264, 269–272, 277, 280–288, 291–297, 300–304, 307–308, 311, 315, 319
indico_toolkit/staggered_loop
   metrics.py4784398%25–27, 41–45, 59–62, 76–79, 93–96, 114–115, 132–151, 172–222, 250–290, 308, 326–328, 347–349, 369–387, 403–407, 436–450, 474–488, 518–530, 552–565, 597–609, 633–637, 719–821, 839, 862–868, 888–902, 922, 947–958, 984–1002, 1024–1029, 1053–1060, 1101–1226, 1273–1433
   queries.py770%1–43
   staggered_loop.py24120017%42–57, 78–80, 83–106, 109–148, 159–175, 196–223, 250–292, 299–306, 314–327, 380–438, 452–505, 527–534, 537–551, 567–656, 665–681, 695–702, 711–715, 718–721, 724–726, 729–731
   staggered_loop_recruiter.py564912%11–178
indico_toolkit/structure
   create_structure.py674730%30, 49–93, 114–130, 139–141, 173–211, 214, 217, 222
   queries.py19668%29, 35, 65, 71, 91, 101
indico_toolkit/types
   classification.py431760%14, 18, 22, 26, 32, 36, 41–47, 61, 65, 69, 75, 79
   extractions.py1158030%15–16, 23–26, 30, 39–48, 54–61, 67–70, 74–76, 82–84, 90–96, 102, 107, 111–114, 121, 127, 131, 137–144, 151, 157–159, 165–173, 176, 179, 182, 199–207
   predictions.py13746%19–27
   workflow_object.py844645%19–20, 23–24, 29, 36–40, 47–53, 60–69, 73–79, 86–93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133
TOTAL2813203928% 

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 4 🔥 1.739s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Indico Toolkit Coverage Report
FileStmtsMissCoverMissing
indico_toolkit
   client.py11555%19–29
   errors.py20670%7, 12, 17, 22, 27, 32
   retry.py16944%17–26
indico_toolkit/association
   association.py351946%13–16, 20, 24, 31–34, 39–41, 44, 51, 58, 62–64
   extracted_tokens.py584129%18, 35–48, 61–74, 78, 82, 88, 93–94, 97–104, 107–109
   line_items.py927222%37–41, 45, 66–78, 91–104, 113–129, 137–140, 146–155, 158–160, 163–167, 171–175, 179–182
   positioning.py1189024%16, 31–44, 59–70, 85–91, 106–131, 139–150, 158–168, 188–201, 227–240, 249–257, 261–263, 267–269, 276, 280, 284, 288
   splitting.py151033%24–41
indico_toolkit/auto_populate
   populator.py1099315%31–33, 81–348
   types.py38976%13, 19–22, 29–32
indico_toolkit/auto_review
   auto_review_functions.py594819%14–17, 28–35, 46–52, 63–69, 81–94, 105–109, 120–124
   auto_reviewer.py191237%26–28, 31–33, 53–55, 58–60
indico_toolkit/highlighter
   highlighter.py12910618%37–42, 50, 79–110, 127–146, 172–215, 218–234, 237–239, 242–248, 254–259, 265, 293–307
indico_toolkit/indico_wrapper
   dataset.py331845%17, 20, 26–31, 40–43, 57, 67–75, 81, 87–104, 107–108
   doc_extraction.py342429%23–27, 40–54, 57, 64–72
   download.py502942%22, 45–56, 66–68, 84–87, 97–104, 111, 135, 147, 150–167
   indico_wrapper.py321553%30, 57–59, 73, 76, 79, 83, 107–115
   modelop.py453522%41, 53–192
   reviewer.py271448%17–18, 27, 37–43, 46–52, 55
   workflow.py825138%37, 44, 62, 76–81, 84, 96–101, 104, 109, 114, 140–161, 167–168, 177–186, 194, 209, 217, 226–229
indico_toolkit/metrics
   compare_ground_truth.py665517%13–19, 25–30, 36–62, 65–69, 72–76, 85–112
   compare_models.py633938%34–41, 49–60, 74–80, 102–114, 125, 128, 134, 137–142, 146, 150, 154, 157–159
   metrics.py1189718%34–37, 40–52, 66–86, 109–134, 160–183, 195–196, 215–237, 243–252, 277–300, 303, 308
   plotting.py15660%8–9, 27, 47, 66, 80
indico_toolkit/ocr
   customocr_object.py231630%14, 21–29, 36–41
   ondoc_object.py411856%16, 23, 30, 37, 44, 51, 55, 59, 63, 67, 75–92
   standard_object.py22768%14, 21, 28, 35, 42, 50, 54
indico_toolkit/pipelines
   file_processing.py905638%16–19, 37–47, 58–70, 73–74, 82–89, 93–94, 98, 102, 106, 110, 114, 118, 122, 128–131, 134–139, 142–147, 151–153
   pdf_manipulation.py331652%14–18, 31–32, 45–47, 55–56, 59, 62–63, 69
indico_toolkit/snapshots
   snapshot.py15512519%31–42, 50–62, 73–85, 91–94, 102–103, 109–114, 129–158, 167–171, 183–199, 213–223, 233–246, 252, 259–264, 269–272, 277, 280–288, 291–297, 300–304, 307–308, 311, 315, 319
indico_toolkit/staggered_loop
   metrics.py4784398%25–27, 41–45, 59–62, 76–79, 93–96, 114–115, 132–151, 172–222, 250–290, 308, 326–328, 347–349, 369–387, 403–407, 436–450, 474–488, 518–530, 552–565, 597–609, 633–637, 719–821, 839, 862–868, 888–902, 922, 947–958, 984–1002, 1024–1029, 1053–1060, 1101–1226, 1273–1433
   queries.py770%1–43
   staggered_loop.py24120017%42–57, 78–80, 83–106, 109–148, 159–175, 196–223, 250–292, 299–306, 314–327, 380–438, 452–505, 527–534, 537–551, 567–656, 665–681, 695–702, 711–715, 718–721, 724–726, 729–731
   staggered_loop_recruiter.py564912%11–178
indico_toolkit/structure
   create_structure.py674730%30, 49–93, 114–130, 139–141, 173–211, 214, 217, 222
   queries.py19668%29, 35, 65, 71, 91, 101
indico_toolkit/types
   classification.py431760%14, 18, 22, 26, 32, 36, 41–47, 61, 65, 69, 75, 79
   extractions.py1158030%15–16, 23–26, 30, 39–48, 54–61, 67–70, 74–76, 82–84, 90–96, 102, 107, 111–114, 121, 127, 131, 137–144, 151, 157–159, 165–173, 176, 179, 182, 199–207
   predictions.py13746%19–27
   workflow_object.py844645%19–20, 23–24, 29, 36–40, 47–53, 60–69, 73–79, 86–93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133
TOTAL2813203928% 

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 4 🔥 1.753s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Indico Toolkit Coverage Report
FileStmtsMissCoverMissing
indico_toolkit
   client.py11555%19–29
   errors.py20670%7, 12, 17, 22, 27, 32
   retry.py16944%17–26
indico_toolkit/association
   association.py351946%13–16, 20, 24, 31–34, 39–41, 44, 51, 58, 62–64
   extracted_tokens.py584129%18, 35–48, 61–74, 78, 82, 88, 93–94, 97–104, 107–109
   line_items.py927222%37–41, 45, 66–78, 91–104, 113–129, 137–140, 146–155, 158–160, 163–167, 171–175, 179–182
   positioning.py1189024%16, 31–44, 59–70, 85–91, 106–131, 139–150, 158–168, 188–201, 227–240, 249–257, 261–263, 267–269, 276, 280, 284, 288
   splitting.py151033%24–41
indico_toolkit/auto_populate
   populator.py1099315%31–33, 81–348
   types.py38976%13, 19–22, 29–32
indico_toolkit/auto_review
   auto_review_functions.py594819%14–17, 28–35, 46–52, 63–69, 81–94, 105–109, 120–124
   auto_reviewer.py191237%26–28, 31–33, 53–55, 58–60
indico_toolkit/highlighter
   highlighter.py12910618%37–42, 50, 79–110, 127–146, 172–215, 218–234, 237–239, 242–248, 254–259, 265, 293–307
indico_toolkit/indico_wrapper
   dataset.py331845%17, 20, 26–31, 40–43, 57, 67–75, 81, 87–104, 107–108
   doc_extraction.py342429%23–27, 40–54, 57, 64–72
   download.py502942%22, 45–56, 66–68, 84–87, 97–104, 111, 135, 147, 150–167
   indico_wrapper.py321553%30, 57–59, 73, 76, 79, 83, 107–115
   modelop.py453522%41, 53–192
   reviewer.py271448%17–18, 27, 37–43, 46–52, 55
   workflow.py825138%37, 44, 62, 76–81, 84, 96–101, 104, 109, 114, 140–161, 167–168, 177–186, 194, 209, 217, 226–229
indico_toolkit/metrics
   compare_ground_truth.py665517%13–19, 25–30, 36–62, 65–69, 72–76, 85–112
   compare_models.py633938%34–41, 49–60, 74–80, 102–114, 125, 128, 134, 137–142, 146, 150, 154, 157–159
   metrics.py1189718%34–37, 40–52, 66–86, 109–134, 160–183, 195–196, 215–237, 243–252, 277–300, 303, 308
   plotting.py15660%8–9, 27, 47, 66, 80
indico_toolkit/ocr
   customocr_object.py231630%14, 21–29, 36–41
   ondoc_object.py411856%16, 23, 30, 37, 44, 51, 55, 59, 63, 67, 75–92
   standard_object.py22768%14, 21, 28, 35, 42, 50, 54
indico_toolkit/pipelines
   file_processing.py905638%16–19, 37–47, 58–70, 73–74, 82–89, 93–94, 98, 102, 106, 110, 114, 118, 122, 128–131, 134–139, 142–147, 151–153
   pdf_manipulation.py331652%14–18, 31–32, 45–47, 55–56, 59, 62–63, 69
indico_toolkit/snapshots
   snapshot.py15512519%31–42, 50–62, 73–85, 91–94, 102–103, 109–114, 129–158, 167–171, 183–199, 213–223, 233–246, 252, 259–264, 269–272, 277, 280–288, 291–297, 300–304, 307–308, 311, 315, 319
indico_toolkit/staggered_loop
   metrics.py4784398%25–27, 41–45, 59–62, 76–79, 93–96, 114–115, 132–151, 172–222, 250–290, 308, 326–328, 347–349, 369–387, 403–407, 436–450, 474–488, 518–530, 552–565, 597–609, 633–637, 719–821, 839, 862–868, 888–902, 922, 947–958, 984–1002, 1024–1029, 1053–1060, 1101–1226, 1273–1433
   queries.py770%1–43
   staggered_loop.py24120017%42–57, 78–80, 83–106, 109–148, 159–175, 196–223, 250–292, 299–306, 314–327, 380–438, 452–505, 527–534, 537–551, 567–656, 665–681, 695–702, 711–715, 718–721, 724–726, 729–731
   staggered_loop_recruiter.py564912%11–178
indico_toolkit/structure
   create_structure.py674730%30, 49–93, 114–130, 139–141, 173–211, 214, 217, 222
   queries.py19668%29, 35, 65, 71, 91, 101
indico_toolkit/types
   classification.py431760%14, 18, 22, 26, 32, 36, 41–47, 61, 65, 69, 75, 79
   extractions.py1158030%15–16, 23–26, 30, 39–48, 54–61, 67–70, 74–76, 82–84, 90–96, 102, 107, 111–114, 121, 127, 131, 137–144, 151, 157–159, 165–173, 176, 179, 182, 199–207
   predictions.py13746%19–27
   workflow_object.py844645%19–20, 23–24, 29, 36–40, 47–53, 60–69, 73–79, 86–93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133
TOTAL2813203928% 

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 4 🔥 1.947s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Indico Toolkit Coverage Report
FileStmtsMissCoverMissing
indico_toolkit
   client.py11555%19–29
   errors.py20670%7, 12, 17, 22, 27, 32
   retry.py16944%17–26
indico_toolkit/association
   association.py351946%13–16, 20, 24, 31–34, 39–41, 44, 51, 58, 62–64
   extracted_tokens.py584129%18, 35–48, 61–74, 78, 82, 88, 93–94, 97–104, 107–109
   line_items.py927222%37–41, 45, 66–78, 91–104, 113–129, 137–140, 146–155, 158–160, 163–167, 171–175, 179–182
   positioning.py1189024%16, 31–44, 59–70, 85–91, 106–131, 139–150, 158–168, 188–201, 227–240, 249–257, 261–263, 267–269, 276, 280, 284, 288
   splitting.py151033%24–41
indico_toolkit/auto_populate
   populator.py1099315%31–33, 81–348
   types.py38976%13, 19–22, 29–32
indico_toolkit/auto_review
   auto_review_functions.py594819%14–17, 28–35, 46–52, 63–69, 81–94, 105–109, 120–124
   auto_reviewer.py191237%26–28, 31–33, 53–55, 58–60
indico_toolkit/highlighter
   highlighter.py12910618%37–42, 50, 79–110, 127–146, 172–215, 218–234, 237–239, 242–248, 254–259, 265, 293–307
indico_toolkit/indico_wrapper
   dataset.py331845%17, 20, 26–31, 40–43, 57, 67–75, 81, 87–104, 107–108
   doc_extraction.py342429%23–27, 40–54, 57, 64–72
   download.py502942%22, 45–56, 66–68, 84–87, 97–104, 111, 135, 147, 150–167
   indico_wrapper.py321553%30, 57–59, 73, 76, 79, 83, 107–115
   modelop.py453522%41, 53–192
   reviewer.py271448%17–18, 27, 37–43, 46–52, 55
   workflow.py825138%37, 44, 62, 76–81, 84, 96–101, 104, 109, 114, 140–161, 167–168, 177–186, 194, 209, 217, 226–229
indico_toolkit/metrics
   compare_ground_truth.py665517%13–19, 25–30, 36–62, 65–69, 72–76, 85–112
   compare_models.py633938%34–41, 49–60, 74–80, 102–114, 125, 128, 134, 137–142, 146, 150, 154, 157–159
   metrics.py1189718%34–37, 40–52, 66–86, 109–134, 160–183, 195–196, 215–237, 243–252, 277–300, 303, 308
   plotting.py15660%8–9, 27, 47, 66, 80
indico_toolkit/ocr
   customocr_object.py231630%14, 21–29, 36–41
   ondoc_object.py411856%16, 23, 30, 37, 44, 51, 55, 59, 63, 67, 75–92
   standard_object.py22768%14, 21, 28, 35, 42, 50, 54
indico_toolkit/pipelines
   file_processing.py905638%16–19, 37–47, 58–70, 73–74, 82–89, 93–94, 98, 102, 106, 110, 114, 118, 122, 128–131, 134–139, 142–147, 151–153
   pdf_manipulation.py331652%14–18, 31–32, 45–47, 55–56, 59, 62–63, 69
indico_toolkit/snapshots
   snapshot.py15512519%31–42, 50–62, 73–85, 91–94, 102–103, 109–114, 129–158, 167–171, 183–199, 213–223, 233–246, 252, 259–264, 269–272, 277, 280–288, 291–297, 300–304, 307–308, 311, 315, 319
indico_toolkit/staggered_loop
   metrics.py4784398%25–27, 41–45, 59–62, 76–79, 93–96, 114–115, 132–151, 172–222, 250–290, 308, 326–328, 347–349, 369–387, 403–407, 436–450, 474–488, 518–530, 552–565, 597–609, 633–637, 719–821, 839, 862–868, 888–902, 922, 947–958, 984–1002, 1024–1029, 1053–1060, 1101–1226, 1273–1433
   queries.py770%1–43
   staggered_loop.py24120017%42–57, 78–80, 83–106, 109–148, 159–175, 196–223, 250–292, 299–306, 314–327, 380–438, 452–505, 527–534, 537–551, 567–656, 665–681, 695–702, 711–715, 718–721, 724–726, 729–731
   staggered_loop_recruiter.py564912%11–178
indico_toolkit/structure
   create_structure.py674730%30, 49–93, 114–130, 139–141, 173–211, 214, 217, 222
   queries.py19668%29, 35, 65, 71, 91, 101
indico_toolkit/types
   classification.py431760%14, 18, 22, 26, 32, 36, 41–47, 61, 65, 69, 75, 79
   extractions.py1158030%15–16, 23–26, 30, 39–48, 54–61, 67–70, 74–76, 82–84, 90–96, 102, 107, 111–114, 121, 127, 131, 137–144, 151, 157–159, 165–173, 176, 179, 182, 199–207
   predictions.py13746%19–27
   workflow_object.py844645%19–20, 23–24, 29, 36–40, 47–53, 60–69, 73–79, 86–93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133
TOTAL2813203928% 

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 4 🔥 1.719s ⏱️

Please sign in to comment.