Revision history for NPATforms
Additions:
They determine what:
-displays on our website on a candidate's PCT page
-what types of data can be imported as Issue Position determination research
-displays on our website on a candidate's PCT page
-what types of data can be imported as Issue Position determination research
Deletions:
-display on our website on a candidate's PCT page
Additions:
==**NPAT Forms**==
Deletions:
Additions:
**Notes About The editor:**
Deletions:
Additions:
SELECT DISTINCT npatrowtype_id, npatoption_id, code, optiontext
ORDER BY npatrowtype_id
ORDER BY npatrowtype_id
Deletions:
ORDER BY npatrow_id
Additions:
WHERE npatrowtype_id IN (19, 27)
Deletions:
Additions:
When PCTs have been finalized, each variation must be coded and entered into Admin BEFORE it is sent to candidates. Use the [[http://wiki.votesmart.org/NPATforms/files.xml?action=download&file=2014%20CODED%20NPAT%20PROCESSING%20FORM.doc Template Activity Log]] for coding each PCT. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). If there aren't many changes from the previous year, it may be easier to use the previous year's coding as a starting point. Coding is simple and should be done in the Notepad application so it is free of word processor formatting. Open a new Notepad document, copy and paste the PCT questions (or previous code) into the document. Every line of an NPAT form must have the "line syntax" applied- refer to the "form definition" as described in the NPAT editor above the text box. To determine the appropriate response option consult the NPAT Editor in admin (these are listed underneath the text box for the form). Each coded version should be checked at least once before uploading in admin. **IMPORTANT** It is very important that when you code the NPAT you make sure that there are no additional spaces at the end of lines- this will screw up the formatting. You can check this by highlighting the entire coded NPAT and then by scrolling through the document you can if there is additional highlighted space at the end of lines.
Notes About The editor:
- Coding "P" at the end of a question line gives that question a Profile = True designation in the npatrow table. This designation means it is a VE questions that will be researched for candidates' IP determinations.
- The number at the end of each question decides what "questiontype" that question will be. Make sure any questions that will be researched for VE gets a "27". This is important because a question type of 27 provides three answer options: Yes, No, and Unknown Position. When questions are researched and imported for VE, the import script will only accept Unknown Position determinations and the accompanying evidence if the question has a questiontype_id of 27. Running this query shows the important distinction between a questiontype_id of 19 and a questiontype_id of 27:
SELECT *
FROM npatrow
JOIN npatrowtype USING (npatrowtype_id)
JOIN npatoption USING (npatoptiongroup_id)
JOIN npatoptiontext USING (npatoptiontext_id)
WHERE npatrow_id IN (23140, 21672)
ORDER BY npatrow_id
Note that the question with a questiontype_id of 27 has Yes, No, and Unknown as answer options, but the question with a questiontype_id of 19 only has Yes and No.
Notes About The editor:
- Coding "P" at the end of a question line gives that question a Profile = True designation in the npatrow table. This designation means it is a VE questions that will be researched for candidates' IP determinations.
- The number at the end of each question decides what "questiontype" that question will be. Make sure any questions that will be researched for VE gets a "27". This is important because a question type of 27 provides three answer options: Yes, No, and Unknown Position. When questions are researched and imported for VE, the import script will only accept Unknown Position determinations and the accompanying evidence if the question has a questiontype_id of 27. Running this query shows the important distinction between a questiontype_id of 19 and a questiontype_id of 27:
SELECT *
FROM npatrow
JOIN npatrowtype USING (npatrowtype_id)
JOIN npatoption USING (npatoptiongroup_id)
JOIN npatoptiontext USING (npatoptiontext_id)
WHERE npatrow_id IN (23140, 21672)
ORDER BY npatrow_id
Note that the question with a questiontype_id of 27 has Yes, No, and Unknown as answer options, but the question with a questiontype_id of 19 only has Yes and No.
Deletions:
Additions:
-if the election is not being administered the PCT, make sure to detach the npat form from the election **before** adding candidates to the election.
Additions:
When PCTs have been finalized, each variation must be coded and entered into Admin BEFORE it is sent to candidates. Use the [[http://wiki.votesmart.org/NPATforms/files.xml?action=download&file=2014%20CODED%20NPAT%20PROCESSING%20FORM.doc Template Activity Log]] for coding each PCT. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). If there aren't many changes from the previous year, it may be easier to use the previous year's coding as a starting point. Coding is simple and should be done in the Notepad application so it is free of word processor formatting. Open a new Notepad document, copy and paste the PCT questions (or previous code) into the document. Every line of an NPAT form must have the "line syntax" applied- refer to the "form definition" as described in the NPAT editor. To determine the appropriate response option consult the NPAT Editor in admin (these are listed underneath the text box for the form). Each coded version should be checked at least once before uploading in admin. **IMPORTANT** It is very important that when you code the NPAT you make sure that there are no additional spaces at the end of lines- this will screw up the formatting. You can check this by highlighting the entire coded NPAT and then by scrolling through the document you can if there is additional highlighted space at the end of lines.
Deletions:
Additions:
{{files}}
Additions:
When PCTs have been finalized, each variation must be coded and entered into Admin BEFORE it is sent to candidates. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). If there aren't many changes from the previous year, it may be easier to use the previous year's coding as a starting point. Coding is simple and should be done in the Notepad application so it is free of word processor formatting. Open a new Notepad document, copy and paste the PCT questions (or previous code) into the document. Every line of an NPAT form must have the "line syntax" applied- refer to the "form definition" as described in the NPAT editor. To determine the appropriate response option consult the NPAT Editor in admin (these are listed underneath the text box for the form). Each coded version should be checked at least once before uploading in admin. **IMPORTANT** It is very important that when you code the NPAT you make sure that there are no additional spaces at the end of lines- this will screw up the formatting. You can check this by highlighting the entire coded NPAT and then by scrolling through the document you can if there is additional highlighted space at the end of lines.
Deletions:
Additions:
When PCTs have been finalized, each variation must be coded and entered into Admin BEFORE it is sent to candidates. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). If there aren't many changes from the previous year, it may be easier to use the previous year's coding as a starting point. Coding is simple and should be done in the Notepad application. Open a new Notepad document, copy and paste the PCT questions into the document. Be sure that you are selecting the appropriate response options. To determine the appropriate response option consult the NPAT Editor in admin. Each coded version should be checked at least once before uploading in admin. **IMPORTANT** It is very important that when you code the NPAT you make sure that there are no additional spaces at the end of lines- this will screw up the formatting. You can check this by highlighting the entire coded NPAT and then by scrolling through the document you can if there is additional highlighted space at the end of lines.
Deletions:
Additions:
When PCTs have been finalized, each variation must be coded and entered into Admin BEFORE it is sent to candidates. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). If there aren't many changes from the previous year, it may be easier to use the previous year's coding as a starting point. Coding is simple and should be done in the Notepad application. Open a new Notepad document, copy and paste the PCT questions into the document. Be sure that you are selecting the appropriate response options. To determine the appropriate response option consult the NPAT Editor in admin. Each coded version should be checked at least once before uploading in admin.
To Upload in admin, find the NPAT editor and select the appropriate Office, State, and Year. The form (with a form ID) should note the election/year (the form ID is created when you add an election in admin), select the NPAT form. In the blank text box area below copy and paste the coding. Select Preview and carefully review the document. Have at least one other person check the preview as well. When satisfied, lose the preview and select Done and Create Into Database. This coding will now be associated to the election and all candidates in it. If you need to make ANY changes to the PCT immediately notify IT (Do not make the changes yourself. If you make changes to the coding after any candidates have responses in admin your changes will override the form, deleting any respondent's answers). Verify that the appropriate NPAT form has been assigned to candidates by checking some of the candidates individually.
To Upload in admin, find the NPAT editor and select the appropriate Office, State, and Year. The form (with a form ID) should note the election/year (the form ID is created when you add an election in admin), select the NPAT form. In the blank text box area below copy and paste the coding. Select Preview and carefully review the document. Have at least one other person check the preview as well. When satisfied, lose the preview and select Done and Create Into Database. This coding will now be associated to the election and all candidates in it. If you need to make ANY changes to the PCT immediately notify IT (Do not make the changes yourself. If you make changes to the coding after any candidates have responses in admin your changes will override the form, deleting any respondent's answers). Verify that the appropriate NPAT form has been assigned to candidates by checking some of the candidates individually.
Deletions:
To Upload in admin, find the NPAT editor and select the appropriate Office, State, and Year. The form (with a form ID) should note the election/year (the form ID is created when you add an election in admin), select the NPAT form. In the blank text box area below copy and paste the coding. Select Preview and carefully review the document. Close the preview and select Done and Create Into Database. If you need to make ANY changes to the PCT immediately notify IT (Do not make the changes yourself. If you make changes to the coding after any candidates have responses in admin your changes will override the form, deleting any respondent's answers). Verify that the appropriate NPAT form has been assigned to candidates by checking some of the candidates individually.
Additions:
**Coding NPAT Forms:**
When PCTs have been finalized, each variation must be coded and entered into Admin. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). Coding is simple and should be done in the Notepad application. Open a new Notepad document, copy and paste the PCT questions into the document. Be sure that you are selecting the appropriate response options. To determine the appropriate response option consult the NPAT Editor in admin.
To Upload in admin, find the NPAT editor and select the appropriate Office, State, and Year. The form (with a form ID) should note the election/year (the form ID is created when you add an election in admin), select the NPAT form. In the blank text box area below copy and paste the coding. Select Preview and carefully review the document. Close the preview and select Done and Create Into Database. If you need to make ANY changes to the PCT immediately notify IT (Do not make the changes yourself. If you make changes to the coding after any candidates have responses in admin your changes will override the form, deleting any respondent's answers). Verify that the appropriate NPAT form has been assigned to candidates by checking some of the candidates individually.
**NPAT Forms Associated with Elections:**
When PCTs have been finalized, each variation must be coded and entered into Admin. Start with the federal and state cores; once they are 100% you can use them as templates for state-specific modifications. Refer to the previous years' coded PCT for an idea of what coding should look like (select the NPAT editor in admin). Coding is simple and should be done in the Notepad application. Open a new Notepad document, copy and paste the PCT questions into the document. Be sure that you are selecting the appropriate response options. To determine the appropriate response option consult the NPAT Editor in admin.
To Upload in admin, find the NPAT editor and select the appropriate Office, State, and Year. The form (with a form ID) should note the election/year (the form ID is created when you add an election in admin), select the NPAT form. In the blank text box area below copy and paste the coding. Select Preview and carefully review the document. Close the preview and select Done and Create Into Database. If you need to make ANY changes to the PCT immediately notify IT (Do not make the changes yourself. If you make changes to the coding after any candidates have responses in admin your changes will override the form, deleting any respondent's answers). Verify that the appropriate NPAT form has been assigned to candidates by checking some of the candidates individually.
**NPAT Forms Associated with Elections:**
Deletions:
Additions:
-NPAT forms must coded accurately and completely. Errors in coding caught prior to any PCT Testing for that NPAT Form ID can be adjusted in admin. However, once a PCT has been sent out, any changes to the NPAT form would in effect create two (or more) versions of the test in circulation. Later errors must be sorted out with IT with the Directors' approval.
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. Otherwise, candidates will be assigned an incorrect NPAT. Removing or changing an NPAT related to an election will not remove the NPAT already assigned to candidates candidates. If the NPAT form ID associated with an election must change after candidates have been added to an election, or there was no NPAT form attached to the election and there should have been, they will need to be fixed by IT.
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. Otherwise, candidates will be assigned an incorrect NPAT. Removing or changing an NPAT related to an election will not remove the NPAT already assigned to candidates candidates. If the NPAT form ID associated with an election must change after candidates have been added to an election, or there was no NPAT form attached to the election and there should have been, they will need to be fixed by IT.
Deletions:
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. If the NPAT form ID associated with an election must change after candidates have been added to an election, or there was no NPAT form attached to the election and there should have been, they will need to be fixed by IT.
Additions:
"NPAT forms" are digital versions of unique Political Courage Tests (questions and answer options) that we administer to candidates.
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. If the NPAT form ID associated with an election must change after candidates have been added to an election, or there was no NPAT form attached to the election and there should have been, they will need to be fixed by IT.
NPAT Forms Associated with Elections:
The NPAT form logic should reflect what offices we are testing with the PCT (those that aren't tested should have their NPAT form removed) and those receiving the same PCT should have the same NPAT form number, even if the PCT hasn't been created yet or the PCT questions and Answers haven't been added in admin. The typical standard is that: Gub elections and State Leg elections (within the same state) should have the same npat form number; All Congressional elections (in all states) should have the same npat form number (unique from other elections); All Presidential elections (in all states) should have the same npat form number (unique from other elections unless combined with the Congressional PCT); statewide, state leg special, and state judicial usually should not have npat forms attached; gub special and congressional may have this year's npat form, or last year's npat form, depending on the time of year- see your supervisor for which one we will be administering
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. If the NPAT form ID associated with an election must change after candidates have been added to an election, or there was no NPAT form attached to the election and there should have been, they will need to be fixed by IT.
NPAT Forms Associated with Elections:
The NPAT form logic should reflect what offices we are testing with the PCT (those that aren't tested should have their NPAT form removed) and those receiving the same PCT should have the same NPAT form number, even if the PCT hasn't been created yet or the PCT questions and Answers haven't been added in admin. The typical standard is that: Gub elections and State Leg elections (within the same state) should have the same npat form number; All Congressional elections (in all states) should have the same npat form number (unique from other elections); All Presidential elections (in all states) should have the same npat form number (unique from other elections unless combined with the Congressional PCT); statewide, state leg special, and state judicial usually should not have npat forms attached; gub special and congressional may have this year's npat form, or last year's npat form, depending on the time of year- see your supervisor for which one we will be administering
Deletions:
-the proper NPAT form must be associated with the proper elections prior to candidates being added to elections. If the NPAT form ID associated with an election must change after candidates have been added to an election, they will need to be fixed by IT.
NPAT Forms Associated with elections:
The NPAT form logic should reflect what offices we are testing with the PCT (those that aren't tested should have their NPAT form removed) and those receiving the same PCT should have the same NPAT form number, even if the PCT hasn't been created yet in admin. The typical standard is that: Gub elections and State Leg elections (within the same state) should have the same npat form number; All Congressional elections (in all states) should have the same npat form number (unique from other elections); All Presidential elections (in all states) should have the same npat form number (unique from other elections unless combined with the Congressional PCT); statewide, state leg special, and state judicial usually should not have npat forms attached; gub special and congressional may have this year's npat form, or last year's npat form, depending on the time of year- see your supervisor for which one we will be administering