Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Test:Funding history test: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
Line 1: Line 1:
= Visual Test: The Wrapper =
= System Status Test Suite =
Below should be the Funding History table, automatically transcluded from the subpage. You should also see an "Edit Funding History" button.


{{Startup/Funding history}}
This suite verifies that data is attached ONLY to the Main Page and NOT the Subpage.


= Data Test: Context Verification =
== 1. Data Integrity Check ==
The query below tests if the sub-objects created on the sub-page are correctly linked to ''this'' page (Test:Funding_Example) via the "Is part of startup" property.
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
|mainlabel=-
|default=❌ '''FAIL:''' No subobjects found linked to {{PAGENAME}}.
}}
}}


= Debugging =
= Debug Actions =
* '''Current Page:''' {{PAGENAME}}
If the tests above fail:
* '''Expected Data Source:''' [[{{PAGENAME}}/Funding_history]]
# '''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?

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).

 InvestorRound
Test:Funding history test/Funding historyAndreessen HorowitzSeries A
Test:Funding history test/Funding historySequoia CapitalSeed
Test:Funding history test/Funding historyKhosla VenturesSeries B

Debug Actions

If the tests above fail:

  1. Purge this page: Click here to Purge Main Page
  2. Purge subpage: Click here to Purge Subpage