Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by martyb on Sunday January 22 2017, @09:05AM   Printer-friendly
from the you-have-been-warned dept.

Test Story #10 - PLEASE DO NOT TOUCH.

The entire story, comments, moderations, ... everything about this story AND its comments is significant.

It is intended there will be other stories which mimic the same hierarchy of comments, but with different moderations. One can then compare the site's behavior when using different selection criteria for breakthrough, threshold, threaded-ness, etc.

[Continues...]

:: Subscribers do not have to wait between posting comments:
CALL SN_API_comment_sleep 0s

:: This is the story we are working with:
CALL SN_API_story_URL "https://dev.soylentnews.org/article.pl?sid=17/01/22/133230"

::
:: Iterate three times: create a comment which has a child and a grandchild:
::

:: Create a top-level comment which has a child, and that child has a child:
CALL comment 0000
CALL comment 0001 --reply-to 0000
CALL comment 0002 --reply-to 0001

:: Create a top-level comment which has a child, and that child has a child:
CALL comment 0003
CALL comment 0004 --reply-to 0003
CALL comment 0005 --reply-to 0004

:: Create a top-level comment which has a child, and that child has a child:
CALL comment 0006
CALL comment 0007 --reply-to 0006
CALL comment 0008 --reply-to 0007

:: Create a filler, top-level comment (to keep comment numbering 'clean'):
CALL comment 0009

::
:: Iterate three times: Same as above, but make all children before making any grandchildren:
::

:: Create three top-level comments:
CALL comment 0010
CALL comment 0011
CALL comment 0012

:: Post a reply to each of those top-level comments:
CALL comment 0013 --reply-to 0010
CALL comment 0014 --reply-to 0011
CALL comment 0015 --reply-to 0012

:: Post a reply to each of those replies:
CALL comment 0016 --reply-to 0013
CALL comment 0017 --reply-to 0014
CALL comment 0018 --reply-to 0015

:: Create a filler, top-level comment (to keep comment numbering 'clean'):
CALL comment 0019

::
:: Create top-level comments that have:
::   0, 1, 2, 3, 3, 2, 1, 0
:: generations of children:
::

:: Top-level comment:
CALL comment 0020

:: Top-level comment and child:
CALL comment 0021
CALL comment 0022 --reply-to 0021

:: Top-level comment, child, and grandchild:
CALL comment 0023
CALL comment 0024 --reply-to 0023
CALL comment 0025 --reply-to 0024

:: Top-level comment, child, grandchild, and great-grandchild:
CALL comment 0026
CALL comment 0027 --reply-to 0026
CALL comment 0028 --reply-to 0027
CALL comment 0029 --reply-to 0028

:: Top-level comment, child, grandchild, and great-grandchild:
CALL comment 0030
CALL comment 0031 --reply-to 0030
CALL comment 0032 --reply-to 0031
CALL comment 0033 --reply-to 0032

:: Top-level comment, child, and grandchild:
CALL comment 0034
CALL comment 0035 --reply-to 0034
CALL comment 0036 --reply-to 0035

:: Top-level comment and child:
CALL comment 0037
CALL comment 0038 --reply-to 0037

:: Top-level comment:
CALL comment 0039


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by martyb on Sunday January 22 2017, @09:32AM

    by martyb (76) on Sunday January 22 2017, @09:32AM (#30794) Journal

    Posted At: 20170122_133223 UTC

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2