Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

test: remove unused import oracle fixture export

Amruth Pillaica0a121b2883
diff --git a/packages/api/src/features/resume/fixtures/README.md b/packages/api/src/features/resume/fixtures/README.md
index fc3533ca6..8de58caf4 100644
--- a/packages/api/src/features/resume/fixtures/README.md
+++ b/packages/api/src/features/resume/fixtures/README.md
@@ -35,7 +35,7 @@ V8 is an integration-only refresh onto main `385271cd3ecefbeb1fe0af9b898a50989a9
## V9 ownership and bounded-work regressions
-`pdf-ownership.ts` builds fictional complete-section sources for all 18 shipped templates: Education before/after Experience, default/full-width/two-column, empty/graded descriptions, small/loose typography, long identity and extra identity links. `import-ownership.test.ts` renders actual PDFs, exercises authenticated import, and compares full identity, Summary, Education, Projects, complete Experience, custom content and supported fields in other sections. `ownershipFields` exposes every section/URL data field for the external all-field oracle; it does not certify currently unresolved profile/proficiency/ancillary positional mappings.
+`pdf-ownership.ts` builds fictional complete-section sources for all 18 shipped templates: Education before/after Experience, default/full-width/two-column, empty/graded descriptions, small/loose typography, long identity and extra identity links. `import-ownership.test.ts` renders actual PDFs, exercises authenticated import, and compares full identity, Summary, Education, Projects, complete Experience, custom content and supported fields in other sections. The archived external all-field oracle compares every section/URL data field; it does not certify currently unresolved profile/proficiency/ancillary positional mappings. Its projection helper stays with the external evidence rather than as an unused fixture export.
`dense-2p.pdf` is the independent review's synthetic Helvetica 6pt grid, 2 pages ×100 rows ×8 cells. Each cell is `w{page}x{row}y{column}`; no personal data. Source: `/tmp/rx93-v8-independent-r1/dense/grid-2p-100x8.pdf`. Permanent authenticated-import assertion requires all 1,600 cells in bounded fallback Summary. Deterministic candidate-budget tests live in `packages/import/src/pdf-geometry.test.ts`; actual dense 2/3/5/10-page costs, HTTP health, browser worker responsiveness and full-field source/base comparisons are archived at `/tmp/rx93-rework-v9/proof.md`.
diff --git a/packages/api/src/features/resume/fixtures/pdf-ownership.ts b/packages/api/src/features/resume/fixtures/pdf-ownership.ts
index 19b19f6ee..e88774378 100644
--- a/packages/api/src/features/resume/fixtures/pdf-ownership.ts
+++ b/packages/api/src/features/resume/fixtures/pdf-ownership.ts
@@ -162,42 +162,3 @@ export function ownershipSource({ kind }: (typeof ownershipCases)[number]): Resu
}
return d;
}
-
-/** Every data field in these sections is compared; only non-textual identity/style metadata is excluded. */
-export function ownershipFields(data: ResumeData): Record<string, unknown> {
- const fields: Record<string, unknown> = {};
- const walk = (value: unknown, path: string) => {
- if (Array.isArray(value)) {
- fields[path + ".count"] = value.length;
- value.forEach((item, index) => walk(item, path + "." + index));
- return;
- }
- if (value && typeof value === "object") {
- for (const [key, item] of Object.entries(value)) {
- if (
- [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "inlineLink",
- "columns",
- "keepTogether",
- "startOnNewPage",
- "showHeading",
- ].includes(key)
- )
- continue;
- walk(item, path + "." + key);
- }
- return;
- }
- fields[path] = value;
- };
- walk(data.basics, "basics");
- walk({ title: data.summary.title, content: data.summary.content }, "summary");
- for (const [key, section] of Object.entries(data.sections))
- walk({ title: section.title, items: section.items }, "sections." + key);
- walk(data.customSections, "customSections");
- return fields;
-}