Test:Funding history test: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= | = System Status Test Suite = | ||
This suite verifies that data is attached ONLY to the Main Page and NOT the Subpage. | |||
= Data | == 1. Data Integrity Check == | ||
Does the data exist at all? | |||
* '''Expected:''' 3 rows (Sequoia, Andreessen, Khosla). | |||
* '''Actual:''' {{#ask: [[Is part of startup::{{PAGENAME}}]] | format=count }} | |||
== 2. Location Verification (Crucial) == | |||
Where are the subobjects physically stored? | |||
{| class="wikitable" | |||
! Check Target !! Expected Count !! Actual Count !! Status | |||
|- | |||
| '''Attached to Main Page'''<br>([[{{PAGENAME}}]]) | |||
| 3 | |||
| {{#ask: [[-Has subobject::{{PAGENAME}}]] | format=count }} | |||
| {{#ifeq:{{#ask: [[-Has subobject::{{PAGENAME}}]] | format=count }}|3|<span style="color:green; font-weight:bold">PASS</span>|<span style="color:red; font-weight:bold">FAIL</span>}} | |||
|- | |||
| '''Attached to Subpage'''<br>([[{{PAGENAME}}/Funding_history]]) | |||
| 0 | |||
| {{#ask: [[-Has subobject::{{PAGENAME}}/Funding_history]] | format=count }} | |||
| {{#ifeq:{{#ask: [[-Has subobject::{{PAGENAME}}/Funding_history]] | format=count }}|0|<span style="color:green; font-weight:bold">PASS</span>|<span style="color:red; font-weight:bold">FAIL - DUPLICATES DETECTED</span>}} | |||
|} | |||
== 3. "Is part of startup" Property Test == | |||
Does the property point to the correct page name? | |||
* '''Target Page:''' {{PAGENAME}} | |||
* '''Property Value:''' {{#ask: [[Is part of startup::{{PAGENAME}}]] |?Is part of startup= |mainlabel=- |limit=1 }} | |||
* '''Match Status:''' {{#ifeq:{{#ask: [[Is part of startup::{{PAGENAME}}]] |?Is part of startup= |mainlabel=- |limit=1 }}|{{PAGENAME}}|<span style="color:green; font-weight:bold">PASS</span>|<span style="color:red; font-weight:bold">FAIL</span>}} | |||
== 4. Query Usability Test == | |||
Can we query this data naturally without "hacks"? | |||
''(The link in the first column should take you to the Main Page, not the subpage).'' | |||
{{#ask: [[Is part of startup::{{PAGENAME}}]] | {{#ask: [[Is part of startup::{{PAGENAME}}]] | ||
| Line 11: | Line 39: | ||
|?HasFunding Round=Round | |?HasFunding Round=Round | ||
|format=table | |format=table | ||
}} | }} | ||
= | = Debug Actions = | ||
If the tests above fail: | |||
# '''Purge this page:''' [{{fullurl:{{PAGENAME}}|action=purge}} Click here to Purge Main Page] | |||
# '''Purge subpage:''' [{{fullurl:{{PAGENAME}}/Funding_history|action=purge}} Click here to Purge Subpage] | |||
Revision as of 13:06, 2 December 2025
System Status Test Suite
This suite verifies that data is attached ONLY to the Main Page and NOT the Subpage.
1. Data Integrity Check
Does the data exist at all?
- Expected: 3 rows (Sequoia, Andreessen, Khosla).
- Actual: 3
2. Location Verification (Crucial)
Where are the subobjects physically stored?
| Check Target | Expected Count | Actual Count | Status |
|---|---|---|---|
| Attached to Main Page (Test:Funding history test) |
3 | 0 | FAIL |
| Attached to Subpage (Test:Funding history test/Funding_history) |
0 | 3 | FAIL - DUPLICATES DETECTED |
3. "Is part of startup" Property Test
Does the property point to the correct page name?
- Target Page: Test:Funding history test
- Property Value: Test:Funding history test... further results
- Match Status: FAIL
4. Query Usability Test
Can we query this data naturally without "hacks"? (The link in the first column should take you to the Main Page, not the subpage).
Debug Actions
If the tests above fail:
- Purge this page: Click here to Purge Main Page
- Purge subpage: Click here to Purge Subpage