Content contradicts extension
Ingence flags a file when its contents begin the way one format does and its extension names another. Containers that other formats are built on, such as PDF, HDF5 or ZIP, do not count.
content_contradicts_extension version 1+d1
Kind of rule: What is raised for attention (
flags). Raises something for a person’s attention without concluding anything.What it concludes: a finding
Reasoning:
defeasible. A conclusion is usually right, and is retracted when a rule it names concludes against it.What it reads: one file at a time
Is it available in this version?
Yes. The engine runs it.
What would defeat it
The engine never withdraws a finding. When any of these rules also concludes about the same thing, the finding records it:
installed_software_in_folder: Ingence recognizes a folder as an installed program, such as a copy of Fiji or a Python environment. It knows it by the parts it holds: a name ending in .app, program-style subfolders or mostly program files. Ingence still lists and reads its files, and rules about experiments leave them alone.
It stands aside beneath every folder one of these rules raises:
This rule is named as what would defeat:
Parameters
Parameter |
Shipped value |
May be |
What it does |
|---|---|---|---|
|
|
text |
The type detector whose opinion must stand behind a disagreement, as the shipped rule requires: a signature, compared against the extensions its format declares. |
|
|
one of |
Which half of a disagreement this rule reads. |
|
|
list of text |
The general-purpose containers a format is commonly written on. A signature naming one of these is read by the rule beside this one. |
|
|
list of text |
The containers whose use only a laboratory can say, raised as a question by the rule beside this one. |