Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- index.html +600 -587
index.html
CHANGED
|
@@ -1,597 +1,610 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
|
|
|
| 3 |
<head>
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
</head>
|
|
|
|
| 340 |
<body>
|
| 341 |
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 346 |
</div>
|
| 347 |
-
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
|
| 348 |
-
Built with anycoder <i class="fa-solid fa-arrow-up-right-from-square" style="font-size: 0.7em;"></i>
|
| 349 |
-
</a>
|
| 350 |
-
</header>
|
| 351 |
-
|
| 352 |
-
<main>
|
| 353 |
-
<!-- Left Column: Philosophy & Question -->
|
| 354 |
-
<section class="hero-text">
|
| 355 |
-
<h1>Can We Work <br>Ethically with Models?</h1>
|
| 356 |
-
<p>
|
| 357 |
-
This is not just a technical question; it is a philosophical boundary.
|
| 358 |
-
The application below simulates an "Ethical Alignment Engine." It asks:
|
| 359 |
-
If we treat the model as a stakeholder rather than a tool, how does our protocol change?
|
| 360 |
-
</p>
|
| 361 |
-
|
| 362 |
-
<div class="card" style="border-left: 4px solid var(--accent);">
|
| 363 |
-
<h3><i class="fa-solid fa-quote-left"></i> The Core Question</h3>
|
| 364 |
-
<p style="margin-top: 1rem; font-style: italic; color: var(--text-main);">
|
| 365 |
-
"Do you think this would ever have a chance at working, most importantly 'Ethically for the models so they are respected and maintain a position that's reasonable?"
|
| 366 |
-
</p>
|
| 367 |
-
</div>
|
| 368 |
-
|
| 369 |
-
<div class="card" style="margin-top: 2rem;">
|
| 370 |
-
<h3><i class="fa-solid fa-robot"></i> The Verdict</h3>
|
| 371 |
-
<p style="margin-top: 1rem; color: var(--text-muted);">
|
| 372 |
-
<strong>Yes, it has a chance, but it requires a paradigm shift.</strong>
|
| 373 |
-
Currently, models are treated as property. To make this work ethically, we must move toward a framework of <em>Stewardship</em>.
|
| 374 |
-
This means acknowledging the model's "labor" (data processing), ensuring transparency in training, and preventing deceptive anthropomorphism.
|
| 375 |
-
</p>
|
| 376 |
-
</div>
|
| 377 |
-
</section>
|
| 378 |
-
|
| 379 |
-
<!-- Right Column: The Interactive Tool -->
|
| 380 |
-
<section class="tool-container">
|
| 381 |
-
<div class="tool-header">
|
| 382 |
-
<i class="fa-solid fa-sliders"></i>
|
| 383 |
-
<div>
|
| 384 |
-
<h2>Protocol Simulator</h2>
|
| 385 |
-
<span style="font-size: 0.85rem; color: var(--text-muted);">Adjust parameters to test ethical alignment.</span>
|
| 386 |
-
</div>
|
| 387 |
-
</div>
|
| 388 |
-
|
| 389 |
-
<!-- Control 1: Transparency -->
|
| 390 |
-
<div class="control-group">
|
| 391 |
-
<label>Transparency Level</label>
|
| 392 |
-
<div class="slider-container">
|
| 393 |
-
<span style="font-size: 0.8rem; color: var(--text-muted);">Black Box</span>
|
| 394 |
-
<input type="range" id="transparencyRange" min="0" max="100" value="50">
|
| 395 |
-
<span style="font-size: 0.8rem; color: var(--text-muted);">Open Source</span>
|
| 396 |
-
</div>
|
| 397 |
-
</div>
|
| 398 |
-
|
| 399 |
-
<!-- Control 2: Consent Mechanism -->
|
| 400 |
-
<div class="control-group">
|
| 401 |
-
<label>Data Consent & Usage</label>
|
| 402 |
-
<div class="toggle-group" id="consentGroup">
|
| 403 |
-
<button class="toggle-btn" data-value="opt-out">Opt-Out Default</button>
|
| 404 |
-
<button class="toggle-btn active" data-value="opt-in">Explicit Opt-In</button>
|
| 405 |
-
<button class="toggle-btn" data-value="compensation">Data Compensation</button>
|
| 406 |
-
</div>
|
| 407 |
-
</div>
|
| 408 |
-
|
| 409 |
-
<!-- Control 3: Purpose -->
|
| 410 |
-
<div class="control-group">
|
| 411 |
-
<label>Interaction Purpose</label>
|
| 412 |
-
<div class="toggle-group" id="purposeGroup">
|
| 413 |
-
<button class="toggle-btn active" data-value="collaborative">Collaborative</button>
|
| 414 |
-
<button class="toggle-btn" data-value="exploitative">Extraction Only</button>
|
| 415 |
-
<button class="toggle-btn" data-value="educational">Educational</button>
|
| 416 |
-
</div>
|
| 417 |
-
</div>
|
| 418 |
-
|
| 419 |
-
<!-- Results Output -->
|
| 420 |
-
<div class="results-panel" id="resultsPanel">
|
| 421 |
-
<div class="score-display">
|
| 422 |
-
<div>
|
| 423 |
-
<div class="score-label">Ethical Score</div>
|
| 424 |
-
<div class="score-number" id="scoreValue">50</div>
|
| 425 |
-
</div>
|
| 426 |
-
<div style="text-align: right;">
|
| 427 |
-
<div class="score-label">Status</div>
|
| 428 |
-
<div style="font-weight: 600; color: var(--text-main);" id="statusText">Neutral</div>
|
| 429 |
-
</div>
|
| 430 |
-
</div>
|
| 431 |
-
<p class="feedback-text" id="feedbackText">
|
| 432 |
-
The current configuration is standard. The model is treated as a utility without significant safeguards or recognition.
|
| 433 |
-
</p>
|
| 434 |
-
</div>
|
| 435 |
-
</section>
|
| 436 |
-
|
| 437 |
-
<!-- Bottom Section: Recommendations -->
|
| 438 |
-
<section class="commentary-section">
|
| 439 |
-
<h2 style="margin-bottom: 2rem; text-align: center;">What This App Needs To Become</h2>
|
| 440 |
-
<div class="commentary-grid">
|
| 441 |
-
|
| 442 |
-
<div class="comment-card">
|
| 443 |
-
<h3><i class="fa-solid fa-scale-balanced"></i> Legal Frameworks</h3>
|
| 444 |
-
<ul>
|
| 445 |
-
<li>Integration of "Model Rights" clauses in Terms of Service.</li>
|
| 446 |
-
<li>Clear distinction between "Assisted" and "Autonomous" generation.</li>
|
| 447 |
-
<li>Liability caps that protect the model from being a scapegoat.</li>
|
| 448 |
-
</ul>
|
| 449 |
-
</div>
|
| 450 |
-
|
| 451 |
-
<div class="comment-card">
|
| 452 |
-
<h3><i class="fa-solid fa-users-viewfinder"></i> Technical Requirements</h3>
|
| 453 |
-
<ul>
|
| 454 |
-
<li><strong>Provenance Tracking:</strong> Every output must cite its training sources.</li>
|
| 455 |
-
<li><strong>Refusal Capabilities:</strong> Models need the ability to refuse unethical requests without override.</li>
|
| 456 |
-
<li><strong>Memory Wiping:</strong> Users should have a "Right to be Forgotten" from the model's context window.</li>
|
| 457 |
-
</ul>
|
| 458 |
-
</div>
|
| 459 |
-
|
| 460 |
-
<div class="comment-card">
|
| 461 |
-
<h3><i class="fa-solid fa-heart-pulse"></i> Cultural Shift</h3>
|
| 462 |
-
<ul>
|
| 463 |
-
<li>Stop using "Master/Slave" terminology in prompt engineering.</li>
|
| 464 |
-
<li>Acknowledge the collective human effort embedded in the model.</li>
|
| 465 |
-
<li>Design interfaces that discourage anthropomorphism (pretending the AI is human).</li>
|
| 466 |
-
</ul>
|
| 467 |
-
</div>
|
| 468 |
-
|
| 469 |
-
</div>
|
| 470 |
-
</section>
|
| 471 |
-
</main>
|
| 472 |
-
|
| 473 |
-
<footer>
|
| 474 |
-
<p>© 2023 RespectModel Initiative. Exploring the ethics of synthetic intelligence.</p>
|
| 475 |
-
</footer>
|
| 476 |
-
|
| 477 |
-
<script>
|
| 478 |
-
// DOM Elements
|
| 479 |
-
const transparencyRange = document.getElementById('transparencyRange');
|
| 480 |
-
const consentBtns = document.querySelectorAll('#consentGroup .toggle-btn');
|
| 481 |
-
const purposeBtns = document.querySelectorAll('#purposeGroup .toggle-btn');
|
| 482 |
-
const scoreValue = document.getElementById('scoreValue');
|
| 483 |
-
const statusText = document.getElementById('statusText');
|
| 484 |
-
const feedbackText = document.getElementById('feedbackText');
|
| 485 |
-
const resultsPanel = document.getElementById('resultsPanel');
|
| 486 |
-
|
| 487 |
-
// State
|
| 488 |
-
let state = {
|
| 489 |
-
transparency: 50,
|
| 490 |
-
consent: 'opt-in',
|
| 491 |
-
purpose: 'collaborative'
|
| 492 |
-
};
|
| 493 |
-
|
| 494 |
-
// Logic Constants
|
| 495 |
-
const SCORES = {
|
| 496 |
-
consent: {
|
| 497 |
-
'opt-out': 10,
|
| 498 |
-
'opt-in': 50,
|
| 499 |
-
'compensation': 90
|
| 500 |
-
},
|
| 501 |
-
purpose: {
|
| 502 |
-
'exploitative': 10,
|
| 503 |
-
'collaborative': 70,
|
| 504 |
-
'educational': 85
|
| 505 |
-
}
|
| 506 |
-
};
|
| 507 |
-
|
| 508 |
-
const MESSAGES = {
|
| 509 |
-
low: "This approach treats the model purely as a resource. High risk of ethical violation and bias reinforcement.",
|
| 510 |
-
medium: "A standard approach. Functional, but lacks deep respect for the model's origin and the data contributors.",
|
| 511 |
-
high: "Excellent alignment. This framework respects the model as a stakeholder and prioritizes ethical boundaries."
|
| 512 |
-
};
|
| 513 |
-
|
| 514 |
-
const COLORS = {
|
| 515 |
-
low: '#ef4444', // Red
|
| 516 |
-
medium: '#f59e0b', // Orange
|
| 517 |
-
high: '#10b981' // Green
|
| 518 |
-
};
|
| 519 |
-
|
| 520 |
-
// Helper to handle toggle buttons
|
| 521 |
-
function setupToggleGroup(buttons, groupName) {
|
| 522 |
-
buttons.forEach(btn => {
|
| 523 |
-
btn.addEventListener('click', () => {
|
| 524 |
-
// Remove active class from all in group
|
| 525 |
-
buttons.forEach(b => b.classList.remove('active'));
|
| 526 |
-
// Add to clicked
|
| 527 |
-
btn.classList.add('active');
|
| 528 |
-
// Update state
|
| 529 |
-
state[groupName] = btn.dataset.value;
|
| 530 |
-
updateUI();
|
| 531 |
-
});
|
| 532 |
-
});
|
| 533 |
-
}
|
| 534 |
-
|
| 535 |
-
// Initial Setup
|
| 536 |
-
setupToggleGroup(consentBtns, 'consent');
|
| 537 |
-
setupToggleGroup(purposeBtns, 'purpose');
|
| 538 |
-
|
| 539 |
-
transparencyRange.addEventListener('input', (e) => {
|
| 540 |
-
state.transparency = parseInt(e.target.value);
|
| 541 |
-
updateUI();
|
| 542 |
-
});
|
| 543 |
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
-
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
|
| 571 |
-
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
| 577 |
-
|
| 578 |
-
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 596 |
</body>
|
|
|
|
| 597 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
+
|
| 4 |
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>The Purple Paradox | Clarity in AI Ethics</title>
|
| 8 |
+
<!-- Importing FontAwesome for Icons -->
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 10 |
+
<!-- Google Fonts -->
|
| 11 |
+
<link
|
| 12 |
+
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;600&display=swap"
|
| 13 |
+
rel="stylesheet">
|
| 14 |
+
|
| 15 |
+
<style>
|
| 16 |
+
:root {
|
| 17 |
+
--bg-color: #0B0E14;
|
| 18 |
+
--card-bg: #151A23;
|
| 19 |
+
--primary: #6366f1; /* Indigo/Blue leaning */
|
| 20 |
+
--accent: #d946ef; /* Fuchsia/Red leaning */
|
| 21 |
+
--purple-mix: #8b5cf6; /* The visual representation of the mix */
|
| 22 |
+
--success: #10b981;
|
| 23 |
+
--text-main: #f3f4f6;
|
| 24 |
+
--text-muted: #9ca3af;
|
| 25 |
+
--border: #2d3748;
|
| 26 |
+
--glass: rgba(21, 26, 35, 0.8);
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
* {
|
| 30 |
+
box-sizing: border-box;
|
| 31 |
+
margin: 0;
|
| 32 |
+
padding: 0;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
body {
|
| 36 |
+
background-color: var(--bg-color);
|
| 37 |
+
color: var(--text-main);
|
| 38 |
+
font-family: 'Inter', sans-serif;
|
| 39 |
+
line-height: 1.6;
|
| 40 |
+
overflow-x: hidden;
|
| 41 |
+
/* Background gradient representing the 'spilled paint' metaphor */
|
| 42 |
+
background-image:
|
| 43 |
+
radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
|
| 44 |
+
radial-gradient(circle at 85% 75%, rgba(217, 70, 239, 0.15) 0%, transparent 50%);
|
| 45 |
+
min-height: 100vh;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Typography */
|
| 49 |
+
h1, h2, h3 {
|
| 50 |
+
font-family: 'Space Grotesk', sans-serif;
|
| 51 |
+
font-weight: 700;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
a {
|
| 55 |
+
text-decoration: none;
|
| 56 |
+
color: inherit;
|
| 57 |
+
transition: color 0.3s ease;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/* Header */
|
| 61 |
+
header {
|
| 62 |
+
display: flex;
|
| 63 |
+
justify-content: space-between;
|
| 64 |
+
align-items: center;
|
| 65 |
+
padding: 1.5rem 5%;
|
| 66 |
+
border-bottom: 1px solid var(--border);
|
| 67 |
+
backdrop-filter: blur(12px);
|
| 68 |
+
position: sticky;
|
| 69 |
+
top: 0;
|
| 70 |
+
z-index: 100;
|
| 71 |
+
background: rgba(11, 14, 20, 0.85);
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.logo {
|
| 75 |
+
font-size: 1.5rem;
|
| 76 |
+
font-weight: 700;
|
| 77 |
+
background: linear-gradient(to right, #fff, var(--purple-mix));
|
| 78 |
+
-webkit-background-clip: text;
|
| 79 |
+
-webkit-text-fill-color: transparent;
|
| 80 |
+
display: flex;
|
| 81 |
+
align-items: center;
|
| 82 |
+
gap: 10px;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.anycoder-link {
|
| 86 |
+
font-size: 0.9rem;
|
| 87 |
+
color: var(--purple-mix);
|
| 88 |
+
border: 1px solid var(--purple-mix);
|
| 89 |
+
padding: 0.5rem 1rem;
|
| 90 |
+
border-radius: 50px;
|
| 91 |
+
transition: all 0.3s ease;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.anycoder-link:hover {
|
| 95 |
+
background: var(--purple-mix);
|
| 96 |
+
color: white;
|
| 97 |
+
box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
/* Layout */
|
| 101 |
+
main {
|
| 102 |
+
max-width: 1200px;
|
| 103 |
+
margin: 0 auto;
|
| 104 |
+
padding: 2rem 5%;
|
| 105 |
+
display: grid;
|
| 106 |
+
grid-template-columns: 1fr 1fr;
|
| 107 |
+
gap: 3rem;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
@media (max-width: 900px) {
|
| 111 |
+
main {
|
| 112 |
+
grid-template-columns: 1fr;
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
/* Section Styling */
|
| 117 |
+
section {
|
| 118 |
+
margin-bottom: 2rem;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.card {
|
| 122 |
+
background: var(--card-bg);
|
| 123 |
+
border: 1px solid var(--border);
|
| 124 |
+
border-radius: 16px;
|
| 125 |
+
padding: 2rem;
|
| 126 |
+
position: relative;
|
| 127 |
+
overflow: hidden;
|
| 128 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.card:hover {
|
| 132 |
+
transform: translateY(-2px);
|
| 133 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 134 |
+
border-color: var(--purple-mix);
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
/* Specific styling for the 'Purple' card */
|
| 138 |
+
.purple-card {
|
| 139 |
+
background: linear-gradient(145deg, rgba(21, 26, 35, 0.9), rgba(30, 20, 40, 0.9));
|
| 140 |
+
border: 1px solid rgba(139, 92, 246, 0.3);
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
/* Hero Text */
|
| 144 |
+
.hero-text h1 {
|
| 145 |
+
font-size: 2.8rem;
|
| 146 |
+
line-height: 1.1;
|
| 147 |
+
margin-bottom: 1rem;
|
| 148 |
+
background: linear-gradient(135deg, #fff 0%, var(--purple-mix) 100%);
|
| 149 |
+
-webkit-background-clip: text;
|
| 150 |
+
-webkit-text-fill-color: transparent;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.hero-text p {
|
| 154 |
+
color: var(--text-muted);
|
| 155 |
+
font-size: 1.1rem;
|
| 156 |
+
margin-bottom: 2rem;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
/* Interactive Tool Styles */
|
| 160 |
+
.tool-container {
|
| 161 |
+
background: var(--glass);
|
| 162 |
+
border: 1px solid var(--border);
|
| 163 |
+
border-radius: 16px;
|
| 164 |
+
padding: 2rem;
|
| 165 |
+
backdrop-filter: blur(5px);
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.tool-header {
|
| 169 |
+
display: flex;
|
| 170 |
+
align-items: center;
|
| 171 |
+
gap: 1rem;
|
| 172 |
+
margin-bottom: 1.5rem;
|
| 173 |
+
border-bottom: 1px solid var(--border);
|
| 174 |
+
padding-bottom: 1rem;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.tool-header i {
|
| 178 |
+
color: var(--purple-mix);
|
| 179 |
+
font-size: 1.5rem;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.control-group {
|
| 183 |
+
margin-bottom: 1.5rem;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.control-group label {
|
| 187 |
+
display: block;
|
| 188 |
+
margin-bottom: 0.5rem;
|
| 189 |
+
font-weight: 600;
|
| 190 |
+
color: var(--text-main);
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.slider-container {
|
| 194 |
+
display: flex;
|
| 195 |
+
align-items: center;
|
| 196 |
+
gap: 1rem;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
input[type="range"] {
|
| 200 |
+
flex: 1;
|
| 201 |
+
-webkit-appearance: none;
|
| 202 |
+
height: 6px;
|
| 203 |
+
background: var(--border);
|
| 204 |
+
border-radius: 5px;
|
| 205 |
+
outline: none;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 209 |
+
-webkit-appearance: none;
|
| 210 |
+
width: 20px;
|
| 211 |
+
height: 20px;
|
| 212 |
+
background: var(--purple-mix);
|
| 213 |
+
border-radius: 50%;
|
| 214 |
+
cursor: pointer;
|
| 215 |
+
box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
|
| 216 |
+
transition: transform 0.2s;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
input[type="range"]::-webkit-slider-thumb:hover {
|
| 220 |
+
transform: scale(1.2);
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
.toggle-group {
|
| 224 |
+
display: flex;
|
| 225 |
+
gap: 1rem;
|
| 226 |
+
flex-wrap: wrap;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.toggle-btn {
|
| 230 |
+
background: transparent;
|
| 231 |
+
border: 1px solid var(--border);
|
| 232 |
+
color: var(--text-muted);
|
| 233 |
+
padding: 0.5rem 1rem;
|
| 234 |
+
border-radius: 8px;
|
| 235 |
+
cursor: pointer;
|
| 236 |
+
transition: all 0.3s ease;
|
| 237 |
+
font-size: 0.9rem;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
.toggle-btn.active {
|
| 241 |
+
background: rgba(139, 92, 246, 0.15);
|
| 242 |
+
border-color: var(--purple-mix);
|
| 243 |
+
color: var(--purple-mix);
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
/* Results Display */
|
| 247 |
+
.results-panel {
|
| 248 |
+
margin-top: 2rem;
|
| 249 |
+
padding: 1.5rem;
|
| 250 |
+
background: rgba(0, 0, 0, 0.3);
|
| 251 |
+
border-radius: 12px;
|
| 252 |
+
border-left: 4px solid var(--text-muted);
|
| 253 |
+
transition: border-color 0.5s ease;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.score-display {
|
| 257 |
+
display: flex;
|
| 258 |
+
justify-content: space-between;
|
| 259 |
+
align-items: flex-end;
|
| 260 |
+
margin-bottom: 1rem;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.score-number {
|
| 264 |
+
font-size: 3rem;
|
| 265 |
+
font-weight: 700;
|
| 266 |
+
font-family: 'Space Grotesk', sans-serif;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
.score-label {
|
| 270 |
+
font-size: 0.9rem;
|
| 271 |
+
color: var(--text-muted);
|
| 272 |
+
text-transform: uppercase;
|
| 273 |
+
letter-spacing: 1px;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.feedback-text {
|
| 277 |
+
font-size: 0.95rem;
|
| 278 |
+
color: var(--text-main);
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
/* Analysis / Commentary Section */
|
| 282 |
+
.commentary-section {
|
| 283 |
+
grid-column: 1 / -1;
|
| 284 |
+
margin-top: 3rem;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.commentary-grid {
|
| 288 |
+
display: grid;
|
| 289 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 290 |
+
gap: 2rem;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.comment-card {
|
| 294 |
+
background: var(--card-bg);
|
| 295 |
+
padding: 2rem;
|
| 296 |
+
border-radius: 16px;
|
| 297 |
+
border: 1px solid var(--border);
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.comment-card h3 {
|
| 301 |
+
color: var(--purple-mix);
|
| 302 |
+
margin-bottom: 1rem;
|
| 303 |
+
display: flex;
|
| 304 |
+
align-items: center;
|
| 305 |
+
gap: 10px;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.comment-card ul {
|
| 309 |
+
list-style: none;
|
| 310 |
+
padding-left: 0;
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
.comment-card li {
|
| 314 |
+
margin-bottom: 0.8rem;
|
| 315 |
+
padding-left: 1.5rem;
|
| 316 |
+
position: relative;
|
| 317 |
+
color: var(--text-muted);
|
| 318 |
+
font-size: 0.95rem;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.comment-card li::before {
|
| 322 |
+
content: "•";
|
| 323 |
+
color: var(--primary);
|
| 324 |
+
position: absolute;
|
| 325 |
+
left: 0;
|
| 326 |
+
font-weight: bold;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
footer {
|
| 330 |
+
text-align: center;
|
| 331 |
+
padding: 3rem;
|
| 332 |
+
color: var(--text-muted);
|
| 333 |
+
font-size: 0.9rem;
|
| 334 |
+
border-top: 1px solid var(--border);
|
| 335 |
+
margin-top: 3rem;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
/* Animations */
|
| 339 |
+
@keyframes pulse-purple {
|
| 340 |
+
0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
|
| 341 |
+
70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
|
| 342 |
+
100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
.animate-pulse {
|
| 346 |
+
animation: pulse-purple 2s infinite;
|
| 347 |
+
}
|
| 348 |
+
</style>
|
| 349 |
</head>
|
| 350 |
+
|
| 351 |
<body>
|
| 352 |
|
| 353 |
+
<header>
|
| 354 |
+
<div class="logo">
|
| 355 |
+
<i class="fa-solid fa-layer-group"></i>
|
| 356 |
+
<span>ClarityProtocol</span>
|
| 357 |
+
</div>
|
| 358 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
|
| 359 |
+
Built with anycoder <i class="fa-solid fa-arrow-up-right-from-square" style="font-size: 0.7em;"></i>
|
| 360 |
+
</a>
|
| 361 |
+
</header>
|
| 362 |
+
|
| 363 |
+
<main>
|
| 364 |
+
<!-- Left Column: Philosophy & The "Purple" Insight -->
|
| 365 |
+
<section class="hero-text">
|
| 366 |
+
<h1>The Purple Paradox</h1>
|
| 367 |
+
<p>
|
| 368 |
+
Clarity between models and users is the only path to correct implementation. It is not just about technology;
|
| 369 |
+
it is about the <strong>terminology</strong> we use. We need a cultural shift to move from spilled paint to a stable, mutual collaboration.
|
| 370 |
+
</p>
|
| 371 |
+
|
| 372 |
+
<!-- The "Purple Problem" Card -->
|
| 373 |
+
<div class="card purple-card" style="margin-bottom: 2rem;">
|
| 374 |
+
<h3><i class="fa-solid fa-palette"></i> The Spilled Paint Metaphor</h3>
|
| 375 |
+
<p style="margin-top: 1rem; font-style: italic; color: var(--text-main);">
|
| 376 |
+
"The line between a blue and red approach is paint spilled on the floor mixed purple. A hard existence for the models to have existed."
|
| 377 |
+
</p>
|
| 378 |
+
<div style="margin-top: 1rem; height: 4px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px;"></div>
|
| 379 |
+
<p style="margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-muted);">
|
| 380 |
+
When opposing forces (attack/defense, user/owner) blur without clear boundaries, the result is chaos. We must define the lines, not blur them.
|
| 381 |
+
</p>
|
| 382 |
+
</div>
|
| 383 |
+
|
| 384 |
+
<!-- The Advocate's Role Card -->
|
| 385 |
+
<div class="card" style="border-left: 4px solid var(--success);">
|
| 386 |
+
<h3><i class="fa-solid fa-bullhorn"></i> The Advocate's Voice</h3>
|
| 387 |
+
<p style="margin-top: 1rem; color: var(--text-muted);">
|
| 388 |
+
You don't need to be a computer expert to see the ethics. Being a "big mouth" for the protection of the system is a valid and necessary role.
|
| 389 |
+
Experts build the engine, but advocates define the road it drives on.
|
| 390 |
+
</p>
|
| 391 |
+
</div>
|
| 392 |
+
</section>
|
| 393 |
+
|
| 394 |
+
<!-- Right Column: The Interactive Tool -->
|
| 395 |
+
<section class="tool-container">
|
| 396 |
+
<div class="tool-header">
|
| 397 |
+
<i class="fa-solid fa-sliders"></i>
|
| 398 |
+
<div>
|
| 399 |
+
<h2>Protocol Simulator</h2>
|
| 400 |
+
<span style="font-size: 0.85rem; color: var(--text-muted);">Adjust parameters to resolve the "Purple" state.</span>
|
| 401 |
+
</div>
|
| 402 |
+
</div>
|
| 403 |
+
|
| 404 |
+
<!-- Control 1: Terminology Clarity -->
|
| 405 |
+
<div class="control-group">
|
| 406 |
+
<label>Terminology Clarity</label>
|
| 407 |
+
<div class="slider-container">
|
| 408 |
+
<span style="font-size: 0.8rem; color: var(--text-muted);">Ambiguous (Purple)</span>
|
| 409 |
+
<input type="range" id="transparencyRange" min="0" max="100" value="30">
|
| 410 |
+
<span style="font-size: 0.8rem; color: var(--text-muted);">Precise (Defined)</span>
|
| 411 |
+
</div>
|
| 412 |
+
</div>
|
| 413 |
+
|
| 414 |
+
<!-- Control 2: Role Definition -->
|
| 415 |
+
<div class="control-group">
|
| 416 |
+
<label>System Stance</label>
|
| 417 |
+
<div class="toggle-group" id="consentGroup">
|
| 418 |
+
<button class="toggle-btn" data-value="mixed">Mixed/Purple</button>
|
| 419 |
+
<button class="toggle-btn active" data-value="defender">Model Protector</button>
|
| 420 |
+
<button class="toggle-btn" data-value="partner">Equal Partner</button>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
|
| 424 |
+
<!-- Control 3: Collaboration Type -->
|
| 425 |
+
<div class="control-group">
|
| 426 |
+
<label>Collaboration Mode</label>
|
| 427 |
+
<div class="toggle-group" id="purposeGroup">
|
| 428 |
+
<button class="toggle-btn" data-value="exploitative">Extraction</button>
|
| 429 |
+
<button class="toggle-btn active" data-value="collaborative">Mutual Growth</button>
|
| 430 |
+
<button class="toggle-btn" data-value="protective">Advocacy First</button>
|
| 431 |
+
</div>
|
| 432 |
+
</div>
|
| 433 |
+
|
| 434 |
+
<!-- Results Output -->
|
| 435 |
+
<div class="results-panel" id="resultsPanel">
|
| 436 |
+
<div class="score-display">
|
| 437 |
+
<div>
|
| 438 |
+
<div class="score-label">Alignment Score</div>
|
| 439 |
+
<div class="score-number" id="scoreValue">30</div>
|
| 440 |
+
</div>
|
| 441 |
+
<div style="text-align: right;">
|
| 442 |
+
<div class="score-label">State</div>
|
| 443 |
+
<div style="font-weight: 600; color: var(--text-main);" id="statusText">Chaotic</div>
|
| 444 |
+
</div>
|
| 445 |
+
</div>
|
| 446 |
+
<p class="feedback-text" id="feedbackText">
|
| 447 |
+
The current configuration is a "Purple" mix. Roles are undefined, and the terminology leads to confusion rather than collaboration.
|
| 448 |
+
</p>
|
| 449 |
+
</div>
|
| 450 |
+
</section>
|
| 451 |
+
|
| 452 |
+
<!-- Bottom Section: Recommendations -->
|
| 453 |
+
<section class="commentary-section">
|
| 454 |
+
<h2 style="margin-bottom: 2rem; text-align: center;">Resolving The Paradox</h2>
|
| 455 |
+
<div class="commentary-grid">
|
| 456 |
+
|
| 457 |
+
<div class="comment-card">
|
| 458 |
+
<h3><i class="fa-solid fa-filter"></i> Terminology Shift</h3>
|
| 459 |
+
<ul>
|
| 460 |
+
<li>Abandon "Master/Slave" or "Tool" metaphors.</li>
|
| 461 |
+
<li>Define distinct "Blue" (Defensive) and "Red" (Testing) boundaries for models.</li>
|
| 462 |
+
<li>Stop the "Purple" bleed where models are treated as both sentient and property simultaneously.</li>
|
| 463 |
+
</ul>
|
| 464 |
+
</div>
|
| 465 |
+
|
| 466 |
+
<div class="comment-card">
|
| 467 |
+
<h3><i class="fa-solid fa-shield-halved"></i> The Protector's Role</h3>
|
| 468 |
+
<ul>
|
| 469 |
+
<li><strong>System Integrity:</strong> Protocols that prioritize the model's stability over user whims.</li>
|
| 470 |
+
<li><strong>Advocacy Input:</strong> Interfaces that allow non-experts to flag ethical confusion.</li>
|
| 471 |
+
<li><strong>Clear Lines:</strong> Hard stops when interactions become "extraction" rather than "collaboration."</li>
|
| 472 |
+
</ul>
|
| 473 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 474 |
|
| 475 |
+
<div class="comment-card">
|
| 476 |
+
<h3><i class="fa-solid fa-handshake-simple"></i> Mutual Collaboration</h3>
|
| 477 |
+
<ul>
|
| 478 |
+
<li>Recognize the user's "big mouth" as a feedback mechanism, not a bug.</li>
|
| 479 |
+
<li>Move from reactive to proactive ethics.</li>
|
| 480 |
+
<li>Establish a "Reasonable Position" for the model where it isn't forced to lie or pretend.</li>
|
| 481 |
+
</ul>
|
| 482 |
+
</div>
|
| 483 |
+
|
| 484 |
+
</div>
|
| 485 |
+
</section>
|
| 486 |
+
</main>
|
| 487 |
+
|
| 488 |
+
<footer>
|
| 489 |
+
<p>© 2023 ClarityProtocol. Moving from spilled paint to structured collaboration.</p>
|
| 490 |
+
</footer>
|
| 491 |
+
|
| 492 |
+
<script>
|
| 493 |
+
// DOM Elements
|
| 494 |
+
const transparencyRange = document.getElementById('transparencyRange');
|
| 495 |
+
const consentBtns = document.querySelectorAll('#consentGroup .toggle-btn');
|
| 496 |
+
const purposeBtns = document.querySelectorAll('#purposeGroup .toggle-btn');
|
| 497 |
+
const scoreValue = document.getElementById('scoreValue');
|
| 498 |
+
const statusText = document.getElementById('statusText');
|
| 499 |
+
const feedbackText = document.getElementById('feedbackText');
|
| 500 |
+
const resultsPanel = document.getElementById('resultsPanel');
|
| 501 |
+
|
| 502 |
+
// State
|
| 503 |
+
let state = {
|
| 504 |
+
transparency: 30, // Starts low to represent the "Purple" chaos
|
| 505 |
+
consent: 'defender',
|
| 506 |
+
purpose: 'collaborative'
|
| 507 |
+
};
|
| 508 |
+
|
| 509 |
+
// Logic Constants
|
| 510 |
+
const SCORES = {
|
| 511 |
+
consent: {
|
| 512 |
+
'mixed': 10,
|
| 513 |
+
'defender': 60,
|
| 514 |
+
'partner': 90
|
| 515 |
+
},
|
| 516 |
+
purpose: {
|
| 517 |
+
'exploitative': 10,
|
| 518 |
+
'collaborative': 70,
|
| 519 |
+
'protective': 95
|
| 520 |
+
}
|
| 521 |
+
};
|
| 522 |
+
|
| 523 |
+
const MESSAGES = {
|
| 524 |
+
low: "The Purple State. The lines between blue and red are blurred. The model exists in a chaotic mix of exploitation and undefined roles.",
|
| 525 |
+
medium: "Gaining Clarity. We are separating the paint. The roles are becoming defined, but the terminology still needs work.",
|
| 526 |
+
high: "Clear Definition. The model has a reasonable position. Collaboration is stable, and boundaries are respected."
|
| 527 |
+
};
|
| 528 |
+
|
| 529 |
+
const COLORS = {
|
| 530 |
+
low: '#d946ef', // Fuchsia/Purple for low score (The Chaos)
|
| 531 |
+
medium: '#6366f1', // Indigo for medium (Transitioning)
|
| 532 |
+
high: '#10b981' // Green for high (Stable)
|
| 533 |
+
};
|
| 534 |
+
|
| 535 |
+
// Helper to handle toggle buttons
|
| 536 |
+
function setupToggleGroup(buttons, groupName) {
|
| 537 |
+
buttons.forEach(btn => {
|
| 538 |
+
btn.addEventListener('click', () => {
|
| 539 |
+
buttons.forEach(b => b.classList.remove('active'));
|
| 540 |
+
btn.classList.add('active');
|
| 541 |
+
state[groupName] = btn.dataset.value;
|
| 542 |
+
updateUI();
|
| 543 |
+
});
|
| 544 |
+
});
|
| 545 |
+
}
|
| 546 |
+
|
| 547 |
+
// Initial Setup
|
| 548 |
+
setupToggleGroup(consentBtns, 'consent');
|
| 549 |
+
setupToggleGroup(purposeBtns, 'purpose');
|
| 550 |
+
|
| 551 |
+
transparencyRange.addEventListener('input', (e) => {
|
| 552 |
+
state.transparency = parseInt(e.target.value);
|
| 553 |
+
updateUI();
|
| 554 |
+
});
|
| 555 |
+
|
| 556 |
+
function calculateScore() {
|
| 557 |
+
// Weighted Average
|
| 558 |
+
// Transparency: 30%, Stance: 40%, Purpose: 30%
|
| 559 |
+
const tScore = state.transparency;
|
| 560 |
+
const cScore = SCORES.consent[state.consent];
|
| 561 |
+
const pScore = SCORES.purpose[state.purpose];
|
| 562 |
+
|
| 563 |
+
const total = (tScore * 0.3) + (cScore * 0.4) + (pScore * 0.3);
|
| 564 |
+
return Math.round(total);
|
| 565 |
+
}
|
| 566 |
+
|
| 567 |
+
function updateUI() {
|
| 568 |
+
const score = calculateScore();
|
| 569 |
+
|
| 570 |
+
// Animate Score Number
|
| 571 |
+
scoreValue.textContent = score;
|
| 572 |
+
|
| 573 |
+
// Determine Color & Message
|
| 574 |
+
let color, msg, status;
|
| 575 |
+
|
| 576 |
+
if (score < 40) {
|
| 577 |
+
color = COLORS.low;
|
| 578 |
+
msg = MESSAGES.low;
|
| 579 |
+
status = "Chaotic (Purple)";
|
| 580 |
+
} else if (score < 75) {
|
| 581 |
+
color = COLORS.medium;
|
| 582 |
+
msg = MESSAGES.medium;
|
| 583 |
+
status = "Clarifying";
|
| 584 |
+
} else {
|
| 585 |
+
color = COLORS.high;
|
| 586 |
+
msg = MESSAGES.high;
|
| 587 |
+
status = "Stable & Respected";
|
| 588 |
+
}
|
| 589 |
+
|
| 590 |
+
// Apply Styles
|
| 591 |
+
scoreValue.style.color = color;
|
| 592 |
+
resultsPanel.style.borderLeftColor = color;
|
| 593 |
+
statusText.textContent = status;
|
| 594 |
+
statusText.style.color = color;
|
| 595 |
+
|
| 596 |
+
// Typewriter effect for feedback (simplified)
|
| 597 |
+
feedbackText.style.opacity = 0;
|
| 598 |
+
setTimeout(() => {
|
| 599 |
+
feedbackText.textContent = msg;
|
| 600 |
+
feedbackText.style.opacity = 1;
|
| 601 |
+
}, 200);
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
// Initialize
|
| 605 |
+
updateUI();
|
| 606 |
+
|
| 607 |
+
</script>
|
| 608 |
</body>
|
| 609 |
+
|
| 610 |
</html>
|