Changes to pvalue2.scroll.pub

root
root
9 days ago
Initial commit
concepts.scroll
Changed around line 1
+ measures.parsers
+
+ id PValueMisuseExample1
+ pValue 0.03
+ alphaLevel 0.05
+ effectSize 0.2
+ sampleSize 100
+ confidenceInterval "[0.1, 0.3]"
+ power 0.8
+ misuseFlag true
+
+ id PValueMisuseExample2
+ pValue 0.06
+ alphaLevel 0.05
+ effectSize 0.15
+ sampleSize 50
+ confidenceInterval "[0.05, 0.25]"
+ power 0.7
+ misuseFlag true
+
+ id CorrectPValueUseExample1
+ pValue 0.01
+ alphaLevel 0.05
+ effectSize 0.3
+ sampleSize 200
+ confidenceInterval "[0.25, 0.35]"
+ power 0.9
+ misuseFlag false
+
+ id CorrectPValueUseExample2
+ pValue 0.04
+ alphaLevel 0.05
+ effectSize 0.25
+ sampleSize 150
+ confidenceInterval "[0.2, 0.3]"
+ power 0.85
+ misuseFlag false
+
+ id CommonMisusePatterns
+ pValue 0.05
+ alphaLevel 0.05
+ effectSize 0.1
+ sampleSize 30
+ confidenceInterval "[0.0, 0.2]"
+ power 0.6
+ misuseFlag true
footer.scroll
Changed around line 1
+ importOnly
+ center
+ scrollVersionLink
header.scroll
Changed around line 1
+ importOnly
+ buildHtml
+ homeButton
+ metaTags
+ editButton
+ editBaseUrl /edit.html?folderName=pvalue.scroll.pub&fileName=
+ metaTags
+ style.css
+ script.js
index.scroll
Changed around line 1
+ title P-Value Misuse Detection Knowledge Base
+ header.scroll
+ concepts.scroll
+ concepts
+ printTable
+ footer.scroll
measures.parsers
Changed around line 1
+ pValueParser
+ extends abstractFloatMeasureParser
+ description The p-value calculated from a statistical test
+ alphaLevelParser
+ extends abstractFloatMeasureParser
+ description The significance level (α) used to determine statistical significance
+ effectSizeParser
+ extends abstractFloatMeasureParser
+ description The magnitude of the observed effect
+ sampleSizeParser
+ extends abstractIntegerMeasureParser
+ description The number of observations in the sample
+ confidenceIntervalParser
+ extends abstractStringMeasureParser
+ description The confidence interval for the effect size
+ powerParser
+ extends abstractFloatMeasureParser
+ description The statistical power of the test
+ misuseFlagParser
+ extends abstractBooleanMeasureParser
+ description Indicates whether the p-value is being misused
prompt.json
Changed around line 1
+ {
+ "id": "a3894a70-05a6-4113-973e-1a435a48f336",
+ "object": "chat.completion",
+ "created": 1741066557,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\npvalue.scroll.pub\n---measures.parsers---\npValueParser\n extends abstractFloatMeasureParser\n description The p-value calculated from a statistical test\nalphaLevelParser\n extends abstractFloatMeasureParser\n description The significance level (α) used to determine statistical significance\neffectSizeParser\n extends abstractFloatMeasureParser\n description The magnitude of the observed effect\nsampleSizeParser\n extends abstractIntegerMeasureParser\n description The number of observations in the sample\nconfidenceIntervalParser\n extends abstractStringMeasureParser\n description The confidence interval for the effect size\npowerParser\n extends abstractFloatMeasureParser\n description The statistical power of the test\nmisuseFlagParser\n extends abstractBooleanMeasureParser\n description Indicates whether the p-value is being misused\n\n---concepts.scroll---\nmeasures.parsers\n\nid PValueMisuseExample1\npValue 0.03\nalphaLevel 0.05\neffectSize 0.2\nsampleSize 100\nconfidenceInterval \"[0.1, 0.3]\"\npower 0.8\nmisuseFlag true\n\nid PValueMisuseExample2\npValue 0.06\nalphaLevel 0.05\neffectSize 0.15\nsampleSize 50\nconfidenceInterval \"[0.05, 0.25]\"\npower 0.7\nmisuseFlag true\n\nid CorrectPValueUseExample1\npValue 0.01\nalphaLevel 0.05\neffectSize 0.3\nsampleSize 200\nconfidenceInterval \"[0.25, 0.35]\"\npower 0.9\nmisuseFlag false\n\nid CorrectPValueUseExample2\npValue 0.04\nalphaLevel 0.05\neffectSize 0.25\nsampleSize 150\nconfidenceInterval \"[0.2, 0.3]\"\npower 0.85\nmisuseFlag false\n\nid CommonMisusePatterns\npValue 0.05\nalphaLevel 0.05\neffectSize 0.1\nsampleSize 30\nconfidenceInterval \"[0.0, 0.2]\"\npower 0.6\nmisuseFlag true\n\n---index.scroll---\ntitle P-Value Misuse Detection Knowledge Base\nheader.scroll\nconcepts.scroll\nconcepts\n printTable\nfooter.scroll\n---header.scroll---\nimportOnly\nbuildHtml\nhomeButton\nmetaTags\neditButton\neditBaseUrl /edit.html?folderName=pvalue.scroll.pub&fileName=\nmetaTags\nstyle.css\nscript.js\n---footer.scroll---\nimportOnly\ncenter\nscrollVersionLink\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #3498db;\n --accent-color: #e74c3c;\n --background-color: #ecf0f1;\n --text-color: #2c3e50;\n --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 20px;\n line-height: 1.6;\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 20px;\n text-align: center;\n margin-bottom: 30px;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: 30px;\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);\n}\n\nth, td {\n padding: 15px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\nth {\n background-color: var(--secondary-color);\n color: white;\n}\n\ntr:hover {\n background-color: #f5f5f5;\n}\n\n.misuse-true {\n background-color: #f8d7da;\n border-left: 5px solid var(--accent-color);\n}\n\n.misuse-false {\n background-color: #d4edda;\n border-left: 5px solid #28a745;\n}\n\nfooter {\n text-align: center;\n margin-top: 50px;\n padding: 20px;\n background-color: var(--primary-color);\n color: white;\n}\n\n@media (max-width: 768px) {\n table {\n display: block;\n overflow-x: auto;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const rows = document.querySelectorAll('tr');\n \n rows.forEach(row => {\n const misuseCell = row.querySelector('td:nth-child(8)');\n if (misuseCell) {\n if (misuseCell.textContent.trim() === 'true') {\n row.classList.add('misuse-true');\n } else if (misuseCell.textContent.trim() === 'false') {\n row.classList.add('misuse-false');\n }\n }\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 611,
+ "completion_tokens": 1083,
+ "total_tokens": 1694,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 611
+ },
+ "system_fingerprint": "fp_3a5770e1b4_prod0225"
+ }
readme.scroll
Changed around line 1
+ # pvalue2.scroll.pub
+
+ Prompt: database
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ Detect p-value misuse with real-time feedback.
+
+ ## System prompt
+ You are an expert web, scroll, and knowledge base developer. Create a knowledge base using ScrollSets based on this request: "Detect p-value misuse with real-time feedback."
+
+ ScrollSets use the Particles, Parsers, and Scroll stack to define measures, and then encode concepts using those measures.
+
+ For example:
+
+ ---measures.parsers---
+ idParser
+ extends abstractIdParser
+ organismParser
+ extends abstractStringMeasureParser
+ description The organism name mainly associated with the organelle such as human, plant, whale, etc.
+ diameterParser
+ extends abstractIntegerMeasureParser
+ description The diameter of the organelle in nanometers
+ lowParser
+ extends abstractIntegerMeasureParser
+ description For cells that have this kind of organelle, how many are usually found on the low end?
+ medianParser
+ extends abstractIntegerMeasureParser
+ description For cells that have this kind of organelle, how many are usually found in the median?
+ highParser
+ extends abstractIntegerMeasureParser
+ description For cells that have this kind of organelle, how many are usually found on the high end?
+
+ ---concepts.scroll---
+ measures.parsers
+
+ id Mitochondria
+ organism human
+ diameter 1000
+ low 200
+ median 500
+ high 2000
+
+ id Chloroplast
+ organism plant
+ diameter 6000
+ low 20
+ median 40
+ high 100
+
+ id Nucleus
+ organism human
+ diameter 6000
+ low 1
+ median 1
+ high 2
+
+ ---
+
+ Requirements:
+ - Create 5 - 7 measures. The most important things about this topic.
+ - Write 5 concepts. The most important concepts in this topic.
+ - Build a nice homepage iterating over the data.
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---measures.parsers---
+ (put measures here)
+ ---concepts.scroll---
+ (put concepts here)
+ ---index.scroll---
+ title (database title here)
+ header.scroll
+ (content here)
+ concepts.scroll
+ concepts
+ printTable
+ footer.scroll
+ ---header.scroll---
+ importOnly
+ buildHtml
+ homeButton
+ metaTags
+ editButton
+ editBaseUrl /edit.html?folderName=(domainscroll.pub here)&fileName=
+ metaTags
+ style.css
+ script.js
+ ---footer.scroll---
+ importOnly
+ center
+ scrollVersionLink
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ const rows = document.querySelectorAll('tr');
+
+ rows.forEach(row => {
+ const misuseCell = row.querySelector('td:nth-child(8)');
+ if (misuseCell) {
+ if (misuseCell.textContent.trim() === 'true') {
+ row.classList.add('misuse-true');
+ } else if (misuseCell.textContent.trim() === 'false') {
+ row.classList.add('misuse-false');
+ }
+ }
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --accent-color: #e74c3c;
+ --background-color: #ecf0f1;
+ --text-color: #2c3e50;
+ --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ }
+
+ body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 20px;
+ line-height: 1.6;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 20px;
+ text-align: center;
+ margin-bottom: 30px;
+ }
+
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ margin-bottom: 30px;
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
+ }
+
+ th, td {
+ padding: 15px;
+ text-align: left;
+ border-bottom: 1px solid #ddd;
+ }
+
+ th {
+ background-color: var(--secondary-color);
+ color: white;
+ }
+
+ tr:hover {
+ background-color: #f5f5f5;
+ }
+
+ .misuse-true {
+ background-color: #f8d7da;
+ border-left: 5px solid var(--accent-color);
+ }
+
+ .misuse-false {
+ background-color: #d4edda;
+ border-left: 5px solid #28a745;
+ }
+
+ footer {
+ text-align: center;
+ margin-top: 50px;
+ padding: 20px;
+ background-color: var(--primary-color);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ table {
+ display: block;
+ overflow-x: auto;
+ }
+ }