> For the complete documentation index, see [llms.txt](https://pecan.gitbook.io/betydbdoc-dataentry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pecan.gitbook.io/betydbdoc-dataentry/appendices/quality-assurance.md).

# Quality Assurance

Quality assurance and quality control (QA/QC) is a critical step that is used to ensure the validity of data in the database and of the analyses that use these data. When conducting QA/QC, your data access level needs to be elevated to “manager”.

1. Open citation in Mendeley
2. Locate citation in BETYdb
   * Select `Use`
   * Select `Show`
   * Check that author, year, title, journal, volume, and page

     information is correct
   * Check that links to URL and PDF are correct, using DOI if

     available
   * If any information is incorrect, click ’edit’ to correct
3. Check that site(s) at bottom of citation record match site(s) in

   paper

   * Check that latitude and longitude are consistent with

     manuscript, are in decimals not degrees, and have appropriate

     level of precision
   * Click on site name to verify any additional information site

     information that is present
   * Enter any additional site level information that is found
4. Select

   [treatments](http://www.betydb.org/treatments/) from

   menu bar

   * Check that there is a control treatment
   * Ensure that treatment name and definition are consistent with

     information in the manuscript
   * Under “treatments from all citations associated with associated

     sites”, ensure that there is no redundancy (i.e. if another

     citation uses the same treatments, it should not be listed

     separately)
   * If managements are listed, make sure that managment-treatment

     associations are correct
5. Check [managements](http://www.betydb.org/managements/) if

   there are any listed on the treatments page.

   * If yield data has been collected, ensure that required

     managements have been entered
   * If managements have been entered, ensure that they are

     associated with the correct treatments
6. Click [Yields](http://www.betydb.org/yields/) or

   [Traits](http://www.betydb.org/traits/) to check

   data.

   * Check that means, sample size, and statistics have been entered

     correctly
   * If data has been transformed, check that transformation was

     correct in the associated google spreadsheet (or create a new

     google spreadsheet following instructions)
   * For any trait data that requires a covariate


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://pecan.gitbook.io/betydbdoc-dataentry/appendices/quality-assurance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
