Skip to content

fix(facebook): remove no-data.txt from json_en validation file list#75

Open
daniellemccool wants to merge 1 commit into
masterfrom
fix/remove-no-data-txt-fb-validation
Open

fix(facebook): remove no-data.txt from json_en validation file list#75
daniellemccool wants to merge 1 commit into
masterfrom
fix/remove-no-data-txt-fb-validation

Conversation

@daniellemccool

Copy link
Copy Markdown

no-data.txt is Facebook's empty-section placeholder, present in both JSON and HTML exports, so it can't discriminate between formats. Because it was in the json_en known_files list, an HTML-format DDP with several empty sections (e.g. the what-if test package, 22× no-data.txt) scored ~37% against the list — far over the 5% detection threshold — and validated as json_en despite containing zero .json data files.

Removes the three no-data.txt entries so detection keys only on format-specific filenames. Verified: the HTML package now scores 0% (rejected); a normal JSON DDP is unaffected (still well above threshold).

As noted in the issue, this is independent of the longer-term goal of having the standard scripts accept all export formats.

Closes #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove no-data.txt from Facebook validation file list

1 participant