Export-HumanEvaluationReportFromTsv
SYNOPSIS
Reads the TSV file containing list of Human Evaluation jobs and exports to Excel Human Evaluation Report.
SYNTAX
Export-HumanEvaluationReportFromTsv [-ReportTemplateId] <Int32> [[-jobListTSV] <FileInfo>]
[[-OutputDir] <DirectoryInfo>] [[-Staging] <String>] [<CommonParameters>]
DESCRIPTION
Reads the TSV file containing list of Human Evaluation jobs and exports to Human Evaluation Report. When the reports are created, the reports are placed under subdirectories with respective job Name.
EXAMPLES
Example 1
# Imagine the *joblist.txt* has following content:
# Id Name
# 101 My Job X
# 102 My Job Y
PS C:\> Export-HumanEvaluationReportFromTsv -ReportTemplateId 999 -jobListTSV C:\projects\joblist.txt -OutputDir c:\projects\reports
True
True
Then the reports will be created in in the OutputDir:
C:\Projects\Reports\My Job X\report_EvaluatorA_1.xlsx
C:\Projects\Reports\My Job X\report_EvaluatorB_2.xlsx
C:\Projects\Reports\My Job Y\report_Evaluator1_1.xlsx
C:\Projects\Reports\My Job Y\report_Evaluator2_2.xlsx
PARAMETERS
-OutputDir
Folder where the Excel report will be created. It must exist. The reports are placed under subdirectory named after job.
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReportTemplateId
The Id of the Excel Report template applied. It is visible on the Workspace Settings, the section named “HEVAL Report Templates.” See https://companion.languageweaver.com/help/Settings/Workspace/hevalReportTemplates.html#workspace-human-evaluation-report-templates for more info.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Staging
Environment for authentication/Client profiles. For internal use only.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: DEV, TEST, PROD
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-jobListTSV
TSV file with following structure:
Id | Name |
---|---|
101 | label for the job 101 |
102 | label for the job 102 |
... | ... |
When the reports are created, the reports are placed under subdirectories with respective job Name.
Type: FileInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.