<commit_before>testScreens: test: ItemNA
#basic administration tasks
Set Error Capture [ On ]
Allow User Abort [ Off ]
If [ tlResults::_Ltestlearn = "" ]
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
Set Variable [ $$itemName; Value:InspectItems::testName ]
Set Field [ TEMP::testName ]
Go to Layout [ “discoveries” (testlearn) ]
New Record/Request
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::kreportNumber; $$reportNumber ]
Set Field [ testlearn::Location; $$locationName ]
Set Field [ testlearn::kcsection; $$Library ]
Set Field [ testlearn::ktest; $$item ]
#lock item location so it cannot be deleted unless all findings for it are deleted
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "t" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ tlResults::InspectionItemCountLocation; "N/A" ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Close Window [ Current Window ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "" and
tlResults::_Ltestlearn ≠ "" ]
Set Field [ tlResults::InspectionItemCountLocation; "N/A" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Set Field [ TEMP::testName ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "N/A" ]
Set Field [ tlResults::InspectionItemCountLocation; "OK" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Set Field [ TEMP::testName ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "N/A" or
tlResults::InspectionItemCountLocation = "OK" ]
If [ TLResultsOnReport::InspectionItemCount = "" ]
Set Field [ TEMP::testName ]
Show Custom Dialog [ Title: "FYI"; Message: "Use the star symbol to referr to other assessment findings. You currently do not have any for this item."; Buttons: “OK” ]
Set Field [ tlResults::InspectionItemCountLocation; "" ]
Go to Field [ ]
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
Go to Layout [ “discoveries” (testlearn) ]
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::ktest; $$item ]
Perform Find [ ]
Delete Record/Request
[ No dialog ]
#Unlock Item Location
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Perform Find [ ]
If [ Get ( LastError ) = 401 ]
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: pending" ]
End If
Close Window [ Current Window ]
Exit Script [ ]
End If
Set Field [ tlResults::InspectionItemCountLocation; "★" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation ≠ "N/A" and
tlResults::InspectionItemCountLocation ≠ "OK" and
tlResults::InspectionItemCountLocation ≠ "★" ]
Set Field [ TEMP::testName ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Exit Script [ ]
End If
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
Set Field [ TEMP::testName ]
Go to Layout [ “discoveries” (testlearn) ]
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::ktest; $$item ]
Perform Find [ ]
Delete Record/Request
[ No dialog ]
#Unlock Item Location
Enter Find Mode [ ]
January 7, 平成26 12:42:43 Imagination Quality Management.fp7 - ItemNA -1-testScreens: test: ItemNA
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Perform Find [ ]
If [ Get ( LastError ) = 401 ]
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: pending" ]
End If
Close Window [ Current Window ]
January 7, 平成26 12:42:43 Imagination Quality Management.fp7 - ItemNA -2-<commit_msg>Removed star symbol as possible test label<commit_after>testScreens: test: itemNA
#
#
#This script creates test result that is not shown
#as a test result.
#Instead, this record is used to show an N/A or OK
#next to a test. If the user decides to not show
#the OK, then this script deletes this test result record.
#
#
#basic administration tasks
Set Error Capture [ On ]
Allow User Abort [ Off ]
If [ tlResults::_Ltestlearn = "" ]
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
Set Variable [ $$itemName; Value:InspectItems::testName ]
Set Field [ TEMP::testName ]
Go to Layout [ “discoveries” (testlearn) ]
New Record/Request
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::kreportNumber; $$reportNumber ]
Set Field [ testlearn::Location; $$locationName ]
Set Field [ testlearn::kcsection; $$Library ]
Set Field [ testlearn::ktest; $$item ]
#lock item location so it cannot be deleted unless all findings for it are deleted
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "t" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ tlResults::InspectionItemCountLocation; "N/A" ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Close Window [ Current Window ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "" and
tlResults::_Ltestlearn ≠ "" ]
Set Field [ tlResults::InspectionItemCountLocation; "N/A" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Set Field [ TEMP::testName ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "N/A" ]
Set Field [ tlResults::InspectionItemCountLocation; "OK" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Set Field [ TEMP::testName ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation = "N/A" or
tlResults::InspectionItemCountLocation = "OK" ]
#
#
#Disable star symbol.
// If [ TLResultsOnReport::InspectionItemCount = "" ]
If [ TLResultsOnReport::InspectionItemCount = "" or TLResultsOnReport::InspectionItemCount ≠ "" ]
Set Field [ TEMP::testName ]
// Show Custom Dialog [ Title: "FYI"; Message: "Use the star symbol to referr to other assessment findings. You
currently do not have any for this item."; Buttons: “OK” ]
Set Field [ tlResults::InspectionItemCountLocation; "" ]
Go to Field [ ]
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
#
Go to Layout [ “discoveries” (testlearn) ]
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::ktest; $$item ]
Perform Find [ ]
#
Delete Record/Request
[ No dialog ]
#Unlock Item Location
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Perform Find [ ]
#
If [ Get ( LastError ) = 401 ]
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
#
Set Field [ InspectItems::gprogressGlobal; "status: pending" ]
End If
Close Window [ Current Window ]
Exit Script [ ]
End If
Set Field [ tlResults::InspectionItemCountLocation; "̣" ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Exit Script [ ]
Else If [ tlResults::InspectionItemCountLocation ≠ "N/A" and
tlResults::InspectionItemCountLocation ≠ "OK" and
tlResults::InspectionItemCountLocation ≠ "̣" ]
Set Field [ TEMP::testName ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: in progress" ]
Go to Field [ ]
Exit Script [ ]
End If
Freeze Window
New Window [ ]
#note item's ID number and name
Set Variable [ $$item; Value:InspectItems::_Ltest ]
Set Field [ TEMP::testName ]
Go to Layout [ “discoveries” (testlearn) ]
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Set Field [ testlearn::ktest; $$item ]
Perform Find [ ]
Delete Record/Request
[ No dialog ]
#Unlock Item Location
Enter Find Mode [ ]
Set Field [ testlearn::ktestSubject; TEMP::kdefaultNodeTestSubject ]
Set Field [ testlearn::kaudienceLocation; $$location ]
Perform Find [ ]
If [ Get ( LastError ) = 401 ]
Go to Layout [ “tableTestSubjectFocus” (tagTestSubjectLocation) ]
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::_LtestSubjectLocation; $$location ]
Perform Find [ ]
Set Field [ tagTestSubjectLocation::inUse; "" ]
#refind all location records for this session
Enter Find Mode [ ]
Set Field [ tagTestSubjectLocation::knode; TEMP::kdefaultNodeTestSubject ]
Perform Find [ ]
Go to Layout [ “step3_InspectionItems” (InspectItems) ]
Set Field [ InspectItems::gprogressGlobal; "status: pending" ]
End If
Close Window [ Current Window ]
December 15, ଘ౮27 15:57:59 Library.fp7 - itemNA -1-
{'fraction_non_alphanumeric': 0.10988052672887416, 'fraction_numerical': 0.005319612801953431, 'mean_word_length': 5.867065868263473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '106841', 'n_tokens_mistral': 3542, 'n_tokens_neox': 3494, 'n_words': 1129}