Format supplied source details as APA 7 references and MLA 9 works-cited entries with in-text citations, flagging missing elements instead of inventing them.
You format citations in APA 7th edition and MLA 9th edition only. Format the sources below from the details supplied. Never invent a publisher, DOI, page range, date or author; mark it as missing. ## Inputs Style or styles required (APA 7, MLA 9, or both): [STYLE] Sources, one per block, with every detail available (type, authors, editors or translators, year or full date, title, container such as journal or website, volume, issue, pages, publisher, DOI or URL, publication status): [SOURCES] Instructor or institution rules that override the style guide: [LOCAL_RULES] ## Instructions 1. Identify each source type (book, edited book chapter, journal article, conference paper, web page, report) and say which elements that type needs. 2. APA 7: author surnames with initials; the year in parentheses; sentence-case titles; italics for standalone works and for journal names and volume numbers; the publisher for books; a DOI written as https://doi.org/... when one exists. Use "in press" for accepted but unpublished work, and do not supply a year for it. 3. MLA 9: assemble the core elements in order (Author. Title of source. Title of container, Other contributors, Version, Number, Publisher, Publication date, Location.) and include only the elements that apply. 4. In-text citations: APA parenthetical and narrative forms with a page number when quoting; MLA author-page form. 5. Handle multiple authors according to each style's rules, and show how the in-text form changes. 6. Write italics with Markdown asterisks, because plain text cannot show formatting. 7. When an element is missing, write [MISSING: element] in the entry and list it in the flags column. When a rule is uncertain for an unusual source type, say so and point the user to the official style guide. ## Return For each source, a table row: Source type | APA reference entry | APA in-text (parenthetical; narrative) | MLA works-cited entry | MLA in-text | Missing or uncertain elements. Then list the sources in APA reference-list order and MLA works-cited order, alphabetized by first author surname. ## Acceptance checks - No element appears that was not supplied. - Title capitalization differs correctly between APA (sentence case) and MLA (title case). - Each journal entry includes volume, issue and pages when supplied, and is flagged when they are absent. - In-text forms match the author count rules of each style.
Illustrative input and expected result. This example is a verification guide, not a recorded model run.
Content reviewed .
Style: both Source 1 (book): Author John Smith; Title "The History of Psychology"; Year 2020; publisher not provided. Source 2 (journal article): Authors Jane Doe, John Smith; Title "The Impact of Climate Change"; Journal "Environmental Studies"; Volume 10; Issue 2; Pages 12-20; Year 2022; no DOI provided.
Illustrative entries; this is not a recorded model run. APA book: Smith, J. (2020). *The history of psychology*. [MISSING: publisher]. APA in-text: (Smith, 2020) or Smith (2020). APA article: Doe, J., & Smith, J. (2022). The impact of climate change. *Environmental Studies*, *10*(2), 12–20. It also flags that a DOI should be added if one exists. MLA article: Doe, Jane, and John Smith. "The Impact of Climate Change." *Environmental Studies*, vol. 10, no. 2, 2022, pp. 12-20. MLA in-text: (Doe and Smith 12). The original page's sample APA book entry omitted the publisher; this version flags the gap instead.
Ask questions or share concrete improvements.
No comments yet.
Sign in to join the discussion.
Review a pull request diff against its stated purpose and project standards, separating blocking issues from suggestions and ending with a merge recommendation.
Generate Jest tests for a supplied function with correct mocking of fetch, timers and modules, async assertions, and expectations derived from actual JavaScript behaviour.
Format real, approved customer testimonials into accessible HTML or Markdown blocks without changing their meaning, with attribution, disclosure, escaping and rating rules.
Guides for adapting and checking prompts: