TruehandsDocs
engine 0.4.0 API Back to site

DocsTruehands Audit

Reason codes

Every finding on a clip carries one of 23 reason codes. This table is generated from the catalog in truehands/server/policies.py, the same catalog the server validates policies against, so it cannot drift from what the API accepts.

Default is what the Truehands default policy (version 0) does with the finding, which is exactly what the engine decides on its own. Allowed is what a policy may choose instead. Codes marked fixed cannot be changed.

Consequences#

ConsequenceWhat happens to the clip
rejectNot paid.
reviewHeld, not paid, until a person decides on the review desk.
partialPaid for its length minus the seconds the finding measured (idle, replayed or repeated frames).
ignoreThe finding is kept for the record but does not affect the verdict.

A clip takes the most severe consequence among its findings. A clip with no finding is accepted and paid in full.

All codes#

CodeDefaultWhat triggers it
unreadable_file
Unreadable file
Intake
reject
Fixed: a policy cannot change it.
The file is not an MP4/MOV container, has no video stream, its packets or stream cannot be read, or not one frame decodes. Also used for a clip with no decodable frame after intake.
Decided at intake: never paid, never billed.
ambiguous_streams
More than one video stream
Intake
reject
Fixed: a policy cannot change it.
More than one video stream in the file; exactly one is allowed.
Decided at intake.
codec_not_allowed
Video codec not accepted
Intake
reject
Fixed: a policy cannot change it.
The video codec is not H.264 or HEVC.
Decided at intake.
over_limits
Over size, length or resolution limit
Intake
reject
Fixed: a policy cannot change it.
File larger than the program's byte limit (default 8 GiB), longer than its clip-length limit (default 1 hour), or more than 8,294,400 pixels per frame.
Decided at intake.
invalid_manifest
Invalid manifest row
Intake
reject
Fixed: a policy cannot change it.
A manifest row with an id that is not 1-64 letters, digits, - or _, a clip id that appears twice, or a file that is missing or outside the program folder.
Decided at intake.
self_duplicate
Re-upload of own clip
Copies
reject
A policy may choose:
reject review
The clip lines up in order with an earlier clip of the same contributor (as-is, mirrored, reversed, 0.5-2x speed), or has the identical video stream (exact copy, always rejected at intake).
Applies to clips above the reject thresholds; partial overlap always goes to review. Exact copies of a video stream are always rejected.
cross_contributor_duplicate
Copied from another contributor
Copies
reject
A policy may choose:
reject review
The same, against an earlier clip of another contributor.
Applies to clips above the reject thresholds; partial overlap always goes to review. Exact copies of a video stream are always rejected.
public_dataset_match
Public dataset footage
Copies
reject
A policy may choose:
reject review
The clip lines up with footage in the reference library of public datasets.
Footage that matches the reference library of public datasets.
sensor_mismatch
Motion sensor contradicts video
Sensor
reject
A policy may choose:
reject review ignore
The gyro log does not track the camera motion seen in the picture, or the phone was nearly still while the picture kept moving. A weak match goes to review.
Runs only for clips sent with an IMU log.
task_mismatch
Task does not match
Task
review
A policy may choose:
reject review ignore
Zero-shot CLIP ranks the claimed task low for the whole clip and for nearly every frame, and the clip also looks unlike the program's other clips that claim that task.
Zero-shot check, weak on fine-grained hand work. Rejecting on it alone rejects honest clips.
not_from_capture_app
Not from capture app
Provenance
review
A policy may choose:
reject review ignore
program.json names a capture_app and the file's capture_app tag is missing or different (edited or exported elsewhere).
The file lacks the capture app's tags (edited or exported elsewhere).
reused_capture_timestamp
Reused capture timestamp
Provenance
review
A policy may choose:
reject review ignore
The file's creation_time tag equals that of an earlier clip in the run.
Same capture time as another clip in the run.
timing_mismatch
Frame count and timestamps disagree
Intake facts
review
A policy may choose:
reject review ignore
Seconds from the frame count and from the stream's timestamps differ by more than 5%. Paid seconds already use the smaller.
Paid seconds already use the smaller of the two.
idle_time
Idle time padding
Padding
partial
A policy may choose:
partial review reject ignore
Runs of 4 s or more with per-second motion energy below 1.2.
partial pays the clip's length minus its idle time.
internal_repeat
Replays its own footage
Padding
partial
A policy may choose:
partial review reject ignore
A stretch of 3 s or more replays earlier footage of the same clip frame for frame, as-is or mirrored.
Stretches that replay earlier footage of the same clip (looped, possibly mirrored). partial pays the clip's length minus the replayed seconds.
slowed_playback
Slowed down with repeated frames
Padding
partial
A policy may choose:
partial review reject ignore
At least 10% of moving frames repeat the frame before them, and at least 2 s of the clip's length is repeated frames.
Frames repeated to stretch the clip. partial pays the clip's length minus the repeated frames.
decode_errors
Video has decoding errors
Intake facts
review
A policy may choose:
reject review ignore
The decoder reported errors on the video stream; parts of it were not checked.
Parts of the video stream could not be decoded, so they were not checked.
sensor_log_invalid
Sensor log cannot be checked
Sensor
review
A policy may choose:
reject review ignore
The IMU log named in the manifest is missing, outside the program folder, too large, malformed, at a rate outside 20-2000 Hz, or covers less than 50% of the video.
The IMU log is missing, malformed or does not cover the video.
attestation_invalid
Signed capture does not check out
Signed capture
reject
A policy may choose:
reject review
The signed capture document is missing, malformed, from a device not enrolled or revoked, has a bad signature, or signs another video stream, another sensor log, another device, another length or a reused nonce.
The clip's capture signature is forged, from a device not enrolled, or signs other footage or another log.
attestation_missing
No signed capture
Signed capture
review
A policy may choose:
review reject ignore
The program requires signed capture and the manifest names no signed capture document for the clip.
The program requires signed capture and the clip has no signature.
engine_error
Engine could not check the clip
Engine
review
Fixed: a policy cannot change it.
A step failed inside the engine. The clip is held, not judged, and billed nothing.
A step failed inside the engine. The clip is held and billed nothing; re-run it after the fix.
decode_timeout
Decoding timed out
Engine
review
Fixed: a policy cannot change it.
A decode pass ran longer than 120 seconds plus 4 seconds per second of video. Held, not rejected, billed nothing.
The decoder ran out of time. The clip is held and billed nothing; re-run it.
cross_run_duplicate
Seen in an earlier run
Cross-run memory (hosted)
reject
A policy may choose:
reject review
After a run finishes, the clip matches a clip from an earlier run of the organisation: the identical video stream, or a near copy verified with the engine's alignment.
Footage that matches a clip from an earlier run. The clip takes the less severe of this and the matcher's own verdict.

Notes on specific codes#

  • Duplicates. self_duplicate and cross_contributor_duplicate reject a clip above the copy thresholds (coverage and distinct). A partial overlap, below them but above the review thresholds, always goes to review, whatever the policy says. A match with the contributor's own earlier clip needs a stronger alignment to reach review, because their new footage of the same workstation looks like their old footage by nature. An exact copy of a video stream is decided at intake and always rejected.
  • task_mismatch is a zero-shot check that is weak on fine-grained hand work. A policy may set it to reject, and the linter warns when it does: it would reject honest clips.
  • sensor_mismatch runs only for clips sent with a sensor log. A weak correlation is held for review even when the policy rejects strong mismatches.
  • engine_error and decode_timeout are our failures, not the contributor's. The clip is held, billed nothing, and should be re-run after the fix. They carry no weight in the contributor risk score.
  • cross_run_duplicate is added by the hosted service after a run, from cross-run memory. The clip takes the less severe of the policy's consequence and the matcher's own verdict, so a policy can soften it but never harden it past what the matcher found.
  • Unknown codes. A finding whose code this catalog does not know keeps the severity its producer gave it, so a policy can never loosen it.

Decisions on the review desk#

When a person decides a clip held for review, the decision carries one of these reasons, read from truehands/server/review_desk.py. Contributors see the last column.

DecisionCodeKeyLabelWhat the contributor is told
acceptfalse_positive1False positiveApproved after a person checked it
acceptverified_ok2Verified OKApproved after a person checked it
partialidle_padding1Idle paddingPaid in part: time with no activity was removed
partialoff_task_segment2Off-task segmentPaid in part: footage of other activity was removed
partialprivacy_cut3Privacy cutPaid in part: private footage was removed
rejectconfirmed_copy1Confirmed copyNot paid: the footage was copied
rejectpublic_footage2Public footageNot paid: the footage comes from a public source
rejectwrong_task3Wrong taskNot paid: the footage does not show the task
rejectstaged_or_fake4Staged or fakeNot paid: the footage was staged
rejectsensor_tamper5Sensor tamperingNot paid: the motion data does not match the video
rejectunusable6UnusableNot paid: the footage cannot be used
rejectprivacy_violation7Privacy violationNot paid: the footage breaks the privacy rules
rejectother8Other (see note)Not paid after review

Hold reasons#

A contributor hold (truehands hold, POST /v1/holds) takes one of: suspected_copying, public_footage, sensor_tampering, device_ring, duplicate_resubmission, identity_check, other.