Skip to content

hertzforge.service.ops_report

ops_report

The report features, and the data a report rests on, as operations on a report the project holds (made by report.generate).

Which optional features a report carries (the Report Features panel, Project.report_features); the panes those features open in the report editor: the test requirement, the findings register, check blocks, the test dates and calibration status, responses against prediction, the runs and their chronology, and the flash report's typed parts; the project's data index (Project.index_file, unindex_file, verify_data_index); report templates (io.report_template); Reports from Runs (run_report); and run logs brought into the project as extracts (Project.attach_run_log and its kin). Each calls the project method the editor or script calls, and shows what the pane shows afterwards; the report itself is drawn again by the Report workspace.

Functions:

Name Description
report_features

project.report_features: turn a report's optional features on or

report_requirement

project.report_requirement: bind a test requirement to a run in a

report_finding

project.report_finding: enter a finding in a report's register,

draft_finding_fact

project.draft_finding_fact: offer a finding a draft of its fact,

draft_finding_from_requirement

project.draft_finding_from_requirement: offer a finding the fact

draft_findings_from_run_log

project.draft_findings_from_run_log: offer the report the

accept_finding

project.accept_finding: accept or discard a draft: the fact

report_check_block

project.report_check_block: give a report a check of its own,

report_check

project.report_check: what a report still owes before it is

report_test_date

project.report_test_date: the dates of the test a report covers

report_calibration

project.report_calibration: each sensor's calibration status on

report_prediction

project.report_prediction: add a block reading a response against

report_run_identity

project.report_run_identity: the runs a report draws on, a row

report_runs

project.report_runs: repeat the report's Results for every run it

report_chronology

project.report_chronology: draft the chronology of the runs and

accept_chronology

project.accept_chronology: make the drafted chronology the

report_flash

project.report_flash: type the parts of a flash report only the

index_file

project.index_file: add a file on the service's machine to the

unindex_file

project.unindex_file: take a file out of the data index by the

verify_data_index

project.verify_data_index: hash every indexed file again and

export_report_template

project.export_report_template: save a report on its own as a

generate_from_template

project.generate_from_template: a report built from a saved

reports_from_runs

project.reports_from_runs: the one-call report each controller

attach_run_log

project.attach_run_log: bring one test of a run log into the

refresh_run_log

project.refresh_run_log: take an extract again from its log, to

detach_run_log

project.detach_run_log: take a run log extract out of the project

index_run_log_files

project.index_run_log_files: add the files a run log extract

report_identity

project.report_identity: the report's identification fields as

amend_report

project.amend_report: an issued report amended

Classes

Functions:

report_features

report_features(project: Any, params: dict[str, Any]) -> list[dict]

project.report_features: turn a report's optional features on or off (Project.report_features, the Report Features panel), by a preset or by a switch per feature, and show each feature on, off, or off with what it waits on. A feature switched on whose requirement is not met is refused, and nothing changes.

report_requirement

report_requirement(project: Any, params: dict[str, Any]) -> list[dict]

project.report_requirement: bind a test requirement to a run in a report (Project.report_requirement), one control band about the specification, and read each criterion against the run as the report's result table does. An edge left at 0 Hz is the specification's own end; a tolerance or a duration left at 0 is not part of the requirement.

report_finding

report_finding(project: Any, params: dict[str, Any]) -> list[dict]

project.report_finding: enter a finding in a report's register, change one, or take it out (Project.report_finding). With no number a finding of the kind is entered under the next number of its kind; a field left empty is left as it is. The register follows, each finding with the parts it still owes.

draft_finding_fact

draft_finding_fact(project: Any, params: dict[str, Any]) -> list[dict]

project.draft_finding_fact: offer a finding a draft of its fact, read off the comparison of a measured PSD with a specification on the same cells as the comparison figure (Project.draft_finding_fact). The draft fills nothing until it is accepted.

draft_finding_from_requirement

draft_finding_from_requirement(project: Any, params: dict[str, Any]) -> list[dict]

project.draft_finding_from_requirement: offer a finding the fact a row of a requirement's result table reads, a notch the plan does not name or a cross-axis channel over its limit (Project.draft_finding_from_requirement). The row is its number in the table, from 1, or its name.

draft_findings_from_run_log

draft_findings_from_run_log(project: Any, params: dict[str, Any]) -> list[dict]

project.draft_findings_from_run_log: offer the report the deviations and anomalies a run log extract holds, as drafts beside the register (Project.draft_findings_from_run_log); nothing enters the register until a draft is accepted.

accept_finding

accept_finding(project: Any, params: dict[str, Any]) -> list[dict]

project.accept_finding: accept or discard a draft: the fact drafted on a finding (Project.report_finding with accept or discard) or a finding a run log offered (Project.accept_logged_finding), which accepting enters in the register. A fact typed here is the draft as edited.

report_check_block

report_check_block(project: Any, params: dict[str, Any]) -> list[dict]

project.report_check_block: give a report a check of its own, with what it reads and its settings (Project.report_check_block, report feature Check blocks). A field left empty reads its default binding; the settings are the check's reading's keyword arguments, typed name=value.

report_check

report_check(project: Any, params: dict[str, Any]) -> list[dict]

project.report_check: what a report still owes before it is issued, a line per section (Project.report_check, what Export lists); the flash report's owed lines with that feature on.

report_test_date

report_test_date(project: Any, params: dict[str, Any]) -> list[dict]

project.report_test_date: the dates of the test a report covers (Project.report_test_date), YYYY-MM-DD, the last day left empty for a one-day test, and each sensor's calibration judged against them. An empty first day clears the dates.

report_calibration

report_calibration(project: Any, params: dict[str, Any]) -> list[dict]

project.report_calibration: each sensor's calibration status on the test dates (Project.report_calibration), and the equipment list the Setup and Method section is offered (Project.report_calibration_text), put at the end of that section when asked.

report_prediction

report_prediction(project: Any, params: dict[str, Any]) -> list[dict]

project.report_prediction: add a block reading a response against predictions to the end of the report (Project.report_prediction), and show its table: each predicted peak against the measured one, in SI (report.prediction.build). The level is the one the record was run at, dB relative to full level; a transmissibility takes none, and a PSD that holds its scaling uses its own.

report_run_identity

report_run_identity(project: Any, params: dict[str, Any]) -> list[dict]

project.report_run_identity: the runs a report draws on, a row each with its axis, run, level, start and comment, and one field of one run entered (Project.set_run_identity), as a cell of the Runs panel is typed in. An empty value goes back to what the record shows.

report_runs

report_runs(project: Any, params: dict[str, Any]) -> list[dict]

project.report_runs: repeat the report's Results for every run it does not draw on yet, each figure bound to that run's own objects (Project.report_runs, Results for Every Run).

report_chronology

report_chronology(project: Any, params: dict[str, Any]) -> list[dict]

project.report_chronology: draft the chronology of the runs and offer it to the report's Chronology section (Project.report_chronology, Draft from the Runs): each run with its time at level and the interruptions found on the running RMS. The section stays owed until the draft is accepted.

accept_chronology

accept_chronology(project: Any, params: dict[str, Any]) -> list[dict]

project.accept_chronology: make the drafted chronology the report's Chronology section, as drafted or as edited here (Project.accept_chronology, Accept Draft).

report_flash

report_flash(project: Any, params: dict[str, Any]) -> list[dict]

project.report_flash: type the parts of a flash report only the author can write (Project.report_flash): the condition on release, what happens next, the report date and the opinions, each 'who: what was said'. A part left empty is left as it is. What the page still owes follows (Project.report_check).

index_file

index_file(project: Any, params: dict[str, Any]) -> list[dict]

project.index_file: add a file on the service's machine to the project's data index, hashed now (Project.index_file, Insert, Attached File): a document attached to the report, or a file it names and the archive keeps.

unindex_file

unindex_file(project: Any, params: dict[str, Any]) -> list[dict]

project.unindex_file: take a file out of the data index by the name the index prints, or its path when two share a name (Project.unindex_file, Insert, Remove from Index).

verify_data_index

verify_data_index(project: Any, params: dict[str, Any]) -> list[dict]

project.verify_data_index: hash every indexed file again and record whether it matches, has changed or is not found (Project.verify_data_index, what Export does), looking in the folders given for a file not where it was indexed.

export_report_template

export_report_template(project: Any, params: dict[str, Any]) -> list[dict]

project.export_report_template: save a report on its own as a template another project can load (io.report_template, a .hftemplate), in the templates folder Generate Report looks in when no path is given.

generate_from_template

generate_from_template(project: Any, params: dict[str, Any]) -> list[dict]

project.generate_from_template: a report built from a saved template, by the name it was saved under or its path, bound by role to this project's objects (Project.generate_report).

reports_from_runs

reports_from_runs(project: Any, params: dict[str, Any]) -> list[dict]

project.reports_from_runs: the one-call report each controller run's type calls for, written beside it or into a folder (run_report, File, Reports from Runs). The open project is not changed: each run is worked up in a project of its own. A random and sine run gets two reports.

attach_run_log

attach_run_log(project: Any, params: dict[str, Any]) -> list[dict]

project.attach_run_log: bring one test of a run log into the project, frozen at an entry, as a run log extract (Project.attach_run_log). A test left at 0 is the log's one test; an entry left at 0 the log's last.

refresh_run_log

refresh_run_log(project: Any, params: dict[str, Any]) -> list[dict]

project.refresh_run_log: take an extract again from its log, to the log's newest entry or to the entry given (Project.refresh_run_log); refused when the log is another log or has changed under the extract.

detach_run_log

detach_run_log(project: Any, params: dict[str, Any]) -> list[dict]

project.detach_run_log: take a run log extract out of the project (Project.detach_run_log); attaching the same log, test and entry brings back the same entries.

index_run_log_files

index_run_log_files(project: Any, params: dict[str, Any]) -> list[dict]

project.index_run_log_files: add the files a run log extract names to the data index, each checked against the SHA-256 the log records (Project.index_run_log_files), looking in the folders given, then beside the log and the project file.

report_identity

report_identity(project: Any, params: dict[str, Any]) -> list[dict]

project.report_identity: the report's identification fields as entered (Project.report_identity), which the page carries in its margins and its identification block while the report feature report_identity is on; then what is still missing before it can be issued. People authorized are comma-separated.

amend_report

amend_report(project: Any, params: dict[str, Any]) -> list[dict]

project.amend_report: an issued report amended (Project.amend_report): the change, where it is, what it said, what it says now and why, under a new revision (and a number of its own when given). The amendment is then issued like any report.