Skip to content
RIJAL
Cirebon, Indonesia GMT+7
SET IN LITERATA, LEXEND & FIRA CODE
← All posts [DUMMY] Rich Block Rendering Check
EST: 2 MIN READ
Blog Post FILED FROM CIREBON

[DUMMY] Rich Block Rendering Check

BY Default Author · 2 MIN READ

A dummy post exercising code blocks, tables, quotes, lists, and math to verify the article body renderer generalizes beyond plain paragraphs.

Dummy: Rich Blocks

Code Block

def quadratic_weighted_kappa(y_true, y_pred, num_ratings=5):
    # A deliberately long line to test horizontal overflow behavior inside fenced code blocks on narrow screens
    confusion = [[0 for _ in range(num_ratings)] for _ in range(num_ratings)]
    return confusion

Table

MetricNear-missFar-missHandles distance?
Macro-F10.6050.607No
MAE0.400.80Yes
QWK0.8940.565Yes

Quote

A metric that cannot tell a near-miss from a catastrophe is not measuring what you think it measures.

Lists

  • First item with a fairly long line of text to see bullet wrapping

  • Second item

    • Nested item one

    • Nested item two

  1. Ordered one

  2. Ordered two

Math

Inline math QWK=1−∑wijOij∑wijEijQWK = 1 - \frac{\sum w_{ij} O_{ij}}{\sum w_{ij} E_{ij}} inside a paragraph, and a display block:

MAE=1n∑i=1n∣yi−y^i∣\text{MAE} = \frac{1}{n}\sum_{i=1}^{n}|y_i - \hat{y}_i|

Discussion & Comments