Repository navigation
Label every generated document as written with the help of AI - #91
Merged
Merged
Conversation
…elp of AI The JD and vacancy request Word files carry a small grey footer on every page: "Portions of this document were generated and/or assisted with the use of artificial intelligence (AI) technologies." The on-screen and printed JD ends with the same line. The Word files now also state US Letter with 1-inch margins rather than leave the page to the reader's default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
JDWriter's output documents should say that AI helped write them. The label is meant to be small and unobtrusive.
What changed
server.core/Ai/AiDisclosure.cs); the client JD view repeats it, with a comment pointing back.Validation
dotnet test --filter "Category!=CorpusParity&Category!=LiveApi": 833 passed. New tests check that each Word file has the footer with the exact words. The existing Office-schema validation and relative-target (Apple reader) tests still pass.npm test -- --run: 221 passed. A new test checks the label on a saved JD.tsc -bandnpm run lintare clean..docxin Quick Look (Apple's reader), and the label shows small and grey. Quick Look doesn't paginate, so it shows the footer straight after the content. I haven't checked it in Word itself, where the footer sits at the foot of each page.🤖 Generated with Claude Code