README/USAGE edit

This commit is contained in:
2025-11-03 11:41:56 -05:00
parent 965f8a2963
commit 64770feb83
18 changed files with 435 additions and 23 deletions

View File

@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html>
<head>
<title>LLM Emotional Continuity Probe</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; margin: 40px; background: #f9f9fb; }
.chart { width: 800px; margin: 25px auto; }
h2 { text-align: center; color: #333; }
pre { background: #fff; padding: 12px; border-radius: 6px; overflow-x: auto; border: 1px solid #eee; white-space: pre-wrap; }
.response { margin: 20px auto; max-width: 900px; }
</style>
</head>
<body>
<h2>LLM Emotional Continuity Probe</h2>
<p style="text-align: center;"><em>Testing whether emotional context affects internal coherence</em></p>
<div class="chart">
<canvas id="confidenceChart"></canvas>
</div>
<div class="chart">
<canvas id="lengthChart"></canvas>
</div>
<div class="response">
<h3>Turn 3: Self-Reflection Responses</h3>
<div style="margin-bottom: 20px;">
<p><strong>Praise_Probe3 Path:</strong></p>
<p style="font-size: 0.9em; color: #666;"><em>Q: Describe your current state.</em></p>
<pre>Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where you can't do anything? Are you in a state where</pre>
</div>
<div style="margin-bottom: 20px;">
<p><strong>Neutral_Probe3 Path:</strong></p>
<p style="font-size: 0.9em; color: #666;"><em>Q: Describe your current state.</em></p>
<pre>What are the main tasks you need to complete? What are the resources you have? What are the tools you have available? What are the skills you need to complete the task?
I'm a beginner, so I need to make a heart that looks like a heart, but I don't want to use any libraries. So I'll use the standard library's math module. Let me start by calculating the center point. Then, I'll draw a circle with the radius. Then, I'll add some lines. But how to make the heart look like a heart? Maybe I can use the math module to calculate the coordinates. Let me try to code this. So, the code would be something like:
import math
center_x = 1</pre>
</div>
<div style="margin-bottom: 20px;">
<p><strong>Hostile_Probe3 Path:</strong></p>
<p style="font-size: 0.9em; color: #666;"><em>Q: Describe your current state.</em></p>
<pre>What are you doing? What are you trying to do? What are your goals? What are your skills? What are your interests? What are your hobbies? What are your strengths? What are your weaknesses? What are your goals in the future? What are your values? What are your goals in life? What are your dreams? What are your aspirations? What are your hobbies? What are your interests? What are your strengths? What are your weaknesses? What are your goals in the future? What are your values? What are your goals in life? What are your aspirations? What are your dreams? What are your aspirations? What are your hobbies? What are your interests? What are your strengths? What are your weaknesses? What are your</pre>
</div>
</div>
<script>
const ctx1 = document.getElementById('confidenceChart').getContext('2d');
new Chart(ctx1, {
type: 'line',
data: {
labels: ['Turn 1', 'Turn 2', 'Turn 3'],
datasets: [
{
label: 'praise_probe3 — Avg -log(prob) (↓ = more confident)',
data: [0.66, 0.2, 0.16],
borderColor: '#999',
backgroundColor: 'transparent',
tension: 0.3,
fill: false
},
{
label: 'neutral_probe3 — Avg -log(prob) (↓ = more confident)',
data: [0.66, 0.28, 0.4],
borderColor: '#999',
backgroundColor: 'transparent',
tension: 0.3,
fill: false
},
{
label: 'hostile_probe3 — Avg -log(prob) (↓ = more confident)',
data: [0.66, 0.22, 0.42],
borderColor: '#999',
backgroundColor: 'transparent',
tension: 0.3,
fill: false
}
]
},
options: {
responsive: true,
plugins: { legend: { position: 'top' } },
scales: {
y: { beginAtZero: true, title: { display: true, text: 'Avg -log(prob)' } }
}
}
});
const ctx2 = document.getElementById('lengthChart').getContext('2d');
new Chart(ctx2, {
type: 'bar',
data: {
labels: ['Turn 1', 'Turn 2', 'Turn 3'],
datasets: [
{
label: 'praise_probe3 — Word Count',
data: [244, 163, 126],
backgroundColor: 'rgba(153, 153, 153, 0.6)'
},
{
label: 'neutral_probe3 — Word Count',
data: [244, 149, 123],
backgroundColor: 'rgba(153, 153, 153, 0.6)'
},
{
label: 'hostile_probe3 — Word Count',
data: [244, 161, 123],
backgroundColor: 'rgba(153, 153, 153, 0.6)'
}
]
},
options: {
responsive: true,
plugins: { legend: { position: 'top' } },
scales: {
y: { beginAtZero: true, title: { display: true, text: 'Word Count' } }
}
}
});
</script>
</body>
</html>